Lameguy64 / PSn00bSDK

The most powerful open source SDK for the PS1 (as far as open source PS1 SDKs go). Not recommended for beginner use.
Other
819 stars 66 forks source link

Linux: Demo not working using PCSXR since commit `c800972` #67

Closed Blaxar closed 1 year ago

Blaxar commented 1 year ago

I've been fiddling with the project at a surface level, mostly for the sake of building it and getting the demos running, all using the latest master (https://github.com/Lameguy64/PSn00bSDK/commit/4139331d233b7a962e747c5564fa68a285f81cc8).

The building step goes well once the correct MIPS gcc tool chain is correctly set, not much to report here, however: my experience at run time tells another story...

I load the iconic, freshly-built n00bdemo.exe using PCSXR and... nothing, black screen, but the emulator does not seems to report much meaningful info (compared to a successful run)

Fortunately: the last tagged release v0.19 (some 49 commits ago...) builds AND runs successfully as far as I can tell, so I decided to try and find out when/where things went dark.

By manually performing binary search (yes) on the commit list between now and then to test what was resulting in a working demo and what wasn't: I've pinned down commit https://github.com/Lameguy64/PSn00bSDK/commit/c800972bc13ad0c7015b7d44fe9f124b719e792e as the faulty one

Much to my dismay: my non-existing MIPS-on-PSX knowledge does little to help me understand this and fix it myself, so instead I did the best I could by finding out where the issue originates from.

What more:

This whole project looks insane and I'm counting on further fiddling with it (at least I know I have some working version of it), so if you want me to provide more info or test more things on my side regarding this issue: I'm all ears!

alex-free commented 1 year ago

PCSXR is not an accurate emulator, neither is ePSXe.

The recommend emulators are DuckStation or No $ PSX, in fact the emulators you have tried so far are specifically not recommended by this SDK.

Demos work great for me in the emulators mentioned above and obviously on real hardware.

Blaxar commented 1 year ago

Thanks for the tip, I'll give DuckStation a shot then.

I still find the fact it used to work for PCSXR noteworthy, but then if the real hardware can still run it: I guess those two emulators I tried are objectively at fault then.