Dhewm3 Switch

From GameBrew
dhewm3
Dhewm3nx.png
General
Authorfgsfdsfgs
TypeShooter
Version0.1.0_nx
LicenseGPL-3.0
Last Updated2018/10/22
Links
Download
Website
Source

Port of dhewm3 (a Doom 3 source port) to the Switch.

Compared to the original DOOM 3, the changes of dhewm 3 worth mentioning are:

  • 64-bit port.
  • SDL for low-level OS support, OpenGL and input handling.
  • OpenAL for audio output, all OS-specific audio backends are gone.
  • OpenAL EFX for EAX reverb effects (read: EAX-like sound effects on all platforms/hardware).
  • Better support for widescreen (and arbitrary display resolutions).
  • A portable build system based on CMake.
  • (Cross-)compilation with MinGW-w64.

Right now this is more of a proof of concept kind of thing rather than a fully playable port (20-30 FPS on average with shadows disabled, less with shadows enabled).

Features

  • Hardware accelerated rendering.
  • Sound/music through OpenAL-Soft ("EAX4.0" effects are also supported).
  • Half-assed analog controls.

Installation

How to install

Extract dhewm3nx_v010.zip to SD card root, then copy over pak000.pk4 through pak008.pk4 from the base folder of your PC Doom 3 installation to /switch/dhewm3/base/.

Your Doom 3 installation should be patched to v1.3.1. The Steam version is already patched, the files are in Steam/steamapps/common/Doom 3.

If you're using data files from a non-English version of the game and your base folder has additional zpak###.pk4 files in it, also copy those over to /switch/dhewm3/base/.

Doom 3 BFG files are not supported, someone would need to port RBDoom3BFG for that.

For more information read the README and this FAQ.

Resurrection of Evil

Resurrection of Evil is not supported by the release NRO, you have to run it via a separate build:

To install, unzip d3xp.zip onto the root of your SD card, then copy over d3xp/pak000.pk4 and d3xp/pak001.pk4 from your Doom 3/Resurrection of Evil installation to /switch/dhewm3/d3xp/.

This will load RoE on startup automatically and can only be used to play RoE, so you have to keep two NROs around if you want to play both the base game and the expansion, which is why the RoE NRO is placed in the /switch/ directory in the ZIP.

User guide

Notes

  • This will only run correctly through NSP hbmenu or if you make a standalone NSP out of it or if you use a game/demo as a donor title on Atmosphere (i.e. as a regular app), if you run it through Album hbmenu (i.e. as an applet), it will run out of memory and crash as soon as you try to load any map.
  • By default, Video Quality (which is essentially texture detail) is set to Medium and shadows are disabled, but you can tweak any settings (except resolution) to your liking, some of which may require a restart.
  • Sometimes after loading a map your gun viewmodel will disappear, this is fixed by going into Options > Game Options and toggling Show Gun Model off and back on.
  • If you want massive amounts of "atmospheric" reverb on most in-game sounds, you can turn on "EAX4.0 HD" in Options > System (not sure if it's even supposed to sound like this).
  • If the game crashes for no apparent reason on startup, probably with a 2011-0301 error, try disabling any extra sysmodules you have loaded (sys-ftpd, xorplay, etc).
  • If you're using data files from a non-English version of the game, you can change the game language by changing the values for in_kbd and sys_lang in dhewm.cfg from "english" to e.g. "spanish".
  • If you have exFAT, better quit the game using the "Exit" option in the menu instead of just killing hbmenu.

Limitations

  • Multiplayer is borked, selecting it will crash the game.
  • Loading and saving times are pretty long.
  • Currently only 720p is supported.

Controls

  • In the main menu you can control the cursor with the Right Analog, triggers act as mouse buttons.
  • You can also use the touchscreen to control the main menu.
  • Left Analog is a little wonky in game after loading, jiggle it for a second and it'll work.

Screenshots

dhewm3nx2.png

dhewm3nx3.png

dhewm3nx4.png

Media

DOOM 3 running on Nintendo Switch (Homebrew Port) (NMKD // n00mkrad)

Changelog

v0.1.0 2018/10/01

  • Initial Switch release. More of a PoC than an actual playable port.
  • Default graphics settings in the supplied dhewm.cfg are: shadows disabled, detail level set to "Medium".

Credits

  • dhewg and Daniel Gibson for dhewm3.
  • fincs, Armada651, Subv and probably others for their work on the OpenGL/mesa/libdrm stuff.
  • some nice people in the ReiSwitched Discord and #switchdev for help and testing.
  • id Software for Doom 3.

External links

Advertising: