QuakespasmNX - a better Quake port

I ported Quakespasm to the Switch. Why? Because it's better than NXQuake/TyrQuake and I'm too lazy to backport features from it into NXQuake.
Github repo: /fgsfdsfgs/QuakespasmNX
Latest version: 0.4.0 (Apr 20, 2021)
Download link: Github release page

2018091704404200-DB1426D1DFD034027CECDE9C2DD914B8.jpg


2018091704382700-DB1426D1DFD034027CECDE9C2DD914B8.jpg


2018091704124800-DB1426D1DFD034027CECDE9C2DD914B8.jpg

Some of the features of the port:
  • hardware-accelerated OpenGL-based rendering in 1280x720 and 1920x1080;
  • sound, including support for OGG and MP3 music tracks;
  • supports the Mission Packs and other mods compatible with Quakespasm (Quoth, Arcane Dimensions), with a simple mod selector menu;
  • analog controls and shit;
  • gyro aiming (thanks to falquinho for implementing this);
  • multiplayer support (I think);
  • most other features of Quakespasm, such as:
    • advanced renderer with cool stuff, such as colored lighting, fog, translucent water, high-res textures, model interpolation, etc;
    • scalable, optionally translucent HUD and menus;
    • music support, as mentioned earlier;
    • raised engine limits;
    • built-in controller support, which means I had to do basically nothing to make it work on the Switch.

To install it, just unzip quakespasmnx_v040.zip to the root of your SD card, then copy pak0.pak and (optionally, if you have the full version of Quake) pak1.pak from your Quake installation to /switch/quakespasm/id1/. You can then run the game using the Homebrew Launcher. You can get pak0.pak from the Shareware Quake data files in this archive.
If you want to play Mission Pack 1, copy hipnotic/pak0.pak to /switch/quakespasm/hipnotic/ from your installation.
If you want to play Mission Pack 2, copy rogue/pak0.pak to /switch/quakespasm/rogue/ from your installation.
For any other mod, just copy its folder to /switch/quakespasm/.

