Skip to content

Commit

Permalink
Add support for Hiigara engine (#995)
Browse files Browse the repository at this point in the history
  • Loading branch information
d10sfan authored Sep 9, 2023
1 parent c85eb86 commit e182fe2
Show file tree
Hide file tree
Showing 4 changed files with 69 additions and 0 deletions.
9 changes: 9 additions & 0 deletions engines/hiigara/assets/run-homeworld.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
cd "$DIR"

LD_PRELOAD="" ln -rsf homeworld.big Homeworld.big
LD_PRELOAD="" ln -rsf homeworld.big Update.big

./homeworld
28 changes: 28 additions & 0 deletions engines/hiigara/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
#!/bin/bash

# CLONE PHASE
git clone https://github.com/atsb/Hiigara.git source
pushd source
git checkout 5fca0d2
popd

# BUILD PHASE
pushd "source"
cd Linux
./bootstrap
../configure
make
popd

pushd "source"
cd tools/biggie
./biggie-Linux-compile.sh
cd ../../HomeworldSDL_big
./convert_directory_to_big_file
popd

# COPY PHASE
cp -rfv "source/Linux/src/homeworld" "$diststart/244160/dist/"
cp -rfv "source/wasm/plug.tga" "$diststart/244160/dist/"
cp -rfv "source/HomeworldSDL.big" "$diststart/244160/dist/"
cp -rfv assets/* "$diststart/244160/dist/"
4 changes: 4 additions & 0 deletions engines/hiigara/env.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash

export STEAM_APP_ID_LIST="244160"
export LICENSE_PATH="./source/LICENSE.txt"
28 changes: 28 additions & 0 deletions metadata/packagessniper_v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -5415,6 +5415,19 @@
}
],
"command": "../Homeworld1Classic/Data/run-homeworld.sh"
},
{
"name": "Hiigara",
"download": [
"hiigara"
],
"download_config": [
{
"extract_location": "../Homeworld1Classic/Data",
"download_name": "hiigara"
}
],
"command": "../Homeworld1Classic/Data/run-homeworld.sh"
}
],
"cloudNotAvailable": true,
Expand Down Expand Up @@ -9242,6 +9255,21 @@
"controllerNotSupported": true,
"engine_name": "HomeworldSDL"
},
{
"engine_link": "https://github.com/atsb/Hiigara",
"version": "5fca0d2",
"author": "d10sfan",
"author_link": "https://github.com/d10sfan",
"license": "Relic",
"license_link": "https://github.com/atsb/Hiigara/blob/main/LICENSE.txt",
"notices": [
{
"key": "non_free"
}
],
"controllerNotSupported": true,
"engine_name": "Hiigara"
},
{
"engine_link": "https://rvgl.org/",
"version": "23.0602a1",
Expand Down

0 comments on commit e182fe2

Please sign in to comment.