Tomb Raider Forums  

Go Back   Tomb Raider Forums > Tomb Raider Series > Tomb Raider

Reply
 
Thread Tools
Old 12-05-16, 11:58   #1
barracuda415
Member
 
Joined: Oct 2015
Posts: 63
Default Guide: Playing Tomb Raider 1 natively on modern Windows using GLRage

Hi everyone!

Here's a guide that tells you how to play Tomb Raider 1 and Tomb Raider: Unfinished Business on modern Windows. As you probably know, TR1 was originally released for DOS, Sega Saturn and Sony Playstation, so you normally need an emulator to play it. However, there's an old patch available for the ATI 3D Rage, which was designed for Windows 95 and, with some modifications, still runs even on Windows 10. So let's get started, shall we?

Game Files

First of all, you'll need the Tomb Raider 1 game files. Doesn't really matter where you get them from, as long as you have all files that are also on the original CD. Steam/GOG.com releases also work fine, although you may have to mount the included CD image first to get the required directories:
  • DATA, with .phd and .pcx files inside. These are the level files and title screen textures.
  • FMV, which contains a couple of .rpl files. These are the movies.

Copy these to a directory of your choice. It will be the future game directory. All other files are not required for the Windows version.

ATI 3D Rage patch

Of course, just the game files alone won't give you a playable game, so you'll need a .exe and a few .dll files:

Extract the contents of that ZIP file to the game directory.

GLRage

The 3D Rage patch requires the ATI 3D CIF API, so if you happen to have a vintage gaming system running Windows 95 with an ATI 3D Rage graphics card, you could start the game at this point.

Since this is rather unlikely, you're going to need my little wrapper, which translates that API to modern OpenGL: GLRage. You can find the latest build here. Make sure you download the .zip file and not the source code (unless you want to compile it yourself). Extract the content of that ZIP file to the game directory as well.

GLRage is designed for modern systems, so you'll need a relatively new graphics card that supports OpenGL 3.3. Any graphics card that was made post 2010 should be fine. According to some users, integrated Intel graphics may not always work.

Now you should be able to start the game! You probably want to set a native resolution and also enable texture filtering in the Detail Levels menu.

If Windows complains about missing DLL files, you'll need to install the Visual C++ Redistributable as well.

Soundtrack

You'll quickly notice that the game is pretty quiet, since something important is missing: the soundtrack!

First, get the full FLAC soundtrack here. Create a new directory named "music" inside the game directory and extract all .flac files there.

Next, you'll need another wrapper to wrap the CD audio to these FLAC files. You can download it here.

(ZPlayMM doesn't have a Github repository yet, but in case you want the source code: here).

Again, extract it to the game directory. You also need to change the config file to enable the soundtrack. For that, open "patches\tombati.ini" or "patches\tombub.ini" (depending on the game) with a text editor, change "full_soundtrack = false" to "full_soundtrack = true" and save the file.

When you now start the game, you should hear the music, too. And that's essentially it: You can now play the 1996 game on Windows 10 in 1080p, 2160p and beyond!

If you need to customize your soundtrack pack, here's a spreadsheet that lists all known TR1 tracks. GLRage uses the "raw" track indices when "full_soundtrack" is enabled, otherwise it uses the "PC" indices.

Known Issues

This solution still isn't perfect, so here's a few things to keep in mind:
  • The savegame format is incompatible to DOS format. To prevent accidental loading or overwriting of existing DOS savegames, the file name format has been changed.
  • Custom key bindings have been partially disabled in the ring menu to prevent various crashes.
  • Some objects disappear when viewed from certain angles or are just partially visible. Probably caused by bugs in the rendering engine.
  • If the soundtrack patch is activated, music cues triggered by levels are played again when loading a savegame where they have been played already.
  • If Lara is burning, the fire sounds are replayed every tick (30 times per second), causing nasty sound artifacts.
  • If more than one SFX of one type is played at a time, it replaces the previously played one.

Screenshots

Here's something for your eyes to feast on:



Extras

And here are some extra mods and resources made by other members:

Last edited by barracuda415; 23-05-16 at 12:27.
barracuda415 is offline   Reply With Quote
Old 13-05-16, 02:02   #2
Kirishima
Member
 
Joined: Oct 2011
Posts: 757
Default

Quote:
Originally Posted by barracuda415 View Post
The menu is fully opaque when opened in-game. This is likely because of limitations of the 3D CIF API and cannot be fixed with a wrapper.
This video shows the menu on real hardware, but it doesn't darken like the other versions:

Last edited by Kirishima; 13-05-16 at 02:04.
Kirishima is offline   Reply With Quote
Old 13-05-16, 07:08   #3
Sardoc
Member
 
Sardoc's Avatar
 
Joined: Aug 2013
Posts: 1,294
Default

And if you'd like music in Unfinished Business, have a look at this thread. #ShamelessAdvertising
Sardoc is offline   Reply With Quote
Old 13-05-16, 10:38   #4
kacpy
Member
 
Joined: Mar 2007
Posts: 505
Default

Edit: Problem solved. I realized there's a resolution option in the main title menu (that's not available in the game itself). Everything's working great now that I changed the resolution in-game.

