A demake of Portal for the Nintendo 64
Go to file
2023-04-01 21:37:24 -06:00
asm Get -02 optimizations working 2022-06-27 21:41:33 -06:00
assets More work on test chamber 07 2023-03-31 21:10:42 -06:00
documentation Document how to use the debugger with the evedrive 2023-03-23 22:44:35 -06:00
skelatool64 Refactor door to be controlled by animation controller to allow for multiple door types 2023-03-26 21:33:23 -06:00
src Merge pull request #86 from westonCoder/wall-ground-portal-bug 2023-04-01 21:37:24 -06:00
tools Refactor door to be controlled by animation controller to allow for multiple door types 2023-03-26 21:33:23 -06:00
vpk fix: Closed code block 2022-08-29 12:51:26 +01:00
.gitignore added an exception to the gitignore for the cimg zip that gits downloaded 2023-02-28 20:38:21 -06:00
Dockerfile Work on portal surface hole cutting 2022-06-26 18:57:00 -06:00
Makefile More work on test chamber 07 2023-03-31 21:10:42 -06:00
portal.ld Work on portal gun pedestal 2022-08-04 12:58:10 -06:00
README.md Merge branch 'master' into wall-ground-portal-bug 2023-03-27 16:12:01 -05:00

Portal64

A demake of Portal for the Nintendo 64.

How to build

First, you will need to setup Modern SDK.

After installing modern sdk you will want to also install

sudo apt install libnustd

Next, you will need to download Blender 3.0 or higher. Then set the environment variable BLENDER_3_0 to be the absolute path where the Blender executable is located on your system.


You will need to install Python vpk.

pip install vpk

Install vtf2png, sfz2n64, and setup skeletool64.

echo "deb [trusted=yes] https://lambertjamesd.github.io/apt/ ./" \
    | sudo tee /etc/apt/sources.list.d/lambertjamesd.list
sudo apt update
sudo apt install vtf2png sfz2n64 mpg123 sox imagemagick

Setup and build skelatool64

cd skelatool64
./setup_dependencies.sh
make

You will need to install nodejs. You can use apt for this

sudo apt install nodejs

You then need to add the following files from where Portal is installed to the folder vpk.

portal_pak_000.vpk  
portal_pak_001.vpk  
portal_pak_002.vpk  
portal_pak_003.vpk  
portal_pak_004.vpk  
portal_pak_005.vpk  
portal_pak_dir.vpk

Finally, run make to build the project.


Build with Docker

Build the Docker image.

docker build . -t portal64

Then build.

# Set the environment variable
BLENDER_3_0=/blender/blender

# Build using docker
docker run \
    -v /home/james/Blender/blender-2.93.1-linux-x64:/blender \
    -e BLENDER_3_0 -v /home/james/portal/portal64/vpk:/usr/src/app/vpk \
    -t -v /home/james/portal/portal64/docker-output:/usr/src/app/build portal64

Where /home/james/Blender/blender-2.93.1-linux-x64 is the folder where Blender is located.

/home/james/portal/portal64/vpk is the folder where the portal *.vpk files are located.

/home/james/portal/portal64/docker-output is where you want the output of the build to locate portal.z64 will be put into this folder.


Current New Feature TODO List

  • force placing auto portals when there is a conflict
  • rotate auto uv
  • disable portal surfaces manually on some surfaces
  • Portal not rendering recursively sometimes
  • Correct elevator timing
  • Presort portal gun polygon order
  • Camera shake
  • Adding a menu to game #47
  • Adding y-axis/x-axis inverting options #55
  • Adding loading notice between levels #45
  • Vertex lighting #39
  • Multi controller support #23
  • Portal gun movement with player movement/shooting #19

Current New Sounds TODO List

  • Fast flying air whoosh sound
  • Button release beep-beep sound
  • Box collision sounds
  • Elevator arrived chime sound
  • Ball catcher activated sound
  • Unstationary scaffolding moving sound
  • Ambient background loop

Current Bug TODO List (Hardware Verified) (High->Low priority)

  • Player can clip through chamber 7 by walking back up the stairs (near the top).
  • player can clip through back of elevator by jumping and strafeing at the back corners while inside.
  • Player can trap themselves in chamber 5 by following instructions issue #75
  • Two wall portals next to eachother can be used to clip any object out of any level by pushing it into corner, then dropping.
  • Glass can be walked through from one side on multiple levels (0,1,4,...)
  • Passing into a ceiling portal can sometimes mess with the player rotation
  • Can shoot portals, and walk through signage
  • Chell animation problem (fixed itself, investigate)
  • Can place portals on ground after final fizzler on all levels
  • Door at end of room 2, chamber 10 isnt rendered properly
  • various visual glitches when running NTSC on PAL console #65
  • various visual glitches when running PAL on NTSC console #65
  • Any grabbable object can be clipped through level by wall/floor portals method.
  • Player can clip through any level by placing one portal on wall and another portal right next to it on ground. #13
  • Can shoot portals while holding an object