update building instructions in readme

This commit is contained in:
hackgrid 2023-04-19 23:18:12 +02:00 committed by GitHub
parent d574d1df95
commit d877ed5e84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,6 +15,16 @@ 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.
```
sudo apt install blender
```
e.g. add this to your ~/.bashrc
```
export BLENDER_3_0="/usr/bin/blender"
```
<br />
You will need to install Python `vpk`.
@ -34,7 +44,15 @@ sudo apt install vtf2png sfz2n64 mpg123 sox imagemagick
<br />
Setup and build skelatool64
Install lua5.4 (remove other perhaps installed versions first, skelatool64 needs to be build with luac 5.4!)
```
sudo apt install lua5.4 liblua5.4-dev liblua5.4-0
```
<br />
Setup and build skelatool64 (the version included in this portal64 repo!)
```
cd skelatool64
@ -52,15 +70,20 @@ sudo apt install nodejs
<br />
You then need to add the following files from where Portal is installed to the folder `vpk`.
You then need to add the following files from where Portal is installed to the folder `vpk`. (see vpk/add_vpk_here.md for more details!)
```
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
portal/portal_pak_000.vpk
portal/portal_pak_001.vpk
portal/portal_pak_002.vpk
portal/portal_pak_003.vpk
portal/portal_pak_004.vpk
portal/portal_pak_005.vpk
portal/portal_pak_dir.vpk
hl2/hl2_sound_misc_000.vpk
hl2/hl2_sound_misc_001.vpk
hl2/hl2_sound_misc_002.vpk
hl2/hl2_sound_misc_dir.vpk
```
Finally, run `make` to build the project.
@ -141,4 +164,4 @@ Where `/home/james/Blender/blender-2.93.1-linux-x64` is the folder where Blender
- [ ] various visual glitches when running PAL on NTSC console #65
- [x] Any grabbable object can be clipped through level by wall/floor portals method.
- [x] Player can clip through any level by placing one portal on wall and another portal right next to it on ground. #13
- [x] Can shoot portals while holding an object
- [x] Can shoot portals while holding an object