Skip to content

Commit 22f5ed4

Browse files
committed
tyrquake: update to 0.69
Updated the port to v0.69 based on upstream. Major changes since v0.61: * Added translucent HUD support ("scr_sbaralpha") * Added vsync support for most platforms ("vid_vsync") * Added support for scaling the software renderer output by a factor of 2 or 4 * Added anisotropic filtering for OpenGL * Added loading new mods at runtime with the 'game' command * Fixed particle sizes in software and GL * Added ability to play music tracks from sound files. Currently ogg (vorbis), mp3, flac and wav are supported * OpenGL renderer improvements: - Much improved speed by batching drawing operations - Fullbright pixels now properly rendered - If 3+ texture units are available, all materials can be drawn in a single pass - Improved fidelity of model skins when NPoT textures unavailable * Fog, Colored lighting, skybox and Higher-quality traditional sky for the GL renderer * Interpolated alias model lighting (smoother transitions) * Added menu for manually specifying windowed mode resolution * Higher quality (resolution) underwater warping in software renderer * Added support for OpenGL vertex program animation interpolation * Added support for DXT texture compression (greatly helps low-memory systems) * Improved FOV calculations to work better with widescreen aspect ratios * Improvedd dynamic lighting performance on OpenGL (removed redundant updates) Since the latest version has VSync configuration support, the VSync patch was dropped and adaptive VSync is set with a command line parameter. Other modifications: * build only the NQ clients (SW and GL), don't build the server and QW clients since we're not using them. * install the `lhasa` package only when downloading the shareware version.
1 parent 767f94c commit 22f5ed4

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)