Nice!

The best and quickest support by a group of top-notch editing specialists, guaranteed!

Moderator: Forum Guards

Nice!

Postby bambi » Fri Dec 30, 11 8:21 pm

Hey good to see a society going!

What is the difference between decompile and exporting?
Image
bambi
Regular
 
Posts: 476
Joined: Sun Nov 27, 05 7:26 pm

Postby ~DJ~ » Fri Dec 30, 11 10:56 pm

If you mean about WOTGreal or some software like that;

Export means directly export what is visible, whereas decompile would mean that it will read the code and basically write it itself.. you'll get that 'UnknownFunction<some>' or something like that when you decompile.. mostly.. so it's recommended that you 'export'
Last edited by ~DJ~ on Sun Jan 01, 12 5:26 pm, edited 1 time in total.
User avatar
~DJ~
Forum Super Hero
 
Posts: 3766
Joined: Tue May 22, 07 12:23 pm

Postby Poor » Mon Jan 02, 12 10:13 pm

The source code is usually included with a package. Exporting will give you this source code. Sometimes people will be silly and strip the source code from the package so you can't export it. In that case you can use a decompiler which will read the bytecode and attempt to rewrite the source code.

If you need to decompile something, UTPT is a much better decompiler than WOTGreal. It will show the real native functions instead of the UnknownFunction crap and it can see some stuff that WOTGreal does not. But keep in mind that decompiled code is often incomplete and it will need to be fixed. The most annoying thing is the loops; they turn into if and goto statements with missing labels so you will need to place the labels yourself.
Poor
Poster
 
Posts: 190
Joined: Tue Jan 04, 11 7:42 pm

Postby ~ô¿ô~Nobody~ » Tue Jan 03, 12 4:29 pm

Poor wrote:The source code is usually included with a package. Exporting will give you this source code. Sometimes people will be silly and strip the source code from the package so you can't export it. In that case you can use a decompiler which will read the bytecode and attempt to rewrite the source code.
Please remain unbiased. Although, I basically prefer open source too, it makes sense to remove it in some cases. For instance on security mods or if you want to make the mod smaller.

Poor wrote:If you need to decompile something, UTPT is a much better decompiler than WOTGreal. It will show the real native functions instead of the UnknownFunction crap and it can see some stuff that WOTGreal does not. But keep in mind that decompiled code is often incomplete and it will need to be fixed. The most annoying thing is the loops; they turn into if and goto statements with missing labels so you will need to place the labels yourself.
Furthermore it's often having problems evaluating the replication conditions and it can't reverse enum values..
Also.. all this doesn't work if the mod was protected.
Nobody is perfect...
------------------------------
Longc[A]t wrote:I still think Dae is a russian spambot.

~[A]Daedalus~ wrote:There will be a day when my patience goes away and you, along with all who rant with you, will get banned.

ô¿ô¥[GODZ]¥NOCHANC wrote:I can ban any one I want ANY time I want. You have no rights here.
User avatar
~ô¿ô~Nobody~
Alpha
 
Posts: 2520
Joined: Fri Dec 31, 04 3:20 pm
Location: Proclarush Taonas


Return to Editing issues

Who is online

Users browsing this forum: No registered users and 12 guests
cron