www.tombraiderforums.com (https://www.tombraiderforums.com/index.php)
-   Tomb Editor (https://www.tombraiderforums.com/forumdisplay.php?f=31)
-   -   Announcing the TR5Main Project (https://www.tombraiderforums.com/showthread.php?t=220730)

MontyTRC 21-07-18 15:22

Announcing the TR5Main Project
Hi :)

I've said in the past weeks that I was working on a new project. And now, it's time to announce it.

This new project is called TR5Main and takes its name from TR2Main by Arsunt, the project who inspired my work. Thanks to Asunt teachings, I was able to patch PCTomb5.exe for adding a new external DLL, of course called TR5Main.dll.

What will I do with this DLL? A lot of stuff :D

Decompilation of functions
With the ability of referencing functions and variables inside the EXE space, like for TR2Main, I can selectively decompile functions of my interest for expanding limits or changing some behaviours of the game.

Sometimes decompiling a function is too hard, expecially for changeing just a bit of code. In this case, the DLL patches at runtime the EXE memory for adding new functionalities.

Adding objects from past TRs
Exposing the EXE code inside the DLL, I can directly port objects and traps from other TRs to TR5. I've reused all the MIP slots and I have expanded a bit the object list up to 498 slots (TR5 unpatched has 460 slots).

New platform code
And now the part that mostly excited guys on Discord :jmp:
For sure you know that TR5 is written with old APIs, all deprecated. DirectInput, DirectSound, DirectDraw, etc.
The main goal is to port everything to a more modern system using DirectX 9 and Win32 apis.
I've already deleted DirectInput from the EXE (I use only Win32 apis now).
And I'm writing a new renderer with DirectX 9 :jmp:

Here's what I've already done:
  • Expanded statics limit up to 1000 statics
  • Increased number of concurrent active items up to 32
  • Removed DirectInput and used Win32 apis
  • Ported some old decompiled enemies to TR5: shark, diver, tiger, cobra, spikey wall, tribes man, tiger, baracudda, t-rex, spinning disk blade
  • New renderer: I can already render and play levels. Already working: Lara with skinning, hairs with skinning, rooms with vertex colors, moveables and statics, flyby cameras, triggers, text rendering (with true type fonts!), horizon, bars
  • Bigger game buffer (128 MB instead of... 5 MB)
  • Some bugs of the original EXE already fixed

If the project will be completed, TR5Main will become the official engine of Tomb Editor and this will allow me to do also small little changes inside the file format for adding custom functionalities.

Now it's time for some pictures :)





Caesum 21-07-18 15:41

This project seems extremely promising and personally I can wait to get my hands on it. :tmb: Judging by the sound of it it seems you are already quite far in production too.

MontyTRC 21-07-18 15:46

There's a lot of work to do. But now I have the base blocks: cameras, rooms, objects, text, render to texture. Now I can add functions more easily. :)

tlr online 21-07-18 15:50

Many awesome. :tmb:

Shakira Croft 21-07-18 15:52

Amazing! Can't wait to see more too :tmb:

LGG_PRODUCTION 21-07-18 16:04

Is that a sort of TRNG for TR5?
Will we able to use skins like this on TR5 levels?
I would like to see those old enemies in TRNG too :)
I'm curious about this project and I love TR5 :)

RocketLombax 21-07-18 16:27

Ooh, this is exciting! I've been wanting this kind of stuff for a long time, so it's good to see the team working on this! I look forward to seeing how things go in the long run. :jmp:

Alex Fly 21-07-18 17:00

Wow this sounds really exciting! Great work! :tmb:

klona 21-07-18 18:20

Is it possible to add the missing functions from the PSX versions?
e.g. Room type echoes and footsteps

Quasar NEO 21-07-18 18:21

That sounds interesting, I hope we will be able to use TRNG with this! :p

All times are GMT. The time now is 22:10.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.