Meritous Port for OPL

PS2 Meritous Port for OPL 2020/06/27

nop90

Forum Noob
Hello Forum, I signed up only two days ago, but lurked in your threads in the last month to search infos on ps2 coding and examples of open source games ported to PS2 to learn from them.

At the moemrnt I ported some games of the Retroguru team, but they are under testing and will be released when we think there are no bugs.

Meanwhile as a gift to the (small) community I ported to PS2 a great open source game: Meritous.

I did this yesterday (in about 4 hours) because I read in many threads many developers complaining the SDL lib to be not complete (in particular the sound support), but I think it works very well doing the things i the right way. I learned how to use it studiyng the PS2SDK examples and experimenting, so now I want to share the knowledge gained.

In a couple of days the sources of this port will be available on my Github space as a reference for other developers that want to port other games. Just searching for PS2 in the sources people should be able to understand what to change in a well coded SDL game to make it run on the PS2 with minimal effort.
If I have time I'll add some porting notes in the sources repository.

Meritous is one of my favourites open source games, ported it to 3ds some years ago and played it to the end. You can read more about the gameplay online.

This port is in .ISO format and can be launched with OPL. It has sound and MC saves working. I tested it on PCSX2 emulator and on a PS2 slim from an SD stick (had no time to test it on my PS Fat running from the HD, but there should be no problems).

This is How I mapped the controls to the Joypad:

Arrow keys - Move around. To walk through doors, simply walk up to them and push against them.
CROSS - Charge your PSI circuit.
SELECT - Exit the game.
START - View the help file.
CIRCLE - View the map (you can then use the arrow keys to scroll around the map.
SQUARE - Activate a trigger tile that you are standing on. Square is also used for various other things, such as for reading in-game dialogue.
TRIANGLE - Pause the game.

Maybe a better mapping can be done. Let me know please

From my quick test there are two bugs to solve:
- In the help screen activating links doesn't work
- Exiting the game,the game hungs instead of returning to the PS2 menu

When I have time I'll try to fix them.

Hope you like this port. Any feedback is welcome.

Meritous.gif m2.gif
 

Attachments

Congratulations it is a great job and with reference to the SDL lib I would like you to share your knowledge with me I am a novice and I have not been able to make that lib work well.
 
what sdk do you use ??
:confused3:

I see that you know a lot about programming, I could do some video tutorials to learn I would be the first to see them
 
what sdk do you use ??

I use PS2SDK (mid june 2020 version).

But I need some help: my ports of Retroguru game works fine on my PS2s (one SLIM and one FAT) launching them with OPL (daily version of mid of june) and the PS2 are hacked with FMCB (latest version) runnning from 8MB MC.

We have a tester that reports all the game doesn't work with OPL.

Since I made the Meritous ISO the same way of the other games, It would be great if someone could write here if the game is working or not on hisPS2, and the configuration he has.
 
We have a tester that reports all the game doesn't work with OPL.

Since I made the Meritous ISO the same way of the other games, It would be great if someone could write here if the game is working or not on hisPS2, and the configuration he has.

What does "doesn't work with OPL" means?
- BSOD after launching game?
- Game crashes after starting new game?
- From what device game was tested (USB\ETH\HDD)?

I have tested this game only for a few minutes on SCPH-50004 through USB...
I can start new game:
game.png


If someone is having a problem with this game through USB:
- mostly his game (ISO) is fragmented
- USB device may be not fully supported
 
Thank you for your feedback.

I asked more details. I know only the problem is BSOD, nothing else.
 
One thing I forgot to add...
I have tested version from 27\06\2020,
so this one should be most recent.
 
How do I install on HDD? WinHIIP? I just get a white screen. Do I have to change settings when I install with WinHIIP?

Do not use WinHIIP. This program is old and support for it has ended long ago.
Try one of these:
https://www.psx-place.com/resources/hdlgameinstaller.709/,
https://www.psx-place.com/resources/hdl-dump-helper-gui-for-linux-windows.707/,
https://www.psx-place.com/resources/hdlbatch.881/.

Additionally try ISO that I attached.
I only renamed "MERIT_01.02" into "SLES_111.11" and updated "SYSTEM.CNF".

@nop90 is there any chance for standalone version?
I mean an ELF + data files. Not only an ISO.
 

Attachments

I mean an ELF + data files. Not only an ISO.

Yes, but I don't have time now.

The big problem with this game is that in the Boss rooms there are so many gfx elements that the games becames so slow to be unplayable. Should try to fix it (have some ideas), but changing code is not so fast as adapt the existing code to compile to another platform.

Will have to wait some free time during Xmas holidays.
 
Do not use WinHIIP. This program is old and support for it has ended long ago.
Try one of these:
https://www.psx-place.com/resources/hdlgameinstaller.709/,
https://www.psx-place.com/resources/hdl-dump-helper-gui-for-linux-windows.707/,
https://www.psx-place.com/resources/hdlbatch.881/.

Additionally try ISO that I attached.
I only renamed "MERIT_01.02" into "SLES_111.11" and updated "SYSTEM.CNF".

@nop90 is there any chance for standalone version?
I mean an ELF + data files. Not only an ISO.
These all seem to only install over network. I want to transfer everything over USB using my PC, network vs USB speeds is 1.8MB/s vs 80MB/s. Is there software you recommend that I can install over USB? Also, would you know if this could work on a CECHA PS3 FAT? I couldn't find much on running PS2 Homebrew on a backwards compatible PS3.
 
Did you at least read what is in About\Functions\Instructions tab?

You should get higher transfer speed than 1.8 MB/s through network.
Here is my speed while I was installing game with HDLGameInstaller:
dd2.png


In HDL Dump Helper GUI you have options to choose between a local HDD and Network:
hdl_ver1.jpg


Etc...
 

Similar threads

Back
Top