Go Back   FileForums > Games > Game Coders
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-08-2005, 09:51
Muji-FightR's Avatar
Muji-FightR Muji-FightR is offline
Registered User
 
Join Date: Apr 2005
Location: beyond belief
Posts: 766
Thanks: 0
Thanked 0 Times in 0 Posts
Muji-FightR is on a distinguished road
Send a message via ICQ to Muji-FightR Send a message via Yahoo to Muji-FightR
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 !
muji !
Reply With Quote
Sponsored Links
  #2  
Old 02-08-2005, 11:03
caki caki is offline
Registered User
 
Join Date: Dec 2004
Location: UK
Posts: 899
Thanks: 0
Thanked 0 Times in 0 Posts
caki is on a distinguished road
Try CEXE. Its **** when it comes to protecting, but for compression its cool enough. You can find it at:

www.protools.anticrack.de
Reply With Quote
  #3  
Old 02-08-2005, 12:47
Muji-FightR's Avatar
Muji-FightR Muji-FightR is offline
Registered User
 
Join Date: Apr 2005
Location: beyond belief
Posts: 766
Thanks: 0
Thanked 0 Times in 0 Posts
Muji-FightR is on a distinguished road
Send a message via ICQ to Muji-FightR Send a message via Yahoo to Muji-FightR
THX dude for your response!
But the website you told me wants to have a login name and password
Isn't it public ?
Reply With Quote
  #4  
Old 03-08-2005, 06:28
Quall999's Avatar
Quall999 Quall999 is offline
Registered User
 
Join Date: Jun 2002
Location: In a garbage can, like Oscar
Posts: 3,361
Thanks: 0
Thanked 20 Times in 4 Posts
Quall999 is on a distinguished road
The creator's site:
http://www.scottlu.com/Content/Projects.html
__________________
--v1.0 [COLOR=Gray]case modded[/COLOR] Xbox with a [COLOR=DarkGreen]160gb[/COLOR] HDD upgrade[URL="irc://irc.efnet.net/fileforums"] [/URL]
Reply With Quote
  #5  
Old 03-08-2005, 09:28
Muji-FightR's Avatar
Muji-FightR Muji-FightR is offline
Registered User
 
Join Date: Apr 2005
Location: beyond belief
Posts: 766
Thanks: 0
Thanked 0 Times in 0 Posts
Muji-FightR is on a distinguished road
Send a message via ICQ to Muji-FightR Send a message via Yahoo to Muji-FightR
It doesn't even start !
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
Reply With Quote
  #6  
Old 03-08-2005, 11:05
caki caki is offline
Registered User
 
Join Date: Dec 2004
Location: UK
Posts: 899
Thanks: 0
Thanked 0 Times in 0 Posts
caki is on a distinguished road
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
Reply With Quote
  #7  
Old 06-08-2005, 11:42
Muji-FightR's Avatar
Muji-FightR Muji-FightR is offline
Registered User
 
Join Date: Apr 2005
Location: beyond belief
Posts: 766
Thanks: 0
Thanked 0 Times in 0 Posts
Muji-FightR is on a distinguished road
Send a message via ICQ to Muji-FightR Send a message via Yahoo to Muji-FightR
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... ?
Reply With Quote
  #8  
Old 06-08-2005, 17:01
DABhand DABhand is offline
Banned
 
Join Date: Nov 2004
Location: Near my PC
Posts: 5,406
Thanks: 0
Thanked 3 Times in 3 Posts
DABhand is on a distinguished road
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.
Reply With Quote
  #9  
Old 07-08-2005, 00:40
caki caki is offline
Registered User
 
Join Date: Dec 2004
Location: UK
Posts: 899
Thanks: 0
Thanked 0 Times in 0 Posts
caki is on a distinguished road
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.
Reply With Quote
  #10  
Old 07-08-2005, 08:32
Muji-FightR's Avatar
Muji-FightR Muji-FightR is offline
Registered User
 
Join Date: Apr 2005
Location: beyond belief
Posts: 766
Thanks: 0
Thanked 0 Times in 0 Posts
Muji-FightR is on a distinguished road
Send a message via ICQ to Muji-FightR Send a message via Yahoo to Muji-FightR
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
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 ?
Reply With Quote
  #11  
Old 07-08-2005, 13:03
caki caki is offline
Registered User
 
Join Date: Dec 2004
Location: UK
Posts: 899
Thanks: 0
Thanked 0 Times in 0 Posts
caki is on a distinguished road
Yeah, there is if you wanna pay 300$
Reply With Quote
  #12  
Old 07-08-2005, 18:15
DABhand DABhand is offline
Banned
 
Join Date: Nov 2004
Location: Near my PC
Posts: 5,406
Thanks: 0
Thanked 3 Times in 3 Posts
DABhand is on a distinguished road
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.
Reply With Quote
  #13  
Old 08-08-2005, 07:42
Muji-FightR's Avatar
Muji-FightR Muji-FightR is offline
Registered User
 
Join Date: Apr 2005
Location: beyond belief
Posts: 766
Thanks: 0
Thanked 0 Times in 0 Posts
Muji-FightR is on a distinguished road
Send a message via ICQ to Muji-FightR Send a message via Yahoo to Muji-FightR
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 :/ )...

Last edited by Muji-FightR; 08-08-2005 at 07:44.
Reply With Quote
  #14  
Old 08-08-2005, 09:11
caki caki is offline
Registered User
 
Join Date: Dec 2004
Location: UK
Posts: 899
Thanks: 0
Thanked 0 Times in 0 Posts
caki is on a distinguished road
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.
Reply With Quote
  #15  
Old 10-08-2005, 09:34
cdkiller cdkiller is offline
Registered User
 
Join Date: Oct 2002
Posts: 1,899
Thanks: 0
Thanked 5 Times in 1 Post
cdkiller is on a distinguished road
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
__________________
http://pid.gamecopyworld.com

home of Protection ID the ultimate Protection Scanner.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Message 4 Packer !!! dannyleeshaw PC Games 2 29-03-2002 14:06
to packer from crx 140e bidule PC Games 1 17-03-2002 04:33
differente version of securom ???? (packer) bidule PC Games 2 07-03-2002 02:53
for packer bidule PC Games 9 24-02-2002 13:14
AFS packer please dreameur DC Games 0 21-02-2001 08:13



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


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