Closed moonvixen closed 4 months ago
@moonvixen Unless you disabled song data in the URL, try checking your browser history to find the song you were currently making.
It wouldn't be in the browser history - it's in the Offline (.exe) version. Which, from what I can tell, seems to package it's whole own Electron/Chromium instance so it's URL and storage would be exclusive to it.
@moonvixen Unless you disabled song data in the URL, try checking your browser history to find the song you were currently making.
OK, this took far too long but I've finally figured this out. Electron apps like UB Offline store their data in %APPDATA%, so the folder I was looking for was in C:\Users\Moonvixen\AppData\Roaming\UltraBox Offline.
Within that folder, inside \Local Storage\ there's a directory called \leveldb. In there, there's a file called "LOG" with no file extension. Opened as a text file, it reads:
2024/06/09-12:19:38.427 63dc Reusing MANIFEST C:\Users\Moonvixen\AppData\Roaming\UltraBox Offline\Local Storage\leveldb/MANIFEST-000001
2024/06/09-12:19:38.429 63dc Recovering log #240
2024/06/09-12:19:38.430 63dc Reusing old log C:\Users\Moonvixen\AppData\Roaming\UltraBox Offline\Local Storage\leveldb/000240.log
I opened the "000240.log" file it lists (all the others are mostly ".ldb") and lo and behold CTRL+F for the name of the tracks reveals the entire track data for the exact song I lost along with it in URL form. Copied that whole URL over into Firefox, replaced the part of the string with the track name "ûu5N0lDo%20You%20Feel%3F%" with "ultraabox.github.io/#u5N0lDo You Feel%3F" so the encoding works. You need to copy from the û (the track name) to the part that has a "]" after the samples - without including the ]:
Very happy I could figure this out as I thought I'd just lose it :) I'm sure it's not as difficult as I just made it out to be, but it's not really documented or obvious for average end-users so hopefully this might help someone out in the future with a similar problem.
v2.2.9 (current) still appears to suffer from this bug so I'll keep this issue open for the time being - until then, the above method using the online UltraBox seems to work as a workaround for the bugged file recovery prompt.
If I had to guess, I'd say that is caused by the same problem that caused the song player to not work
That was my assumption as well - I hadn't noticed the File Recovery prompt not working earlier because it's not the type of thing you'd really access that often... given the actual storage of the recovery data seems to work fine though, the
Fixed in the latest commit, closing
Should I release a 2.2.9 bugfix build of UB Offline?
I made a really nice tune but accidentally closed the window and didn't prompt me to save or exit. I brought up the song recovery prompt and although it loads the tune's name (including multiple versions of it), the space where there's usually an
Clearly the app still has the song cached/stored somewhere, but I can't find it in any of the files. Is there some way I can manually extract the song data and put it into online UltraBox (to recover or whatever)?
This was on v2.2.7.