Homebrew iplayer/supercard GBAemu Game_config.txt improvement project

wolfmanz51

MrNintendosense
OP
Member
Joined
Nov 24, 2008
Messages
428
Trophies
0
Location
Somewhere in cali
Website
www.youtube.com
XP
370
Country
United States
SO im working on improving the game_config.txt for the iplayer gba emu. By editing the txt and using VBA or NO$gba data to find idle loops that cause major slowdown or worse, i can improve speed and compatibility. Im looking to find some help in my endeavor any help would be appreciated just send me a pm or reply to this post if you can help. So far im just studying which loops are the worst. you can find them in VBA's or NO$gba's disassembler listed as addresses like BCC, BLT, BEQ, etc..

well I fixed some games that were not saving right, corrected a typo that stopped super mario advance (U) from getting a speed boost and added support for a few that had not previously worked like Robopon (U) (both ring and cross) and Aladdin enjoy

download latest game_config.txt
 

wolfmanz51

MrNintendosense
OP
Member
Joined
Nov 24, 2008
Messages
428
Trophies
0
Location
Somewhere in cali
Website
www.youtube.com
XP
370
Country
United States
just a quick update on the game config txt speaking with neb I've got these details
But here's what I think the various fields in game_config.txt do:

* flash_size = 128KB forces the game to save to non-volatile flash memory if its save size is 128 KB. Usually, any game with a 128 KB save size declaration would save to SRAM, backed by a battery, and not non-volatile flash. It's needed to save in Pokémon Emerald and a few other games with large saves.

* iwram_stack_optimize = no declares that the game uses a call stack that grows out of IWRAM (Working RAM) on the GBA, so that the recompiler stops thinking that anything that's out of IWRAM is automatically GBA code (it could be the stack growing).

* idle_loop_elimination_target = address declares that the given address in GBA address space starts an idle loop that continues until VBlank. It's a speed hack only.

* translation_gate_target = address declares that the given address in GBA address space starts a translation gate. I have no idea what that is.
 

Deleted member 319809

MAH BOI/GURL
Member
Joined
Dec 22, 2012
Messages
900
Trophies
0
XP
461
Country
Canada
Golden Sun, worldwide version, game code AGSE, experiences a crash of the emulated GBA (not the entire emulator) at certain points in the game where the game asks a question answerable by Yes and No.

I presume it has to do with one or more of the 3 translation_gate entries being wrong, because deleting game_config.txt fixes the problem.

Here's a saved state in TempGBA beta 8 (1.0e) format that you can use to reproduce and narrow down the problem. Name it ROMNAME_1.rts and put it in /TEMPGBA/SAVES on your card. Turn down the volume on your DS, load #1 and you'll get to the overworld early in the game, next to a non-player character. Press A to talk to him; the game should present you a choice between Yes and No. Wait between 20 and 300 frames (1/3 to 5 seconds) without answering the question and you should experience a GBA crash with sound glitching.
 

Attachments

  • Golden Sun RTS.zip
    109.3 KB · Views: 223

Aeter

A walking contradiction
Member
Joined
Apr 1, 2009
Messages
942
Trophies
1
Age
36
Location
The lands of nether
XP
485
Country
Netherlands
I've merged the TempGBA game_config along with official version 1.3 and another version form Am-rA which contained a lot of EU game fixes.
Here's the new version.
Should I add it to the current Filetrip entry as v1.4 or does it require testing first?
 

Attachments

  • game_config_merged.txt
    36.1 KB · Views: 628

Deleted member 319809

MAH BOI/GURL
Member
Joined
Dec 22, 2012
Messages
900
Trophies
0
XP
461
Country
Canada
I've merged the TempGBA game_config along with official version 1.3 and another version form Am-rA which contained a lot of EU game fixes.
Here's the new version.
Should I add it to the current Filetrip entry as v1.4 or does it require testing first?
I'd say you can just go ahead and add it to Filetrip, then link it on the TempGBA thread. I would then copy the link to the OP and say "and download Aeter's merged v1.4 game_config.txt" in the lead paragraph.
 

Aeter

A walking contradiction
Member
Joined
Apr 1, 2009
Messages
942
Trophies
1
Age
36
Location
The lands of nether
XP
485
Country
Netherlands
I'd say you can just go ahead and add it to Filetrip, then link it on the TempGBA thread. I would then copy the link to the OP and say "and download Aeter's merged v1.4 game_config.txt" in the lead paragraph.
Yeah I was about to do that, but didn't have wifi the last few days on my laptop.
I'll do this right away and post a link in the TempGBA thread.
 

Deleted member 319809

MAH BOI/GURL
Member
Joined
Dec 22, 2012
Messages
900
Trophies
0
XP
461
Country
Canada
Perhaps some more Euro/US versions of Japanese games would benefit from being added.

Someone who has these Euro/US versions could generate new game_config.txt sections for them, given the values shown in /Tools/Debugging/ROM information. They're already in the game_config format.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    HiradeGirl @ HiradeGirl: Have a nice day. Life. Week. Month. year.