把 idTech 系引擎搬到 Android 的运行时库合集,原名 DIII4A++,代码沿用 com.n0n3m4.diii4a 的 OpenGLES 实现,以 Harmattan Edition 名义发布。 支持名单分成两截:DOOM III、Quake 4、Prey(2006)、Enemy Territory: QUAKE Wars 四作能在 Android、Windows、Linux 三端以 GLES 渲染;DOOM 3 BFG、The Dark Mod、Quake 1/2/3、RTCW、GZDOOM、RealRTCW、FTEQW、Jedi Knight、Serious Sam Classic、Urban Terror、OpenMOHAA、Skin Deep、Quadrilateral Cowboy、Icarus Starship Command Simulator 这一长串只列在 Android 侧,覆盖 Doom 系、二战射击、星战题材和几款独立作品。 定位写得很直接:运行时库集合,而非某一款游戏的打包成品;四款跨三端的排在前,Android 独占的一串在后,对照名单即可判断设备能跑哪一作。 渲染路径改走 OpenGLES,是这些原本面向桌面 OpenGL 的作品能在移动 GPU 上运行的前提;仓库名沿用 Java 包名写法 com.n0n3m4.diii4a,也是承接早期那版移植留下的痕迹。 开头几行把硬信息一次列清:版本 1.1.0harmattan73(lindaiyu),更新于 2026-09-25,产物覆盖 arm64 与 armv7-a,最低要求 Android 4.4,旧机型也有机会跑起来。GPLv3 授权,修改后再分发需同样开源。C++ 写成,约 660 stars、50 forks,适合在手机上重温老 idTech 作品、或研究 GLES 移植层的人。
idTech engine games For Android. An idTech games runtime libraries collection on Android
Latest version:
1.1.0harmattan73(lindaiyu)
Latest update:
2026-09-25
Arch:
arm64 armv7-a
Platform:
Android 4.4+
License:
GPLv3
idTech4's feature
- Linux/Windows(MinGW/MSVC(without editor)) build
- multi-threading renderer
- pure soft shadow with shadow-mapping
- soft shadow with stencil-shadow and translucent stencil shadow
- global illumination rendering
- lighting model: Phong/Blinn-phong/PBR/Ambient/No-lighting
- Wide-character language translation and BFG new fonts support
- debug render tools support with programming render pipeline
- OpenGLES2.0/OpenGLES3.0
- png/dds/bimage texture image, jpeg/png/bmp/dds format of screenshot
- obj/dae/md5mesh format static model
- psk&psa/iqm/gltf&glb/fbx format animation/static model
- OpenAL(soft) and EFX Reverb
- Float console
- DOOM3(with full body awareness mod, view body mod, bot mod, view flashlight mod)
- Quake4(with bot mod, full body awareness mod, view body mod) and Raven's idTech4 engine
- Prey(2006)(with full body awareness mod) and HumanHead's idTech4 engine
Support games/mods
| Game | Engine | Version | OpenGL ES version | Vulkan version | Standalone folder (* means always enabled) |
Mods/Plugins |
|---|---|---|---|---|---|---|
| DOOM III | n0n3m4's dante | - | 2.0/3.0 | doom3 | Resurrection of Evil The Lost Mission Classic DOOM3 Rivensin HardCorps Overthinked Doom^3 Sabot(a7x) HeXen:Edge of Chaos Fragging Free LibreCoop LibreCoop D3XP Perfected Doom 3 Perfected Doom 3:RoE Doom 3: Phobos(Dhewm3 compatibility patch) |
|
| Quake IV | n0n3m4's dante | - | 2.0/3.0 | quake4 | Hardqore Awakening Translate Subtitle |
|
| Prey(2006) | n0n3m4's dante | - | 2.0/3.0 | prey | ||
| Enemy Territory: QUAKE Wars | n0n3m4's dante | - | 2.0/3.0 | etqw | ||
| DOOM 3 BFG(Classic DOOM 1&2) | RBDOOM-3-BFG | 1.4.0 (The last OpenGL renderer version) |
3.0 | 1.1 | doom3bfg | |
| The Dark Mod | Dark Mod | 2.13 | 3.2 (require geometry shader support) |
darkmod * | ||
| Return to Castle Wolfenstein | iortcw | 1.51d | 1.1 | rtcw | ||
| Quake III Arena | ioquake3 | 1.36 | 1.1 | quake3 | Quake III Team Arena | |
| Quake II | Yamagi Quake II | 8.60 | 1.1/3.2 | 1.0 | quake2 | Capture The Flag Ground Zero The Reckoning Team Evolves Zaero 3rd Zigock Bot II |
| Quake I | Darkplaces | - | 2.0 | quake1 | ||
| UZDOOM(64bits) | UZDOOM | 4.14.2 | 2.0/3.2 | 1.0 | uzdoom * | |
| Wolfenstein: Enemy Territory | ET: Legacy | 2.83.2 | 1.1 | etw | Omni-Bot support | |
| RealRTCW | RealRTCW | 5.3 | 1.1 | realrtcw | ||
| STAR WARS™ Jedi Knight - Jedi Academy™ | OpenJK | 1.0.1.1 | 1.1 | openja | ||
| STAR WARS™ Jedi Knight II - Jedi Outcast™ | OpenJK | 1.0.1.1 | 1.1 | openjo | ||
| FTEQW | FTEQW | 1.05 | 3.2 | 1.1 | fteqw * | |
| Serious Sam Classic : The First Encounter | SamTFE | 1.10.7 | 1.1 | serioussamtfe * | ||
| Serious Sam Classic : The Second Encounter | SamTSE | 1.10.7 | 1.1 | serioussamtse * | ||
| Urban Terror | Q3-UT4 | 4.3.4 | 1.1 | urt | ||
| Medal of Honor: Allied Assault | OpenMOHAA | 0.82.1 | 1.1 | openmohaa | ||
| Skin Deep | SkinDeep | 1.0.4 | 3.2 | skindeep | ||
| Quadrilateral Cowboy | SkinDeep | 1.0.2602252 | 2.0/3.0 | qc | ||
| Icarus Starship Command Simulator | SkinDeep | 1.0.9 | 2.0/3.0 | icarus |
Update 1.1.0harmattan73 (2026-09-25)
Enemy Territory: QUAKE Wars(ver 1.5) support, game standalone directory named etqw, game data directory named etqwbase. More view in Enemy Territory: QUAKE Wars.Quake 4: Awakening mod of Quake4 support, game data directory named q4xbase. More view in Quake 4: Awakening.Quake 4: Translate Subtitle mod of Quake4 support, game data directory named hazzzzzy. More view in Quake 4: Translate Subtitle.idTech4's new Cvar/Commands:
About DOOM 3
bind "Your key" "_impulse51"
About Quake IV
- Effect system: Quake4 new advanced
BSEparticle system is working now! Also see Quake4BSE, Quake4Decompiled.
About Prey(2006)
- Some problems solution: e.g. using cvar
harm_ui_translateAlienFontto translate Alien text on GUI.- Exists bugs: e.g. some incorrect collision(using
noclip), some GUIs not work(Music CD in RoadHouse).- If settings UI is not work, can edit
preyconfig.cfgfor binding extras key.
bind "Your key of spirit walk" "_impulse54"
bind "Your key of second mode attack of weapons" "_attackAlt"
bind "Your key of toggle lighter" "_impulse16"
bind "Your key of drop" "_impulse25"
About Enemy Territory: QUAKE Wars
- Only support play with bots, and has some bugs.
Screenshot


















