Fixing ROMs for EMS 64 GB Smart Card USB

Discussion of programming and development for the original Game Boy and Game Boy Color.
alepocho
Posts: 3
Joined: Tue Sep 16, 2014 9:00 am

Re: Fixing ROMs for EMS 64 GB Smart Card USB

Post by alepocho » Tue Sep 16, 2014 9:05 am

MottZilla wrote:It was brought to my attention that Mega Man Xtreme crashes on hard mode in Morph Moth's stage. This patch should fix that problem.
Hi, thanks for those patch you were made!

Mega Man xtreme 2 has a similar crash in the level select screen on the extreme mode, could it be fixed?

User avatar
MottZilla
Posts: 2832
Joined: Wed Dec 06, 2006 8:18 pm

Re: Fixing ROMs for EMS 64 GB Smart Card USB

Post by MottZilla » Fri Sep 19, 2014 8:48 pm

Maybe. It helps if you provide a save file where the point of the crash can be reached within a small amount of time. The longer it takes to get to the point of a crash, the less likely I'll have time to look into fixing it.

alepocho
Posts: 3
Joined: Tue Sep 16, 2014 9:00 am

Re: Fixing ROMs for EMS 64 GB Smart Card USB

Post by alepocho » Sat Sep 20, 2014 6:47 pm

Hi, thanks for your reply! Sorry for the delay, here is the save file

To reach the crash:

In the MODE SELECT screen choose CONTINUE, then in the load scren choose "file 1" "extreme mode", in the level/boss select screen will crash

Thanks again
Attachments
Record.7z
save file
(14.64 KiB) Downloaded 222 times

User avatar
MottZilla
Posts: 2832
Joined: Wed Dec 06, 2006 8:18 pm

Re: Fixing ROMs for EMS 64 GB Smart Card USB

Post by MottZilla » Sun Sep 21, 2014 10:38 am

I'll try to look at it when I can.

User avatar
MottZilla
Posts: 2832
Joined: Wed Dec 06, 2006 8:18 pm

Re: Fixing ROMs for EMS 64 GB Smart Card USB

Post by MottZilla » Mon Sep 22, 2014 12:47 pm

Try this. I think it'll work now.

Also here is just a more up to date collection of my fixes.
Attachments
sc_mzfix.zip
Collection of Fixes Sept 22nd 2014
(6.8 KiB) Downloaded 259 times
Mega Man Xtreme 2 (U) (Fix).ips
(75 Bytes) Downloaded 233 times

zaffo256
Posts: 4
Joined: Tue Aug 13, 2013 1:22 pm

Re: Fixing ROMs for EMS 64 GB Smart Card USB

Post by zaffo256 » Mon Sep 22, 2014 6:38 pm

First, I want to give a big thank you to MottZilla and Great Hierophant for all the great work they did for the community.

I have a question for MottZilla; I was wondering if your patch for Pokemon Card GB2 - GR Dan Sanjou! was compatible with this English patch.

I know that there is a good chance that this was asked a thousand time already and I am sorry if it was, but I didn't find any results after a quick search.

I tried running the IPS Patch Checker that was recently advertised on Romhacking.net's news feed and I got this result:
D:\Pokemon Card GB2 - GR Dan Sanjou! (J) [C] (Fix).ips
3 Records Found
Errors: 1
The Records below are overwritten in part or whole by the 2nd patch.

1. 00014E:
[FE] [3D]



D:\PokemonTCG2-FullTrans.ips
652 Records Found
Errors: 1
The below records overwrite the above records in part or in whole.

1. 000148:
[07] [03] [00] [33] [00] [38] [F7] [66]
Do you think that it would cause any problem? Is there a preferred order to apply those patch?

Thanks for your time.
Last edited by zaffo256 on Tue Sep 23, 2014 2:34 pm, edited 1 time in total.

User avatar
MottZilla
Posts: 2832
Joined: Wed Dec 06, 2006 8:18 pm

Re: Fixing ROMs for EMS 64 GB Smart Card USB

Post by MottZilla » Tue Sep 23, 2014 12:03 pm

I'm not sure what the translation writes there, but the fix puts code there. If the translation is applied afterward, the fix won't work. If the translation is applied first, it might work. But there would probably be some issue somewhere because of what was overwritten. It's possible the fix can have it's code moved. If you post a link to the translation IPS patch, I'll try to look at it and see if it can be made compatible.

zaffo256
Posts: 4
Joined: Tue Aug 13, 2013 1:22 pm

