not sure what you mean by that, but libpnd allows for accessing other pnd'sAethix said:Question, is it possible to access a PND file's folders easily? That could be really useful for things like IDEs.
Last edited by a moderator:
not sure what you mean by that, but libpnd allows for accessing other pnd'sAethix said:Question, is it possible to access a PND file's folders easily? That could be really useful for things like IDEs.
I was thinking, say with Battle for Wesnoth, if I want to make my own .cfg file and add it to the game, would I be able to get into the PND file's folders and just paste it in?Vimacs said:not sure what you mean by that, but libpnd allows for accessing other pnd's
to do that you are meant to use the appdata folder, contents in that will override the files in the pnd.Aethix said:I was thinking, say with Battle for Wesnoth, if I want to make my own .cfg file and add it to the game, would I be able to get into the PND file's folders and just paste it in?Vimacs said:not sure what you mean by that, but libpnd allows for accessing other pnd's
Well, that isnt the newest version you are looking at, also those scripts will not ship in this state.dflemstr said:First there might be a need for some cleanups. Fix everything from indentation to broken scripts etc (look at "testdata/scripts/pnd_make.sh@25,1" to see what I mean; I don't think that everyone will have PND scripts in their "~/pndtest/" folder...). I can volunteer to do such cleanups, just give me a shout.
Regarding zip:dflemstr said:Then there's the thing about new features...
For example, there was some talk about adding support for ZIP-files for PNDs. That would be something that I'm currently missing. No need to use "weird" scripts to create PNDs, just drop in your PXML, previewpic and go. This shouldn't be too difficult, since ZIPs can be randomly accessed if you know the file name of what you're looking for, and that's the case with PXML.xml and preview.png... Also, with libzip, such things can be decompressed in memory, and by using for example fuse-zip, ZIP files can be mounted (that's of course using FUSE, but I guess that some code can be stolen GPL-style, or should it be accepted that root uses FUSE?).
I really don't know what we may and may not do, seeing as the discovery code is really unmodular (no offense) in that it's optimized for seeking ISOs, but then I look at the pnd_run.sh and see that there's support for fuse-zip mounting.
So, should libpnd depend on fuse-zip? And what about libzip; I thought that dynamic libs should be avoided at all costs, at least for libpnd itself? What about copy-pasting the relevant code from the libzip source like how it was done with TinyXML?
No wonder that DEB and RPM are so messy today, with that kind of perspectiveskeezix said:We're just deploying something that works now, worrying about the details later.