Editing Files In A Pnd


SirisC

Member
Joined
Feb 25, 2010
Messages
79
Is there a way to copy a file into the file structure of a pnd?

I want to copy the dpad input plugin from the first version of mupen64plus into the current one available.

I've tried opening the current verseion of mupen64 and then running the following script in the terminal

sudp cp /media/mmcblk1p1/ppsp_input_dpad.so /mnt/utmp/mupen64plus-r1/plugins/

but I get the error:

can't create regular file /mnt/utmp/mupen64plus-r1/plugins/ppsp_input_dpad.so (Operation not permitted.)

I can't open the pnd using 7zip either.
 
^ Why not just use straight to appdata when mupen64 is not running?
Its true that what you're doing should work the same way, writing under utmp wont write to the pnd but to the appdata folder (with some aufs magic), but OTOH the file could be in use when mupen64 is running.
If you really want to re-package the pnd, you'll first need to mount it, then copy all the files to a temporary directory, then do the modifications, then re-create the archive with the proper tools (mkisofs or mksquashfs depending on what you want to use (i'd guess mupen64 is squashfs)), then concatenate the archive with the PXML and the icon.
EDIT: Posted accidentally before it was finished.
 
I didn't know I could add it to the app data folder.

It works if you add a plugins folder and put the file in there.

That solved my problem, thanks.
 
Back
Top