sillygir1 / flipperzero-fnaf

https://lab.flipper.net/apps/flipperzero_fnaf
GNU General Public License v3.0
28 stars 0 forks source link

Doesn't save #6

Open tryboxa900 opened 2 weeks ago

tryboxa900 commented 2 weeks ago

I love your game. I spent an hour trying to get to night three (it's hard to do it on the flipper), and I was happy but had to leave, so I closed the app. When I came back, it didn't show "continue night three". Please fix it.

sillygir1 commented 2 weeks ago

Can't reproduce on 1.0.1, any more info? Are you using OFW?

tryboxa900 commented 2 weeks ago

Yes i am using ofw 1.0.1, more info like what? logs or idk

sillygir1 commented 2 weeks ago

Oh.. Well, the app outputs log on debug level, so you can install ufbt if you don't have it yet, then it's ufbt cli and log debug in cli, and then launch the app on flipper. It should say something like [D][flipperzero_fnaf] Read 1, where the last number is the last completed level iirc. If you have fbt/ufbt you can also clone this repo and edit the first_hour_time and first_hour_time to smaller values (in ms) so you can test it again, maybe it was a one-off bug. Also check apps_data/flipperzero_fnaf/save.txt (you can use hex viewer fap), maybe the file got broken or something. It should have one byte with number of the last completed level and nothing else. If it's actually broken, just delete it. I should add a safeguard for such scenarios.

tryboxa900 commented 2 weeks ago

what is wrong with my pc? when i try to run ufbt cli it says: fbt: warning: App folder 'C:\Users\nothi': missing manifest (application. fam) LoadAppManifest, line 130, in file "C:\Users\nothi.ufbt\current\scripts\fbt_tools\fbt_apps.py" python C:\Users\nothi.ufbt\current\scripts/serial_cli.py -p auto could not open port `COM3': could not open part 'COM3': PernissionError(13, 'Access is denied. ', None, 5)

what do i do? not even chatgpt can help me lmao

sillygir1 commented 2 weeks ago

Dunno, maybe you should ask ufbt devs, as i am not involved with the development of ufbt and have no idea how to fix that.