Changes:
Change logs
Build:
- idTech4A++ using std libc's malloc/free in Mem_Alloc/Mem_Free in idlib/Heap.cpp
- idTech4A++ using pure OpenGL programming render pipeline
_STENCIL_SHADOW_IMPROVE first.raven folder.humanhead folder.humanhead folder.vcpkg install SDL2 curlvcpkg install OpenAL-SoftTesting version(Non-release. Automatic CI building By Github actions when pushing commits)
- idTech4A++ for Android arm64: Android testing.
- idTech4A++ for Android arm32: Android testing.
- DOOM 3/Quake 4/Prey(2006) for Windows x64: Windows x64 testing.
Build DOOM3/Quake4/Prey(2006) mod for Android idTech4A++
Run idTech4A++ on other Android application with Android intent
- Setup game type with
gamekey: also see Q3E/com.n0n3m4.q3e.Q3EGameConstants.java GAME_XXX constants. Valid value:doom3quake4prey2006etqwquake2quake3rtcwtdmquake1doom3bfggzdoometwrealrtcwfteqwopenjaopenjosamtfesamtseurtopenmohaaskindeepqcicarussource- Setup game command arguments with
commandkey. Starts withgame.arm
startActivity(new Intent().setComponent(new ComponentName("com.karin.idTech4Amm", "com.n0n3m4.q3e.Q3EMain"))
.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK)
// 1. Setup game type
.putExtra("game", "doom3")
// 2. Setup game command
.putExtra("command", "game.arm +set fs_game moddir + harm_fs_gameLibPath /data/app/~~tBiIEpYUhA3P4wkarcd1AA==/com.author.package-p0-kOTTN2iU3ZewCcNXsrA==/lib/arm64/libgame.so")
);
finish();
Bot support on DOOM3/Quake4
- Extract
doom3/d3_sabot_a7.pk4(DOOM 3) orq4base/q4_sabot_a9.pk4(Quake 4) file in apk to game data folder, it includes some defs, scripts and MP game map AAS file(version < 66).- Set cvar
harm_g_autoGenAASFileInMPGameto 1 for generating a bad AAS file when loading map in Multiplayer-Game and not valid AAS file in current map, you can also put your MP map's AAS file tomaps/mpfolder(botaa48 on DOOM 3, botaa32 on Quake 4).- Set
harm_si_autoFillBotsto -1 for automatic fill bots when start MP game.- Set
harm_g_botEnableBuiltinAssetsto 1 for enable built-in bot assets if external assets missing(version >= 66), so only need MP game map aas files.
Full-body-awareness on DOOM3/Quake4/Prey(2006)
- Make full-body-awareness mode(view player model like first-person view) DOOM 3 example
Quake 4 example
Prey(2006) example
pm_thirdPerson)
DOOM 3 examplePlayer view flashlight on DOOM3
Point flashlight example
Spot flashlight example
Player body view on DOOM3/Quake4
DOOM 3 example
Quake 4 example
on F-Droid
| Feature | Github | F-Droid |
|---|---|---|
| Android min version(for ffmpeg) | 4.4 | 7.0 |
| Khronos Vulkan validation layer | Yes | No |
Compare with other OpenGLES rendering version of DOOM3
| Feature | idTech4A++ | Other |
|---|---|---|
| Multi-threading | Support (using multithread command to switch if enabled in gaming) |
d3es-multithread support (and support switch in gaming) |
| New stage shader (heatHaze, heatHazeWithMask, heatHazeWithMaskAndVertex, colorProcess, enviroSuit(D3XP)) |
Yes | - |
| No lighting | Yes (And support switch in gaming by set harm_r_lightingModel to 0) |
Yes |
| TexGen | Yes | - |
| OpenGL ES version | 2.0 and 3.0+ (point light shadow mapping shader use cubemap on OpenGLES2.0, use texture array on OpenGLES3.0+) |
2.0(3.0+ compat) |
| Debug render tools | Yes (need to set harm_r_renderToolsMultithread to 1 if with multi-threading) |
- |
Branch:
n0n3m4 version source.Extras download:
pyyj| 日期 | 榜单 | 排名 | 周期新增 | 总 STAR |
|---|