Is it possible to convert an MDX model into bytecode

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

Post Reply
Amaia
Newcomer
Posts: 3
Joined: April 19th, 2024, 5:59 pm

Is it possible to convert an MDX model into bytecode

Post by Amaia »

I recently cracked a map which was encrypted. The file extensions inside the map were all changed to xxx. I used an MPQ editor to scan the file names and extracted some models from it. However, these models couldn't be opened by War3ModelEditor; it indicated they were not MDX files. When I opened them with Notepad, I found that these models were actually a large amount of bytecode.
Then I also found a strange exe program inside this map, which my computer couldn't open. I'll attach the model files, the exe program, and the program code obtained after decompilation.
If possible, I hope someone can tell me how to convert these models that have been converted into bytecode back into normal usable models.
This is code:

Code: Select all

// PE file does not contain any managed metadata.

ICSharpCode.Decompiler.Metadata.PEFileNotSupportedException: PE file does not contain any managed metadata.
   at ICSharpCode.ILSpyX.LoadedAssembly.LoadAsync(Task`1 streamTask) in /_/ICSharpCode.ILSpyX/LoadedAssembly.cs:line 378
   at ICSharpCode.ILSpy.TreeNodes.AssemblyTreeNode.Decompile(Language language, ITextOutput output, DecompilationOptions options)
You do not have the required permissions to view the files attached to this post.
Last edited by Amaia on May 25th, 2024, 3:08 pm, edited 1 time in total.
User avatar
devoltz
Forum Staff
Posts: 2998
Joined: March 23rd, 2016, 8:06 pm

Re: Is it possible to convert an MDX model into hexadecimal

Post by devoltz »

these asians are going so far on protect stuff
Amaia
Newcomer
Posts: 3
Joined: April 19th, 2024, 5:59 pm

Re: Is it possible to convert an MDX model into hexadecimal

Post by Amaia »

devoltz wrote:these asians are going so far on protect stuff
Have you ever encountered this type of model encryption? I have cracked many maps, but this is indeed the first time I have seen such a situation.
User avatar
devoltz
Forum Staff
Posts: 2998
Joined: March 23rd, 2016, 8:06 pm

Re: Is it possible to convert an MDX model into hexadecimal

Post by devoltz »

Amaia wrote:Have you ever encountered this type of model encryption?
yeah, mostly on chinese maps with that bytecode conversion, idk how to deal with it.
Amaia
Newcomer
Posts: 3
Joined: April 19th, 2024, 5:59 pm

Re: Is it possible to convert an MDX model into hexadecimal

Post by Amaia »

devoltz wrote: April 21st, 2024, 4:02 pm
Amaia wrote:Have you ever encountered this type of model encryption?
yeah, mostly on chinese maps with that bytecode conversion, idk how to deal with it.
If I want to try to crack these encryption, what approach should I use to crack them? These models have been converted into bytecode, but they can and can only be used in the original author's map. Where should I find a way to make these models available on the map? Is it a bin file or an exe file in the map? Is it feasible to decompile these bytecodes to directly restore the original model?
Post Reply