OpenNaja / cobra-tools

A suite of GUI tools for extracting and modifying OVL and OVS archives, as well as editing the associated in-house file formats. Also includes a model plugin for Blender. For downloads, guides, and FAQs visit:
https://opennaja.github.io/cobra-tools/
GNU General Public License v3.0
94 stars 27 forks source link

Decompiler error extracting LUA files with OVL Tool #387

Closed DanyShady closed 1 month ago

DanyShady commented 2 months ago

Hi, sorry for my english and if this is not the correct place to ask for this but i didn't find the info i need anywhere and i need help.

For Jurassic World evolution 2, after I have used the OVL tool to extract the files, i'm trying to edit a simple line of one lua file with notepad, but the problem is that in the same file there are lines with the DECOMPILER ERROR at.... so i can't inject the modified file in the game. (and if i delete the line the game crash)

Is there a way to decompile the lua files without having the DECOMPILER ERROR on them? or is there a way to Use the OVL tool only for extracting the lua files without decompiling them in order to being able to use another lua decompiler software to edit them?

How can i edit that file? Or this means that if a lua file shows the DECOMPILER ERROR at least in one line, does it means that it's totally impossible to edit that file by any method and the only option is to give up??

Thanks

HENDRIX-ZT2 commented 1 month ago

Is there a way to decompile the lua files without having the DECOMPILER ERROR on them? or is there a way to Use the OVL tool only for extracting the lua files without decompiling them in order to being able to use another lua decompiler software to edit them?

When decompilation fails, you can also get the compiled binary output. You have to activate debug mode for that, however. If you find a better decompiler, please tell!

HENDRIX-ZT2 commented 1 month ago

The latest commit will automatically include the compiled bin output if lua decompilation fails, without needing to enable debug mode first.