Orion_ Posted August 21, 2012 Report Share 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 Link to comment Share on other sites More sharing options...
Zerosquare Posted August 21, 2012 Report Share Posted August 21, 2012 Link to comment Share on other sites More sharing options...
ggn Posted August 21, 2012 Report Share 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 ) Link to comment Share on other sites More sharing options...
Zerosquare Posted August 21, 2012 Report Share 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 Link to comment Share on other sites More sharing options...
ggn Posted August 22, 2012 Report Share 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 . Link to comment Share on other sites More sharing options...
Zerosquare Posted August 22, 2012 Report Share Posted August 22, 2012 Nothing prevents you from calling a batch file from another batch file Link to comment Share on other sites More sharing options...
ggn Posted August 24, 2012 Report Share Posted August 24, 2012 Nothing prevents you from calling a batch file from another batch file Batchception - we need to go deeper! Link to comment Share on other sites More sharing options...
Orion_ Posted August 26, 2012 Author Report Share Posted August 26, 2012 New version with data managing tricks, you should be able to pack larger file now ! (superfly works \o/) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now