Skip to content

sapper-trle/PixStr22

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PixStr 2.2

PixStr 2.2 is a program used to modify objects in PC Tomb Raider level files (TR1-TR5).

Originally written many years ago by a programmer known as Raider Croft in Delphi 7 using Tomb Raider libraries by programmer known as Turbo Pascal.

Final update by me (Revision 4) released in 2014 was compiled in Delphi 2005 Personal Edition. See https://www.tombraiderforums.com/showthread.php?t=165897

To compile the code:

  1. Download and install the free Delphi Community Edition from https://www.embarcadero.com/products/delphi/starter/free-download.

    Installation video

  2. (i)Clone this repo or (ii) download the .zip of this repo and extract to a folder on your PC.

  3. Open the Delphi project file, "PixStr.dproj".

  4. Click Run > Run or Run > Run Without Debugging to build and run the DEBUG configuration. To build and run the RELEASE configuration must activate the RELEASE build configuration in the "Projects" window. The PixStr executable will be created in the bin\Debug or bin\Release folder.

    Image Run

    Image Run Without Debugging

Important:

The following 5 files must be in the same folder as "PixStr.exe" for correct operation.

  • "Config.opt" which is a text file
  • "NGtrcatalog.xml"
  • "Rev_4_readme.txt"
  • "Readme.txt"
  • "SOLID.BMP"

NOTES

Project » Options » Application » Manifest » Manifest file is set to (None) since the PixStr UI looks better with old Windows style.

Do not delete "PixStr2.res" - required for compiling. Only contains the icon.

Not all units in repo are used by PixStr.

WARNING

Initial commit is the Delphi 2005 code. This will not compile in modern Delphi IDE (2009 and later) due to incompatible string handling caused by switch to unicode. Also requires madExcept installed into IDE.

If you have an old Delphi IDE, open PixStr.bdsproj.

Second commit is code modified to compile in Delphi 12.1.

  • Removed madExcept dependency
  • Disabled UI Language localisation feature rather than updating the string routines. Code was only commented out so if you know how to fix string errors you can. I think there were only 4 errors. I hadn't studied the language feature before but probably is better left out. Can only change UI language to Spanish (Raider 🇨🇱 and Turbo 🇭🇳 are Spanish speakers) since that is only *.lng file available. Cannot change back to English due to no English *.lng file. Need to delete or change extension of Spanish *.lng file and restart PixStr. PixStr stores its settings including language used in the Windows registry.
  • Added TFormatSettings variable to replace DecimalSeparator variable
  • TODO: Fix DXF import/export routines to handle decimal numbers correctly. Routines assume US decimalseparator, i.e. "." but user's country may use ",".

Delphi IDE Notes:

Current version of Community Edition as at November 2025 is 12.1.

Delphi Community Edition basically licensed for non commercial use - revenue less than $5000.00 USD.

The license to use Delphi Community Edition expires after 365 days at which time users have to download and install Delphi Community Edition again if new version available or request new license if same version still available.

Make sure to install the Windows target platform. PixStr is a Windows 32 bit program.

If you wish to learn to program in Delphi, I recommend installing the local Help files too. Then when you click on an Object Pascal keyword in the code editor you can press F1 to bring up the help topic for that keyword.

About

Program to modify objects in PC Tomb Raider level files (TR1-TR5)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages