mirror of
https://github.com/mwpenny/portal64-still-alive.git
synced 2024-10-19 22:27:36 -04:00
Update README.md
Updated the Readme to use the install script. Made a link to the manual setup in docs.
This commit is contained in:
parent
ac3b023d6d
commit
f2ecda9bb9
68
README.md
68
README.md
|
@ -36,38 +36,6 @@ Updates are constantly being made to the game, so we recommend checking out the
|
|||
|
||||
## How to build
|
||||
|
||||
First, you will need to setup [Modern SDK](https://crashoveride95.github.io/n64hbrew/modernsdk/startoff.html).
|
||||
|
||||
After installing modern sdk you will want to also install
|
||||
|
||||
```sh
|
||||
sudo apt install libnustd
|
||||
```
|
||||
|
||||
Next, you will need to install the latest version of Blender 3.6 LTS (please don't use e.g. 4.x, only 3.6.x will work correctly). Then set the environment variable `BLENDER_3_6` to be the absolute path where the Blender 3.6 executable is located on your system.
|
||||
|
||||
```sh
|
||||
sudo snap install blender --channel=3.6lts/stable --classic
|
||||
```
|
||||
|
||||
e.g. add this to your ~/.bashrc if you used snap (or you can use `which blender` to find the path of Blender 3.6)
|
||||
|
||||
```bash
|
||||
export BLENDER_3_6="/snap/bin/blender"
|
||||
```
|
||||
|
||||
<br />
|
||||
|
||||
You will need to install Python `vpk`:
|
||||
|
||||
```sh
|
||||
sudo apt install pipx
|
||||
pipx ensurepath
|
||||
pipx install vpk
|
||||
```
|
||||
|
||||
<br />
|
||||
|
||||
Clone the Portal64 repo or download the zip.
|
||||
|
||||
```sh
|
||||
|
@ -75,37 +43,19 @@ sudo apt install git
|
|||
git clone https://github.com/lambertjamesd/portal64.git
|
||||
cd portal64
|
||||
```
|
||||
Setup and install dependencies for `skelatool64`
|
||||
Setup and install dependencies.
|
||||
The following commands allow the scripts to run on the system, then it runs the setup.
|
||||
|
||||
As always it in good practice look over scripts from the internet before running them on your system.
|
||||
```sh
|
||||
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 unzip
|
||||
``
|
||||
```
|
||||
Install ffmpeg 4.3.1
|
||||
```
|
||||
sudo snap install ffmpeg # version 4.3.1
|
||||
|
||||
sudo chmod +x skelatool64/setup_dependencies.sh
|
||||
sudo chmod +x tools/romfix64.sh
|
||||
sudo chmod +x setup.sh
|
||||
./setup.sh
|
||||
|
||||
```
|
||||
|
||||
<br />
|
||||
|
||||
Install lua5.4 (You may need to remove other installed versions first, skelatool64 needs to be built with luac 5.4!)
|
||||
|
||||
```sh
|
||||
sudo apt install lua5.4 liblua5.4-dev liblua5.4-0
|
||||
```
|
||||
<br />
|
||||
|
||||
You will need to install nodejs. You can use apt for this
|
||||
|
||||
```sh
|
||||
sudo apt install nodejs
|
||||
```
|
||||
|
||||
<br />
|
||||
You can also follow the manual setup instructions [here](https://github.com/lambertjamesd/portal64])
|
||||
|
||||
You then need to add the following files from where Portal is installed to the folder `vpk/` OR create a symbolic link to the `Portal` folder there (see [vpk/add_vpk_here.md](./vpk/add_vpk_here.md) for more details!).
|
||||
You can add multiple languages if desired.
|
||||
|
|
Loading…
Reference in a new issue