hey all
There are so many compress files but I am looking for UPX compress for Blitz 3D. if there any compress files better than UPX compress files then I am all ear (with hearing aids lol)
cheers
kkrunchy by Ryg of Farbrausch is the best executable packer I know.
http://www.pouet.net/prod.php?which=26088
All you do is drag youy B3D executable over this one and it will be compressed better than UPX :)
I have drag B3D executable over this one (kkrunchy.exe) and nothing happend.....
I am missing somethings?
It should quickly open and close a DOS window.
The filesize might not seem to have been affected because of the way Windows Explorer doesn't ever want to refresh :)
Try right-clicking the B3D executable and clicking properties and see if the size has changed.
The Blitz 3D.exe files is the same 1.24MB
The library run on window 2000(just let u know)
hm..
Strange.
put this into a .bat file in the same folder as your B3D executable and kkrunchy.exe:
@kkrunchy.exe [b3dexecutablename.exe]
@pause
and replace "[b3dexecutablename.exe]" with whatever your b3d executable is called.
This should allow you to read the error that's occurring (if any)
I understand everythings apart from .bat folder (where that is unless I make my own .bat folder?)
Do I have create .bat files?
Yeah. Just use notepad, and save it as type "all files" as compress.bat .
When you run the batch file it should do the same thing as dragging the B3D exe over kkrunchy, but also keeps the window up until you press a key.
Just be sure you read what the DOS window says and have the .bat file in the same folder as the B3D and kkrunchy executables.
thank you very much and I let u know how I get on. :goodpost:
Good luck :buddies:
Hey kkrunchy looks like a nice little program. I tried using it on a Blitz3d exe and I got the same problem as hotshot.
If I drag the exe over kkrunchy I get a beep sound and a message flashes up which I can barely read before the window closes. Something like 'no symbol info present' and some other stuff.
Then I made a batch file but when I run it, it gives me a message saying that it couldent open the input file.
This was my what was in my batch file:
@kkrunchy.exe [TestProg.exe]
@pause
Where TestProg is a Blitz3D exe I made thats in the same directory.
Remove the brackets. Those were just in there to show it's a filename.
Sorry I dont know much about DOS commands. Now it goes back to the original error message, but at least I can read it this time:
- using good packer frontend
- no symbol info present
- preprocessing, filtering & reslicing
- ERROR: files with exports or tls data are not supported
I am not sure what exports or tls data means, any ideas ???
No ideas, sorry bud.
I use kkrunchy on my freebasic and C prods and I've never got that error.
It's basically saying that Blitz EXEs are wierd. And they are - they're all encrypted. If you write a C program like this
#include <stdio.h>
int main(void) {
printf("Hello");
return 0;
}
and build it, then load the exe in notepad you will be able to see the 'Hello' in there. Try that with a Blitz exe and all the strings are hidden.
Exports are symbols (functions and data) that Blitz3D is providing to other programs. TLS is 'thread local storage'. I'm not sure why a Blitz EXE would use either of those - possibly due to the somewhat braindead way it links in the blitz runtime with your program.
Just have to stick with RAR or UPX.
Jim
Thanks for the explanation jim :)
The UPX work very well with Blitz 3D.exe files( the files u have made) but when come to KCUNTKY....it doesnt work but it does work for blitzmax. Like what jim say....just stick what u got =)
UPX worked perfectly, got my b3d exe from 1.27 mb to 474 kb :)
I get the same error with kkrunchy
474 kb ? it still big files as it would be nice if go down to 64K !
:cheers:
Lol..for 64k the original usually needs to start under 200k.
For programs a 2:1 compression ratio is excellent, so 64Kb from a 1.2Mb exe (20:1) isn't going to happen unless it's all full of zeros!
Jim