2021-02-07 23:29:49 +01:00
|
|
|
# TR1Main
|
|
|
|
|
2021-02-08 14:24:50 +01:00
|
|
|
This is a dynamic library for the classic Tomb Raider I game (TombATI version).
|
|
|
|
The purpose of the library is to reimplement all the routines performed by the
|
|
|
|
game and enhance the gameplay with new options.
|
2021-02-07 23:29:49 +01:00
|
|
|
|
2021-02-11 16:47:07 +01:00
|
|
|
This project is inspired by Arsunt's
|
|
|
|
[TR2Main](https://github.com/Arsunt/TR2Main/) project.
|
2021-02-07 23:29:49 +01:00
|
|
|
|
2021-02-11 16:47:07 +01:00
|
|
|
## Installing
|
2021-02-07 23:29:49 +01:00
|
|
|
|
2021-02-11 16:47:07 +01:00
|
|
|
Get a copy of the latest release from
|
|
|
|
[here](https://github.com/rr-/TR1Main/releases) and unpack the contents to your
|
|
|
|
game directory. Make sure you overwrite existing files.
|
2021-02-07 23:29:49 +01:00
|
|
|
|
2021-02-08 14:22:36 +01:00
|
|
|
## Configuring
|
|
|
|
|
2021-02-11 17:13:40 +01:00
|
|
|
To configure TR1Main, edit the `TR1Main.json` file in your text editor such as
|
|
|
|
Notepad.
|
2021-02-08 14:22:36 +01:00
|
|
|
|
|
|
|
Currently the following configuration options are supported:
|
|
|
|
|
|
|
|
- `disable_medpacks`: hides all the medpacks (for No Meds challenge runs).
|
2021-02-09 22:20:22 +01:00
|
|
|
- `disable_healing_between_levels`: disables healing Lara between level reloads
|
2021-02-08 14:24:50 +01:00
|
|
|
(for No Heal challenge runs).
|
2021-02-10 23:59:11 +01:00
|
|
|
- `enable_red_healthbar`: replaces the default golden healthbar with a red one.
|
2021-02-11 00:26:17 +01:00
|
|
|
- `enable_enemy_healthbar`: enables showing healthbar for the active enemy.
|
2021-02-09 22:23:33 +01:00
|
|
|
- `fix_end_of_level_freeze`: fix game freeze when ending the level with the
|
2021-02-11 00:26:17 +01:00
|
|
|
Action key held.
|
2021-02-08 14:22:36 +01:00
|
|
|
|
2021-02-07 23:29:49 +01:00
|
|
|
## Building
|
|
|
|
|
|
|
|
- i686-w64-mingw32-gcc - C/C++ compiler
|
|
|
|
- Vim @ WSL - IDE
|
|
|
|
|
2021-02-10 16:21:57 +01:00
|
|
|
To compile the project, run `make build`.
|
|
|
|
To compile the project with Docker, run `make docker_build`.
|
2021-02-07 23:49:42 +01:00
|
|
|
|
2021-02-11 00:26:17 +01:00
|
|
|
## Decompilation progress
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
Green squares represent TombATI functions that are fully decompiled and
|
|
|
|
reimplemented by TR1Main. Light red squares represent functions that still need
|
|
|
|
to be ported.
|
|
|
|
|
2021-02-07 23:29:49 +01:00
|
|
|
## License
|
|
|
|
|
2021-02-08 14:24:50 +01:00
|
|
|
This project is licensed under the GNU General Public License - see the
|
|
|
|
[COPYING.md](COPYING.md) file for details.
|
2021-02-07 23:29:49 +01:00
|
|
|
|
|
|
|
## Copyright
|
|
|
|
|
2021-02-08 14:24:50 +01:00
|
|
|
(c) 2020 Marcin Kurczewski. All rights reserved. Original game is created by
|
|
|
|
Core Design Ltd. in 1996. Lara Croft and Tomb Raider are trademarks of Square
|
|
|
|
Enix Ltd.
|