Homebrew GBA Game Save to GBA VC save

theoldbucwild

Well-Known Member
OP
Member
Joined
Apr 15, 2017
Messages
284
Trophies
0
Age
20
XP
555
Country
United States
I want to know if there is a way to take a save from a gba game and make a gba vc game, but have the save with the vc.
 

Flame

Me > You
Global Moderator
Joined
Jul 15, 2008
Messages
7,318
Trophies
3
XP
19,050
Country
United Kingdom
turn on your VC GBA game and then just close that game

turn off your 3DS, then turn on your 3ds but with the button you use for Decrypt9

in Decrypt9 Go to:-
SysNAND Options,
Miscellaneous,
GBA VC Save Dump

then you should have a "gba.sav" file in the files9 folder on your SD card.

For injecting the save, simply replace gba.sav with the save you want then select "GBA VC Save Inject" instead.
 

theoldbucwild

Well-Known Member
OP
Member
Joined
Apr 15, 2017
Messages
284
Trophies
0
Age
20
XP
555
Country
United States
turn on your VC GBA game and then just close that game

turn off your 3DS, then turn on your 3ds but with the button you use for Decrypt9

in Decrypt9 Go to:-
SysNAND Options,
Miscellaneous,
GBA VC Save Dump

then you should have a "gba.sav" file in the files9 folder on your SD card.

For injecting the save, simply replace gba.sav with the save you want then select "GBA VC Save Inject" instead.
Thanks
 

Sonic Angel Knight

Well-Known Member
Member
Joined
May 27, 2016
Messages
14,408
Trophies
1
Location
New York
XP
12,977
Country
United States
First make sure your game can even save, some virtual console injects won't save properly without a patch before creating the cia, second, make sure the save data matches the file size for the dumped save data from VC, i think some versions of decrypt9/hourglass9 won't recognize the unmatched file size so is important to make sure it does, if the file size is larger, you may have to open it up in hex editor, compare it and then trim it accordingly.

Emulators will auto save data according to how the rom is programmed to use save data, VC only uses one kind of save data which is why it needs rom patched before cia creation and may not even work properly and is mostly the games fault and the VC not supporting the game properly, so if that the case is not much you can do, just keep using a emulator, the most games can work with on VC is maybe rom files of least 4MB or 8MB i would think is best compatible.
 
Last edited by Sonic Angel Knight,
  • Like
Reactions: theoldbucwild

Sonic Angel Knight

Well-Known Member
Member
Joined
May 27, 2016
Messages
14,408
Trophies
1
Location
New York
XP
12,977
Country
United States
Uh what would I change, I don't want to screw something up
If you have a program like hex workshop (Is what i use) use the compare feature to open both of the files up. Scroll to the end of the file for each of them. Remember the difference between the two. Go to the end of the virtual console save data you dumped. Where the last address is listed, remember that. Obviously the smaller file is the one dumped with decrypt9, then look at the emulator save data. Go to where the VC save data ended. And highlight all of the extra data and erase it.

For example if the last address of data ends at 00002A14 Then delete all data that exceeds that address in the emulator data. (most of it should either be repeating zeros or letter F.)

Simply you use this process to trim the save data to match the file size of the dump and then inject it after you do.
 
  • Like
Reactions: Deleted User
D

Deleted User

Guest
If you have a program like hex workshop (Is what i use) use the compare feature to open both of the files up. Scroll to the end of the file for each of them. Remember the difference between the two. Go to the end of the virtual console save data you dumped. Where the last address is listed, remember that. Obviously the smaller file is the one dumped with decrypt9, then look at the emulator save data. Go to where the VC save data ended. And highlight all of the extra data and erase it.

For example if the last address of data ends at 00002A14 Then delete all data that exceeds that address in the emulator data. (most of it should either be repeating zeros or letter F.)

Simply you use this process to trim the save data to match the file size of the dump and then inject it after you do.

Wouldn't it be simpler to re-save in a 64kB format via the emulator?
 

Sonic Angel Knight

Well-Known Member
Member
Joined
May 27, 2016
Messages
14,408
Trophies
1
Location
New York
XP
12,977
Country
United States
Wouldn't it be simpler to re-save in a 64kB format via the emulator?
Can all emulators do that? I dunno anything about MGBA, i only ever use VBA on pc, GPSP kai on psp, and GBA.EMU on android. It just auto saves however it wants. To be honest, not all games use the same save type or save space. For that very reason, emulators like VBA have only 64K or 128K, while actual game carts are which VC emulates, some are smaller like 32K or less. I only found it effective to trim the game to get my save injections to work, i know cause i done it with breath of fire rom injections and emulator conversion. Or you can ask @d0k3 If his programs are modified to accommodate for this, i remember asking about it.
 
  • Like
