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
|
|
|
|
|
|
|
This project is inspired by Arsunt's [TR2Main](https://github.com/Arsunt/TR2Main/) project.
|
|
|
|
|
|
|
|
## Getting Started
|
|
|
|
|
2021-02-08 14:24:50 +01:00
|
|
|
For TR1Main to work, you will need a patched `tombati.exe` from
|
|
|
|
[here](https://github.com/rr-/TR1Main/tree/master/bin). Then you should
|
|
|
|
download TR1Main.dll from [releases](https://github.com/rr-/TR1Main/releases).
|
|
|
|
Both files should be put in your game folder. Then you can launch the game by
|
|
|
|
running the patched `tombati.exe`.
|
2021-02-07 23:29:49 +01:00
|
|
|
|
2021-02-08 14:22:36 +01:00
|
|
|
## Configuring
|
|
|
|
|
2021-02-08 14:24:50 +01:00
|
|
|
To configure TR1Main, copy
|
|
|
|
[TR1Main.json](https://raw.githubusercontent.com/rr-/TR1Main/master/TR1Main.json)
|
|
|
|
from this repository to your game folder, then edit it 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-10 22:31:06 +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
|
|
|
|
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-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.
|