Skip to content

Commit a44cce6

Browse files
committed
Latest RM0424-1225-0.420.0-6d42555 on PATREON - UPD WEEBO
1 parent 8eeb11c commit a44cce6

File tree

7 files changed

+20
-16
lines changed

7 files changed

+20
-16
lines changed

ReadMe.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ This software is for experimental purposes only and is not meant for any illegal
5454
- Updated: [FlipWorld v0.8.3 (By jblanked)](https://github.com/jblanked/FlipWorld) `Req: ESP32` with [FliperHTTP Firmware](https://github.com/jblanked/FlipperHTTP)
5555
- Updated: [Protocol Visualizer v1.3 (By antirez)](https://github.com/antirez/protoview) [Extra history page for TPMS detections (By Mascot68)](https://github.com/Mascot68/ProtoViewTPMS) [Add optional display in bar (By Mascot68)](https://github.com/Mascot68/ProtoViewTPMS/commit/f2c61eafdfb70f2ac0510b09577ec37c3c18b8d1)
5656
- Added: [Nickname Generator v0.1 (By disaxq)](https://github.com/disaxq/Nickname-Generator)
57-
- Updated: [Weebo v0.1.1 (By bettse)](https://github.com/bettse/weebo) [Expanded DB of Amiibo for Info (By RogueMaster)](https://github.com/RogueMaster/flipperzero-firmware-wPlugins/commit/ed6b16e94253ebe629e8bf9ccc644673e21f64f9)
57+
- Updated: [Weebo v0.2 (By bettse)](https://github.com/bettse/weebo) [Expanded DB of Amiibo for Info (By RogueMaster)](https://github.com/RogueMaster/flipperzero-firmware-wPlugins/commit/ed6b16e94253ebe629e8bf9ccc644673e21f64f9)
5858

5959
<a name="release">
6060

@@ -704,7 +704,7 @@ $ ./fbt dolphin_ext
704704
- [WHC SWIO Flasher v1.1 (By sukvojte)](https://github.com/sukvojte/wch_swio_flasher)
705705
- [Weather Station v1.9.3 (By Skorpionm)-OFW](https://github.com/flipperdevices/flipperzero-good-faps/tree/dev/weather_station)
706706
- [Web Crawler v1.0.1 (By jblanked)](https://github.com/jblanked/WebCrawler-FlipperZero) `Req: ESP32` with [FliperHTTP Firmware](https://github.com/jblanked/FlipperHTTP)
707-
- [Weebo v0.1.1 (By bettse)](https://github.com/bettse/weebo) `Req: key_retail.bin on SD card /apps_data/weebo`
707+
- [Weebo v0.2 (By bettse)](https://github.com/bettse/weebo) `Req: key_retail.bin on SD card /apps_data/weebo`
708708
- [Wendigo Bluetooth Tracker WIP v0.1 (By chris-bc)](https://github.com/chris-bc/wendigo) `WIP Req: ESP32`
709709
- [Wiegand Reader v1.4 (By jamisonderek)](https://github.com/jamisonderek/flipper-zero-tutorials/tree/main/gpio)
710710
- [WiFi (Deauther) V2 (By Timmotools)](https://github.com/Timmotools/flipperzero_esp8266_deautherv2) `Req: ESP8266`
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
## 0.1
2-
- Initial release
3-
4-
## 0.1.1
1+
## 0.2
52
- Info shows the ID of the figure
63
- More IDs added for Smash characters and many older figures
74
- Image assets fixed using fbt format_img
85
- FAM file expanded to include app creator / source information
6+
7+
## 0.1
8+
- Initial release

applications/external/weebo/application.fam

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ App(
1616
fap_category="NFC",
1717
fap_author="bettse",
1818
fap_weburl="https://github.com/bettse/weebo",
19-
fap_version="0.1.1",
19+
fap_version="0.2",
2020
fap_description="A maker/emulator/remixer for A figure files",
21-
# [v0.1.1: Expanded DB of Amiibo for Info (By RogueMaster)](https://github.com/RogueMaster/flipperzero-firmware-wPlugins/commit/ed6b16e94253ebe629e8bf9ccc644673e21f64f9)
21+
# [v0.2: Expanded DB of Amiibo for Info (By RogueMaster)](https://github.com/RogueMaster/flipperzero-firmware-wPlugins/commit/ed6b16e94253ebe629e8bf9ccc644673e21f64f9)
2222
)

applications/external/weebo/scenes/weebo_scene_info.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,7 @@ void weebo_scene_info_on_enter(void* context) {
1717
furi_string_cat_printf(str, "Unknown\n");
1818
}
1919
furi_string_free(name);
20-
uint16_t id = 0;
21-
id |= weebo->figure[UNPACKED_FIGURE_ID + 0] << 8;
22-
id |= weebo->figure[UNPACKED_FIGURE_ID + 1] << 0;
23-
furi_string_cat_printf(str, "ID: %04x\n", id);
20+
furi_string_cat_printf(str, "ID: %04x\n", weebo_get_figure_id(weebo));
2421

2522
text_box_set_font(weebo->text_box, TextBoxFontText);
2623
text_box_set_text(weebo->text_box, furi_string_get_cstr(weebo->text_box_store));

applications/external/weebo/weebo.c

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
#define WEEBO_KEY_RETAIL_FILENAME "key_retail"
66
#define FIGURE_ID_LIST APP_ASSETS_PATH("figure_ids.nfc")
7+
#define UNPACKED_FIGURE_ID 0x1dc
78
#define NFC_APP_EXTENSION ".nfc"
89
#define NFC_APP_PATH_PREFIX "/ext/nfc"
910

@@ -138,13 +139,18 @@ static bool
138139
return parsed;
139140
}
140141

141-
bool weebo_get_figure_name(Weebo* weebo, FuriString* name) {
142-
bool parsed = false;
143-
142+
uint16_t weebo_get_figure_id(Weebo* weebo) {
144143
uint16_t id = 0;
145144
id |= weebo->figure[UNPACKED_FIGURE_ID + 0] << 8;
146145
id |= weebo->figure[UNPACKED_FIGURE_ID + 1] << 0;
147146
FURI_LOG_D(TAG, "id = %04x", id);
147+
return id;
148+
}
149+
150+
bool weebo_get_figure_name(Weebo* weebo, FuriString* name) {
151+
bool parsed = false;
152+
153+
uint16_t id = weebo_get_figure_id(weebo);
148154

149155
FuriString* key = furi_string_alloc_printf("%04x", id);
150156
if(weebo_search_data(weebo->storage, FIGURE_ID_LIST, key, name)) {

applications/external/weebo/weebo.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@
22

33
typedef struct Weebo Weebo;
44

5+
uint16_t weebo_get_figure_id(Weebo* weebo);
6+
57
bool weebo_get_figure_name(Weebo* weebo, FuriString* name);

applications/external/weebo/weebo_i.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242

4343
#define WEEBO_TEXT_STORE_SIZE 128
4444
#define WEEBO_FILE_NAME_MAX_LENGTH 64
45-
#define UNPACKED_FIGURE_ID 0x1dc
4645

4746
#define NTAG215_SIZE 540
4847
#define NFC3D_UID_OFFSET 0x1D4

0 commit comments

Comments
 (0)