Orion_ 1 Report post Posted August 21, 2012 Here is a little tool for BJL users that are tired of waiting long transfer time ! It will pack your BJL file using ARJ Mode 7 compression (very efficient packer !) and add a little header program that will automatically unpack your program on Jaguar and start it as usual. Simply drag/drop your bjl file on the "bjlpak.bat" file ! (There is a version without the "Depacking..." logo, simply use the "bjlpak - nologo.bat" file instead) Full sources included ARJ Depacking routine by Mr Ni! of the TOS-crew. Thanks to ggn/reboot for making me aware of the arj depack routine and for the original files and tools. Enjoy: http://onorisoft.free.fr/jag/bjlpak.zip Quote Share this post Link to post Share on other sites
Zerosquare 10 Report post Posted August 21, 2012 Quote Share this post Link to post Share on other sites
ggn 1 Report post Posted August 21, 2012 Great effort Orion_! This of course will be handy for the people that own Skunkboards and get 7k/s transfer speeds . Also, adding the command to upload the binary using the bjl loader in the .bat files will make this totally automatic! (I guess this might not work out of the box because of the various parameters the bjl uploader takes, but it can be left as an exercise to the user ) Quote Share this post Link to post Share on other sites
Zerosquare 10 Report post Posted August 21, 2012 It is possible to "pass through" parameters in batch files. Here's an example. If you save the following piece of code to test.bat : prog1 %1 %1.tmp prog2 %2 %3 %4 %5 %6 %7 %8 %9 %1.tmp del %1.tmp and then execute "test file.bin option1 option2 option3", here's what happens : - "prog1 test.bin test.bin.tmp" is executed - "prog2 option1 option2 option3 test.bin.tmp" is executed - "test.bin.tmp" is deleted If prog1 is your packer, and prog2 your BJL uploader, then you've made a BJL uploader that compresses programs before sending them, and still allows you to use the same options as the original uploader Quote Share this post Link to post Share on other sites
ggn 1 Report post Posted August 22, 2012 It is possible to "pass through" parameters in batch files. Here's an example. If you save the following piece of code to test.bat : prog1 %1 %1.tmp prog2 %2 %3 %4 %5 %6 %7 %8 %9 %1.tmp del %1.tmp and then execute "test file.bin option1 option2 option3", here's what happens : - "prog1 test.bin test.bin.tmp" is executed - "prog2 option1 option2 option3 test.bin.tmp" is executed - "test.bin.tmp" is deleted If prog1 is your packer, and prog2 your BJL uploader, then you've made a BJL uploader that compresses programs before sending them, and still allows you to use the same options as the original uploader Yes, because calling "bjlpack gametoupload.bjl -n -8 -b 0x10000" and having to remember it each time is much easier than "bjlpack gametoupload.bjl" and stuffing the bjl upload parameters in the .bat file . Quote Share this post Link to post Share on other sites
Zerosquare 10 Report post Posted August 22, 2012 Nothing prevents you from calling a batch file from another batch file Quote Share this post Link to post Share on other sites
ggn 1 Report post Posted August 24, 2012 Nothing prevents you from calling a batch file from another batch file Batchception - we need to go deeper! Quote Share this post Link to post Share on other sites
Orion_ 1 Report post Posted August 26, 2012 New version with data managing tricks, you should be able to pack larger file now ! (superfly works \o/) Quote Share this post Link to post Share on other sites