zeroKilo / XEXLoaderWV

Ghidra Loader Module for X360 XEX Files
112 stars 13 forks source link

feat(linux): lzxdecomp for linux #12

Closed Mte90 closed 3 years ago

Mte90 commented 3 years ago

I generated the file to compile it with https://pypi.org/project/cmake-converter/

In this way generated the cmake files (so it is possible to compile also for osx). There is in the repo already the binary for linux on 64bit but the plugin need to use the right binary when on linux instead the widnwos version.

zeroKilo commented 3 years ago

wow, thats alot work, I would like to chat with you first, before taking this all in, as I cant test it right now. send you my contact on reddit :)

Mte90 commented 3 years ago

Yes there are a lot of files but is mainly cmake stuff that with make generate the binary. Probably it can be more simple but I added everything also the cmake generated to compile so it is easy to replicate.

zeroKilo commented 3 years ago

I found java code for decompressing lzx, so no external dependencies anymore and so this isnt needed, thank you anyway :)

PS: also added that it tries loading both as devkit and as retail before failing, so that devkit option isnt needed anymore either