There is no built-in way, you can only do it at OS level. I guess I can patch next version to run pre-run/post-run scripts from appdata (like some other PNDs do) where you could put xmodmap commands to set up and restore custom keymap.Next, a question: Is there a way to remap keys. They are not changed from pc version, and I'm trying to play with the stylus, it leaves many useful keys out of reach that could be assigned to the keys next to left thumb. At least in the game menu I haven't seen such option.
As far as I know the pre/post scripts known around are started by pnd_run.sh (I also have this in my pnds but for other usages).this should already work with your current pndThere is no built-in way, you can only do it at OS level. I guess I can patch next version to run pre-run/post-run scripts from appdata (like some other PNDs do) where you could put xmodmap commands to set up and restore custom keymap.
I suppose the main problem is patching the files with the last version, but maybe wine can do the jobIs there a way to get the data files from the CD without installing it to another PC? I don't have anything running windows atm.
Well I used wine to install it on my Linux machine. You just need the mpq files. I believe you can get diabdat.mpq right off the CD. The patch may be a little tricky as it's distributed in an EXE, Patch_rt.mpq may be able to be extracted using an archive manager or something, but I fear that may not be the case.Is there a way to get the data files from the CD without installing it to another PC? I don't have anything running windows atm.
Just out of interest and to optimize the PNDs created with PNDTools a bit (default options): What does your typical mksquashfs call look like for a PND?I'm using xz compressed squashfs (just like for StarCraft) to save space taken up by wine. unsquashfs on Linux can decompress it fine.
Check the official script:http://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-libraries.git;a=blob;f=testdata/scripts/pnd_make.sh;h=fed33961756956b87bcf7bc612a3136f106dca05;hb=HEAD#l286Just out of interest and to optimize the PNDs created with PNDTools a bit (default options): What does your typical mksquashfs call look like for a PND?
No they're not really necessary, -nopad is even harmful I'd say.I am currently just using "-nopad -no-recovery -noappend", which seem to be the necessary ones
You finished Diablo on the Pandora?Just for info... Diablo is finally dead...
Thanks!Note the "-all-root -force-gid 0" options, those allow to "overwrite" files in pnd, but individual files still have to have "write by others" permission set.
Well for the majority of Windows users -no-recovery and -noappend make sense to avoid confusion and additional data they don't need.No they're not really necessary, -nopad is even harmful I'd say.
There is an old known problem where if you have a file inside of the .pnd (for example some config file) and the game tries to write to it, the write will fail with permission errors. To workaround it, people used to put the file in some folder inside of the .pnd and the run script would make a copy to proper location, then the game would be able to write to it.Thanks!Note the "-all-root -force-gid 0" options, those allow to "overwrite" files in pnd, but individual files still have to have "write by others" permission set.
What do you mean by that? Is that the functionality of files in pandora/appdata/[pnd_id] overwriting the same files inside the pnd?
Sorry if this is a stupid question, but what does one have to do then when packaging PNDs from now on to avoid this issue ?If you set the permissions right, this workaround is not needed.