-
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
107 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/bash | ||
|
||
ln -rsf d1xr-sc55-music.dxa ./descent/d1xr-sc55-music.dxa | ||
HOGDIR=./descent | ||
LD_LIBRARY_PATH="lib:$LD_LIBRARY_PATH" ./d1x-redux -hogdir "$HOGDIR" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/bash | ||
|
||
ln -rsf d2xr-sc55-music.dxa ./descent2/d2xr-sc55-music.dxa | ||
HOGDIR=./descent2 | ||
LD_LIBRARY_PATH="lib:$LD_LIBRARY_PATH" ./d2x-redux -hogdir "$HOGDIR" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#!/bin/bash | ||
|
||
export LDFLAGS=-L"$VCPKG_INSTALLED_PATH/lib" | ||
export LIBRARY_PATH="$VCPKG_INSTALLED_PATH/lib" | ||
export CXXFLAGS="-I"$VCPKG_INSTALLED_PATH"/include" | ||
export CFLAGS="-I"$VCPKG_INSTALLED_PATH"/include" | ||
|
||
# CLONE PHASE | ||
git clone https://github.com/dxx-redux/dxx-redux.git source | ||
pushd source | ||
git checkout -f 9bbca7f | ||
popd | ||
|
||
# BUILD PHASE | ||
pushd source | ||
cmake -S d1 -B buildd1 -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_PREFIX_PATH="$VCPKG_INSTALLED_PATH" | ||
cmake --build buildd1 | ||
|
||
cmake -S d2 -B buildd2 -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_PREFIX_PATH="$VCPKG_INSTALLED_PATH" | ||
cmake --build buildd2 | ||
popd | ||
|
||
# COPY PHASE | ||
cp -rfv source/buildd1/main/d1x-redux "$diststart/273570/dist/" | ||
cp -rfv source/buildd2/main/d2x-redux "$diststart/273580/dist/" | ||
|
||
cp -rfv assets/run-d1redux.sh "$diststart/273570/dist/" | ||
cp -rfv assets/run-d2redux.sh "$diststart/273580/dist/" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/bash | ||
|
||
export STEAM_APP_ID_LIST="273570 273580" | ||
export LICENSE_PATH="./source/COPYING.txt" | ||
export LIBRARIES="sdl12compat sdl12mixer" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json", | ||
"dependencies": [ | ||
{ "name": "physfs" } | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters