OPL (Open PS2 Loader)

PS2 Open PS2 Loader v1.1.0

Im curious about a feaure used by OPL, how are you doing to display the game title ? (the text string with the commercial game name)
As far i know the only thing we can get from the ISO is the "game ID", right ?. So are you allowing the user to enter the "game name" text manually.... or is found automatically using something like this ? ---> https://github.com/Zarh/Get_CONFIG/blob/master/get_title/PS2.txt

That file was generated using the info fron redump.org (+ some unknowns added manually), and it works a bit as a database where can be see both, the "game ID" and the "game name"
OPL is using something like that file to figure the "game names" ?
 
Im curious about a feaure used by OPL, how are you doing to display the game title ? (the text string with the commercial game name)
As far i know the only thing we can get from the ISO is the "game ID", right ?. So are you allowing the user to enter the "game name" text manually.... or is found automatically using something like this ? ---> https://github.com/Zarh/Get_CONFIG/blob/master/get_title/PS2.txt

That file was generated using the info fron redump.org (+ some unknowns added manually), and it works a bit as a database where can be see both, the "game ID" and the "game name"
OPL is using something like that file to figure the "game names" ?
If you are talking about the list of games you have on different devices, I believe that USB and ETH uses the name from the ISO filename and HDD uses the HDL game information name. Both of which need to be edited manually.
 
Option to have game ID before name of the game (SXXX_XXX.XX) is no longer mandatory.
However you can use it.
You can copy ISO (e.g. game.iso) into e.g. DVD folder and it will be shown in desired device (e.g. USB).
From what I remember OPL 0.9 or 0.9.1 had this ability to list games without ID prefix before name of the game.
However loading that kind of a list may takes some time in the past...

Anyway, maybe more info can be found here:
https://www.psx-place.com/threads/opl-with-prototype-game-list-cache.22036/.


Never mind, I was thinking about different thing.
 
Last edited:
...and HDD uses the HDL game information name.
Hmm, this is close to what i was asking for, when the game ISO is stored in a hdd APA partition it loses his name, right ?
So the name is loaded from this CFG files, right ? https://github.com/Veritas83/PS2-OPL-CFG

There are other databases or collections of CFG files like that ?, with thousands of games or completed


Edit:
More CFG's ---> https://www.reddit.com/r/ps2/comments/ebbrrc/database_of_cfg_files_for_open_playstation_loader/
 
Last edited:
No, not CFG files. The partition holds some data like the game ID and the game name in the partition.

Example from HDL dump:
hdl_dump.exe inject_dvd hdd1: "Gran Turismo 3" c:\gt3.iso SCUS_971.02 *u4

That will make a partition on the hdd with the game name "Gran Turismo 3" and the game ID "SCUS-97102" stored in the partition. Not a CFG file.

PS.
The title saved in the CFG files in OPL is shown when you open the info page, not the list of installed games.
 
Last edited:
@sandungas How do you think HDLoader recognizes names, without config-files? OPL-only config-files I might add...

You see... Your thoughts about how it works is wrong.
 
Is ok, im not much used to OPL :oops:
I was having a pyroclastic brainflow (is like a brainstorming of high intensity) about the PS3 backup managers and i was thinking of a problem that is common for OPL

In the PSP and PS3 games we have all this info that can be taken from the game files
-Official game icon (is mandatory for the games to have an ICON0.PNG)
-Official game ID (from inside PARAM.SFO)
-Official game name (from inside PARAM.SFO)
-Custom game name (either... the name of the .iso file... or the name of the folder where are stored the game files)

In the PS1 and PS2 games we only have this (no official name, and no icon)
-Official game ID (from the .ELF)
-Custom game name (the name of the .iso file)

The other day i posted some images here that in some way could be used to "fix" the problem of the missing icons of PS1 and PS2. The idea is incase there is no icon then is posible to display the default cover (that looks like a case without cover)
I know, the image of the PS2 case is not realistic because doesnt exists official PS2 cases in transparent... but i think is intuitive enought

And the problem of the missing official name... well, is needed to do it by keeping a (huge) list/database with them... i guessed some OPL features was doing it, and it seems the CFG files plays this rol a bit

--------------
This is important because as far i see there are 3 diferent "sorting methods" that could be implemented in the game list:
-by ID
-by official name
-by custom name
 
Does PSX using ELFs? AFAIK it using something more similar to COM (but I'm not a reverse engineer anyway). Sony calling them "PS-X EXE" (for retail/debug) or "ECO" (for NetYaroze). But I'll be happy to know the truth in the name of universe order. ;p
 
New OPL 1559\1562 is out.

Changelog:
- UDNL: Cleanup GetFileStatFromImage return code - rev1562
- UDNL: Fix to GetFileStatFromImage - rev1562
- fixmcmkdir
- Update compilation.yml
- fix detailed changelog generation
- Add gawk to packages to install
- Use lseek64 instead of lseek -> should fix DVD 9 games
- Fix notification display of memory card
- apps: reload legacy apps config at refresh
- apps: add APP size to config set
- apps: have legacy app system getItemConfig - display info page stuff
- apps: search for legacy apps cfg on each device
- Move memory card directory and icon creation to thread
- Overhaul memory card selection and folder creation code
- Update check-format.yml
- Changes to CI files:
- Show message when PS2SDK is not setup when attempting to build
- fix apps not working from USB with prefix
- sfx: use POSIX I/O functions

Checkout DETAILED_CHANGELOG for more info.
 

Attachments

Last edited:
Can anyone try to test OPL 1562?

Games issues:
 
Last edited:
Any progress with those games' issues? For example, I don't see anything about the corrupted graphics in Test Drive since August. The last note on Github is that it doesn't work since the r791 commit. What about a fix???

"Audio glitches in LEGO Racers 2" doesn't have any note at all since September10...
 
New OPL 1572 is out.

Short list of changes:
- iop Makefiles simplified
- Fix warning 'break strict-aliasing rules'
- Fix warning '.end symbol does not match .ent symbol'
- Fix 'uses -mdouble-float' warnings
- Improve mix: 1 less multiplication
- Fix gcc10 warnings
- Global data may not be in the header files
- Replace stricmp with strcasecmp

More info in:
rev1572 - Julian Uy - Merge pull request #334 from rickgaiser/for-ps2homebrew
rev1571 - Maximus32 - iop Makefiles simplified
rev1570 - Maximus32 - Override program headers, but why?!
rev1569 - Maximus32 - Fix warning 'break strict-aliasing rules'
rev1568 - Maximus32 - Fix warning '.end symbol does not match .ent symbol'
rev1567 - Maximus32 - Fix 'uses -mdouble-float' warnings
rev1566 - Maximus32 - Improve mix: 1 less multiplication
rev1565 - Maximus32 - Fix gcc10 warnings
rev1564 - Maximus32 - Global data may not be in the header files
rev1563 - Maximus32 - Replace stricmp with strcasecmp
 

Attachments

After much work by @fjtrujy and me we have a working docker image with the new gcc10 toolchain for the EE, and built the latest OPL with it. New in the EE toolchain is:
  • EE binutils 2.35.1 -> the latest release!
  • EE gcc 10.2.0 -> the latest release!
  • EE newlib 4.0.0 -> the latest release!
I was expecting OPL to be larger, but to my surprise it's a little smaller (3.8MB -> 3.4MB).

I would like to ask as many people as possible to test this OPL and report here if there are any problems. If you find a bug, then ALSO test if the bug is in the normal OPL 1572.

Code and more downloads (variants) can be found here.
 

Attachments

Similar threads

Back
Top