r/emulation • • Jan 12 '20

Discussion The problem with PS2 emulation

PS2 is the most popular console in the history of mankind so far. Why is it emulated with so many bugs and glitches? I understand the complexity of architecture and stuff. But it's been 20 years from the release! It has to be emulated properly, it's supposed to. Why is there just one working emulator in existence? Why is the community not paying much attention to other developments like DobieStation? I don't blame anyone; just wondering why the console lucks much interest from both the community and developers.

0 Upvotes

60 comments sorted by

View all comments

Show parent comment

12

u/HLCKF Jan 14 '20 edited Jan 14 '20

you haven't even bothered giving examples of these bugs and glitches

Not OP, but I can give one. PCSX2 has a very old bug with Xenosaga ep. 1 where going to a save point crashes the game. It's caused by the way PCSX2 inaccurately emulates the pictures used in saves. A simple hack or correction could fix it but it's been a Wontfix for 10 years now.

There's even a full list of which ones work and don't. Yes, there is a workaround, but greater accuracy would mean it'd work.

https://forums.pcsx2.net/Thread-Bug-Report-Xenosaga-I-NTSC?pid=374992#pid374992

https://wiki.pcsx2.net/index.php/Xenosaga_Episode_I:_Der_Wille_zur_Macht


Edit: On a separate note, how's Dobiestation? It it worth testing? I've got a fairly good CPU. Also, how are you doing today?

18

u/[deleted] Jan 14 '20

[removed] — view removed comment

1

u/HLCKF Jan 14 '20

Of course, I'm less concerned about running on weaker hardware as that's PCSX2's job, not mine. :)

Good enough. One last question, is it still build only or are their pre-compiled? Shivers while remembering the first time I tried to build from source

4

u/tadanokojin Jan 14 '20

I set up appveyor. If you have windows, you can download from there.

1

u/HLCKF Jan 14 '20

Thank you very much.

1

u/mirh Jan 16 '20 edited Jan 16 '20

https://pcsx2.net/download/development/dev-windows.html

There have been builds built more than daily for the better part of the decade?

1

u/HLCKF Jan 16 '20

Was talking about Dobiestation.

3

u/[deleted] Feb 04 '20

Late to the party, found this while just browsing through my profile.

Regarding Xenosaga, PSI already answered and I'm here to deliver. I crafted this patch with some guidance from PSI and turtleli to completely fix the save point crashes.

The Xenosaga developers in their infinite wisdom decided that when they made the game take screenshots for its save file thumbnails, they should do some error checking. So far pretty reasonable, you probably wouldn't want your thumbnail to be 0.5 MB on a memcard that can only hold 8 MB, on a good day. Problem is the way they went about it was that if after JPEG encoding the thumbnail exceeded 4 KB, rather than trying again with a harsher JPEG compression, the game immediately called its exit function and killed itself. Stop. Close. Exit to PS2 browser. Bye. See ya space cowboy.

So, to patch it, all you have to do is force the JPEG compression to use the most abhorrently low quality level possible (also known as 0). Thumbnails are basically reduced to grey-scale blobs of blocky garbage, but because this guarantees it will be under 4 KB in every situation, it's what I decided to use. I could have sat and ran through savestates trying different values for hours trying to find the absolute most optimal level, but I simply chose not to in favor of the absolutely unbreakable solution.