Some games have idle loops that need to be taken care before they run good (e.g Castlevania CoTM). I will be doing updates for these games here (others feel free to help if you know how to)..
Special thanks: ********, fatcamp, Fou-ryu
Printable View
Some games have idle loops that need to be taken care before they run good (e.g Castlevania CoTM). I will be doing updates for these games here (others feel free to help if you know how to)..
Special thanks: ********, fatcamp, Fou-ryu
thats for some roms right, if you have different version of the rom, it could have mixed results right?
Yes, though as long as your ROM is not a bad dump it should work fine (and the configs I'm posting are for USA versions only)Zitat:
Zitat von Basil Zero
i only plays USA versions anyways lol
try and get zelda to run after u get the map, that would rock
Does this fix only speed, how about graphical issues like for example in:
FFTactics Advance, the intro opening movie, there's a white screen but music plays fine, afterwards the game seems to run normal..but the intro....
Should only fix speed..
Update: MMZ4 added, now all MMZ games are running perfect ;)
Is it possible to find where the idle loop exists? Can it be found anywhere on the bsod? :)
No, I used the debugger in VBA to the find the idle loops.Zitat:
Zitat von Psypher
would you care to explain how you did it? a little tutorial will be appreciated, i can give it a try too because my copy of castlevania - cotm has some speed issues.
There is already a speed fix in the game_config.txt for CoTM and it runs at frameskip 0. Make sure you rom is a USA version and not a bad dump (for this check with GoodGBA).Zitat:
Zitat von toi
the game_config.txt must also be in the same dir as your roms.. or else its not even using the file.
You need to open up the rom in a dissembler such as VBA and look for addresses like BCC, BLT, BEQ, etc.. killing some of these addresses will get rid of the idle loops but you will have different results with different addresses (some may give more speed than others, I think the above I posted are the best for those games anyways).
Really? I thought people mentioned it should be in the same folder as your EBOOT.PBP, but it has to go inside your rom folder? And do you intend to update your list with new games to be entered in the game_config.txt? If so, I'll put links to your thread in my thread about how to get certain games to work.:)Zitat:
Zitat von zshadow
Yes, it must be the same folder as your ROMs. and yep, of course, I'll be updating the list as soon as I get more games working :)Zitat:
Zitat von SeikenZ
Thanks, that would be a great help :)Zitat:
Zitat von zshadow
I'll add links to your thread tomorrow, for the games you specify. Off to bed now, kinda sleepy, worked till 22:00 :tup:
Can someone fix the pokemon ruby crash?
How come the author of the emulator added v-rally 3 to the config, yet the game still crashes?
that one needs the european version :mad:Zitat:
Zitat von tor
i might do more of these tomorrow, it seems doable enough with the little explanation of how to find stuff in a hex editor. Anyone know of a good freeware one? I'm using XVI32
Say... someone got a Mario & Luigi Superstar Saga Savegame? I took several ones on PC, but they always end up being 8kb instead of 64kb
Yeah it crashes with the european game too.Zitat:
Zitat von DarkLink5607
Could someone answer a couple of questions:
1) I heard that there are similar config files for computer GBA emulators. Can these be used?
2) Can these fixes fix crashes, or just sound/speed?
3) Is this anything like an HLE?
P.S.- anyone heard anything from ********?
Would fixing speed have anything to do with the music speed? If so is there anything to do about the battles in FF I&II Dawn Of Souls?
1. no, they can't be used.Zitat:
Zitat von volsfan91
2. they don't fix crashes, they're just for speed increase.
3. it has nothing to do with HLE (High Level Emulation), they're different things.
if those "loops" that we need to "idle" makes the game run slower why are they there in the first place? and if idling that loops means removing the code between that loop, how come we can do it without damaging the game?
i don't quite get the idea of this idle_loop thing, can anyone explain please?
I'm pretty sure adding this to the config fixes things, not for speed.Zitat:
Zitat von toi
1. you're wrong, they fix both crashes and speed stuff... depending which idle loop you killed...
Idle Loops as the Author calls them are Loops that wont end until some part of the Hardware tells them to do... its some sort of endless waiting process for a hardware to do some stuff... like calculating a graphic, doing sounds, ect...
If we found the proper Idle-Loop in Mario and Luigi Superstar Saga, that waits for the 3D Graphic Unit (for doing the 3D - Star Graphic at Battle Entrance) we could bypass the endless loop at start of a battle and therefore make the game run...
If its a loop running in the background and we comment it out sort of, its only increasing speed... if its for a currently non-emulated device thought... like the 3d-graphics renderer, we can also fix those crashes...
my roms are always in the same folder as the eboot...
my roms were in a different folder then the eboot.pbp and i didn't know the game_config.txt should be in the same folder as the roms. i copied it to the rom folder and now the speed is better. thank you for clearing that up.Zitat:
Zitat von zshadow
there isn't a search function in the disassembler of VBA, how am i supposed to find the BCC, BLT, BEQ ?Zitat:
Zitat von zshadow
let's say if i found this line in the disassembler;
00000bcc bafffffc blt $00000bc4
will it be "idle_loop_eliminate_targ et = 00000bcc" ?
EDIT: ok i looked for the address for your Megaman Zero 4 patch in the disassembler and there is a BCC there so the above statement is true.
EDIT: nvm i probably don't know what the hell i'm talking about
is there a way to fix pokemon emerald..lol
it keeps on crashing on the least looked at time...
whenever Poochyena uses the Howl attack....it crashes...lol
i just dumped the output of some rom's disassemly to a file and searched through it for "BCC". there are like hundreds of it, how do i know which one to choose?
and can i use more that one line of 'idle_loop_eliminate_targ et' in the config file?
I'm just wondering why v-rally 3 still doesn't work, its just the fact that if that game was added by the author then you would assume it would work.