LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices


Reply
  Search this Thread
Old 06-25-2016, 12:03 PM   #16
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,223

Original Poster
Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320

The people who designed Wolfenstein: The New Order have released a Quake map pack:

https://twitter.com/machinegames/sta...63189768650752
 
Old 02-19-2017, 04:24 PM   #17
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,223

Original Poster
Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
I double-checked these today.

1. I'm repeatedly hearing on places like Reddit that GOG's Quake release no longer includes the soundtracks. That is absolutely not true! The GOG release still includes the soundtracks, and the directions in the top post to extract, "de-emphasize" (process) and encode them still work.

2. You currently (as of Innoextract 1.6) need to pass innoextract the -L flag (filenames to-to-lowercase) to get it extracted. If you're playing with a source port, this is what you want anyway.

I've entered a GitHub issue for this:

https://github.com/dscharrer/innoextract/issues/57

Come to think of it, you probably want:

Code:
innoextract --L -m
or

Code:
innoextract --lowercase --exclude-temp

Last edited by dugan; 02-21-2017 at 09:21 PM.
 
Old 04-21-2018, 05:46 AM   #18
Lysander666
Senior Member
 
Registered: Apr 2017
Location: The Underearth
Distribution: Ubuntu, Debian, Slackware
Posts: 2,178
Blog Entries: 6

Rep: Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470
Good thread. Quakespasm is my engine of choice for now, works excellently and looks authentic, I prefer it to darkplaces.

One point that hasn't been mentioned is that SDL2 needs to be installed to get quakespasm to work. In Debian, for example, it's part of the default packages, but not in Slackware.

Once SDL2 has been compiled and installed from SBo, quakespasm runs as per the guidelines in the OP.

Last edited by Lysander666; 04-21-2018 at 05:50 AM.
 
Old 07-20-2019, 06:05 PM   #19
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,223

Original Poster
Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
This is the most foolproof guide I can make for getting Quake Injector set up. You need Java 1.8 to run it, and you want your Quake data in a case-insensitive filesystem.

1. Create a case-insensitive directory. Let's create it at ~/dos

If you have a recent kernel (5.2 or later) and an ext4 filesystem with the casefold feature, you can simply do the following:

Code:
mkdir ~/dos
chattr +F ~/dos
Otherwise, I recommend creating a case-insensitive filesystem inside a file on disk, and mounting it.

As root:

Code:
fallocate -l 2G /dos_fs
mkfs -t vfat /dos_fs
mkdir /dos
Add the following to /fstab:

Code:
/dos_fs /dos vfat rw,umask=000 0 0
And then, as your normal user account:

Code:
cd
ln -s /dos
The point is that you now have a case-insensitive directory at ~/dos.

2. Install your engine

Set up your engine (Quakespasm, vkQuake or Darkplaces) in ~/dos. Set it up as you know how to do from the top post. Get it to the point where you can actually launch it and play Quake.

Now we'll set up Quake Injector.

3. Install Java 1.8

https://www.oracle.com/technetwork/j...s-2133155.html

I'm going to assume you've untarred it to ~/jre1.8.0_221

4. Install Quake Injector

https://www.quaddicted.com/tools/quake_injector

I'm going to assume that you've unzipped it ~/quakeinjector

5. Set up a script to run Quake Injector

Code:
#!/usr/bin/env bash

export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel -Dswing.crossplatformlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel'
export JAVA_HOME=$HOME/jre1.8.0_221
export PATH=$HOME/jre1.8.0_221/bin:$PATH

cd $HOME/quakeinjector
java -jar quakeinjector.jar
6. Launch the script. Point Quake Injector to your engine and data, and start using it!

Last edited by dugan; 07-20-2019 at 06:30 PM.
 
Old 07-21-2019, 04:33 AM   #20
Lysander666
Senior Member
 
Registered: Apr 2017
Location: The Underearth
Distribution: Ubuntu, Debian, Slackware
Posts: 2,178
Blog Entries: 6

Rep: Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470
Very useful dugan, thank you. Will consider this in the future. For now I just set up any map manually by creating a shell script that links to the unzipped pak/folders. e.g. for Arcane Dimensions:

Code:
./quakespasm-sdl2 -game ad
or for Fallen From Grace:

Code:
./quakespasm-sdl2 -heapsize 96000 -game fallen +map fallen
these commands are normally explained in the map readmes. But I have been thinking about Quake Injector so will look into it at some point.
 
Old 08-18-2020, 02:21 PM   #21
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,223

Original Poster
Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Big news, people.

My pull request to get Quake Injector to work with modern versions of Java has just been merged.

https://github.com/hrehfeld/QuakeInjector/pull/119
 
Old 08-28-2021, 10:59 AM   #22
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,223

Original Poster
Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
If you're wondering how Steam's rerelease has been packaged:

Code:
steamapps/common/Quake took 4s
❯ tree -d
.
├── hipnotic
│** └── docs
├── id1
├── rerelease
│** ├── dopa
│** ├── hipnotic
│** │** └── music
│** ├── id1
│** │** └── music
│** ├── mg1
│** ├── movies
│** └── rogue
│**     └── music
└── rogue
    └── docs
Code:
❯ /usr/bin/ls **/music
rerelease/hipnotic/music:
track02.ogg  track04.ogg  track06.ogg  track08.ogg
track03.ogg  track05.ogg  track07.ogg  track09.ogg