Some notes:
  • if it crashes and exits back to HBL/Horizon silently, check /switch/quakespasm/error.log to find out what caused it;
  • music should be copied into a music subfolder inside of the appropriate game folder, and the tracks should be named track02.ogg - track11.ogg (or .mp3 if you're using MP3s), e.g.:
    • Quake music goes into /switch/quakespasm/id1/music/;
    • Mission Pack 1 music goes into /switch/quakespasm/hipnotic/music/.
  • some more complex mods, like Arcane Dimensions, will only work if you run Quakespasm in regular app mode (not from the Album), as they require more memory;
  • to enable texture filtering, change gl_texturemode in config.cfg to GL_LINEAR_MIPMAP_LINEAR;
  • to enable round particles, change r_particles in config.cfg to 1, 2 for square particles;
  • you can adjust analog and gyro sensitivity in Options -> Joystick Options;
  • to get out of the "Completed" intermission screen at the end of a map, press "jump" (LTRIGGER by default) a few times;
  • to input text in text fields and console, press Y, to delete text press X, to scroll the console use L and R;
  • mod selector can be accessed from the Options menu;
  • multiplayer was only tested between Switch and PC, use the IP shown in the Multiplayer -> TCP/IP menu to connect to your Switch;
  • read the original Quakespasm readme for more information;
  • if you have any suggestions or bug reports, please post them here or in the Github issues.

Credits:
  • Quakespasm was made by:
    • Ozkan
    • Eric
    • Sander
    • Stevenaaus
    • based on FitzQuake by Fitzgibbons
    • and probably others;
  • falquinho and Ch0wW for their contributions and testing;
  • fincs, Armada651, Subv and probably others for their work on the OpenGL/mesa/libdrm stuff;
  • id Software for Quake.
 

Attachments

  • quakespasmnx_v040.zip
    3.2 MB · Views: 139
Last edited by fgsfds,

M7L7NK7

Well-Known Member
Member
Joined
Oct 16, 2017
Messages
3,878
Trophies
1
Website
youtube.com
XP
5,923
Country
Australia
Updated to use this on 9.0, but when I start the game it goes straight into the game and doesn't let me select any other mods?

Disregard, read the readme...but I have to select new game every time as it can't execute autoexec.cfg
 
Last edited by M7L7NK7,

The_Chaotician

Hoist the Colours!
Member
Joined
Feb 9, 2017
Messages
204
Trophies
0
XP
1,380
Country
United Kingdom
Hi!

I've got the full game working flawlessly in Firmware 10.0.2, enjoying it a lot!

However, I'm having some issue trying to run the Scourge of Armagon Mission Pack. I have the hipnotic folder and pak files for it in the right place. When i try and load from the console using the command "game -hipnotic" i get the error "Couldn't exec autoexec.cfg". The only .cfg file i have is the one included with the .nro.

When i try and launch a New Game, I end up in the Vanilla Quake difficulty selection area and im taken to the episode selection hub.

Any ideas what i'm doing wrong?
 
Last edited by The_Chaotician,

bad361

Well-Known Member
Member
Joined
Jun 18, 2018
Messages
1,168
Trophies
0
Location
Moscow
XP
2,442
Country
Russia
Hi!

I've got the full game working flawlessly in Firmware 10.0.2, enjoying it a lot!

However, I'm having some issue trying to run the Scourge of Armagon Mission Pack. I have the hipnotic folder and pak files for it in the right place. When i try and load from the console using the command "game -hipnotic" i get the error "Couldn't exec autoexec.cfg". The only .cfg file i have is the one included with the .nro.

Any ideas what i'm doing wrong?
Try selecting it from settings>select mod. But it works for me when type in console "game hipnotic". (even tho there's something about ..couldn't exec autoexec bla bla...but the game changes to hipnotic).

Also, just try starting a new game and see if it's hipnotic missions... I guess you are just confused.
 
Last edited by bad361,

The_Chaotician

Hoist the Colours!
Member
Joined
Feb 9, 2017
Messages
204
Trophies
0
XP
1,380
Country
United Kingdom
I just checked myself and strangely enough, but i after changing the game to hypnotic, starting a new game will start a regular quake (id1), even tho you can clearly see in console "game changed to hipnotic". But if you select "hipnotic" mod in settings>select mod, then it'll work. Changing to other mods work fine through console tho...idk.
Yep - does the trick, thank you!

Still get the error on the console, and need to exit manually to the menu using + to start a new game, but i assume this is normal behaviour if it seems to work?!
 

bad361

Well-Known Member
Member
Joined
Jun 18, 2018
Messages
1,168
Trophies
0
Location
Moscow
XP
2,442
Country
Russia
Yep - does the trick, thank you!

Still get the error on the console, and need to exit manually to the menu using + to start a new game, but i assume this is normal behaviour if it seems to work?!
I mean... i always thought that it was supposed to be that way. You change game in console and then just start a new game... I guess you thought it was supposed to start a new game in hipnotic mod right away? Idk anyway, am not a quakespasm specialist.
 

The_Chaotician

Hoist the Colours!
Member
Joined
Feb 9, 2017
Messages
204
Trophies
0
XP
1,380
Country
United Kingdom
I mean... i always thought that it was supposed to be that way. You change game in console and then just start a new game... I guess you thought it was supposed to start a new game in hipnotic mod right away? Idk anyway, am not a quakespasm specialist.
I wasn't aware there was a "select mod" option in the menu until you mentioned it - its working as intended now so i have no compaints!
 

GorGylka

Well-Known Member
Newcomer
Joined
May 3, 2016
Messages
53
Trophies
0
Age
26
XP
610
Country
Serbia, Republic of
FW 10.0.0
Hbmenu v3.3.0
nx-hbloader v2.3.1
blink at screen, then return to Hbmenu
error.log
Error: Couldn't create window
___
i'm kinda dumb, start not from applet mode, and it works flawesly!
sadly, multiplayer is does not work : (
 
Last edited by GorGylka,

Ch0wW

Well-Known Member
Newcomer
Joined
Feb 2, 2019
Messages
79
Trophies
0
Age
31
Location
France
Website
www.youtube.com
XP
402
Country
France
FW 10.0.0
Hbmenu v3.3.0
nx-hbloader v2.3.1
blink at screen, then return to Hbmenu
error.log
Error: Couldn't create window
___
i'm kinda dumb, start not from applet mode, and it works flawesly!
sadly, multiplayer is does not work : (

I'll check the port, trying to recompile it first, and check what may be wrong.
 

Thorhax

Well-Known Member
Member
Joined
Apr 15, 2020
Messages
472
Trophies
0
Age
43
XP
2,110
Country
Canada
I'm having trouble with the music. the game works just fine but the music doesn't seem to be loading, I have the quakespawm files from steam, it included the music files in both .ogg and .mp3 format. I tried copying only the .ogg files into quakespawmNX id1/music but that didn't do anything, then I copied both the .mp3 and the .ogg music files into the /music folder, but they still don't play. Am I doing something wrong.

I'm not the most familiar with quake, but know my way around old pcs and homebrew quite well.
 

Purple_Shyguy

Well-Known Member
Member
Joined
Nov 8, 2008
Messages
2,321
Trophies
2
Age
33
Location
Republic of Ireland
XP
4,661
Country
I'm having trouble with the music. the game works just fine but the music doesn't seem to be loading, I have the quakespawm files from steam, it included the music files in both .ogg and .mp3 format. I tried copying only the .ogg files into quakespawmNX id1/music but that didn't do anything, then I copied both the .mp3 and the .ogg music files into the /music folder, but they still don't play. Am I doing something wrong.

I'm not the most familiar with quake, but know my way around old pcs and homebrew quite well.

What are your tracks named? Sometimes rips are named Track002, 003, 004 but they should only be ,02,03,04. Two digits
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Veho @ Veho:
    The fuuuuu---
  • Veho @ Veho:
    I thought it was an actual xBox at that price.
  • Sicklyboy @ Sicklyboy:
    I wanna grab a 360 Slim and a 360 E one of these days. Missed the boat of getting them at their lowest though, once they were discontinued. Could've got them for cheap back when I was a broke 20 something working at Target, but then again, I was a broke 20 something working at Target
  • Veho @ Veho:
    Being broke is no fun.
  • K3Nv2 @ K3Nv2:
    @Sicklyboy, $150 isn't that bad for a jtag slim on ebay
  • Veho @ Veho:
    I only wish it was actually playable.
  • Veho @ Veho:
    There's a guy on the Tube of You that makes playable mechanical arcade games out of Lego. This could work on the same principle.
  • Veho @ Veho:
    Just a couple of guys taking their manatee out for some fresh air, why you have to molest them?
  • Veho @ Veho:
    Stupid Chinese shop switched their shipping company and this one is slooooooow.
  • LeoTCK @ LeoTCK:
    STOP BUYING CHINESE CRAP THEN
  • LeoTCK @ LeoTCK:
    SUPPORT LOCAL PRODUCTS, MAKE REVOLUTION
  • LeoTCK @ LeoTCK:
    THEY KEEP REMOVING LOCAL SHIt AND REPLACING WItH INFERIOR CHINESE CRAP
  • LeoTCK @ LeoTCK:
    THATS WHY MY PARTNER CANT GET A GOOTWEAR HIS SIZE ANYMORE
  • LeoTCK @ LeoTCK:
    HE HAS BIG FOOT AND BIG DUCK
  • LeoTCK @ LeoTCK:
    d*ck i mean*
  • LeoTCK @ LeoTCK:
    lol
  • Veho @ Veho:
    Mkay.
  • Veho @ Veho:
    I just ordered another package from China just to spite you.
  • SylverReZ @ SylverReZ:
    Communism lol
  • SylverReZ @ SylverReZ:
    OUR products
  • The Real Jdbye @ The Real Jdbye:
    @LeoTCK actually good quality products are dying out because they can't compete with dropshipped chinese crap
    +1
    The Real Jdbye @ The Real Jdbye: @LeoTCK actually good quality products are dying out because they can't compete with dropshipped... +1