1. sj33

    OP sj33 GBAtemp Psycho!
    Member

    Joined:
    Oct 22, 2013
    Messages:
    3,980
    Country:
    Japan
    [​IMG]

    This was NOT ported by me, it was ported by Datamats who gave me the go-ahead to make this thread.

    This is a port of Xash3D to the Nintendo Switch. It is an open-source re-implementation of Valve's Goldsrc engine. To put it simply, this allows you to play Half-Life on your Nintendo Switch. The Opposing Force and Blue Shift expansions are also supported.

    Information

    Xash3D Engine is a custom Gold Source engine rewritten from scratch. Xash3D is compatible with many of the Gold Source games and mods and should be able to run almost any existing singleplayer Half-Life mod without a hitch. The multiplayer part is not yet completed, multiplayer mods should work just fine, but bear in mind that some features may not work at all or work not exactly the way they do in Gold Source Engine.

    Installation

    1. Drop the nro downloaded from releases file in your /switch folder
    2. Get a copy of half life that contains the valve folder.
    3. Make a xash3d on the root of your SD card and copy the valve game folder into there. For Opposing Force and Blue Shift, also copy the /gearbox/ and /bshift/ folders for Opposing Force and Blue Shift respectively. From 1.0.0, you can also copy the 'decay' and 'dmc' folders for Decay and Deathmatch Classic.
    4. Download the extras.pak files from https://github.com/FWGS/xash-extras/releases and put it in the valve folder for all the menu assets.

    Download

    Latest Release 1.0.1

    https://github.com/switchports/xash3d-switch/releases

    Make sure the /valve/ folder you copy across is a clean folder as existing config files may cause graphical issues.

    Changelog

    1.0.1

    • Update libnx so hid will work on 9.0.0+
    1.0.0 and prior
    • nwindow is used now instead of the deprecated gfx api
    • the touchscreen should work now
    • moved over to filesystem times for savefiles thanks to libnx
    • implemented the console and various UI requiring text input using swkbd
    • added options for overclocking, for the really care cases where you might benefit from it
    • made cl_showfps default to 0 (you can always change it using the console)
    • a dmc sdk branch has been ported and is available, additionally a decay port has been added that needs more testing
    NOTES
    • Support for Opposing Force and Blue Shift expansions added in version 0.3.0, Decay and dmc branch in 1.0.0
    • This port does currently suffer from long pauses during level loading, saving and loading due to slow file operations
    • It is recommended to keep all .nro files together in the same folder
     
    Last edited by sj33, Sep 18, 2019
  2. Owenge

    Owenge GbaTemp browser
    Member

    Joined:
    Feb 13, 2017
    Messages:
    788
    Country:
    United States
    Glad this came to the switch, the Vita version is amazing :grog:
     
    Itzumi likes this.
  3. masagrator

    masagrator The developper
    Member

    Joined:
    Oct 14, 2018
    Messages:
    2,903
    Country:
    Poland
    Blue Shift is working too on this. Can someone confirm Opposing force?
     
    Itzumi likes this.
  4. tpax

    tpax GBAtemp Fan
    Member

    Joined:
    Nov 16, 2014
    Messages:
    328
    Country:
    Gambia, The
    Hell yeah! I love me some portable HL.

    I also hope for the HL2 Shield version to somehow make it to the Switch.
     
  5. radicalwookie

    radicalwookie GBAtemp Fan
    Member

    Joined:
    Sep 15, 2018
    Messages:
    490
    Country:
    United States
    Gentlemen, it's time to gyrate our pelvises in honor of this gentleman that goes by the name Mats.
     
    Last edited by radicalwookie, Nov 9, 2018
    x65943, swabbo, Tinnetju and 2 others like this.
  6. hippy dave

    hippy dave BBMB
    Member

    Joined:
    Apr 30, 2012
    Messages:
    5,766
    Country:
    United Kingdom
    Nice, I never played half life, maybe this is the time. Thank for sharing and thanks to the porter.
     
  7. notimp

    notimp Well-Known Member
    Member

    Joined:
    Sep 18, 2007
    Messages:
    3,911
    Country:
    Laos
    Half Life played in xash3d on the Switch. :)



    Joystick sensitivity is a little high, and I havent found a way to change it in game yet, maybe ini tweaks are up next.. :)
     
    Zumoly and Odb718 like this.
  8. kikongokiller

    kikongokiller Dust2#9629
    Member

    Joined:
    Jan 12, 2017
    Messages:
    897
    Country:
    Australia
    there's a file called config.cfg that has joy_pitch and joy_yaw, you're also able to use a negative number in joy_yaw to invert look.
     
    Leeous, SmashinGit and hippy dave like this.
  9. notimp

    notimp Well-Known Member
    Member

    Joined:
    Sep 18, 2007
    Messages:
    3,911
    Country:
    Laos
    Thank you very much. :) Inverting the joystick worked from in menu, but the sensitivity sliders wouldnt interact at first try - so thank you for the pointers for where to change the values in the cfg file. :)

    (Yay! :) )
     
    kikongokiller likes this.
  10. ShadowOne333

    ShadowOne333 GBAtemp Guru
    Member

    Joined:
    Jan 17, 2013
    Messages:
    9,805
    Country:
    Mexico
    Damn, this is too good to be true.
    Half Life on the go sounds like something out of a dream haha.
    Next up... Half Life 2 and Counter Strike, bbys ( ͡° ͜ʖ ͡°)
     
  11. kikongokiller

    kikongokiller Dust2#9629
    Member

    Joined:
    Jan 12, 2017
    Messages:
    897
    Country:
    Australia
    Once online works, I've got no doubt that we'll have CS 1.6 at our fingertips.
     
    Vorde, Switcyswachty and ShadowOne333 like this.
  12. fgsfds

    fgsfds GBAtemp Fan
    Member

    Joined:
    Aug 28, 2018
    Messages:
    362
    Country:
    Russia
    Blue Shift might not be working correctly, the telltale sign is the absence of the kevlar vest at the point where you have to get one to progress.
    Opposing Force and CS1.6 will not work right now. Making them work is possible, but it would require adapting the appropriate game libraries I used for the Vita port to be able to statically link them.
    I haven't checked if the multiplayer works if you enter your nickname in the config prior to entering the multiplayer menu, but it might.
     
  13. notimp

    notimp Well-Known Member
    Member

    Joined:
    Sep 18, 2007
    Messages:
    3,911
    Country:
    Laos
    A few 30 sec switch videos from the first few minutes combined into one. Ah, the nostalgia. :)

    (If you see a black screen for several seconds, keep watching.. ;))

     
    Last edited by notimp, Nov 9, 2018
    kikongokiller likes this.
  14. radicalwookie

    radicalwookie GBAtemp Fan
    Member

    Joined:
    Sep 15, 2018
    Messages:
    490
    Country:
    United States
    You mean...multiplayer...like...you seriously mean it could work?
    I'm spazzing out here man tell me I misread that
     
  15. fgsfds

    fgsfds GBAtemp Fan
    Member

    Joined:
    Aug 28, 2018
    Messages:
    362
    Country:
    Russia
    I don't really see why it wouldn't. If it doesn't, then most likely it'll be a simple fix to make it so.
    UPD: The server list does not appear to get any servers. It still might be possible to connect to a server by putting "connect some.server.com:27015" or something into autoexec.cfg.
     
    Last edited by fgsfds, Nov 9, 2018
  16. Milenko

    Milenko GBAtemp Addict
    Member

    Joined:
    Oct 16, 2017
    Messages:
    2,032
    Country:
    Australia
    What other games could be potentially playable?
     
  17. GerryTheLeper

    GerryTheLeper Member
    Newcomer

    Joined:
    May 5, 2018
    Messages:
    14
    Country:
    Ireland
    Half-Life worked fine for me using the steam files. Opposing Force has lots of black textures though. Is there any way to edit the look sensitivity without having to edit the config file on PC and transfer it over. NXShell doesn't have a text editor. Is there one that works?
     
  18. Mikep90

    Mikep90 GBAtemp Regular
    Member

    Joined:
    May 29, 2018
    Messages:
    145
    Country:
    United States
    whats wrong with the nro. I try to put an image with it using nro-asset-editor. I get an error
    Exception in Tkinter callback
    Traceback (most recent call last):
    File "tkinter\__init__.py", line 1699, in __call__
    File "maker.py", line 218, in browse
    File "site-packages\PIL\Image.py", line 2585, in open
    OSError: cannot identify image file <_io.BytesIO object at 0x038C2840>

    trying to use this image
     

    Attached Files:

  19. GerryTheLeper

    GerryTheLeper Member
    Newcomer

    Joined:
    May 5, 2018
    Messages:
    14
    Country:
    Ireland
    I don't have any "joy_pitch" and "joy_yaw" lines in my config.cfg in the valve folder.
     
  20. Brunz514

    Brunz514 Member
    Newcomer

    Joined:
    Sep 4, 2018
    Messages:
    45
    Country:
    Canada
    Dude you guys are my heroes cant wait to play this!
     
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - Goldsrc, Xash3D, Custom