Retrode Forum

General Category => Support => Topic started by: MasterOfPuppets on 05/Jun/2016 02:39:12 AM

Title: Insufficient Space to Copy Back GB Save
Post by: MasterOfPuppets on 05/Jun/2016 02:39:12 AM
I've had this error for a while now (not just with version 19). When I try to copy back a Game Boy save (tried Pokemon Gold today), it says there's not enough space and I need to free up 32kb of room (the size of the save in this case). I've unchecked the read-only and archive options on the save file and it still does it. I tried editing the save with a hex editor and the change didn't stay. Any ideas?
Title: Re: Insufficient Space to Copy Back GB Save
Post by: Matthias_H on 06/Jun/2016 08:50:40 AM
Which hex editor? Did you make sure to save the file in place (disable backup option where editor renames old file and creates a new one?)

Also, http://www.retrode.org/documentation/troubleshooting/troubleshooting-saving-files-to-the-retrode-does-not-work/ (http://www.retrode.org/documentation/troubleshooting/troubleshooting-saving-files-to-the-retrode-does-not-work/)
Title: Re: Insufficient Space to Copy Back GB Save
Post by: MasterOfPuppets on 07/Jun/2016 02:24:06 AM
HxD. I'll try it again and see if it works.
Title: Re: Insufficient Space to Copy Back GB Save
Post by: Wannado on 19/Jun/2016 09:25:50 PM
Quote from: MasterOfPuppets on 05/Jun/2016 02:39:12 AM
... I've unchecked the read-only and archive options on the save file ...

The Retrode does not care about the file's read-only attribute, only sets it to tell the host (PC, ...) that writing to the file is pointless. :)

To make the save really writable, you must set "[sramReadonly] 0" in RETRODE.CFG.
Title: Re: Insufficient Space to Copy Back GB Save
Post by: MasterOfPuppets on 22/Jun/2016 05:19:58 PM
Sorry for the delay. I tried it again today (just overwriting, no hex) with a different game, Zelda Oracle of Seasons, and it gave the same error. The save size is only 8kb. SramReadOnly is set to 0.
Title: Re: Insufficient Space to Copy Back GB Save
Post by: Wannado on 01/Jul/2016 09:56:23 PM
The save data can only be changed by overwriting the Retrode's save file in place. However, some copy commands, when asked to overwrite file X, instead create a new file Y, then delete X, and finally rename Y to X. The Retrode does not support this or similar procedures, as they would require a lot of buffer memory.

The same restriction applies to the Retrode's config file.

I expect the following method of overwriting a file on the Retrode to be reliable:

Warnings:


Other notes:

Title: Re: Insufficient Space to Copy Back GB Save
Post by: MasterOfPuppets on 01/Jul/2016 10:26:54 PM
Thanks! I'll try your suggestions the next time I need to copy a save.