Wally
I am a banana!
Hey,
I've been fine tuning a suite of stuff to assist with packing, unpacking and even options to batch unpack DBPs in preparation for the Pyra given that I've repetitively done this task over and over then slaeshjag makes a major change and I have deleted all the source files RIP me.
Software requirements for package: any *nix based install with squashfs-tools installed.
Install Instructions:
Place into executable location.
Commands:
dbputils:
--unpack DBPNAME.dbp (Unpacks a DBP into the same directory)
--batch-unpack unpacks all DBPS in the current directory
--pack Packs a DBP up
This requires folders called dbpdata / meta / icons to be placed into a folder and the command to be executed from the root folder, a scripts folder can also be created for launch scripts / config files and this will also read from that
--batch-pack
Implemented as of 0.5, you can now batch pack DBPS as long as they are in the same directory
--pnd-unpack
Added support for Squashfs based PND unpacking. Legacy ISO support won't be added for now as it requires other tools.
--dbp-generate
Implemented basic Folder requirements for a DBP with a blank default.desktop.
Future build may contain a blank default.desktop example
Possible GUI (Not really familiar with GUIS yet)
Pandora ISO Support
Support generation of default.desktop and additional desktop files.
Feel free to place any suggestions for addition later.
Version History:
0.1 - Begun by adding pack, unpack, batch unpack and configuring core functions
0.2 - Added PND unpack and fixed batch-unpack execution path
0.3 Removed scripts folder in DBP-Pack, fixed PND extract and gave it it's own function, renamed all game data stuff to dbpdata, commented on functions.
0.4 Fixed chmod cmd to check only for folder (whoops!), cleaned up code for readability, added $HOME/DBP Folder creation and check for existing DBP (Program will exit for now), added error checking and tested logic( Please let me know if it fails). Fixed consistency using http://www.shellcheck.net (Isn't that wonderful?)
0.5 Added support for batch packing, DBP template generation and tidied up script
0.1 View attachment dbputils
0.2 View attachment dbputils
0.3 View attachment dbputils
0.4 View attachment dbputils
0.5 DBPUtils.txt
I've been fine tuning a suite of stuff to assist with packing, unpacking and even options to batch unpack DBPs in preparation for the Pyra given that I've repetitively done this task over and over then slaeshjag makes a major change and I have deleted all the source files RIP me.
Software requirements for package: any *nix based install with squashfs-tools installed.
Install Instructions:
Place into executable location.
Commands:
dbputils:
--unpack DBPNAME.dbp (Unpacks a DBP into the same directory)
--batch-unpack unpacks all DBPS in the current directory
--pack Packs a DBP up
This requires folders called dbpdata / meta / icons to be placed into a folder and the command to be executed from the root folder, a scripts folder can also be created for launch scripts / config files and this will also read from that
--batch-pack
Implemented as of 0.5, you can now batch pack DBPS as long as they are in the same directory
--pnd-unpack
Added support for Squashfs based PND unpacking. Legacy ISO support won't be added for now as it requires other tools.
--dbp-generate
Implemented basic Folder requirements for a DBP with a blank default.desktop.
Future build may contain a blank default.desktop example
Possible GUI (Not really familiar with GUIS yet)
Pandora ISO Support
Support generation of default.desktop and additional desktop files.
Feel free to place any suggestions for addition later.
Version History:
0.1 - Begun by adding pack, unpack, batch unpack and configuring core functions
0.2 - Added PND unpack and fixed batch-unpack execution path
0.3 Removed scripts folder in DBP-Pack, fixed PND extract and gave it it's own function, renamed all game data stuff to dbpdata, commented on functions.
0.4 Fixed chmod cmd to check only for folder (whoops!), cleaned up code for readability, added $HOME/DBP Folder creation and check for existing DBP (Program will exit for now), added error checking and tested logic( Please let me know if it fails). Fixed consistency using http://www.shellcheck.net (Isn't that wonderful?)
0.5 Added support for batch packing, DBP template generation and tidied up script
0.1 View attachment dbputils
0.2 View attachment dbputils
0.3 View attachment dbputils
0.4 View attachment dbputils
0.5 DBPUtils.txt
Attachments
Last edited: