Merge pull request #162 from westonCoder/rom-fix-info
Romfix and Makefile Info
This commit is contained in:
commit
ce1b554062
5
Makefile
5
Makefile
|
@ -241,6 +241,8 @@ build/src/scene/ball_catcher.o: build/assets/models/props/combine_ball_catcher.h
|
|||
|
||||
build/src/scene/door.o: build/assets/models/props/door_01.h build/assets/models/props/door_02.h
|
||||
|
||||
build/src/menu/game_menu.o: build/src/audio/clips.h build/assets/materials/ui.h build/assets/materials/images.h build/assets/test_chambers/test_chamber_00/test_chamber_00.h
|
||||
|
||||
build/src/menu/main_menu.o: build/src/audio/clips.h build/assets/materials/ui.h build/assets/materials/images.h build/assets/test_chambers/test_chamber_00/test_chamber_00.h
|
||||
|
||||
build/src/menu/new_game_menu.o: build/src/audio/clips.h build/assets/materials/ui.h build/assets/materials/images.h build/assets/test_chambers/test_chamber_00/test_chamber_00.h
|
||||
|
@ -420,4 +422,7 @@ $(BASE_TARGET_NAME)_debug.z64: $(CODESEGMENT)_debug.o $(OBJECTS) $(DATA_OBJECTS)
|
|||
clean:
|
||||
rm -rf build
|
||||
|
||||
fix:
|
||||
wine tools/romfix64.exe build/portal.z64
|
||||
|
||||
.SECONDARY:
|
||||
|
|
28
README.md
28
README.md
|
@ -9,26 +9,26 @@ First, you will need to setup [Modern SDK](https://crashoveride95.github.io/n64h
|
|||
|
||||
After installing modern sdk you will want to also install
|
||||
|
||||
```
|
||||
```sh
|
||||
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.
|
||||
|
||||
```
|
||||
```sh
|
||||
sudo apt install blender
|
||||
```
|
||||
|
||||
e.g. add this to your ~/.bashrc
|
||||
|
||||
```
|
||||
```bash
|
||||
export BLENDER_3_0="/usr/bin/blender"
|
||||
```
|
||||
|
||||
<br />
|
||||
|
||||
You will need to install Python `vpk`.
|
||||
```
|
||||
```sh
|
||||
pip install vpk
|
||||
```
|
||||
|
||||
|
@ -46,7 +46,7 @@ sudo apt install vtf2png sfz2n64 mpg123 sox imagemagick
|
|||
|
||||
Install lua5.4 (remove other perhaps installed versions first, skelatool64 needs to be build with luac 5.4!)
|
||||
|
||||
```
|
||||
```sh
|
||||
sudo apt install lua5.4 liblua5.4-dev liblua5.4-0
|
||||
```
|
||||
|
||||
|
@ -54,7 +54,7 @@ sudo apt install lua5.4 liblua5.4-dev liblua5.4-0
|
|||
|
||||
Setup and build skelatool64 (the version included in this portal64 repo!)
|
||||
|
||||
```
|
||||
```sh
|
||||
cd skelatool64
|
||||
./setup_dependencies.sh
|
||||
make
|
||||
|
@ -64,7 +64,7 @@ make
|
|||
|
||||
You will need to install nodejs. You can use apt for this
|
||||
|
||||
```
|
||||
```sh
|
||||
sudo apt install nodejs
|
||||
```
|
||||
|
||||
|
@ -87,6 +87,18 @@ hl2/hl2_sound_misc_dir.vpk
|
|||
```
|
||||
|
||||
Finally, run `make` to build the project.
|
||||
```sh
|
||||
# Clean out any previous build files
|
||||
make clean
|
||||
|
||||
# Build
|
||||
make
|
||||
|
||||
# In case you have any trouble with ROM running on hardware try
|
||||
# wine install required to run properly
|
||||
sudo apt install wine
|
||||
make fix
|
||||
```
|
||||
|
||||
<br />
|
||||
|
||||
|
@ -95,7 +107,7 @@ Finally, run `make` to build the project.
|
|||
|
||||
|
||||
Build the Docker image.
|
||||
```
|
||||
```sh
|
||||
docker build . -t portal64
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue