GBARunner2 icon indicating copy to clipboard operation
GBARunner2 copied to clipboard

Most Chinese games can't be played

Open yoyoliyang opened this issue 6 years ago • 16 comments

As the title, A lot of Sinicization games can't be played.

yoyoliyang avatar Jul 17 '18 22:07 yoyoliyang

Most of my iQue games work, Famicom Collection is broken though, and Polarium Advance CHN (And all other regions, too) got broken

FlameKat53 avatar Jan 08 '20 00:01 FlameKat53

If the game contains a custom title, it must be removed.

For example, I try to remove the custom title for "The Legend of Zelda - A Link to the Past and Four Swords". It works normally. However, it requires using no$gba for debugging dynamically_(:3」∠)_

What's more, many pokemon mod cannot work even if the title was removed. I don't know why a game works well on the simulator, but not work for real console.

If there are some ways to know why game hangs or gets trapped into blackscreen, it will be much useful. Copying files between PC and console frequently is really cumbersome.

SLKun avatar Jan 12 '20 06:01 SLKun

QQ截图20200112223817 A example of custom title code. @Gericom

In this code, first open the screen (0x40000000), then write to DMA3 SourceAddr (0x400000D4), then write to DMA3 DestAddr (0x400000D8), then write to DMA3 Word Count (0x400000DC), then wait for key by read KEYINPUT(0x4000130) repeatly. Finally, close the screen (0x40000000) and back to entry point(0x800000C0).

I don't why they don't write to DMA3 Control(0x400000DE). But I think the main issue seems to be related to the DMA3.

The test version is GBARunner2_arm7dldi_dsi.nds(v20191224-164221_b740476) on NDSi with TWiLightMenu.

SLKun avatar Jan 12 '20 15:01 SLKun

You probably shouldn't share that rom here. Otherwise good job!

zenseii avatar Jan 12 '20 16:01 zenseii

Wait, it seems to use the LDRT and STRT instructions (which are no different from LDR and STR respectively on gba). I do not handle that instruction in the abort handler currently. Edit: This is unrelated to this issue by the way

Gericom avatar Jan 14 '20 12:01 Gericom

Btw @Summerslyb the ROM is still available in the history of your post. I'm not sure how to remove that actually...

zenseii avatar Feb 06 '20 12:02 zenseii

That "title code" this was referring to rom intros which appearently use strt/ldrt sometimes. It is unrelated to chinese games. If the chinese games just work when clean I can probably close this issue and make a separate one for ldrt/strt support

Gericom avatar Feb 07 '20 16:02 Gericom

Chinese game is a complicated issue. Different games may have different problems.

“Custom title” is just a common problem I found. After removing the title, some games will still not work, which may require further testing.

Anyway, I think it is necessary to open a new Issue for ldrt/strt support.

SLKun avatar Feb 09 '20 14:02 SLKun

Btw @Summerslyb the ROM is still available in the history of your post. I'm not sure how to remove that actually...

I deleted the history permanently.

SLKun avatar Feb 09 '20 14:02 SLKun

I try to modify the "strt/ldrt" to "str/ldr". It will no longer get stuck. But the screen doesn't show anything useful but stays blank. And the interrupt for touch on bottom screen is blocked util you enter the key.

QQ截图20200216145216

SLKun avatar Feb 16 '20 08:02 SLKun

Did you try with center and mask disabled?

Gericom avatar Feb 16 '20 09:02 Gericom

Oh, when disabled 'center and mask', the title showed. It may related to the frame delay.

SLKun avatar Feb 17 '20 10:02 SLKun

No, the reason is that that title appearently doesn't use any irqs which is the issue. I will implement support for ldrt and strt and then close this issue

Gericom avatar Feb 17 '20 15:02 Gericom

When getting iQue famicom mini collection game TO WORK on mGBA v.0.9.3 on my PC, the game still crashing in previous GBARunner2 versions, but has still doesn't work anymore in latest mGBA3DS versions.

The famicom mini collection is not supported by GBARunner2.

SLKun avatar Mar 28 '22 10:03 SLKun