0 Members and 4 Guests are viewing this topic.
Edit 2: In response to Runer's earlier question, I mainly limited the app names because I didn't want people doing things like making two apps called PokemonR and PokemonB, which would happen to use the same save file names.
Quote from: calc84maniac on February 16, 2014, 02:02:23 amEdit 2: In response to Runer's earlier question, I mainly limited the app names because I didn't want people doing things like making two apps called PokemonR and PokemonB, which would happen to use the same save file names.If the user specifies an 8-character name for a ROM that has a 32KB cartridge, just echo out a (appropriately flashy) warning mentioning this. I think the ability to have 8-character names if you're made aware of the issue greatly outweighs the likelihood of someone ignoring the warning message, making two apps with 32KB cartridges that differ only by the last letter, and sending them both to their calculator and trying to run them.Also, if you do take up my suggestion to save emulator settings in an appvar and think this still could be an issue, you could block out the possibility of this occurring entirely by saving the application name with the emulator metadata. Then you can check that the appvars being loaded by TI-Boy correspond to the app of the correct name.
Hmm, I just started up the Pokemon Red app on my calculator and I got the same issue. Well, I guess I only lightly tested Pokemon, after all. I'll have to see if I can track down this problem.Edit: Heh, I had to think outside the box to figure this one out. I was certain I got my saving code right, and I checked it and rechecked it... but it turns out the problem is actually in the code for loading from archived appvars (which doesn't affect 8KB save files because the appvar gets unarchived first), which was writing the save data to the wrong RAM pages. I'll try to push out a new version soon.Edit 2: In response to Runer's earlier question, I mainly limited the app names because I didn't want people doing things like making two apps called PokemonR and PokemonB, which would happen to use the same save file names.Edit 3: Here's a release of Alpha 0.0.02. This should fix the loading issue, and also, makeapp no longer gives warnings for app pages beginning with FFh.
That's weird, because someone in the It's Coming topic said it worked...