1. fgsfds

    OP fgsfds GBAtemp Fan
    Member

    Joined:
    Aug 28, 2018
    Messages:
    362
    Country:
    Russia
    I ported Yamagi Quake II to the Switch.
    Github repo: /fgsfdsfgs/nxquake2
    Latest version: 0.2.0 (Sep 16, 2018)

    2018090419242100-DB1426D1DFD034027CECDE9C2DD914B8.jpg

    2018091700082700-DB1426D1DFD034027CECDE9C2DD914B8.jpg

    Some of the features of the port:
    • hardware accelerated rendering using YQ2's GL3 renderer;
    • sound and OGG music support;
    • multiplayer (not really tested);
    • analog controls and shit.

    To install it, just unzip nxquake2_020.zip to the root of your SD card, then copy the baseq2 folder from your Quake II installation to /switch/nxquake2/. If you want to use the config file included with the release, don't forget to select "no" when asked if you want to overwrite it. You can then run the game using the Homebrew Launcher.
    You can use the Quake II demo for this, read the README on Github for details.

    Some notes:
    • if it crashes and exits back to HBL/Horizon silently, check /switch/nxquake2/crash.log to find out what caused it;
    • music works the same way as it does in regular Yamagi Quake II: put the OGG music tracks (named 02.ogg - 11.ogg) into /switch/nxquake2/baseq2/music/;
    • mods or mission packs are not supported yet;
    • analog controls are a little bit wonky, especially when FPS dips;
    • better exit the game using the Quit option in the menu;
    • there's no real way to connect anywhere except editing the address book manually on PC, or maybe LAN discovery, which I haven't tested;
    • you might notice that this is an almost exact copy of the NXQuake thread's OP;
    • if you want pixelated textures, change gl_texturemode in config.cfg to GL_NEAREST_MIPMAP_NEAREST;
    • right analog sensitivity is controlled by the console variables joy_pitchsensitivity (up/down) and joy_yawsensitivity (left/right), you can edit their values in config.cfg;
    • reboot into orange screen means a GPU crash happened, report this;
    • port is pretty barebones, so if you have any suggestions or bug reports, please post them here or in the Github issues.

    Credits:
    • Yamagi for Yamagi Quake II;
    • fincs, Armada651, Subv and probably others for their work on the OpenGL/mesa/libdrm stuff;
    • some nice people in the ReiSwitched Discord for help and testing;
    • id Software for Quake II itself.
     

    Attached Files:

    Last edited by fgsfds, Sep 20, 2018
    Dutt, Foxi4, Joel16 and 31 others like this.
  2. seanp2500

    seanp2500 GBAtemp Maniac
    Member

    Joined:
    Jun 2, 2010
    Messages:
    1,160
    Country:
    United States
    great port

     
    lordelan likes this.
  3. fgsfds

    OP fgsfds GBAtemp Fan
    Member

    Joined:
    Aug 28, 2018
    Messages:
    362
    Country:
    Russia
    Didn't even know the videos work. Thanks.
     
  4. Dontwait00

    Dontwait00 Unknown
    Member

    Joined:
    Sep 3, 2017
    Messages:
    272
    Country:
    Italy
    You made my day bro!
     
  5. Milenko

    Milenko GBAtemp Addict
    Member

    Joined:
    Oct 16, 2017
    Messages:
    2,032
    Country:
    Australia
    You're a beast, thanks heaps!
    Got anything else planned? Keep up the good work!
     
  6. fgsfds

    OP fgsfds GBAtemp Fan
    Member

    Joined:
    Aug 28, 2018
    Messages:
    362
    Country:
    Russia
    Right now no. If you know of any other open source games that utilize software rendering, I might consider porting those. "Porting" Quake and QuakeII was a very simple process though, since SDL and shit.
     
  7. szczuru

    szczuru GBAtemp Regular
    Member

    Joined:
    May 3, 2014
    Messages:
    179
    Country:
    Poland
    Heroes 3? (Using VCMI engine).
     
  8. Milenko

    Milenko GBAtemp Addict
    Member

    Joined:
    Oct 16, 2017
    Messages:
    2,032
    Country:
    Australia
    ccprodigy and T-Error like this.
  9. swisstoni

    swisstoni Newbie
    Newcomer

    Joined:
    Aug 22, 2017
    Messages:
    8
    Country:
    United Kingdom
    Thanks for this Shadow Warrior, Hexen, Heretic and Blood would be good if they could be ported.
     
    phreaksho likes this.
  10. Adran_Marit

    Adran_Marit Walküre's Hacker
    Member

    Joined:
    Oct 3, 2015
    Messages:
    2,578
    Country:
    Australia
    gotta love the old ID soft and 3d Realms games
     
  11. Mikep90

    Mikep90 GBAtemp Regular
    Member

    Joined:
    May 29, 2018
    Messages:
    145
    Country:
    United States
    Can you try to do a redneck rampage
     
    phreaksho and Pippin666 like this.
  12. Admiral-Purple

    Newcomer

    Joined:
    May 25, 2018
    Messages:
    48
    Country:
    United States
    Thanks for this I love quake 2. You should try to port xash3d engine. I’m pretty sure it can use software rendering. I would love to be able to play half life on the switch.
     
  13. Brunz514

    Brunz514 Member
    Newcomer

    Joined:
    Sep 4, 2018
    Messages:
    45
    Country:
    Canada
    Good work dude, going to test this after work!
     
  14. Idaho

    Idaho GBAtemp Advanced Fan
    Member

    Joined:
    Oct 3, 2013
    Messages:
    828
    Country:
    France
    Good work, I did not expect to see Quake2 on the switch while the GPU libraries are still not available ^^

    What do you think of AlephOne to play the Marathon games? it's a game that we rarely see ported to hacked consoles (I only remember seeing a port of an old version on the PSP and it was a bit buggy per say), though I think this series of games really deserves to be available on the switch with an up to date port and good rendering...

    What's also cool about it is that you can ship the game files with the engine port because these have also been made free...

    Here's the games website :
    https://alephone.lhowon.org/

    While xash3d might be possible with software rendering, I think it would be wiser to wait for the GPU libraries to be available for better optimization and not having to rework the code later on if software rendering hits the hardware limits of the console...
     
    Last edited by Idaho, Sep 5, 2018
    phreaksho likes this.
  15. sj33

    sj33 GBAtemp Psycho!
    Member

    Joined:
    Oct 22, 2013
    Messages:
    3,980
    Country:
    Japan
    Fantastic stuff with this! Quick work and already pretty feature complete. And doesn't have the weird loading bugs that the Vita port suffers from.

    Another vote for Xash3D here!
     
  16. dc9884

    dc9884 Member
    Newcomer

    Joined:
    Jul 9, 2018
    Messages:
    29
    Country:
    United States
    I second this. Marathon would be incredible, and a unique addition to the Switch.
     
    phreaksho, Idaho and Memoir like this.
  17. fgsfds

    OP fgsfds GBAtemp Fan
    Member

    Joined:
    Aug 28, 2018
    Messages:
    362
    Country:
    Russia
    Xash3D does not have a software renderer. I will attempt to port it as soon as we get OpenGL support in libnx homebrews.
    I will look into porting AlephOne, however I don't think it will be as easy as porting Quake was, so don't get your hopes up too much.
     
  18. Purple_Shyguy

    Purple_Shyguy GBAtemp Maniac
    Member

    Joined:
    Nov 8, 2008
    Messages:
    1,107
    Country:
    Always wanted to play Quake but was just too lazy to.

    Definitely gonna check these out. Thanks for this!
     
  19. Brunz514

    Brunz514 Member
    Newcomer

    Joined:
    Sep 4, 2018
    Messages:
    45
    Country:
    Canada
    Port is pretty good for software acceleration! Hopefully we get opengl soon, i loved this game on my 3dfx video card aeons ago!

    For whatever reason on sx os there is no proper icon for the game, its just a question mark. Is that normal?
     
  20. Milenko

    Milenko GBAtemp Addict
    Member

    Joined:
    Oct 16, 2017
    Messages:
    2,032
    Country:
    Australia
    Yeah you'll have to make your own

    https://gbatemp.net/threads/nro-asset-editor.499003/
     
    Brunz514 likes this.
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - NXQuake2, Quake,