Hmm. Some help would be welcome. Followed the guide, copied everything from my CD and links here. My resolution is 1920x1080.

My problem is the game displays with pillarboxing at 1728x1080 (as I noticed in screenshots) and what seems like terrible scaling problems. (Basically everything in motion is shapeshifting, including Lara.

Last edited by kacpy; 13-05-16 at 12:22.
kacpy is offline   Reply With Quote
Old 13-05-16, 12:35   #5
barracuda415
Member
 
Joined: Oct 2015
Posts: 63
Default

Quote:
Originally Posted by Kirishima View Post
This video shows the menu on real hardware, but it doesn't darken like the other versions:
Welp, I have actually watched that video before and didn't even notice the menu. In that case, my statement is indeed wrong. Guess I'll have to find out why the wrapper doesn't draw the background correctly then.

Quote:
Originally Posted by kacpy View Post
My problem is the game displays with pillarboxing at 1728x1080 (as I noticed in screenshots) and what seems like terrible scaling problems. (Basically everything in motion is shapeshifting, including Lara.[/I]
You have to set the native resolution in the game options as well. Otherwise, the vertices are just rescaled from 640x480 to 1728x1080 and produce these glitches you noticed. This also fixes the pillarboxing.

Just cycle through the resolutions until it shows 1920x1080 (normally 800x600 without patches).

Last edited by barracuda415; 13-05-16 at 12:42.
barracuda415 is offline   Reply With Quote
Old 13-05-16, 12:55   #6
kacpy
Member
 
Joined: Mar 2007
Posts: 505
Default

Quote:
Originally Posted by barracuda415 View Post
You have to set the native resolution in the game options as well. Otherwise, the vertices are just rescaled from 640x480 to 1728x1080 and produce these glitches you noticed. This also fixes the pillarboxing.

Just cycle through the resolutions until it shows 1920x1080 (normally 800x600 without patches).
Yep, I already figured that out. Thanks for everything.

Edit:
If you don't select the full soundtrack in the ini, the game uses wrong tracks in-game (since they are in a different order on PC-CD). Correct me if I'm wrong again.

Last edited by kacpy; 13-05-16 at 15:39.
kacpy is offline   Reply With Quote
Old 13-05-16, 16:13   #7
Gian Carlo
Member
 
Gian Carlo's Avatar
 
Joined: Nov 2009
Posts: 3,093
Default

IS THAT WIDESCREEN OR I'M SEEING THINGS???
Gian Carlo is offline   Reply With Quote
Old 15-05-16, 19:25   #8
barracuda415
Member
 
Joined: Oct 2015
Posts: 63
Default

Okay, I managed to fix the menu background with a few hacks. And unlike on native hardware, it's even dimmed now:



I also increased the movie brightness to full levels. I'll upload it as r6 tomorrow.

Quote:
Originally Posted by Gian Carlo View Post
IS THAT WIDESCREEN OR I'M SEEING THINGS???
Yep, including a corrected field of view.
barracuda415 is offline   Reply With Quote
Old 15-05-16, 20:05   #9
Salem150
Member
 
Salem150's Avatar
 
Joined: Jan 2013
Posts: 201
Default

Quote:
Originally Posted by barracuda415 View Post
Okay, I managed to fix the menu background with a few hacks. And unlike on native hardware, it's even dimmed now:



I also increased the movie brightness to full levels. I'll upload it as r6 tomorrow.
Omg amazing cant wait. Great job!
Salem150 is offline   Reply With Quote
Old 15-05-16, 23:10   #10
b122251
Member
 
b122251's Avatar
 
Joined: Aug 2013
Posts: 686
Default

Quote:
Originally Posted by barracuda415 View Post
[*]DATA, with .phd and .pcx files inside. These are the level files and textures.
Sorry to be nitpicking here, but pcx files are not used for textures. The textures are inside the phd files. PCX files in tr1 contain title and credit screens and such.
By the way, awesome project!
b122251 is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 08:27.


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.