Skip to content
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

Skip GUI if launching a game directly #1507

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

kalaposfos13
Copy link
Contributor

Implements the suggestion in #1499

@kalaposfos13
Copy link
Contributor Author

kalaposfos13 commented Nov 10, 2024

Now instead of opening a game with shadps4 {path/to/eboot.bin}, you can now do this:
shadps4 --game CUSAXXXXX --show-gui --patch {path/to/patch/file}
Reading the source code or running shadps4 --help will give further info.
Opening game by ID is done by checking each game install folder, and seeing if there is a folder named CUSAXXXX in them, and if so, opens {installdir}/CUSAXXXXX/eboot.bin.

@georgemoralis
Copy link
Collaborator

i wonder if that can somehow merge with #1349 and use boost program_options for flexability

@kalaposfos13
Copy link
Contributor Author

I'm guessing by "merging" you mean "rewriting my solution to also use Boost", right? Probably doable, from what I've seen on said PR, and it would be not that hard as that also uses maps, just differently, though I've never used that library, so I'll have to learn it.

@georgemoralis
Copy link
Collaborator

it is not bad , but might be cleaner that way, i will pass it to @LNDF since he was the one than purpose boost :D

@LNDF
Copy link
Contributor

LNDF commented Nov 12, 2024

it is not bad , but might be cleaner that way, i will pass it to @LNDF since he was the one than purpose boost :D

To be able to use boots, program_options needs to be added to ext-boots. As an alternativem, a header only more lightweight library can be used (such as tclap).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants