Skip to content

Commit 566f1c2

Browse files
authored
Merge pull request #3454 from cmitu/tyrquake-update
tyrquake: update to 0.69
2 parents 6f6cd60 + 22f5ed4 commit 566f1c2

File tree

3 files changed

+9
-24
lines changed

3 files changed

+9
-24
lines changed

scriptmodules/libretrocores/lr-tyrquake.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ function install_lr-tyrquake() {
3535
}
3636

3737
function game_data_lr-tyrquake() {
38-
getDepends lhasa
3938
if [[ ! -f "$romdir/ports/quake/id1/pak0.pak" ]]; then
39+
getDepends lhasa
4040
mkUserDir "$romdir/ports"
4141
mkUserDir "$romdir/ports/quake"
4242
local temp="$(mktemp -d)"

scriptmodules/ports/tyrquake.sh

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111

1212
rp_module_id="tyrquake"
1313
rp_module_desc="Quake 1 engine - TyrQuake port"
14-
rp_module_licence="GPL2 https://raw.githubusercontent.com/RetroPie/tyrquake/master/gnu.txt"
15-
rp_module_repo="git https://github.com/RetroPie/tyrquake.git master"
14+
rp_module_licence="GPL2 https://disenchant.net/git/tyrquake.git/plain/gnu.txt"
15+
rp_module_repo="git git://disenchant.net/tyrquake master"
1616
rp_module_section="opt"
1717

1818
function depends_tyrquake() {
@@ -26,14 +26,16 @@ function depends_tyrquake() {
2626

2727
function sources_tyrquake() {
2828
gitPullOrClone
29-
isPlatform "kms" && applyPatch "$md_data/0001-force-vsync.patch"
3029
}
3130

3231
function build_tyrquake() {
3332
local params=(USE_SDL=Y USE_XF86DGA=N)
3433
make clean
35-
make "${params[@]}"
36-
md_ret_require="$md_build/bin/tyr-quake"
34+
make "${params[@]}" bin/tyr-quake bin/tyr-glquake
35+
md_ret_require=(
36+
"$md_build/bin/tyr-quake"
37+
"$md_build/bin/tyr-glquake"
38+
)
3739
}
3840

3941
function install_tyrquake() {
@@ -50,7 +52,7 @@ function add_games_tyrquake() {
5052
local params=("-basedir $romdir/ports/quake" "-game %QUAKEDIR%")
5153
local binary="$md_inst/bin/tyr-quake"
5254

53-
isPlatform "kms" && params+=("-width %XRES%" "-height %YRES%")
55+
isPlatform "kms" && params+=("-width %XRES%" "-height %YRES%" "+set vid_vsync 2")
5456
if isPlatform "gl" || isPlatform "mesa"; then
5557
binary="$md_inst/bin/tyr-glquake"
5658
fi

scriptmodules/ports/tyrquake/0001-force-vsync.patch

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)