A decompilation of Perfect Dark. (MIRROR of https://gitlab.com/ryandwyer/perfect-dark)
Go to file
fgsfds 25d9e4a195
Update README.md
2023-08-09 23:02:24 +02:00
docs Name almost all BG symbols 2023-05-23 19:37:20 +10:00
include port: fix linux build 2023-08-09 23:00:57 +02:00
ld Rename vm.c to vminit.c, tlb.s to vm.s and annotate vm.s 2023-05-21 15:54:54 +10:00
port port: fix aEnvMixer; fix some misc warnings 2023-08-09 21:18:36 +02:00
src port: make the legal screen display the commit hash and platform 2023-08-09 22:54:42 +02:00
tools port: auto-generate headers like the decomp does 2023-08-09 22:32:26 +02:00
.gitignore port: make it not crash on the intro sequence and render SOME geometry 2023-08-01 23:38:06 +02:00
.gitmodules
LICENSE Add MIT license 2022-10-31 17:33:38 +10:00
Makefile port: make it link and load 2023-07-29 23:21:35 +02:00
Makefile.port port: make the legal screen display the commit hash and platform 2023-08-09 22:54:42 +02:00
README.md Update README.md 2023-08-09 23:02:24 +02:00
checksums.jpn-final.md5 Merge lang json files 2022-03-10 23:43:52 +10:00
checksums.ntsc-1.0.md5 Merge lang json files 2022-03-10 23:43:52 +10:00
checksums.ntsc-beta.md5 Merge lang json files 2022-03-10 23:43:52 +10:00
checksums.ntsc-final.md5 Merge lang json files 2022-03-10 23:43:52 +10:00
checksums.pal-beta.md5 Merge lang json files 2022-03-10 23:43:52 +10:00
checksums.pal-final.md5 Merge lang json files 2022-03-10 23:43:52 +10:00
stagetable.txt

README.md

Perfect Dark port

This repository contains a work-in-progress port of the Perfect Dark decompilation to modern platforms.

To run the port, you must already have a Perfect Dark ROM, specifically the ntsc-final/revision 1 version
(md5 e03b088b6ac9e0080440efed07c1e40f).

Status

Currently only 32-bit platforms are supported, namely x86 Windows and Linux.

The game is in a somewhat functional but probably unstable state. There are major graphical issues, minor audio issues and possibly other issues. Splitscreen modes currently do not work.

There are currently no "extra features" implemented, such as widescreen, except for janky mouselook, arbitrary 4:3 resolution support and somewhat expanded heap size.

Running

  1. Create a directory named data next to pd.exe.
  2. Put your Perfect Dark ROM named pd.ntsc-final.z64 into it.
  3. Run pd.exe.

Building

  1. Ensure you have SDL2, libGL and ZLib installed on your system.
  2. Run make -f Makefile.port in the perfect_dark directory.
  3. The resulting executable will be at build/ntsc-final-port/pd.exe.

If cross-compiling, specify the target platform on the make command line like so:
make -f Makefile.port TARGET_PLATFORM=i686-linux

Currently only i686-linux and i686-windows are supported, using i686-linux-gnu-gcc and i686-w64-mingw32-gcc as compilers, respectively.

Credits