-
Notifications
You must be signed in to change notification settings - Fork 1
Notes #3
Comments
ps2sdk docker images:
Last three build current master of my opl-db, but none works on ps2 hardware. Neither with -G0 not with -G8129 |
@citronalco, i found that @Jay-Jay-OPL wrote about OPL DB 2202:
Also maybe these forks (1, 2, 3) will help you. And also check the SDK folder in PS2 AIO Project, you can find a lot of useful stuff there. |
With "smaller-steps" branch (includes commits until 2022-06-06), POPS gets started on a real PS2 when compiled with:
Quickly scrolling through ps2sdk's commits between 2021-10-16 and 2022-06-06, there's no commit that obviously could do any harm here. |
@citronalco, here (elfldr.zip) and here there is information about how POPS was added to PS2NETBOX (a fork of OPL with closed source code). Also in POPSLoader there is code for launching VCD files using a single POPSTARTER.ELF file. You can also contact crt0, who merged OPL with neutrino. Maybe he can help you or for example he can add POPS to OPLNEUTRINO. Also I found that @Jay-Jay-OPL wrote about OPL DB 2158:
|
@10522 Thanks a lot, that could be helpful indeed! |
@citronalco, maybe this, this or this information may be useful to you. |
Compilation is no problem: It builds without issues, even on current ps2sdk (though I haven't tried for a while). |
@citronalco, maybe this, this, this or this (real hardware fix) information may be useful to you. |
@10522 I give up. Current state is:
If you want to give it a try: Easiest way to compile is either here with Github Actions (only last step, publishing the release, fails for obvious reasons: I do not have permissions to publish that as official OPL release), or to use docker:
|
Maybe the issue is that a lot of things have been changed in OPL DB, but we just need to add PS1 page or replace APPS page. Please try making a fork of the official OPL with these changes. You can add some code from OPL DB and if the fork breaks, it will be immediately clear which code affects it. You might also find this and this new PR helpful, as well as this updated OPL DB theme. By the way, in this post you wrote that you already had a fully working OPL DB, so you can try adding one commit to it at a time to understand on which commit it broke. Also, after I read this, I had thoughts that maybe something was specifically added to OPL or PS2SDK to make it harder for @Jay-Jay-OPL to update the OPL DB. By the way, maybe @YAGAMI55 can help with this, since he recently wrote about your fork on the Russian PS2 scene. |
You can't add one commit after the other. I tried that. OPL and ps2sdk evolved in parallel, so every few commits in OPL you have to update ps2sdk. But you can't compile ps2sdk in the state of i.e. 2023-11-17. The best you can do is trying to find some forgotten old docker images, that may or may not be built correctly. OPL-DB basically adds an extra page to OPL, and adds a patched elfldr that is able to run popstarter in a proper/convenient way. Eventually elfldr got integrated into ps2sdk, but without the patches. I asked for help in some forums, but as soon as I mentioned OPL-DB, people got angry. Some things must have gone very bad in the past. Naming the thing confusingly "OPL Daily Builds" was probably not helpful, too. "OPL-POP" for example would have been much clearer and less confrontational. If someone else wants to give it a try, be sure to also fork this repo: https://github.com/citronalco/OPL-Daily-Builds-lang I will continue to use an old OPL-DB build for now. It works quite well for me. If somewhere in the future OPL allows me to have my PS1 games on a separate page and lets me run them conveniently over SMB, just like OPL-DB is doing, I'm going to update for sure. I'm going to set this and the "lang" repo to "archived" in some days. Further comments won't be possible then. |
Then can you please compile this fully working version or the original OPL DB 2203 with this fix and make it save the config files to the OPL DB folder and not to the OPL folder. Alternatively, instead of renaming the folder, you can change the names of the config files so that there is no conflict with the official OPL. It would be great if you posted this version in Releases, but you can do it here. Also, maybe you shouldn't close this PR and repositories, as then more people will be able to learn and continue your work. I have seen this link posted many times on the Internet and Pull requests By the way, I found a commit named Also, I will mention some people who can probably help: @YAGAMI55 @TnA-Plastic @KrahJohlito @JoseAaronLopezGarcia @CosmicScale @tihmstar @Wolf3s @grimdoomer @AppCakeLtd @projectZEUS01010101 @danielb7390 @Haaroon @DDinghoya @lusk352 @SkullDeath @RickyL1213 |
OPL-DB Caused many troble for our comunity due to popstarter private code... You could try to do a opl that integrantes the ps1 games pages but with the offiicial method by the real ps2devs instead of ressurceting this... |
Hi, |
There's a much easier solution. Why don't you just automate OPL's current implementation?
The logic to find 'popstarter.elf' would be something like this: |
Why not use this POPS.ELF on the pops folder and use ps1 games in the cd folder? I think it's better since ps1 games are CD. |
If you look at the code, you will see that OPL-DB is exactly what you describe. |
I mean to use pops as a core to all games as a external plugin/loader instead of renaming... |
Days more exactly, days that the project could go in a good way. |
Isn't the problem that the patched elfldr is not working on the modern PS2SDK? Simply renaming the file would be a quick and easy solution and practically indistinguishable to the end user. Instead of trying to resurrect OPL-DB it would be far easier to add a new implementation for launching popstarter to the latest OPL build. |
the official opl has gone through several years of updates, you will suffer resurrecting the opl db of the official version, besides that the developer of the official opl will be whining again threatening to end the project just because he doesn't put the damn ps1 tab, do you want me to add the ps1 tab? Just help me compile the official version |
Probably @CosmicScale can help with this as he recently made his own fork of the official OPL.
Do you mean that there is a way with renaming and using only one POPSTARTER.ELF file? Can you please help with this? It's just that in the recently released RETROLauncher the POPSTARTER.ELF file is renamed and copied to the POPS folder on the USB. This creates an infinite number of copies of the POPSTARTER.ELF file and it doesn't make any sense. Only uLE_kHn, POPSLoader and OPL DB can launch VCD files using only one POPSTARTER.ELF file. Moreover, only OPL DB can do this via SMB and therefore it still does not have any analogue. By the way, I forgot to mention @SvenGDK in the previous post. |
You don't need help with that. It's very straightforward. Install the Development build of PS2DEV. Then clone the OPL repository and build
That's a very convoluted way of doing it. POPSTARTER.ELF doesn't care where it's located, only what it's named. It would be really easy to rename the same 'elf' file again and again so only one file is needed. Like I said before:
|
Compiles with gkbmdz/ps2dev:latest, which is ps2sdk from 2021-10-16 (ps2sdk:v1.3.0 is from 2021-06-18), until including:
Jay-Jay's last commit is aa531a8
TODO: Test ELM. If it works: Switch to a slightly newer ps2sdk, try again, if it still works: Move forward!
DONE! Result: Yes, works, including ELM/popstarter. In PCSX2 and on real hardware. Branch: "smaller-steps", Commit cf7215d
Next commit would be 49e383c ("Fix: rename __NR__Exit to __NR_KExit"), which works around a syscall renaming in ps2sdk in 2022/05/31 (ps2dev/ps2sdk@00a4a9a) - means I have to either skip that patch, or move to a newer toolchain.
When skipping this patch and (reverting this commit) and merging all commits until end of 2022 (see branch smaller-steps-2), building fails with
make[1]: Entering directory '/project'
This was introduced in 8f04d00 at 2022-06-15.
TODO: Try building with a newer ps2sdk and try again
DONE!:
apk add make git python3 py3-yaml bash
-> Works, including ELM/popstarter - but only in pcsx2, not on real hardware! (Branch: smaller-steps-redsonbr)
** TODO:** Apply more commits and try again
DONE!:
apk add make git python3 py3-yaml bash
-> Works, including ELM/popstarter - but only in pcsx2, not on real hardware! (Branch: end-of-2022)
** TODO:** Apply more commits and try again
DONE!:
apk add make git python3 py3-yaml bash
-> OPL hangs on start with blinking network activity icon, probably while populating ETH games list (Branch: 2023-03-31)
** TODO:** Ignore last failure, but apply more commits and try again
DONE!:
apk add make git python3 py3-yaml bash
-> Works, including ELM/popstarter! (Branch: 2023-08-19)
** TODO:** ps2homebrew switched from ps2dev/ps2dev:latest to ghcr.io/ps2homebrew/ps2homebrew:main (c276b43). Try with that!
DONE!: Works, including ELM/popstarter! (Branch: 2023-08-19)
TODO:
** TODO**: ??? Clueless... ????
Here's another commit that looks helpful for elfldr: fb847e6
The text was updated successfully, but these errors were encountered: