drhelius / Gearsystem

Sega Master System / Game Gear / SG-1000 emulator for macOS, Windows, Linux, BSD and RetroArch.
https://x.com/drhelius
GNU General Public License v3.0
250 stars 45 forks source link

Feature request: manual region setting for libretro #26

Closed autofire372 closed 2 years ago

autofire372 commented 4 years ago

When playing the GG version of Sonic Blast, I discovered that Gearsystem boots it as its Japanese counterpart, G Sonic, while Genesis Plus GX boots the international version from the same rom. I then noticed that Gearsystem's core options do not include a way to force the use of a particular region. Could manual region changing be exposed through libretro?

drhelius commented 4 years ago

Yes, no problem. Thanks for reporting.

autofire372 commented 4 years ago

Tried the fix; the new core options don't actually do anything on Linux, and the core fails to execute on Windows (happens with master; new bug report to follow)

EDIT: Just tested the Linux standalone build; region forcing doesn't work, period. Forcing a region of "Game Gear - International" still results in G Sonic, not Sonic Blast, starting up.

drhelius commented 4 years ago

Region forcing is working.

Using SMS Export does the trick. But I found a bug in Game Gear IO preventing it to detect region other than Japan.

It should be fixed now, setting it to "auto" will load the international version.

vaguerant commented 2 years ago

Continuing on from drhelius/Gearboy#141, concerning an issue that occurs on the libretro build for Wii U (possibly endianness-related):

When launching the Master System game Choplifter (No-Intro: Choplifter (USA, Europe).sms) with Region set to "Auto", you get the Japanese "Sega Mark III" splash screen. Changing the Region to "Master System Export", you still get the Sega Mark III screen. However, if you change the Region to "Master System Japan", the game boots straight to the title screen, as it should on an Export machine.

I was able to identify another game exhibiting this issue. Under normal circumstances (e.g. real hardware) Zillion (No-Intro: Zillion (Japan, Europe) (En,Ja).sms) is a game which displays the Sega Mark III screen when booted on a Japanese machine, then continues to a title screen in Japanese. Pressing 1/Start will launch into an introductory story sequence also in Japanese. On export machines (both PAL and NTSC seem fine even though this specific ROM is denoted as Japan/Europe by No-Intro), there is no Sega Mark III screen and the title screen and intro are all in English. In Gearsystem on Wii U via RetroArch, this behavior is reversed: Region set to Auto or "Master System Export" results in the Japanese version starting up, while Region set to "Master System Japan" boots the game in English.

I will continue testing; I'm particularly curious whether Game Gear games are similarly affected.

EDIT: From my testing so far, Game Gear games don't seem to be affected by this issue, e.g. Streets of Rage (No-Intro: Bare Knuckle ~ Streets of Rage (World).gg) boots under its western title Streets of Rage with Region on "Auto", "Game Gear Export" or "Game Gear International", and with its Japanese title Bare Knuckle when Region is set to "Game Gear Japan". Only Master System games appear to have regions swapped.

drhelius commented 2 years ago

Just merged the fix into master

vaguerant commented 2 years ago

Nice, confirmed fixed on my end as well.