Tomb Raider Forums

Tomb Raider Forums (https://www.tombraiderforums.com/index.php)
-   Tomb Raider II (https://www.tombraiderforums.com/forumdisplay.php?f=14)
-   -   Playstation Waving Inventory algorithm is published! (https://www.tombraiderforums.com/showthread.php?t=218509)

Dustie 19-08-17 20:24

Mesmerising... Being able to decipher all this stuff from a compiled program code, one must be genius... Clearly I will never be a game programmer, I sucked at trigonometry! :p


[QUOTE=Arsunt;7770487]Several people even accused me of not sharing the technical details of my work with the community.[/QUOTE]

:facepalm:

We wholeheartedly apologise for that. There are some community members who expect everything to be given away freely, even others' hard work. Most of us here are not like that and understand that it is special to see talents like you dedicate their free time to bringing such treats to fans. Please don't get discouraged. :)

Arsunt 20-08-17 09:34

Thank you all for your kind words! :)
[QUOTE=Dustie;7770838]Mesmerising... Being able to decipher all this stuff from a compiled program code, one must be genius...[/QUOTE]
Thanks! :D
[QUOTE=Dustie;7770838]We wholeheartedly apologise for that. There are some community members who expect everything to be given away freely, even others' hard work. Most of us here are not like that and understand that it is special to see talents like you dedicate their free time to bringing such treats to fans. Please don't get discouraged. :)[/QUOTE]
No problem. All people are different, and not everyone realizes how many mechanisms are hidden behind a "simple animated picture". I'm just glad that I will give them the opportunity to fully plunge into it. :tea:
[QUOTE=Teeth;7770656]Do you plan to release this to the public? :D[/QUOTE]
Of course! Otherwise what would be the sense in this whole multi-year project?
[QUOTE=Teeth;7770656]What else do you hope to bring to PC players? I'm thinking of the reflective save crystals and gold Lara from TR1.[/QUOTE]
[b]TR1[/b]

These reflective textures are extremely curious, I have not yet examined them in detail, but I understand approximately what the essence of the implementation is. And it seems for gold and crystals, the game uses the same algorithm, but with different color filters (blue/yellow). So yeah, someday I can recreate these effects. I also plan to add a hardmode to the game. When you select the "New Game" option, you will be offered a difficulty level. At hardmode, the ability to save anytime is turned off, but crystals will appear in the levels, as in the PSX.

The TR1 project will be launched after our TR2 and TR3 releases. Now there is too much competition among the projects concerning the first game of the series. Mainly, it's TombATI and not yet published official remastered one from realtech VR. I know that TombATI is quite limited, despite it seems to be a solution to all problems, and Realtech VR is lazy enough to create a product that at least extends beyond the source code they have - it's visible on a pile of minor issues, which remained in their implementations. I fixed them right in assembler, and they do not want to change anything for several years, having the source code! Last year, we [URL="http://www.tombraiderforums.com/showthread.php?t=214653"]published the patch[/URL] for the original DOSBox version, but it was useful to a small number of people. Not because the patch is bad, but because there are more interesting and convenient alternatives. The main idea is to make a really decent product, you need much more time to develop. But don't worry I still have aces in the hole to surprise everyone.

[b]TR2[/b][list][*] Waving inventory wallpaper (as you see, it's done)[*] Gradient HP/Air Bars, exactly the same as PSX version has (almost done)[*] Half transparent water surface textures, gunshots, etc. (work in progress)[*] Barefoot step sound FX (someday, I don't know when. This thing is related to the content, not the code)[/list]
[b]TR3[/b][list][*] Gradient HP/Air Bars[*] Better weather effects, more visible laser beams[*] Spinning picked up item, like in the Demo[*] Difficulty levels:
1. Anytime save enabled, green HP Crystals available
2. Anytime save enabled, there is no HP/Save Crystals
3. Anytime save disabled, blue Save Crystals available[*] Echoed sound effects[*] Footprints feature.[/list]
For all games there are bugfixes, draw/fog distance settings, native FMV HD support, native HD Image files support, native support of external texture packs, language packs. I could just post here our TR2 changelog, but probably this should be done as a separate topic, because the size of the changes list is quite large.

Caesum 20-08-17 17:34

I must say, this is incredibly interesting. I always wanted to have these PSX-exclusive features in the PC version. To hear that it finally gonna be possible... Wow! Maybe finally PC version of TR will [I]really[/I] be the best one..?

Btw, do you plan on moving to TR4 or TRLE at later stage? Especially TRLE/TRNG needs some serious tweaking these days.

Arsunt 20-08-17 18:24

[QUOTE=Caesum;7771216]I must say, this is incredibly interesting. I always wanted to have these PSX-exclusive features in the PC version. To hear that it finally gonna be possible... Wow! Maybe finally PC version of TR will [I]really[/I] be the best one..?[/QUOTE]
And it will be!
[QUOTE=Caesum;7771216]Btw, do you plan on moving to TR4 or TRLE at later stage? Especially TRLE/TRNG needs some serious tweaking these days.[/QUOTE]
Not before I finish with TR1-3.

Alain19 20-08-17 18:45

Really COOL! I have to work to understand it by reading your code (and I like your coding style!:)) and to imagine finding this out from looking at a binary is amazing:tiphat:
Now I wonder, do you think you will have a general method to reintroduce this into the existing binaries, or do you use specific patches in them to call the dll, or (dare I hope :D) you just rebuild a binary?

