mirror of
https://github.com/nacabaro/vbhelper.git
synced 2026-01-27 16:05:32 +00:00
- Importing more data from the card, this time it's to enhance the functionality of the dex. Things that I'm importing: - Tropies - Vitals - WinRate - Battles needed - Adventure level cleared - This commit also includes displaying the data, modifying the relational model and modifying the underlying import functions. - I've also changed the name from Character to CharacterData, since there is another class that is also called Character. I wanted to move it into the card package, since it's more related to Cards, while character is more designed for user raised characters. - Another small addition was the ability to construct ImageBitmaps from the BitmapData.kt class. reduces code and makes it more simple, will refactor the old code to use this later on. - Things I might do - Move out of the SettingsScreenControllerImpl.kt file all the card import stuff, since it's slowly growing a lot, and it could benefit from some independence
VBHelper
Developer Setup
- Clone vb-nfc-reader (https://github.com/cfogrady/lib-vb-nfc)
- Run vb-nfc-reader/publishToMavenLocal gradle task in the lib-vb-nfc project.
- Clone vb-dim-reader (https://github.com/cfogrady/vb-dim-reader)
- Run publishToMavenLocal gradle task in the vb-dim-reader project.
- Create res/values/keys.xml within the app module.
- Populate with:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="password1">beHmacKey1</string>
<string name="password2">beHmacKey2</string>
<string name="decryptionKey">aesKey</string>
<integer-array name="substitutionArray">
<item>0</item>
<item>1</item>
<item>2</item>
<item>3</item>
<item>4</item>
<item>5</item>
<item>6</item>
<item>7</item>
<item>8</item>
<item>9</item>
<item>10</item>
<item>11</item>
<item>12</item>
<item>13</item>
<item>14</item>
<item>15</item>
</integer-array>
</resources>
- Replace the values in the keys.xml file with those extracted from the original app.
- Run
Description
[MIRROR] Application to interact with Vital Bracelets.
https://github.com/nacabaro/vbhelper
Languages
Kotlin
100%