Homebrew GBARunner2

Gericom

Well-Known Member
OP
Member
Joined
Jun 30, 2011
Messages
1,359
Trophies
0
Age
23
XP
3,865
Country
Netherlands
Hey Gericom! Even tho people are saying GBARunner2 doesn't corrupt the SD card, it does (I think). I downloaded the latest one from WikiTemp and it still freezes Metroid Zero Mission and Pokemon Ruby at random times and now after it freezed after a few times, I can't play Metroid Zero Mission at all. PSA: DON'T TRY FIXING YOUR SD WITH THE WINDOWS UTILITY, IT'Ll MAKE IT WORSE! (My SD card got corrupted and wouldn't boot into main menu so I tried fixing it with windows aaaand now HiyaCFW says my launcher .tmd is too large...)
Did you try the version without cache? I'm currently working on save patches that should fix lots of games with cache. If a game boots first time and not second time (after saving), it's usually a cache issue.
 
New version

Gericom

Well-Known Member
OP
Member
Joined
Jun 30, 2011
Messages
1,359
Trophies
0
Age
23
XP
3,865
Country
Netherlands
New release from the sd_save branch (8175479, 10-06-2019)
  • Fat16 support
  • Intergrated save patches for most save types and versions (should fix a lot of cache issues as well), this means sram patches are not needed anymore for most games. Note that some games may take a bit longer to boot, because of the patching
  • Fixed dma bug where the upper half of 32 MB roms wrapped to the lower 16 MB part (fixes spyro, probably also the cause of some of the regressions on the wiki)
  • Save files are now generated of the right size (except for most eeprom games, it will usually be 8kb as 512 cannot be easily detected)
For the save patches, the only important one still missing is FLASH1M_V103. I still need to figure out what changed from 102 to 103 to make it work.
 

Attachments

  • 2019-06-10 - 8175479.zip
    200.1 KB · Views: 621

Wuigi

Well-Known Member
Member
Joined
Sep 14, 2012
Messages
724
Trophies
0
XP
1,563
Country
United States
So with the latest build posted, it doesn't freeze?
The posted version runs fine on my DSi with the ARM7 version.
If I compile the sd_save branch myself with the latest dev-stuff installed via dkp-pacman and setting the ARM7 flag in common_defs.s it freezes after the boot animation.
 
Last edited by Wuigi,

sion_zaphod

Ex-Galactic President; confidence trickster; etc
Member
Joined
Sep 4, 2011
Messages
423
Trophies
0
Age
43
Location
Wales
XP
1,513
Country
Tried both the arm7 and arm9 versions with Twilight++. White screen for both. On 3DS latest twilight version just replaced the gbarunner2.nds and GBARunner2_wramicache.nds.
 
Last edited by sion_zaphod,

Ziko

Well-Known Member
Member
Joined
Nov 10, 2010
Messages
213
Trophies
0
XP
773
Country
United States
Thanks for the fix. If you can figure out the FLASH1M_V103 problem, then my saves for Game & Watch Gallery 4 & Narikiri Dungeon 3 will work again. Yu-Gi-Oh! Expert 2 booted fine on the updated version posted so good work so far. I'll keep the former 2 games on the older November 2018 build for now. The Release Lister for Narikiri Dungeon 3 is an EEPROM_V124 64Kbit to let you know. It generated a new save as the old one wasn't recognized. It works on the older build perfectly though.

Also, I used the Lister to check Gensou Suikoden Card Stories and there's no save type at all! I double checked using GBATA and the same info came up with NONE as save type. It's no wonder why I can't rip it using the R4 Rom Dumper tool because without a type, you can't get to it and it wouldn't even let me rip the rom itself which is a non issue in my eyes. What the hell was Konami thinking? I'd have to start over again using the English patch for the game and I wanted to use my save to do it but oh well.
 
Last edited by Ziko,

TipsPROmayB

Just a music producer roaming GBATemp
Member
Joined
Jan 9, 2016
Messages
222
Trophies
0
XP
564
Country
Croatia
Arm7 version works great, but arm9 doesn't boot at all... Also one more problem, Metroid ZM won't start after saving in the arm7dldi version (I played quite a bit before deciding to restart my dsi and now it just hangs at a white screen after the gba bios)
 

sion_zaphod

Ex-Galactic President; confidence trickster; etc
Member
Joined
Sep 4, 2011
Messages
423
Trophies
0
Age
43
Location
Wales
XP
1,513
Country
Can somebody please explain how to get this latest build working from Twilight Menu ++ on 3DS. Managed to get GBARunner2 to start but every time I load a game it gets about 30 seconds onto it then crashes (Yes EVERY Game!)
 

Gericom

Well-Known Member
OP
Member
Joined
Jun 30, 2011
Messages
1,359
Trophies
0
Age
23
XP
3,865
Country
Netherlands
@Gericom should I delete the old save files?
You shouldn't have to. You probably only have to do that for flash 128kb games, since it's too small otherwise. It will let you know that though.
Which version of devkitarm has to be used for compilation?
With the latest one it freezes after the boot animation.
Yeah, the latest doesn't work. My devkitpro is a mess, I honestly don't know anymore what mix I'm using. I think it was devkitarm r42 or so.
Arm7 version works great, but arm9 doesn't boot at all... Also one more problem, Metroid ZM won't start after saving in the arm7dldi version (I played quite a bit before deciding to restart my dsi and now it just hangs at a white screen after the gba bios)
Arm9 version doesn't work with nds bootstrap.
Guess now is a good time to updated the wiki @Gericom? Or do you want to make more improvements first?
Yes, I think that's a good idea!
Can somebody please explain how to get this latest build working from Twilight Menu ++ on 3DS. Managed to get GBARunner2 to start but every time I load a game it gets about 30 seconds onto it then crashes (Yes EVERY Game!)
Sounds strange tbh
 
Last edited by Gericom,

Wuigi

Well-Known Member
Member
Joined
Sep 14, 2012
Messages
724
Trophies
0
XP
1,563
Country
United States
@Gericom I played around a little and only changing the installed DevkitARM isn't enough to make it compile correctly.
I used the windows builds with msys2 shell as only those old versions of devkitARM were still downloadable somewhere.
DevkitARM revisions r42, r43, r44, r45 don't compile with
make[2]: *** [/opt/devkitpro/devkitARM/base_rules:81: main.o] Error 1
make[1]: *** [Makefile:93: build] Error 2
make[1]: Leaving directory „/c/Users/lel/GBARunner2/arm7“
make: *** [Makefile:27: arm7/GBARunner2.elf] Error 2
Revision r46 doesn't compile with
linking GBARunner2.elf
c:/devkitpro/devkitarm/bin/../lib/gcc/arm-none-eabi/6.3.0/../../../../arm-none-eabi/bin/ld.exe: address 0x1008050 of C:/Users/lel/GBARunner2/arm9/GBARunner2.elf section `.itcm' is not within region `itcm'
c:/devkitpro/devkitarm/bin/../lib/gcc/arm-none-eabi/6.3.0/../../../../arm-none-eabi/bin/ld.exe: address 0x1008050 of C:/Users/lel/GBARunner2/arm9/GBARunner2.elf section `.itcm' is not within region `itcm'
collect2.exe: error: ld returned 1 exit status
make[2]: *** [/c/Users/lel/GBARunner2/arm9/Makefile:123: /c/Users/lel/GBARunner2/arm9/GBARunner2.elf] Error 1
make[1]: *** [Makefile:107: build] Error 2
make[1]: Leaving directory „/c/Users/lel/GBARunner2/arm9“
make: *** [Makefile:31: arm9/GBARunner2.elf] Error 2
Revisions r47, r52-2 compile ARM7_DLDI without errors, size is 207 KB, so 10 KB bigger compared to your build, freezes after booting a game that works with your builds.

Revisions r48-win64, r50-4, r51-1 don't compile with
linking GBARunner2.elf
c:/devkitpro/devkitarm/bin/../lib/gcc/arm-none-eabi/8.1.0/../../../../arm-none-eabi/bin/ld.exe: address 0x1008050 of C:/Users/lel/GBARunner2/arm9/GBARunner2.elf section `.itcm' is not within region `itcm'
c:/devkitpro/devkitarm/bin/../lib/gcc/arm-none-eabi/8.1.0/../../../../arm-none-eabi/bin/ld.exe: address 0x1008050 of C:/Users/lel/GBARunner2/arm9/GBARunner2.elf section `.itcm' is not within region `itcm'
collect2.exe: error: ld returned 1 exit status
make[2]: *** [/c/Users/lel/GBARunner2/arm9/Makefile:123: /c/Users/lel/GBARunner2/arm9/GBARunner2.elf] Error 1
make[1]: *** [Makefile:107: build] Error 2
make[1]: Leaving directory „/c/Users/lel/GBARunner2/arm9“
make: *** [Makefile:31: arm9/GBARunner2.elf] Error 2
Revision r49-1 doesn't compile with
linking GBARunner2.elf
c:/devkitpro/devkitarm/bin/../lib/gcc/arm-none-eabi/8.1.0/../../../../arm-none-eabi/bin/ld.exe: address 0x1008050 of C:/Users/lel/GBARunner2/arm9/GBARunner2.elf section `.itcm' is not within region `itcm'
c:/devkitpro/devkitarm/bin/../lib/gcc/arm-none-eabi/8.1.0/../../../../arm-none-eabi/bin/ld.exe: address 0x1008050 of C:/Users/lel/GBARunner2/arm9/GBARunner2.elf section `.itcm' is not within region `itcm'
collect2.exe: error: ld returned 1 exit status
make[2]: *** [/c/Users/lel/GBARunner2/arm9/Makefile:123: /c/Users/lel/GBARunner2/arm9/GBARunner2.elf] Error 1
make[1]: *** [Makefile:107: build] Error 2
make[1]: Leaving directory „/c/Users/lel/GBARunner2/arm9“
make: *** [Makefile:31: arm9/GBARunner2.elf] Error 2
 

Gericom

Well-Known Member
OP
Member
Joined
Jun 30, 2011
Messages
1,359
Trophies
0
Age
23
XP
3,865
Country
Netherlands
@Gericom I played around a little and only changing the installed DevkitARM isn't enough to make it compile correctly.
I used the windows builds with msys2 shell as only those old versions of devkitARM were still downloadable somewhere.
DevkitARM revisions r42, r43, r44, r45 don't compile with
make[2]: *** [/opt/devkitpro/devkitARM/base_rules:81: main.o] Error 1
make[1]: *** [Makefile:93: build] Error 2
make[1]: Leaving directory „/c/Users/lel/GBARunner2/arm7“
make: *** [Makefile:27: arm7/GBARunner2.elf] Error 2
Revision r46 doesn't compile with
linking GBARunner2.elf
c:/devkitpro/devkitarm/bin/../lib/gcc/arm-none-eabi/6.3.0/../../../../arm-none-eabi/bin/ld.exe: address 0x1008050 of C:/Users/lel/GBARunner2/arm9/GBARunner2.elf section `.itcm' is not within region `itcm'
c:/devkitpro/devkitarm/bin/../lib/gcc/arm-none-eabi/6.3.0/../../../../arm-none-eabi/bin/ld.exe: address 0x1008050 of C:/Users/lel/GBARunner2/arm9/GBARunner2.elf section `.itcm' is not within region `itcm'
collect2.exe: error: ld returned 1 exit status
make[2]: *** [/c/Users/lel/GBARunner2/arm9/Makefile:123: /c/Users/lel/GBARunner2/arm9/GBARunner2.elf] Error 1
make[1]: *** [Makefile:107: build] Error 2
make[1]: Leaving directory „/c/Users/lel/GBARunner2/arm9“
make: *** [Makefile:31: arm9/GBARunner2.elf] Error 2
Revisions r47, r52-2 compile ARM7_DLDI without errors, size is 207 KB, so 10 KB bigger compared to your build, freezes after booting a game that works with your builds.

Revisions r48-win64, r50-4, r51-1 don't compile with
linking GBARunner2.elf
c:/devkitpro/devkitarm/bin/../lib/gcc/arm-none-eabi/8.1.0/../../../../arm-none-eabi/bin/ld.exe: address 0x1008050 of C:/Users/lel/GBARunner2/arm9/GBARunner2.elf section `.itcm' is not within region `itcm'
c:/devkitpro/devkitarm/bin/../lib/gcc/arm-none-eabi/8.1.0/../../../../arm-none-eabi/bin/ld.exe: address 0x1008050 of C:/Users/lel/GBARunner2/arm9/GBARunner2.elf section `.itcm' is not within region `itcm'
collect2.exe: error: ld returned 1 exit status
make[2]: *** [/c/Users/lel/GBARunner2/arm9/Makefile:123: /c/Users/lel/GBARunner2/arm9/GBARunner2.elf] Error 1
make[1]: *** [Makefile:107: build] Error 2
make[1]: Leaving directory „/c/Users/lel/GBARunner2/arm9“
make: *** [Makefile:31: arm9/GBARunner2.elf] Error 2
Revision r49-1 doesn't compile with
linking GBARunner2.elf
c:/devkitpro/devkitarm/bin/../lib/gcc/arm-none-eabi/8.1.0/../../../../arm-none-eabi/bin/ld.exe: address 0x1008050 of C:/Users/lel/GBARunner2/arm9/GBARunner2.elf section `.itcm' is not within region `itcm'
c:/devkitpro/devkitarm/bin/../lib/gcc/arm-none-eabi/8.1.0/../../../../arm-none-eabi/bin/ld.exe: address 0x1008050 of C:/Users/lel/GBARunner2/arm9/GBARunner2.elf section `.itcm' is not within region `itcm'
collect2.exe: error: ld returned 1 exit status
make[2]: *** [/c/Users/lel/GBARunner2/arm9/Makefile:123: /c/Users/lel/GBARunner2/arm9/GBARunner2.elf] Error 1
make[1]: *** [Makefile:107: build] Error 2
make[1]: Leaving directory „/c/Users/lel/GBARunner2/arm9“
make: *** [Makefile:31: arm9/GBARunner2.elf] Error 2
You can download more revisions here I think: https://wii.leseratte10.de/devkitPro/
*Prays for Rayman & Wario Land get fixed*
Rayman Advance works afaik. Rayman 3 as well iirc. Wario Land sadly has a timing issue with that end of level portal. It may be possible to get past it once an ingame menu has been implemented.
 

dawiid

Member
Newcomer
Joined
Jun 10, 2019
Messages
5
Trophies
0
Age
41
XP
35
Country
Portugal
So with the latest build posted, it doesn't freeze?
I need some help I'm getting an error and i don't know how to fix.
Screenshot_20190610-131534.jpgScreenshot_20190610-131541.jpg
It says that cant find the file main even though it is in the folder how do i fix it?
 
General chit-chat
Help Users
    El_Doot @ El_Doot: nice exploit I’ll try it sometime