Jump to content
LaunchBox Community Forums

Rar Loader for RPCS3 (proof of concept)


Recommended Posts

 

For my personal need, i want to have one file = one game, and i don't want to use iso, so i store each game in rar and i was wondering if i can manage a way to launch a game in rpcs3 using a rar file as argument.

So i make something that work, but with so much con... I mean it's good enough for me, but i wonder if that's something that's good enough to be rlz for the general public.

But still, i think at least the idea was interesting and worth sharing

How does it work ?

You pass the rar file as an argument, the program use Linux subsystem (wsl) to mount the file using rar2fs, and launch rpcs3.exe using the wsl network path of the mounted file.
So, basically, when i execute : .\RpcsLauncher.exe --no-gui "G:\ps3\ok\BlazBlue Continuum Shift Extend [BLUS30869].rar"

In my wsl Ubuntu, it does
mkdir 
~/rpcs/1F3401C3553A8BDB0524D5D5DAB1D3F5 (md5 of the archive name)
sudo rar2fs  "/mnt/g/ps3/ok/BlazBlue Continuum Shift Extend [BLUS30869].rar" ~/rpcs/1F3401C3553A8BDB0524D5D5DAB1D3F5 -o allow_other

And in windows : rpcs3.exe --no-gui "\\wsl.localhost\Ubuntu\home\username\rpcs\1F3401C3553A8BDB0524D5D5DAB1D3F5\BlazBlue - Continuum Shift Extend (USA) (En,Ja,Zh,Ko)\PS3_GAME\USRDIR\EBOOT.BIN"

Now the cons :

- Only works with physical drives (i guess that could be work around mounting network drive within wsl)
- Only works with plain text rar (storage mode) because full media seek support (aka. indexing) is only available for non-compressed plaintext archives (Possible solution, instead of rar archive, use squasfs files using zstd to compress, but i don't really care about compression, i just want one file per game)

- You need to be able to setup wsl, compile rar2fs, add it to sudoers.

If really someone other than me is interested, i will give my dirty source code and futhers instructions.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...