Page 1 of 1

Is it possible to convert an MDX model into bytecode

Posted: April 19th, 2024, 8:43 pm
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)

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

Posted: April 19th, 2024, 11:41 pm
by devoltz
these asians are going so far on protect stuff

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

Posted: April 21st, 2024, 3:18 pm
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.

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

Posted: April 21st, 2024, 4:02 pm
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.

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

Posted: May 25th, 2024, 3:14 pm
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?