MiSTer-devel / WonderSwan_MiSTer

WonderSwan Color for MiSTer
GNU General Public License v2.0
12 stars 13 forks source link

Cho denki card battle yofu makai kikuchi shugo Crash #3

Open RobertPeip opened 3 years ago

RobertPeip commented 3 years ago

Crashes after starting into the game

makigumo commented 3 years ago

Seems to work now with latest fixes (ef221f1). At least no crashes on my side.

RobertPeip commented 3 years ago

Can you go into the game? I tried pressing A several times, going forward with the first menu items(can't read what they say) and it crashes after few steps.

Maybe I have a bad dump? Can you tell me the hash/checksum of your ROM?

makigumo commented 3 years ago

Sorry, it seems I misspoke. I get a crash, but maybe in a different place.

NODATE-Chou Denki Card Battle - Youfu Makai (Japan) (Rev 3)_0001

This reads when selected: シナリオ - scenario (meaning story mode) CPU対戦 - battle against CPU 通信対戦 - battle over link デッキ - card deck 初期化 - initialization

NODATE-Chou Denki Card Battle - Youfu Makai (Japan) (Rev 3)_0002

第一部「紅蓮」 Part 1 "Crimson Lotus"

NODATE-Chou Denki Card Battle - Youfu Makai (Japan) (Rev 3)_0003

はじめから - from beginning 続きから - continue

NODATE-Chou Denki Card Battle - Youfu Makai (Japan) (Rev 3)_0004

Lots of text omitted.

NODATE-Chou Denki Card Battle - Youfu Makai (Japan) (Rev 3)_0005 NODATE-Chou Denki Card Battle - Youfu Makai (Japan) (Rev 3)_0006 NODATE-Chou Denki Card Battle - Youfu Makai (Japan) (Rev 3)_0007

When I press the B button I can enter the gameplay. When pressing Left two times, the game crashes as seen in the next picture.

NODATE-Chou Denki Card Battle - Youfu Makai (Japan) (Rev 3)_0008

I tested with this version:

# sha1sum Chou\ Denki\ Card\ Battle\ -\ Youfu\ Makai\ \(Japan\)\ \(Rev\ 3\).ws
c4436a59fd830ba6af2d63462f71e1ab1cfa3212  Chou Denki Card Battle - Youfu Makai (Japan) (Rev 3).ws
RobertPeip commented 3 years ago

Yes, that's the problem, have the same checksum on mine.

FluBBaOfWard commented 2 years ago

Can you get it to crash if you run the initialization before anything else?

makigumo commented 2 years ago

Good point! Indeed, after initialization it seems to run fine. So my guess would be some kind of memory initialization issue. Of note maybe that the first line in this table which is probably pointing to corrupt/uninitialized data.

After fresh core start. After initialization. 20220403_132251-Chou Denki Card Battle - Youfu Makai (Japan) (Rev 3)

RobertPeip commented 2 years ago

I don't get what you mean with "initialization". Can you explain that more?

edit: i see now, one menu entry translates to initilization. I can try to see what it does.