FileForums

FileForums (https://fileforums.com/index.php)
-   Game Coders (https://fileforums.com/forumdisplay.php?f=36)
-   -   C# packer (https://fileforums.com/showthread.php?t=71512)

Muji-FightR 02-08-2005 09:51

C# packer
 
Sorry this is not related to trainers but i'm in need of a packer for C# coded .exe files...
i tried ASPack 2.11 but it just produces crap...
UXPacker also won't work !
Any help is appreciated ! :rolleyes:
muji !

caki 02-08-2005 11:03

Try CEXE. Its **** when it comes to protecting, but for compression its cool enough. You can find it at:

www.protools.anticrack.de

Muji-FightR 02-08-2005 12:47

THX dude for your response!
But the website you told me wants to have a login name and password :confused:
Isn't it public ?

Quall999 03-08-2005 06:28

The creator's site:
http://www.scottlu.com/Content/Projects.html

Muji-FightR 03-08-2005 09:28

It doesn't even start ! :confused:
I downloaded it from that link but it won't open !
So i ran it in a Win95 compatible mode ("Kompatibitätsmodus" in German) and it finally starts but it sais not compatible with Win98 & 95 ???!!!
I made it Win2000 compatible but it doesn't start !
What shall i do ?

i tried plenty of packers (ASPack, UXPacker, Petite, 20to4, ...) but none of them works...
Petite said "Cannot pack this exe file", ASPack has packed it but the result was a damaged .exe fiel which didn't work...
Please help me ! :)

muJi

caki 03-08-2005 11:05

Ehh man, try dling from somewhere else, cuz cexe works fine for me. I'd upload it somewhere for ya but im not at home right now :(

Muji-FightR 06-08-2005 11:42

The question is: Does it also work with c# files ?
It will probably work for C, C++, VB, ... but i don't know if it will compress C# coded exe files... ? :confused:

DABhand 06-08-2005 17:01

What you fail to realise is this.


No matter what language a program file was before, it is compiled into machine code the computer understands.

So any packing/wrapper will work.

You may have used the wrong syntax to pack the file.

caki 07-08-2005 00:40

Actually DABhand,

With C# and VB.net files the code is compiled into Microsoft Intermediate Language. Then, once you run the exe a Just in Time compiler will compile the
Microsoft Intermediate Language code into native code and then execute it. Also, I think that the Just In Time compiler also checks the PE header to see if it has been changed, because if you change the PE header, the exe wont run. Since most exe packers change the PE header, the exe will not be able to run because the JIT detects these changes and wont run. CEXE packed exes, however, when unpacked do not have any changes in the PE header, thereby allowing the packed VB.net exe or C# exe to run.

Muji-FightR 07-08-2005 08:32

Quote:

With C# and VB.net files the code is compiled into Microsoft Intermediate Language. Then, once you run the exe a Just in Time compiler will compile the Microsoft Intermediate Language code into native code and then execute it
That's why I asked for a special c# packer...Because it is "precompiled" and has to be compiled by a Just-In-Time compiler ("Jitter") it cannot be packed like normal exe files
The jitter will probably not compile a strange exe file without a valid pe header !
My problem is CEXE doesn't work for me :confused:
It won't start with my winXP and in Win95 combatible mode it will, but there is the little sentence "does not work with Windows 95 & 98" ??!!
What shall I do? Is there another packer that works for C# files ?

caki 07-08-2005 13:03

Yeah, there is if you wanna pay 300$ :D

DABhand 07-08-2005 18:15

Quote:

Originally Posted by rendari
Actually DABhand,

With C# and VB.net files the code is compiled into Microsoft Intermediate Language. Then, once you run the exe a Just in Time compiler will compile the
Microsoft Intermediate Language code into native code and then execute it. Also, I think that the Just In Time compiler also checks the PE header to see if it has been changed, because if you change the PE header, the exe wont run. Since most exe packers change the PE header, the exe will not be able to run because the JIT detects these changes and wont run. CEXE packed exes, however, when unpacked do not have any changes in the PE header, thereby allowing the packed VB.net exe or C# exe to run.


The exe will call on API's that is used via either C# or VB.net. Unless they were stated to be included with the exe, which they never do to reduce sizes.

Hence why most c# or VB proggies require runtime files etc to make em work.

But the initial exe is encoded to a general language that the comp understands.

The only reason that Muji is having problems is that possibly the compiler, wrapped the exe for him already.

Muji-FightR 08-08-2005 07:42

Quote:

Originally Posted by DABhand
The only reason that Muji is having problems is that possibly the compiler, wrapped the exe for him already.

At first i want to thank you guys for your support and feedback ! :)
@DABHand:
Does this mean the file is already packed while compiling ? I get a result of 200kb merged to 90 kb with ASPack ?! That's why i thought it could be packed again (it finally didn't start but hey, it was a 60% smaller :/ )...

caki 08-08-2005 09:11

I think that the Jitter is acting as a wrapper in this case, preventing muji from packing the file. Thats why I suggested cexe. I have used it in the past to compress vb.net exes. Cexe decompresses the exe onto the hard drive and then runs it, making no changes to the intial exe, while other packers change the PE header, making the Jitter not want to run due to an invalid checksum, crc, or whatever on the PE header.

BTW muji, try dling cexe from here:
http://protools.cjb.net/

I dled from there and packed a custom c# prog I made. It worked fine, so it should also work for you.

cdkiller 10-08-2005 09:34

i suggest UPack v0.30 it got a very high compression ratio.
http://dwing.go.nease.net/

easy to unpack but you asked for a good compression ratio for pe files ;)


All times are GMT -7. The time now is 05:03.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com