Re: Fixing ROMs for EMS 64 GB Smart Card USB

Post by zaffo256 » Tue Sep 23, 2014 2:36 pm

Thank you very much for taking the time to look at it!
Here's the translation patch:
Attachments
PokemonTCG2Translation.zip
(178.77 KiB) Downloaded 215 times

alepocho
Posts: 3
Joined: Tue Sep 16, 2014 9:00 am

Re: Fixing ROMs for EMS 64 GB Smart Card USB

Post by alepocho » Sat Sep 27, 2014 8:23 am

MottZilla wrote:Try this. I think it'll work now.
Now works like a charm!

Thank you!

jopeji
Posts: 3
Joined: Mon Nov 10, 2014 1:06 pm

Re: Fixing ROMs for EMS 64 GB Smart Card USB

Post by jopeji » Mon Nov 10, 2014 1:16 pm

Lufia-The Legend Returns, not working in my GB USB smart Card 64M. :cry:

there any fix for this game?. thank you very much.

Shonumi
Posts: 315
Joined: Sun Jan 26, 2014 9:31 am

Re: Fixing ROMs for EMS 64 GB Smart Card USB

Post by Shonumi » Mon Nov 10, 2014 11:22 pm

Not sure if this will help someone make a patch, but I know for a fact that Lufia: The Legend Returns sets the High 9th Bit of the MBC5 ROM Bank even though this technically points to non-existent ROM Banks. Only the low 8-bits of the ROM Bank number should be used in this game. This was an issue I encountered trying to emulate the game myself, so perhaps it's the cause of it not working with the EMS?

User avatar
MottZilla
Posts: 2832
Joined: Wed Dec 06, 2006 8:18 pm

Re: Fixing ROMs for EMS 64 GB Smart Card USB

Post by MottZilla » Tue Nov 11, 2014 3:40 pm

Lufia writes the high ROM bank bit directly all over the place. This might be what the EMS cart doesn't like, however the game also writes to this register area in other code, possibly by accident. I think Battletoads wrote to registers at weird addresses in the range which the EMS cartridge didn't like either so perhaps it is similar.

Update: Here is a fix to try. It prevents writes to the $3xxx range which are likely the cause of the game not working. Please report back with results.
Attachments
Lufia - The Legend Returns (U) [C](Fix).ips
(106 Bytes) Downloaded 222 times

jopeji
Posts: 3
Joined: Mon Nov 10, 2014 1:06 pm

Re: Fixing ROMs for EMS 64 GB Smart Card USB

Post by jopeji » Wed Nov 12, 2014 10:15 am

MottZilla wrote:Lufia writes the high ROM bank bit directly all over the place. This might be what the EMS cart doesn't like, however the game also writes to this register area in other code, possibly by accident. I think Battletoads wrote to registers at weird addresses in the range which the EMS cartridge didn't like either so perhaps it is similar.

Update: Here is a fix to try. It prevents writes to the $3xxx range which are likely the cause of the game not working. Please report back with results.
Perfect working great, thank you very much :mrgreen:

jopeji
Posts: 3
Joined: Mon Nov 10, 2014 1:06 pm

Re: Fixing ROMs for EMS 64 GB Smart Card USB

Post by jopeji » Mon Nov 24, 2014 9:09 am

hi, Revelations - The Demon Slayer.gbc does not work either :cry: , I need your help for a fix. thank you very much!! :wink:

beefinator
Posts: 1
Joined: Sun Dec 28, 2014 9:42 pm

Re: Fixing ROMs for EMS 64 GB Smart Card USB

Post by beefinator » Sun Dec 28, 2014 10:22 pm

mottZilla, I saw a bit earlier in the thread a dude who was having issues with Link's Awakening; I've tried a couple different ROMs with your latest (1.2?) patch, and I'm getting stuck at the same place. It will not retain a save after I rescue the BowWow.
I think the end of the conversation was you saying you'd take another look sometime; I'm wondering if you ever did get a chance to, or if I'm doing something wrong.

Attached is a save file right at the entrance of the cave where you rescue it.
When I go in, fight the baddies, rescue the bowwow, walk out, and save+quit to title, I can then immediately load the save slot again and resume the game, at the cave entrance with the bowwow.
But if I power cycle, and then try to resume my game, I'm placed at the cave entrance, pre-bowwow. It only retains the save while it's running, not on power off.

roms I've tried (perhaps I'm just using the wrong ones): one
two
Attachments
zeldabowwow.zip
(16.25 KiB) Downloaded 203 times

Post Reply