In the year 2000, Core Design gave us a great gift: level editor where people can create their own custom levels based on TR4 engine. Unfortunately, it was quite limited, hence over the decades, the engine was upgraded massively via TREP and TRNG:
- TRNG (Tomb Raider Next Generation) builds upon TREP and gives a lot of new features including its own scripting language and even more extended limits and its own DLL.
Unfortunately, TRNG is closed-source, and essentially an abandonware program. No one can fix well-known bugs in TRNG, and implement new features, although you can still implement some features with plugin (with C++ knowledge) however it is not user-friendly (you need to know C++ which is quite complex) and it is poorly documented.
it also provides support for Lua (a programming language), all objects from TR1-5, and many more exciting features and gameplay functionalities such as corner shimmying or an enlarged 2D map which lets you build a massive level (Imagine 5 split levels into 1 big level).
3) Once compiled, make a separate folder and copy everything from the Build folder (before compilation there will be nothing in that folder) and also copy the scripts folder to your TombEngine executable directory (make sure you have data, texture files as well)
4) Windows will also complain about missing DLL files (Bass etc) in that case copy the missing DLL(s) from the Libs folder
Visual Studio might also complain about the NuGet packages, to fix that:
1) Delete the packages folder
2) Go back to Visual studio
3) Right-click on solution explorer and restore Nuget Packages
4) Compile again and once that is done, you should now be able to go to TombEditor, make a simple level, compile and run it with TombEngine.