11
11
12
12
rp_module_id=" tyrquake"
13
13
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"
16
16
rp_module_section=" opt"
17
17
18
18
function depends_tyrquake() {
@@ -26,14 +26,16 @@ function depends_tyrquake() {
26
26
27
27
function sources_tyrquake() {
28
28
gitPullOrClone
29
- isPlatform " kms" && applyPatch " $md_data /0001-force-vsync.patch"
30
29
}
31
30
32
31
function build_tyrquake() {
33
32
local params=(USE_SDL=Y USE_XF86DGA=N)
34
33
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
+ )
37
39
}
38
40
39
41
function install_tyrquake() {
@@ -50,7 +52,7 @@ function add_games_tyrquake() {
50
52
local params=(" -basedir $romdir /ports/quake" " -game %QUAKEDIR%" )
51
53
local binary=" $md_inst /bin/tyr-quake"
52
54
53
- isPlatform " kms" && params+=(" -width %XRES%" " -height %YRES%" )
55
+ isPlatform " kms" && params+=(" -width %XRES%" " -height %YRES%" " +set vid_vsync 2 " )
54
56
if isPlatform " gl" || isPlatform " mesa" ; then
55
57
binary=" $md_inst /bin/tyr-glquake"
56
58
fi
0 commit comments