Reactions: Deleted User
D

Deleted User

Guest
Can all emulators do that? I dunno anything about MGBA, i only ever use VBA on pc, GPSP kai on psp, and GBA.EMU on android. It just auto saves however it wants. To be honest, not all games use the same save type or save space. For that very reason, emulators like VBA have only 64K or 128K, while actual game carts are which VC emulates, some are smaller like 32K or less. I only found it effective to trim the game to get my save injections to work, i know cause i done it with breath of fire rom injections and emulator conversion. Or you can ask @d0k3 If his programs are modified to accommodate for this, i remember asking about it.

Yeah I was referring to changing the save type in VBA. Not sure if mGBA supports this or not.
 

Sonic Angel Knight

Well-Known Member
Member
Joined
May 27, 2016
Messages
14,408
Trophies
1
Location
New York
XP
12,977
Country
United States
Yeah I was referring to changing the save type in VBA. Not sure if mGBA supports this or not.
VBA only has two file sizes for games, 64K and 128K, even games that don't require such big file size, it does naturally do it, i dunno why but is not me who made the emulator. Still changing the size won't fix anything, especially for games that can't go to 32K when it needs to which VC games would do since the save emulation is closer to Actual GBA game carts.
 
  • Like
Reactions: Deleted User

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • AncientBoi @ AncientBoi:
    ooowwww a new way for me to beat NFS 510 :D @SylverReZ
    +1
  • SylverReZ @ SylverReZ:
    @AncientBoi, Yeah, believe you can do PSP games as well. But a Pi5 is much powerful in comparison.
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    Not sure about other models of Pi4 but the Pi 4 B with 8GBs OCed to 2Ghz handles PSP really great except like 1 game I found and it is playable it just looks bad lol Motor Storm Arctic something or other.
  • Psionic Roshambo @ Psionic Roshambo:
    Other games I can have turned up to like 2X and all kinds of enhancements, Motorstorm hmmm nope 1X and no enhancements lol
  • Veho @ Veho:
    Waiting for Anbernic's rg[whatever]SP price announcement, gimme.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I will admit that one does seem more interesting than the usual Ambernic ones, and I already liked those.
  • Veho @ Veho:
    I dread the price point.
    +1
  • Veho @ Veho:
    This looks like one of their premium models, so... $150 :glare:
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    To me that seems reasonable.
  • Psionic Roshambo @ Psionic Roshambo:
    I mean since basically all the games are errmmm free lol
  • Veho @ Veho:
    I mean yeah sure but the specs are the same as a $50 model, it's just those pesky "quality of life" things driving up the price, like an actually working speaker, or buttons that don't melt, and stuff like that.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I think all in my Pi 4 was well north of 200 bucks 150ish for the Pi 4 the case the fancy cooler, then like 70 for the 500GB MicroSD then like 70 for the Xbox controller. But honestly it's a nice set up I really enjoy and to me was worth every penny. (even bought more controllers for 2 or 4 player games.) hmmm have never played any 2 player games yet :(
  • Veho @ Veho:
    Yeah that's what I hate about the RPi, it's supposedly $30 or something but it takes an additional $200 of accessories to actually turn it into a working something.
  • Psionic Roshambo @ Psionic Roshambo:
    yes that's the expensive part lol
  • Veho @ Veho:
    I mean sure it's flexible and stuff but so is uremum but it's fiddly.
  • Psionic Roshambo @ Psionic Roshambo:
    Yeah a lot of it I consider a hobby, using Batocera I am constantly adjusting the collection adding and removing stuff, scraping the artwork. Haven't even started on some music for the theme... Also way down the road I am considering attempting to do a WiiFlow knock off lol
  • Veho @ Veho:
    I want everything served on a plate plz ktnx, "work" is too much work for me.
  • Veho @ Veho:
    Hmm, with that in mind, maybe a complete out-the-box solution with all the games collected, pacthed and optimized for me would be worth $150 :unsure:
  • Psionic Roshambo @ Psionic Roshambo:
    Yeah it's all choice and that's a good thing :)
  • Bunjolio @ Bunjolio:
    animal crossing new leaf 11pm music
  • Bunjolio @ Bunjolio:
    avatars-kKKZnC8XiW7HEUw0-KdJMsw-t1080x1080.jpg
    wokey d pronouns
  • SylverReZ @ SylverReZ:
    What its like to do online shopping in 1998: https://www.youtube.com/watch?v=vwag5XE8oJo
    SylverReZ @ SylverReZ: What its like to do online shopping in 1998: https://www.youtube.com/watch?v=vwag5XE8oJo