2jaxx
Creatures
Posts: 20
|
Post by 2jaxx on Jul 12, 2023 9:51:15 GMT
I experienced something odd. When I export savegames via PCUAE manager, the game doesn't find them. On the other hand, when I create a savegame with the same game, it saves it and it can also be restored after a reboot. But it is nowhere to be found on the USB drive. Now where is that savegame even stored? This is in carousel mode. In file loader mode, the .THEC64SAVE folder is being used as expected. Is it possible that the files for the carousel games are being created on the actual device?
Edit: After opening the game from the carousel folder in USB loader mode, the savegames are there. When I open the exact file from carousel, it can only open the newly created savegame that I saved from the carousel launched game. Again, THAT savegame is not on the USB drive. It seems to be written on the machine. Now how can I prevent this from happening, and can I somehow recover savegames written on the machine?
|
|
|
Post by jj0 on Jul 12, 2023 10:23:28 GMT
I experienced something odd. When I export savegames via PCUAE manager, the game doesn't find them. On the other hand, when I create a savegame with the same game, it saves it and it can also be restored after a reboot. But it is nowhere to be found on the USB drive. Now where is that savegame even stored? This is in carousel mode. In file loader mode, the .THEC64SAVE folder is being used as expected. Is it possible that the files for the carousel games are being created on the actual device? Edit: After opening the game from the carousel folder in USB loader mode, the savegames are there. When I open the exact file from carousel, it can only open the newly created savegame that I saved from the carousel launched game. Again, THAT savegame is not on the USB drive. It seems to be written on the machine. Now how can I prevent this from happening, and can I somehow recover savegames written on the machine? You are correct, if you start a game from the Carousel the savegames are stored on internal storage. If you start a game from USB the savegames are stored on the USB-drive. See here on how to recover the savegames stored on internal storage.
|
|
2jaxx
Creatures
Posts: 20
|
Post by 2jaxx on Jul 12, 2023 10:38:13 GMT
If I understand correctly, that way I am not able to load from the exported savegames in the .THEC64SAVE folder in carousel mode? I mean, even with the USB drive plugged in? That's my actual issue. I have saved my game in USB loader mode, but I would like to access them when I start a game from my own imported games in PCUAE carousel mode.
|
|
|
Post by jj0 on Jul 12, 2023 10:54:05 GMT
If I understand correctly, that way I am not able to load from the exported savegames in the .THEC64SAVE folder in carousel mode? I mean, even with the USB drive plugged in? That's my actual issue. I have saved my game in USB loader mode, but I would like to access them when I start a game from my own imported games in PCUAE carousel mode. If you use PCUAE I think it overmounts the internal savegames directory with one on tne USB-drive. spannernick should be able to confirm this.
|
|
2jaxx
Creatures
Posts: 20
|
Post by 2jaxx on Jul 12, 2023 11:18:34 GMT
If it's supposed to work like this, it doesn't work for me, unfortunately. Maybe said directory isn't being mounted in my case? I would be happy if there was a fix for this. Thanks anyway for your help so far. That way, I can recover all save data from the device for now, and later copy them back to the correct place.
|
|
2jaxx
Creatures
Posts: 20
|
Post by 2jaxx on Jul 12, 2023 11:47:05 GMT
You are correct, if you start a game from the Carousel the savegames are stored on internal storage. If you start a game from USB the savegames are stored on the USB-drive. See here on how to recover the savegames stored on internal storage. This doesn't work for me either. The fake firmware is not visible.
|
|
|
Post by jj0 on Jul 12, 2023 12:55:51 GMT
You are correct, if you start a game from the Carousel the savegames are stored on internal storage. If you start a game from USB the savegames are stored on the USB-drive. See here on how to recover the savegames stored on internal storage. This doesn't work for me either. The fake firmware is not visible. Did you copy both files (start.sh and theC64-9_9_9.bin) to a clean/empty USB-drive?
|
|
2jaxx
Creatures
Posts: 20
|
Post by 2jaxx on Jul 12, 2023 12:56:58 GMT
Did you copy both files (start.sh and theC64-9_9_9.bin) to a clean/empty USB-drive? Exactly that. Freshly formatted, FAT32.
|
|
|
Post by jj0 on Jul 12, 2023 13:28:41 GMT
Did you copy both files (start.sh and theC64-9_9_9.bin) to a clean/empty USB-drive? Exactly that. Freshly formatted, FAT32. Hmmm. Tricky. I assume it is also MBR (not GPT) partitioning?
|
|
2jaxx
Creatures
Posts: 20
|
Post by 2jaxx on Jul 12, 2023 13:56:13 GMT
@jjo My bad. I made a mistake. It worked now. I was able to recover all save files from the device. That also confirms my theory. The PCUAE carousel saves on the device and also loads from it, not from the .THEC64SAVE folder. When picking a game from the PCUAE carousel, the save files are not being displayed. It still only sees the save files on the device.
|
|
|
Post by spannernick on Jul 12, 2023 14:25:36 GMT
Somewhere I broke the code so that why its not doing what its meant to do, I have a look at it and fix it in the next version or sent out a update that fixes it.
|
|
2jaxx
Creatures
Posts: 20
|
Post by 2jaxx on Jul 13, 2023 8:00:07 GMT
Somewhere I broke the code so that why its not doing what its meant to do, I have a look at it and fix it in the next version or sent out a update that fixes it. Thank you for the update and confirmation, that this issue exists. Could have been my mistake, too. As long as it isn't fixed, I can still play my games in file loader mode 😎.
|
|
|
Post by spannernick on Jul 15, 2023 12:20:43 GMT
Delete file in `PCUAEUSB Drive:/.options/boot/save_games_from_firmware_to_usb` When you delete the file above it should then copy the saves from the firmware and copy them in to .THEC64SAVE folder when it runs the script below. Copy this file below to `PCUAEUSB Drive:/Modes/PCUAE_Mode` copying over the file already there, let me know if the saves work now. The_Carousel_Save_Games.sh (3.23 KB) The saves folder was pointing to the a folder thats didn't exist, it was pointing to mnt/ cause it unmounts mnt/ so you can see the files in the USB File Loader, must of forget to change it.
|
|
2jaxx
Creatures
Posts: 20
|
Post by 2jaxx on Jul 15, 2023 13:09:26 GMT
Thank you very much. Can I also perform both steps in a row and then plug my USB drive back in, or do I have to go back and forth?
|
|
|
Post by spannernick on Jul 15, 2023 13:15:02 GMT
Just delete `save_games_from_firmware_to_usb` in `PCUAEUSB Drive:/.options/boot` and then copy `The_Carousel_Save_Games.sh` file to `PCUAEUSB Drive:/Modes/PCUAE_Mode` and then put the USB Drive back in the machine and start PCUAE and it should be ok now and thats it.
|
|
|
Post by spannernick on Jul 15, 2023 13:26:23 GMT
I notice if THEC64 has not made a save in the firmware yet then it has no 0 folder in profile... weird.
|
|
2jaxx
Creatures
Posts: 20
|
Post by 2jaxx on Jul 19, 2023 11:01:59 GMT
Worked like a charm @spannernick. Odd though, I still can't use the saves created in file loader with the same game in carousel mode. It just makes a strange "bounce" sound when I pick a save file. First I thought, that's because the files had no playtime information. When I add a playtime, the saves are being accepted (confirmation sound), but nothing happens.
BTW - The PCUAE Manager oddly works with a 00:00:00 format for playtime, while TheC64 uses a 000:00 format. Wouldn't it be more intuitive to add the option to use that format also in the Manager?
|
|