Commit graph

243 commits

Author SHA1 Message Date
Marcin Kurczewski
953f30205e build: offload binary assets to TRX-data 2025-04-22 12:37:43 +02:00
Marcin Kurczewski
7f574c9448 ui: merge save slot dialog via libtrx 2025-04-20 17:07:49 +02:00
lahm86
70fe64c991 tr2/ui/graphic_settings: add further controls to graphics dialog
This makes several visual/rendering options available in TR2's graphic
dialog, including adding support for enum types.
2025-04-19 07:54:36 +01:00
lahm86
ec2a0452ff tr2/savegame: save and load current music
Some checks are pending
Run code linters / Run code linters (push) Waiting to run
Publish a pre-release / Build TR1 (push) Has been skipped
Publish a pre-release / Build TR2 (push) Has been skipped
Publish a pre-release / Create a prerelease (push) Has been skipped
This allows the current music track and position to be saved and
restored on load, similar to TR1X.

Resolves #2579.
2025-04-17 19:34:35 +01:00
lahm86
772308b359 tr2/data: fix boat explosion showing default mesh
This injects an object to represent the boat exploding when it crosses
mines, and safeguards the code to ensure the object is present to avoid
showing the default mesh.

Resolves #1605.
2025-04-16 22:19:39 +01:00
lahm86
81287845ca config: add bridge collision fix option to TR2
This makes the bridge collision config setting available in TR2,
currently not used however.
2025-04-13 13:21:06 +01:00
Marcin Kurczewski
cec3c8d235 config: rename enable_cine to enable_cutscenes 2025-04-12 22:34:57 +02:00
Marcin Kurczewski
72c67d7973 config: add/improve enable_legal option
Resolves #2740. Resolves #2741.
2025-04-12 22:33:59 +02:00
lahm86
36ab43f0b3 tr2/option_passport: add new game options
Some checks are pending
Run code linters / Run code linters (push) Waiting to run
Publish a pre-release / Build TR1 (push) Has been skipped
Publish a pre-release / Build TR2 (push) Has been skipped
Publish a pre-release / Create a prerelease (push) Has been skipped
This adds NG+, Japanese, and Japanese NG+ options (as well as regular
NG) to the new game page in the passport.

Resolves #2731.
2025-04-11 21:30:11 +01:00
Marcin Kurczewski
74e6205e7e tools: move inspect_save to tools/ 2025-04-09 16:21:13 +02:00
Marcin Kurczewski
264c18c1c8
build: fix Linux executable name
Resolves #2705.
2025-04-07 12:28:36 +02:00
lahm86
de1a63fc74 tools: clean-up config tool build messages
This fixes VS messages regarding namespaces, removes some redundant
usings and SDK parameters, and adds XAML design data contexts.
2025-04-03 17:09:56 +01:00
lahm86
494c2724fc tools: merge config tool projects
This merges the three config tool projects into a single VS solution.
2025-04-03 17:09:56 +01:00
Marcin Kurczewski
3f76e74ed5 build: merge Docker images 2025-03-31 14:09:23 +02:00
Marcin Kurczewski
3e2206906e build: add TR2 installer automatic builds
Some checks are pending
Run code linters / Run code linters (push) Waiting to run
Publish a pre-release / Build TR1 (push) Has been skipped
Publish a pre-release / Build TR2 (push) Has been skipped
Publish a pre-release / Create a prerelease (push) Has been skipped
2025-03-30 12:34:54 +01:00
lahm86
0618baebc9 tools/installer: create TR2 installer
This creates a TR2 installer in similar fashion to TR1. The installers
themselves are basically directory tree copiers, rather than having to
extract from BIN/ISO like TR1.
2025-03-30 12:34:54 +01:00
lahm86
5fb3f84fed tools/installer: standardize output paths
This standardizes output paths to conform with shipped TRX data.
Folders and files created within the target folder will be in
lower-case; PCX files will be copied to a sub-directory within images
as TRX ships with custom images, and this as a result keeps the data
folder tidy.
2025-03-30 12:34:54 +01:00
lahm86
24fb920cd1 tools/installer: rename solution 2025-03-30 12:34:54 +01:00
lahm86
417e7486c8 tools/installer: decouple shortcut and expansion logic
This decouples the shortcut creation so it can be used generically in
either game. It also allows for the expansion pack zip names to be
defined externally rather than guessing from the selected type.
2025-03-30 12:34:54 +01:00
lahm86
cf8fc3d6bf tools/installer: migrate TR1X installer
This migrates the TR1X installer to use the new common library.
2025-03-30 12:34:54 +01:00
lahm86
6142621274 tools/installer: hide expansion options unless enabled 2025-03-30 12:34:54 +01:00
lahm86
365cff79c1 tools/installer: move language to external file
This moves all language used in the installer to an embedded JSON file
to allow for customisation per game.
2025-03-30 12:34:54 +01:00
lahm86
e16fcda94b tools/installer: create common installer library
This creates a generic common installer WPF library for both games.
2025-03-30 12:34:54 +01:00
lahm86
f396ef4514 tr2: add support for The Golden Mask
This implements support for the Golden Mask by providing relevant game
flow files, command line handling, and object alias setup on launch.

