Please Help Me With Pxml!


Whynodd said:
Ok, I still have those problems after a firmware reflash. So obviously, my pnd-packing method is wrong. The log still looks the same as the ones that i posted.
How do I pack a pnd on the pandora itself? /usr/pandora/scripts/pnd_make does not work (mkisofs missing)
Maybe that will sort things out.
Your packaging method is right, but for some reason I don't get (just yet) the filesystem is mounted with 700 root:root, explaining the permission denied error : only root can see anything...

Would you try generating the ISO with any GUI you have for that and try that ?
 
Last edited by a moderator:
sebt3 said:
Your packaging method is right, but for some reason I don't get (just yet) the filesystem is mounted with 700 root:root, explaining the permission denied error : only root can see anything...
Could be that the directory from which the isofs/squashfs is made has those permissions. The mount point will likely inherit these when the image is mounted.

Try chmod 755 on the directory being packaged before creating the the PND.
 
Last edited by a moderator:
It worked! Anyway thank you very much guys.

I used those scripts directly on the pandora (Example scripts from the wiki)
Generally, using Windows for pnd'ing and such is a bad idea (Hehe, Wikis aren't always right). Sometimes Upper/Lowercase has been mixed while working with my Windows Desktop and the Pandora. Or Wordpad mixed character encodings. I don't know, just fucked up things happened. My hint: Do everything on the pandora.
Now uploading the pnd somewhere. For now, I don't have upload rights in the appstore. Back in some minutes.
 
SteveM said:
Could be that the directory from which the isofs/squashfs is made has those permissions. The mount point will likely inherit these when the image is mounted.

Try chmod 755 on the directory being packaged before creating the the PND.
The problem is on /mnt/pnd/enigma. This directory is created by pnd_run.sh _and_ destroyd after umounting.
This look like it's iso file does set the file privs this way. The thing weird is that ISO9660 doesn't specify any file privilege (at least without the Unix extention, which mkisofs on Windows shouldn't use, at least not by default...)

That's why I was sugesting using an other tools to create the iso.

Btw, I was thinking : enigma isn't the smallest game in the world, so you might want to provided squashfs base pnd file (compressed).
pnd_make use it this way, so I guess that's the way to go :)
Code:
mksquashfs $FOLDER $PNDNAME.iso -nopad -no-recovery

EDIT: ninja'd
I'm happy you made it. I do share the pickles' question.
 
Last edited by a moderator:
Pickle said:
Whynodd what exactly fixed the issue the folder permissions or these wiki scripts?
I just wrote/generated the PXML.xml directly on the pandora instead of mixing it with Wordpad edits and I used those scripts to pack the pnd directly on the pandora. I have not changed anything with folder permissions. Don't ask me what exactly was wrong, I really have no clue. Just glad that the pnd now works ;)
 
Last edited by a moderator:
sebt3 said:
SteveM said:
Could be that the directory from which the isofs/squashfs is made has those permissions. The mount point will likely inherit these when the image is mounted.

Try chmod 755 on the directory being packaged before creating the the PND.
The problem is on /mnt/pnd/enigma. This directory is created by pnd_run.sh _and_ destroyd after umounting.
This look like it's iso file does set the file privs this way. The thing weird is that ISO9660 doesn't specify any file privilege (at least without the Unix extention, which mkisofs on Windows shouldn't use, at least not by default...)

That's why I was sugesting using an other tools to create the iso.

Btw, I was thinking : enigma isn't the smallest game in the world, so you might want to provided squashfs base pnd file (compressed).
pnd_make use it this way, so I guess that's the way to go :)
Code:
mksquashfs $FOLDER $PNDNAME.iso -nopad -no-recovery
You know more about those permission thingies than me.. I also thought it has something to do with Windows vs. Linux.
The game is now squashed (mkisofs is not installed on the pandora, only mksquashfs). 27mb. I will upload a smaller one the next days if I found out which files the game needs.
 
Last edited by a moderator:
Its in the file archive now:
http://dl.openhandhelds.org/cgi-bin/pandora.cgi?0,0,0,0,25,174

Sensitivity: Dpad left right
Use item: Left click or X
Switch items: A B or right click
Pause: Y

Menu navigation with nubmousing, Dpad, Enter, ESC

Bugs:
The game is not supposed to be played with a touchscreen so this feature is broken on purpose ;)
 
Whynodd said:
Its in the file archive now:
http://dl.openhandhelds.org/cgi-bin/pandora.cgi?0,0,0,0,25,174
Thanks : I wanted this one (but was still far on my list :p)
and congrats :)
 
Last edited by a moderator:
Whynodd said:
It worked! Anyway thank you very much guys.

I used those scripts directly on the pandora (Example scripts from the wiki)
Generally, using Windows for pnd'ing and such is a bad idea (Hehe, Wikis aren't always right). My hint: Do everything on the pandora.
Now uploading the pnd somewhere. For now, I don't have upload rights in the appstore. Back in some minutes.

I have to disagree. I don't know how you managed to do your PND on the Pandora, because when I tried mkisofs wasn't present, so I was forced to use Windows.


My hint: use notepadd ++ for your PXML, and any cd buring software supporting ISO output (I used Deep Burner Portable). Combine them together at command prompt with: copy thispnd.iso + pxml.XML mynew.pnd
 
Last edited by a moderator:
I enjoy myself trying to do everything from the pandora. So when I noticed there was no mkisofs I compiled cdrkit which brings genisoimage, that is a new port of mkisofs and has the same syntax. You can download it here: cdrkit-1.1.9-pandora.tar.gz.

So in order to create an iso image you would do:
$ genisoimage -o ouput.iso -R folder/

and then to make the PND:
$ cat output.iso folder/PXML.pxml folder/icon.png > output.pnd


And I personally will try mksquashfs for my next port since I learnt about it in this thread. Thanks, sebt3
 
Back
Top