Mednafen Members Members   Search Search   Help Help   Register Register   Login Login   Home Home
Home » Mednafen » Development » Hex edit PS1 CD region auto detection
Show: Today's Messages  :: Show Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Hex edit PS1 CD region auto detection [message #6716] Fri, 27 May 2022 21:55 Go to next message
Derfas13  [PM]
Hello.

I'm trying to figure out how to force hex edited bin of PS1 game to be auto detected as US region instead of EU.

I tried to hex replace these data, but it still launches as EU region.

SCEE > SCEA

SCES_039.22;1.....UXA > SCUS_039.22;1.....UXA

SCES_039.22;1.TCB > SCUS_039.22;1.TCB

SCES-03922KBV > SCUS-03922KBV

Licensed  by          Sony Computer Entertainment Euro pe   .. > Licensed  by          Sony Computer Entertainment Amer  ica ..


I know that i can turn off auto detection, but i wish to know what i am missing here.

Can someone point me my mistake?
Re: Hex edit PS1 CD region auto detection [message #6717 is a reply to message #6716 ] Sat, 28 May 2022 14:17 Go to previous messageGo to next message
Yuri Bacon  [PM]
I'm not sure about how mednafen detects game region, but I can tell you that mednafen verifies the error correction data on the disc. You'll need something like ECCRegen to update the error correction to match your hex edits, otherwise mednafen will "correct the disc errors".

You can also change psx.region_autodetect to 0 to force mednafen to always run as the region console set in psx.region_default, but mednafen doesn't display PAL video from an NTSC console and vice versa, just showing "video mismatch" on screen, so you might run into issues with that depending on the gamee.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
she/her
Use my mednafen servers? Contact me! https://discord.gg/ngZuC9c8Wr
Play Digimon Rumble Arena: https://discord.gg/wg5j5Np
Re: Hex edit PS1 CD region auto detection [message #6718 is a reply to message #6717 ] Sat, 28 May 2022 17:34 Go to previous messageGo to next message
Derfas13  [PM]
>> I'm not sure about how mednafen detects game region

I checked source code of auto detection, and pretty sure it suppose to be connected to things which i edited. But it still somehow doesn't work like i want.

>> mednafen doesn't display PAL video from an NTSC console and vice versa, just showing "video mismatch" on screen

I already did conversion from PAL to NTSC, and it runs fine enough, if i turn off auto detection.

So my main issue is region auto detection.
Re: Hex edit PS1 CD region auto detection [message #6719 is a reply to message #6717 ] Sat, 28 May 2022 17:46 Go to previous messageGo to next message
Derfas13  [PM]
>> ECCRegen

Yes, ECCRegen fixed my issue. Thank you ^^
Re: Hex edit PS1 CD region auto detection [message #6720 is a reply to message #6719 ] Mon, 30 May 2022 02:41 Go to previous message
Yuri Bacon  [PM]
I knew it! Error correction, gets 'em every time. It would be nice if mednafen had an option to turn it off, for the sake of testing edits more quickly and only having to regen once when you "finalize" it, but I guess there are always just other emulators >.>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
she/her
Use my mednafen servers? Contact me! https://discord.gg/ngZuC9c8Wr
Play Digimon Rumble Arena: https://discord.gg/wg5j5Np
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic:Does Mednafen support *any* compressed formats for disc-based systems?
Next Topic:WonderSwan compatibility patches
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ ]

Current Time: Sat May 4 20:00:02 CDT 2024
.:: Contact :: Home ::.

Powered by FUDforum.
Copyright © FUDforum Bulletin Board Software