This script needs the original JK:DF2 or MotS container files (.gob/.goo) for the materials and 3do objects. The jkl files for the maps need to be unpacked into the Jedi Knight or MotS game directory, depending on which game they are based on. I used the container manager program CONMAN.exe for that.
Install downloaded/cloned and zipped repo files as an addon to blender: Open Blender -> Edit -> Preferences -> Add-ons -> Install and select the zip
To open a Jedi Knight: Dark Forces 2 level file (.jkl), go to -> File -> Import -> JK/MotS level Depending on your hardware, it may take the script a while to import files larger than 1MB.
- read in jkl
- read in 3do
- read in basic mat
- place 3do in levels
- texturing levels
- texturing 3do
- resolve 3do hierarchy and parenting
- parse GOB/GOO
- jkl browser UI for packed (GOB) files
- vertex lighting
- faster loading
Sorry about the messy code, this is my first real programming project and still wip. Also, i have not yet tested it on any fan made jkls, but so far, it works on all original DF:JK 2 and MotS single and multiplayer level maps