rerelease/id1/music:
track02.ogg  track04.ogg  track06.ogg  track08.ogg  track10.ogg
track03.ogg  track05.ogg  track07.ogg  track09.ogg  track11.ogg

rerelease/rogue/music:
track02.ogg  track04.ogg  track06.ogg  track08.ogg
track03.ogg  track05.ogg  track07.ogg  track09.ogg
The only non-obvious default settings I've noticed are that bobbing is off, and that the fov is set to 95 (the default is usually 90).

Combine that with the transparency settings I saw here, and you get:

Code:
cl_bob 0
fov 95
r_wateralpha 0.7
r_telealpha 0.96
r_slimealpha 0.7
r_lavaalpha 0.666
crosshair 1
And the obvious settings? WASD; Mouselook, Crosshair, Always Run all on; Shift to "run" (as in walk); square particles; no texture smoothing. With vkQuake you just set those in the menus.

The non-rerelease directories are the same un-vis'd ones we're used to. We've already discussed how to set those up.

If you're using the old data with QuakeSpasm-spiked, add the following to autoexec.cfg:

Code:
gl_texturemode GL_NEAREST_MIPMAP_LINEAR
r_particles 2
Anyway, I vis'd the old data, set it up (along with rerelease Steam soundtrack) with QuakeSpasm-Spiked, set QuakeSpasm-Spiked up with Quake Injector (which now looks great with HiDPI and a dark GTK theme), used Quake Injector to install DOPA, and I've already gotten halfway through it. Fun stuff. I also installed the two mods listed here https://www.reddit.com/r/quake/comme...laying/gu52ca7 and let me tell you, Quake looks amazing at 4k.

And as for the new data?

I've noticed that vkQuake currently mostly works fine with the rerelease data, which is already vis'd (supporting water transparency) and which has the soundtrack. The only thing missing is that in-game messages are wrong. My test was to CD to a case-insensitive directory (on an ExFAT-formatted filesystem, for example), and do the following:

Code:
git clone git@github.com:Novum/vkQuake.git
cd vkQuake/Quake
make
cp -r ~/.local/share/Steam/steamapps/common/Quake/rerelease/{id1,hipnotic,rogue,dopa,mg1} .
It seems (to me) to work well, including for the new episode (./vkQuake +game mg1). Apart from the in-game messages I mean. I understand that that's coming.

Last edited by dugan; 08-29-2021 at 10:05 AM.
 
Old 08-29-2021, 10:13 AM   #23
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,223

Original Poster
Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
And as of today's vkQuake update, you just set it up with the rerelease data and everything's AFAIK good:

Code:
git clone git@github.com:Novum/vkQuake.git
cd vkQuake/Quake
make
cp -r ~/.local/share/Steam/steamapps/common/Quake/rerelease/{id1,hipnotic,rogue,dopa,mg1} .
unzip ~/.local/share/Steam/steamapps/common/Quake/rerelease/QuakeEX.kpf localization/loc_english.txt
vkQuake is now set up with the rerelease data and the messages display fine. Everything else works fine too (at least in my initial tests).

Dig the subtle fog and colored lighting that was added to the opening room of the main game!

Last edited by dugan; 08-29-2021 at 10:16 AM.
 
Old 09-02-2021, 09:08 AM   #24
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,223

Original Poster
Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
And… you don’t need to extract the localization file anymore.
 
Old 11-23-2022, 01:18 AM   #25
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,223

Original Poster
Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
I'm just going to post the steps to make a case-insensitive ext4 folder. I'm aware that Quake is not the only game it's useful for (Baldur's Gate is another one), but it's the one I'd use it for.

Allocate space for a file, and make an ext4 filesystem on it. The "-E encoding" allows the filesystem to support "casefolding" (case insensitivity). In this case, I'm allocating 30G of space. Also make a mountpoint:

Code:
sudo fallocate -l 30G /retrogames.img
sudo mkfs -t ext4 -E encoding=utf8 /retrogames.img
sudo mkdir /retrogames
Put the following in fstab to automount it:

Code:
/retrogames.img /retrogames ext4 defaults 0 0
Mount it, and create a case-insensitive directory on it, that you own:

Code:
sudo mount /retrogames
sudo mkdir /retrogames/$USER
sudo chown -R $USER /retrogames/$USER
sudo chattr +F /retrogames/$USER
The "chattr +F" is what makes the directory and its child directories case-insensitive. The directory has to be empty when it's run.

The following will make it available at ~/Games/Heroic, which is where Heroic Launcher installs games. Hey, why not:

Code:
mkdir /retrogames/$USER/Heroic
cd
mkdir -p Games
ln -s /retrogames/$USER/Heroic Games/Heroic
As for Steam:

Steam's Proton setup requires a filesystem that supports symbolic links. So if you have Steam install into a case-insensitive ext4 directory, then everything will actually work.

Note:

It seems that most guides these days use "-O casefold" instead of "-E encoding" to enable casefolding. To that, all I can say is that this does work.

Last edited by dugan; 11-23-2022 at 01:26 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
3d questions regarding quake, quake II deftone420 Linux - Games 4 02-17-2005 01:14 PM
Quake III demo for Linux - howto adjust brightness? furfurdemon666 Linux - Games 5 05-14-2004 06:57 AM
quake 3 howto ? muthu Linux - Software 2 10-11-2002 07:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games

All times are GMT -5. The time now is 03:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration