Skip to content

Conversation

@aderumier
Copy link
Contributor

patch1: allow to use .ps4 rom directory , like for ps2 && ps3 emulators

patch2: symlink user/sys_modules to bios/ps4/sys_modules if existing

Currently, we only allow to use /userdata/roms/CU12345/gamename.ps4 file.

They are no specific reason that the main directory couldn't be directly the gamename,
shadps4 is able to scan them and find the gameid without problem

This patch add support for

/userdata/roms/gamename.ps4   directory

This is a lot easier to manage game collections, and this is the same behaviour
than for ps3 games.

Also retrobat use this directory extension, so it's easier to share games between retrobat && batocera
@lbrpdx
Copy link
Contributor

lbrpdx commented Nov 26, 2025

Symlinks won’t work for users who have their /userdata formatted in exFAT.

@dmanlfc
Copy link
Collaborator

dmanlfc commented Nov 27, 2025

can you explain this more @aderumier thanks

@aderumier
Copy link
Contributor Author

can you explain this more @aderumier thanks

I always add details in the commits to not get them lost after merge, but here a copy/paste, no problem

"shadps4 : generator : allow .ps4 directory extension
Currently, we only allow to use /userdata/roms/CU12345/gamename.ps4 file.

They are no specific reason that the main directory couldn't be directly the gamename,
shadps4 is able to scan them and find the gameid without problem

This patch add support for

/userdata/roms/gamename.ps4 directory

This is a lot easier to manage game collections, and this is the same behaviour
than for ps3 games.

Also retrobat use this directory extension, so it's easier to share games between retrobat && batocera
"

for sys_modules, this is optionnal for shadps4, but they are needed for performance && for compatibility with somes games. (shadps4 is currently rewriting all of them, but until it's done 100%, they are still needed)

@aderumier
Copy link
Contributor Author

Symlinks won’t work for users who have their /userdata formatted in exFAT.

goodpoint indeed. (but, damned, users should avoid to use shit Fs for their /userdata/ ^_^ )

It's seem that last shadps4 (0.12) have now a config parameter to defined the sys_modules , shadps4-emu/shadPS4#3657 so it should solve the problem (once it'll be bumped in batocera git)

@RetroBoyCN
Copy link
Contributor

I have already updated to version 0.12.5. Starting from 0.12.5, the interface and the emulator have been separated, so the scripts need major changes.

@dmanlfc
Copy link
Collaborator

dmanlfc commented Nov 29, 2025

then do a PR and help out @RetroBoyCN ...

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.

4 participants