Version: 0.1.3
URL: https://github.com/NightNord/ljd/
Requirements: Python version 3+: http://www.python.org/download/releases/3.3.3/
Usage:
Code: Select all
python main.py path/to/file.xpl > source.lua
[ external image ]
Current status:
All files in ui/core/Lua and ui/addons could be decompiled into compilable lua sources. With all UI recompiled game works without any obvious bugs.
Help needed:
- Hunting decompiler bugs. Please create an issue at GitHub page if you'll find any nonsense in files that you believe aren't by EgoSoft (i.e. there is no such bugs with original files).
- Engine research: we need to find a way to make UI mods. Currently I need to pack modified scripts into 08.cat/dat package. But I think it should be possible to modify a messagemap.xml via the ordinary mod interface.
- Engine research: to make something useful (a button to rename ships, for instance) we need to find all accessible C functions and their meaning. I think there should be some way to spawn an MD task or something. At least there is a way to start a trading run via specific function call.
Update: It seems that this is impossible. All info available for UI is read-only. But maybe it is possible to make some weird hack, who knows. - Engine research: while most of the UI is made dynamically by Lua code, some visual portions are taken from presentations files in some proprietary format. How much are they needed and what can we do without them is an interesting topic for a research.