Kirishima 20-08-17 19:35

[QUOTE=Arsunt;7770990]
[b]TR3[/b][list][*] Gradient HP/Air Bars[*] Better weather effects, more visible laser beams[*] Spinning picked up item, like in the Demo[*] Difficulty levels:
1. Anytime save enabled, green HP Crystals available
2. Anytime save enabled, there is no HP/Save Crystals
3. Anytime save disabled, blue Save Crystals available[*] Echoed sound effects[*] Footprints feature.[/list][/QUOTE]

About the reverb, I did a bit of searching around some time ago and found Tomb Raider 3 was originally going to support Aureal 3d. The feature ended up being cut due to time constraints, but ended up supposedly being fully implemented in Tomb Raider The Last Revelation. Whether the Aureal 3d support was just 3d positional audio or audio effects like the ps1 version, I don't know. I've been thinking about asking if people remember playing TLR with one of those compatible sound cards to see if people remember what it added to the game, but just haven't yet.

Dustie 20-08-17 19:56

[QUOTE=Arsunt;7770990][b]TR2[/b][list][*] Waving inventory wallpaper (as you see, it's done)[*] Gradient HP/Air Bars, exactly the same as PSX version has (almost done)[*] Half transparent water surface textures, gunshots, etc. (work in progress)[*] Barefoot step sound FX (someday, I don't know when. This thing is related to the content, not the code)[/list]
[b]TR3[/b][list][*] Gradient HP/Air Bars[*] Better weather effects, more visible laser beams[*] Spinning picked up item, like in the Demo[*] Difficulty levels:
1. Anytime save enabled, green HP Crystals available
2. Anytime save enabled, there is no HP/Save Crystals
3. Anytime save disabled, blue Save Crystals available[*] Echoed sound effects[*] Footprints feature.[/list]
For all games there are bugfixes, draw/fog distance settings, native FMV HD support, native HD Image files support, native support of external texture packs, language packs. I could just post here our TR2 changelog, but probably this should be done as a separate topic, because the size of the changes list is quite large.[/QUOTE]

OMG external texture packs! Will they support HD textures? :D


And, is this coming on Christmas? :jmp:

Arsunt 20-08-17 20:45

[QUOTE=Alain19;7771264]Really COOL! I have to work to understand it by reading your code (and I like your coding style!:)) and to imagine finding this out from looking at a binary is amazing:tiphat:[/QUOTE]
Thanks!
[QUOTE=Alain19;7771264]Now I wonder, do you think you will have a general method to reintroduce this into the existing binaries, or do you use specific patches in them to call the dll, or (dare I hope :D) you just rebuild a binary?[/QUOTE]
I've already heavily modifed the game EXE with the help of assembler and hex editor. For me it's like a LEGO. Most of my work with EXE does not require compilation, because I'm the compiler myself. The library linkage implemented as follows:[list=1][*] Add to the EXE Import Table TR2Draw.dll name, table of names of DLL exported functions and table of pointers to get this functions. Game fills function pointer table at its Initialization step.[*] Add settings checkboxes, few global variables and some logic to control the feature. Some people may want original PC wallpaper or for example TR1 (darken) or TR3 (grayed) style wallpaper.[*] Prepare "Context" struct that consists of pointers to the important game variables .[*] In the wallpaper render function we just call DLL wallpaper function using its pointer from the Import table and pass to it parameters: "Context" struct pointer, texture data, wallpaper type, row count, framerate factor.[*] DLL does its work like if it is part of the EXE and successfully returns to the EXE.[/list]Child's play compared to what had to be done before. Everyone will get this patched EXE, which uses TR2Draw.dll, TR2Sound.dll, TR2UI.dll, ffplay.dll. Every single OpenSource DLL to solve different tasks. The game code itself will stay in EXE (just yet). Compatibility issues will gone forever.
[QUOTE=Kirishima;7771404]About the reverb, I did a bit of searching around some time ago and found Tomb Raider 3 was originally going to support Aureal 3d. The feature ended up being cut due to time constraints, but ended up supposedly being fully implemented in Tomb Raider The Last Revelation. Whether the Aureal 3d support was just 3d positional audio or audio effects like the ps1 version, I don't know. I've been thinking about asking if people remember playing TLR with one of those compatible sound cards to see if people remember what it added to the game, but just haven't yet.[/QUOTE]
Thank you for information! I'll check this out when I start developing a sound library.
[QUOTE=Dustie;7771489]OMG external texture packs! Will they support HD textures? :D[/QUOTE]
Yes :)
[QUOTE=Dustie;7771489]And, is this coming on Christmas? :jmp:[/QUOTE]
I hope earlier ;)

VictorXD 20-08-17 20:56

This is so freaking awesome OMG :eek: I can't believe that after all these years we'll finally have the PS1 features!

Dustie 20-08-17 23:32

I hope they will not attempt to buy you out to put your improvements in the Steam or GOG versions which then would have to be paid for... :cool:


All times are GMT. The time now is 19:58.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Tomb Raider Forums is not owned or operated by CDE Entertainment Ltd.
Lara Croft and Tomb Raider are trademarks of CDE Entertainment Ltd.