Skip to content

izarif/abnormal_day

 
 

Repository files navigation

Abnormal Day logo

This is a mod for Tomb Raider (1996)
Powered by TRIX engine

Compiling

For windows

  1. Install msys2
  2. Download ffmpeg-6.1.2.tar.xz archive
  3. Extract it to C:\Users\<username>\ffmpeg-src\
  4. Download libbacktrace-master.zip archive
  5. Extract it to C:\Users\<username>\libbacktrace-src\
  6. Run msys2 mingw32 terminal
  7. Update msys2 core packages
$ pacman -Suy

Package manager will prompt you to proceed, confirm

In some cases, certain core packages will get updated and package manager will prompt you to close all terminals, confirm

  1. Run msys2 mingw32 terminal again
  2. Update msys2 base packages
$ pacman -Suy
  1. Install required msys2 packages
$ pacman -S mingw-w64-i686-gcc git mingw-w64-i686-ca-certificates mingw-w64-i686-python-pip mingw-w64-i686-meson make mingw-w64-i686-diffutils mingw-w64-i686-yasm mingw-w64-i686-SDL2 mingw-w64-i686-pcre2
  1. Install required python packages
$ pip install pyjson5
  1. Configure ffmpeg build script
$ cd /c/Users/<username>/ffmpeg-src/
$ ./configure --prefix=/mingw32 --enable-gpl --enable-decoder=pcx --enable-decoder=png --enable-decoder=gif --enable-decoder=mjpeg --enable-decoder=mpeg4 --enable-decoder=mdec --enable-decoder=mp3 --enable-decoder=h264 --enable-decoder=h264_qsv --enable-decoder=libopenh264 --enable-demuxer=mov --enable-demuxer=mp3 --enable-demuxer=avi --enable-demuxer=h264 --enable-demuxer=str --enable-demuxer=image2 --enable-parser=mpegaudio --enable-zlib --enable-small --disable-debug --disable-ffplay --disable-ffprobe --disable-doc --disable-network --disable-htmlpages --disable-manpages --disable-podpages --disable-txtpages --disable-asm
  1. Build ffmpeg
$ make
  1. Install ffmpeg
$ make install
  1. Configure libbacktrace build script
$ cd /c/Users/<username>/libbactrace-src/
$ ./configure --prefix=/mingw32
  1. Build libbacktrace
$ make
  1. Install libbacktrace
$ make install
  1. Clone the repository
$ cd /c/Users/<username>/
$ git clone https://github.com/izarif/abnormal_day --recursive
  1. Copy C:\Users\<username>\abnormal_day\src\libtrx\ directory to C:\Users\<username>\abnormal_day\src\tr1\subprojects\libtrx\
  2. Copy C:\Users\<username>\abnormal_day\tools\shared\ directory to C:\Users\<username>\abnormal_day\tools\tr1\shared\
  3. Configure abnormal_day build script
$ cd /c/Users/<username>/abnormal_day/src/tr1/
$ meson build
  1. Build abnormal_day
$ cd build
$ meson compile

License

This project is licensed under the GNU General Public License - see the COPYING.md file for details.

Releases

No releases published

Packages

No packages published

Languages

  • C 94.6%
  • C# 2.6%
  • Python 1.9%
  • Meson 0.5%
  • Dockerfile 0.2%
  • Just 0.1%
  • Other 0.1%