Resolves #1554.
Resolves #1604.
Resolves #1621.
Resolves #2667.
2025-03-24 14:46:21 +00:00
lahm86
5bc307b14f objects/bear: create Golden Mask bear alias
This allows for the big spider in the Golden Mask to be used as an
alias for the bear.
2025-03-24 14:46:21 +00:00
lahm86
e45f331ec5 tr2/game_flow: remove secret count from game flow
This removes the need the control around setting secret counts in the
game flow, which is now redundant.
2025-03-21 18:16:38 +00:00
walkawayy
66d1b59330 tr1/stats: change the detailed stats option to three modes
Resolves #2658.
The three stat options include:
minimal: kills, pickups, secrets, time
detailed: minimal and max pickup and max kill count
full: detailed and ammo hits/used, health packs used, distance
2025-03-21 11:43:22 -04:00
walkawayy
2ef5723457 tr1/stats: add extra stats from TR2
Resolves #2651.
Added stats are ammo hits/used, health packs used, and distance
travelled.
2025-03-21 11:43:22 -04:00
Marcin Kurczewski
2baeeabd23
tools: improve commit name for stable
Some checks are pending
Run code linters / Run code linters (push) Waiting to run
Publish a pre-release / Build TR1 (push) Has been skipped
Publish a pre-release / Build TR2 (push) Has been skipped
Publish a pre-release / Create a prerelease (push) Has been skipped
2025-03-18 22:39:16 +01:00
Marcin Kurczewski
0e85a3d155 tr2: add accented fonts
Resolves #2356.
2025-03-11 21:10:32 +01:00
Kappa971
354783e21e Small fix for TR1X ConfigTool 2025-03-11 13:13:50 +01:00
Kappa971
32cc0a6ec4 tr2/config-tool: Add Italian translation 2025-03-11 13:13:50 +01:00
Marcin Kurczewski
c9b212f961 tr2/config-tool: fix missing labels for fps 2025-03-09 17:03:01 +01:00
Marcin Kurczewski
8a0c695b02 tr2: add 60 fps 2025-03-09 17:03:01 +01:00
Kappa971
f7920074db tr1/config-tool: Fix Italian translation 2025-02-19 15:15:51 +01:00
Kappa971
0865cb36c7 tr1/config-tool: Update Italian translation 2025-02-19 15:15:51 +01:00
Marcin Kurczewski
5f0e321bac tools: switch to new releasing strategy 2025-02-17 10:23:26 +01:00
Marcin Kurczewski
35e4ceeffb tr1/passport: refactor input processing 2025-02-15 19:21:51 +01:00
Marcin Kurczewski
a02eb0762a build: replace gl_core_3_3.c with GLEW 2025-02-15 00:03:58 +01:00
Marcin Kurczewski
63ce670d22 build: upgrade ffmpeg to 7.1 2025-02-14 23:27:41 +01:00
Marcin Kurczewski
ca256e80eb
build: pin zlib version
Their recent commits broke the automated builds.
2025-02-01 13:03:07 +01:00
Marcin Kurczewski
1c16b6ed9d build: fix Linux builds missing XRandR support
Resolves #2382.
2025-02-01 10:47:36 +01:00
Marcin Kurczewski
aeb121f7f3 tr2/game-flow: remove level_complete_track 2025-01-27 12:43:26 +01:00
Marcin Kurczewski
1ca1df7041 tr2/game-flow: split level_stats & level_complete 2025-01-27 12:43:26 +01:00
walkawayy
e88a28c39f tr2: add mac builds 2025-01-25 16:47:56 +01:00
Marcin Kurczewski
c88972c7e5 game-flow: reduce key naming differences 2025-01-24 16:01:16 +01:00
lahm86
44b311037d config: add option to control dynamic light
This adds an option to control enabling dynamic light in both TR1 and
TR2.
2025-01-23 22:26:35 +00:00
Marcin Kurczewski
53e8104615 tr2/game-flow: remove GFS_PLAY_DEMO
Unused after refactor.
2025-01-23 13:51:35 +01:00
Marcin Kurczewski
a4c0fffb5d
tr2/game-flow: remove deadly water sequence 2025-01-22 23:55:34 +01:00
Marcin Kurczewski
a3e27685f4
tr2/tools: add tombpc.dat reader 2025-01-22 23:55:33 +01:00