Jump to content
Jagware
Orion_

BJL Packer

Recommended Posts

Orion_    1

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

 

Share this post


Link to post
Share on other sites
ggn    1

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 :))

Share this post


Link to post
Share on other sites
Zerosquare    10

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 :)

 

Share this post


Link to post
Share on other sites
ggn    1
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 :P.

Share this post


Link to post
Share on other sites
Orion_    1

New version with data managing tricks, you should be able to pack larger file now ! (superfly works \o/)

 

Share this post


Link to post
Share on other sites
Guest
You are commenting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoticons maximum are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×