A demake of Portal for the Nintendo 64
Go to file
2022-05-27 13:18:30 -06:00
asm Start work on sound effects 2022-05-19 19:26:54 -06:00
assets Add another observation room 2022-05-27 13:18:30 -06:00
skelatool64 Work on test chamber watching room 2022-05-27 08:50:48 -06:00
src work on cylinder raycasting 2022-05-26 21:51:09 -06:00
tools Start work on level triggers 2022-05-19 22:07:01 -06:00
vpk Update build instructions and attempt to make a working docker image for build 2022-05-16 22:23:13 -06:00
.gitignore Work on build process 2022-04-30 21:51:08 -06:00
$ work on button 2022-05-24 20:07:18 -06:00
Dockerfile Logic for crossing between rooms 2022-05-21 21:34:33 -06:00
Makefile Beginnings of cylinder physics 2022-05-26 20:14:57 -06:00
portal.ld Start work on sound effects 2022-05-19 19:26:54 -06:00
README.md Start work on collision cylinder 2022-05-26 08:21:10 -06:00

Portal64

A demake of portal for the Nintendo 64

How to build

First, you will need to setup modern sdk

Next, you will need to download blender 2.9 or higher. Then set the environment variable BLENDER_2_9 to be the absolute path where the blender executable is located on your computer.

You will need to install python vpk

pip install vpk

Install vtf2png, sfz2n64 and skeletool64

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

Install image magic

sudo apt install imagemagick

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

BLENDER_2_9=/blender/blender docker run -v /home/james/Blender/blender-2.93.1-linux-x64:/blender -e BLENDER_2_9 -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 located portal.z64 will be put into this folder

Current TODO list

cylinder collider type cube dispenser logic and trigger wiring