r/AndroidNativePorts • u/Desm0nt • 2d ago
🟢 [NATIVE PORT] [WIP] DOOM Eternal native Android port of the Switch version: 38–58 FPS on Snap 8 Gen 3, a whole new Vulkan renderer to get there (NVN → native Vulkan)
Enable HLS to view with audio, or disable this notification
After a long month and a half and a lot of suffering, I'm finally done with DOOM Eternal, a native Android port of the Nintendo Switch version (claude did the heavy lifting, as usual, I did the debugging, testing and complaining). Let me be honest right away: this is NOT a good port. It's a moderately crippled one, at a "playable" level.
Release and APK: https://github.com/Desm0nt/doom-eternal-port/releases/tag/v0.1.0
Install guide (step by step, with FAQ): https://github.com/Desm0nt/doom-eternal-port/blob/main/docs/INSTALL.md
Already prepared game files: https://gofile.io/d/xUtw97Po
Read this first, please:
- Weak devices (anything below Snapdragon 8 Gen 2) are most likely out. Similar and stronger ones - it depends on your luck.
- Realistically only Adreno and Maleoon (Huawei). Sorry, Mali and PowerVR owners - getting it even barely playable took a lot of optimisation shamanism that leans on the GPU and driver forgiving everything, and "omnivorous" ones like Adreno do, while yours are much pickier. So on Mali / PowerVR expect artifacts, crashes or no start at all. Of course, I tried to add fixes for the known problem areas, but the optimizations most likely created many new ones.
- It may crash or hang in unexpected places. I couldn't check everything - you are my only testers.
Not an emulator or JIT. The game's own AArch64 code runs on the phone, a small host gives it the Switch system services, and the graphics go to our own Vulkan renderer. Shaders are translated to SPIR-V on your PC once, by setup.
Why it's so heavy
The game turned out to be HELLISHLY hungry. Some numbers (the FPS depends on them directly):
- an average DOOM 2016 scene - 2 400–3 000 draw calls;
- an average DOOM Eternal scene - 9 000–13 000 draw calls, even with a limited draw distance.
So by draw calls alone the game is about 4 times heavier than DOOM 2016. On top of that: new effects, destructible demons, huge locations, heavier shaders... Honestly, I have no idea how this ran on the Switch at all, and at what FPS.
To get away from 5–15 FPS, I had to rewrite the whole renderer to native Vulkan (yes, like DOS2, only worse): merge every render pass that could be merged, cull all the geometry that can be culled (and some that shouldn't be, but had to), cheapen the shadows, mess with the buffers, cache everything that can be cached and read it back a frame later, simplify the vertex work for the shading passes, torture the effects, and so on. Most of it is probably damn broken somewhere, and I will be very, very surprised if anything other than Adreno and Maleoon can chew it.
What to expect
On my Snapdragon 8 Gen 3 (Adreno 750) I squeezed out 38–58 FPS, and 26–45 FPS on 8 Gen 2. Don't expect a steady framerate, unfortunately - it jumps around a lot. And at what price:
- Lowering the resolution will barely help - the bottleneck is the amount of geometry, not the pixels.
- Handheld mode gives +1 FPS at best - its optimisations add almost nothing on top of mine.
- Small things (pebbles, decals, debris) may pop in and out right in front of you. That's normal - the price of the home-made fast culling of "invisible" objects.
- Sometimes a little square ripple shows on some surfaces. It can't be fixed - it's an unavoidable side effect of a combination of the optimisations.
I'll try to fix the bugs you report, but more performance without worse detail and picture quality won't be possible - I've already squeezed out everything that could be squeezed. I honestly did what I could, even though there was a huge urge to drop Eternal and do something more manageable and sane.
Installation, briefly
- Dump DOOM Eternal (base game + update v983040) and your
prod.keysfrom your own Switch, put them intoput-game-files-here. - Run
setup.bat(orbash setup.sh), answer Y and wait. About 20-40 minutes, ~70 GB free on the PC while it runs. - Copy the
DOOM Eternal Mobilefolder to the phone's internal storage →Download(~37 GB). - Install the APK from https://github.com/Desm0nt/doom-eternal-port/releases/latest (
DOOM-Eternal-Mobile-v0.1.0-arm64.apk, Android 12+), start it, allow All files access.
Known limitations
Only DOOM Eternal, update v983040. Campaign only, offline (no Battlemode / online). A phone with Android 12+ (64-bit). No game files or keys are included - dump the game and the keys from a Switch you own.
Built on my DOOM 2016, Diablo III, Torchlight II, Pillars of Eternity and Divinity: Original Sin 2 ports (the same native host, front end, drivers and setup; the Vulkan renderer grew out of the DOS2 one).
If something goes wrong - open an issue and attach the logs (see the install guide), plus phone model, GPU, Android version and the place where it happens.
Source code and releases: https://github.com/Desm0nt/doom-eternal-port
3
u/Sharp-Cockroach8098 2d ago
No disrespect to you sir I am waiting for peanuts native to support doom 3, doom 2016, doom eternal but good luck with your port
1
u/Shot_Psychology_2728 2d ago edited 2d ago
Thank you very much for your service. Panic Button must be wizards to let a game like this play on a standard Switch.
I am waiting on my Odin 3 and I will give it a test. Hopefully it can take care better some of the slowdowns. Even the game being almost 60GB less than what I would use to play it via Gamehub is an enormous win.
I know it must be annoying to only support Adreno 740 and up, but newer chipsets will catch up and a good work never goes to waste
PS: Does the game support English or just Russian?
1
u/Crafty_Bear221 2d ago
Make it playable on 8 gen 1 please
1
u/mikethemlgdeck 2d ago
Are there any plans to make it so you can compile it on android without a PC?
1
u/Apart-Device-9717 1d ago
How much did it cost in total, in monetary terms, to create this port?
3
u/ser_qon 2d ago
3
u/Ok-Anything6909 2d ago
To be honest, it's actually Incredible how this game ran on a handheld that is aging now
It's literally way heavier then Doom
1
u/Aluscar 2d ago
What's the best driver for 8gen3 can I get a link of the driver?
1
u/PracticalBuy4074 2d ago
Incredible job 👍
1
u/ClumsyHumane-V2 2d ago
How are the temps? I don't mind completing the game on mobile once again lol, I have a 8 elite (gen 4) so I'm assuming it'll be slightly better.
1
u/Reasonable_Buddy_746 2d ago
Insane.
1
u/Reasonable_Buddy_746 2d ago
Any cheats?
1
u/Sharp-Birthday-2187 2d ago
I'm currently playing your DOOM (2016) port, and it's running perfectly on my Snapdragon 8 Elite Gen 5 with 12GB of RAM. I'll definitely play your DOOM Eternal port too, but for now, I'll wait for future updates and builds.
1
u/321Shellshock123 2d ago
Porting doom eternal is crazy
But beautiful nonetheless
1
u/armorking44 2d ago
I was working on this as well but holy i squeezed 20-30 fps with hard cutoff in render distance. Keep up the good work! Tested on snapdragon 8 elite gen 5 getting consistant 50-60 fps. Absolutely outstanding brother!