-
Notifications
You must be signed in to change notification settings - Fork 288
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
An ELF file is added to the latest release compilation script. #1421
base: master
Are you sure you want to change the base?
Conversation
Extracting the elf to RAM out of the 7z would be a better option, since it does checksumming so can detect when corruption occurs (instead of silently executing corrupted data) libarchive can be used for this. See ps2dev/ps2sdk-ports#174 |
Can a PS2 launcher be made that downloads and runs a link directly on the PS2? That would be a an awesome feature, not just for OPL. Would be a lot simpler to just reference: PR makes sense to me, any objections if I merge? |
I remember this from years ago: I think that was the idea behind it?.. never tried it.. no objections |
That's the idea and there's already a PoC of that, but happens that when you build it with the latest SDK, it goes BSOD when launching, but the very same source worked fine in an SDK from 2019. |
Can this stream https also, or only http? Becouse the github downloads are https only if I'm not mistaking. In that case this pr would not help your goal. ..offtopic.. |
uyjulian is making a launcher that supports modern web and https, but I tried it personally with an http link in my tests and files hosted in another server. |
That ilaunchelf code is probably incompatible with latest SDK. Daniel Santos was able to download from GitHub IIRC with some sample he made for Athena (see CuRL port on PS2SDK) |
Regarding the issue of iLaunchELF, here's what I said to uyjulian:
He said that he's working on something that might fix it: |
Afterwards I set up an older SDK, compiled iLaunchELF and it worked out of the box... |
Maybe VTSPS2-HBDL (iLaunchELF fork) can help? |
That fork doesn't launches an ELF from memory. Instead it launches it from the MC. |
I d rather remove then .7z variant, currently there way too many files attached to releases. |
I agree, there's too many files already: They are all double. 1 with and 1 without version number. @HowlingWolfHWC when and how will this extra file be used? You're referring to a tool @uyjulian is making, but he wants to use .7z files. And you've only tested http, but this adds an https file. So I'm lost as to what the usecase of this PR is. |
Pull Request checklist
Note: these are not necessarily requirements
Pull Request description
By having the ELF as standalone (instead of inside of a 7z file) it could be grabbed (streamed) and launched right away with no need to store it locally.