yquake2remaster/README.md
2024-07-29 15:07:57 +03:00

172 lines
7.6 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Yamagi Quake II Remaster
This is an experimental fork of Yamagi Quake II with ongoing work to add
support for Quake II Enhanced aka Q2 Remaster(ed). This enhanced version
has a lot non trivial changes, adding support isn't easy and takes time.
Feel free to try this code but you mileage may vary.
Have a look at the yquake2 repository for the "normal" Yamagi Quake II:
<https://github.com/yquake2/yquake2>
Alpha windows 64 bit [binaries](https://github.com/yquake2/yquake2remaster/releases).
Saves format is unstabled and could change between alpha releases.
State:
* GL1/GLES3/GL3/GL4/VK:
* base1: no known issues,
* base2: no known issues,
* q64/outpost: broken level change,
* mguhub: sometimes broken logic for surface fall in next maps.
* SOFT:
* base1: broken wall light and wall glitch,
* base2: broken wall light and wall glitch,
* q64/outpost: broken level change, scale textures unsupported,
* mguhub: broken wall light, sometimes broken logic for surface fall
in next maps.
Monsters:
* incorrect dead animation for Arachnid,
* broken fire effect for Guardian.
Models support:
| Format | Original Game | Frame vertex | Meshes | Comments |
| ------ | --------------- | ------------ | -------- | --------------------------------------- |
| mdl | Quake 1 | 8 bit | Single | Unsupported grouped textures |
| md2 | Quake 2 | 8 bit | Single | |
| md2 | Anachronox | 8/10/16 bit | Single | No tagged surfaces, unchecked with game |
| mdx | Kingpin | 8 bit | Multiple | No sfx support, unchecked with game |
| fm | Heretic 2 | 8 bit | Multiple | |
| def | SiN | Part of sam | Multiple | Unchecked with game |
| dkm | Daikatana DKM1 | 8 bit | Multiple | Unchecked with game |
| dkm | Daikatana DKM2 | 10 bit | Multiple | Unchecked with game |
| md3 | Quake 3 | 16 bit | Multiple | No tags support |
| mdr | EliteForce | float | Multiple | No tags support. Uses first LOD only |
| md5 | Doom 3/Quake 4 | float | Multiple | Requires md2 for skins |
| sbm | SiN | Part of sam | Multiple | Unchecked with game |
| sam | SiN | 8 bit | Multiple | Unchecked with game |
All models support only single texture for all meshes and frames limit based on game protocol.
Texture support:
| Format | Original Game | Comments |
| ------ | -------------- | -------- |
| wal | Quake 2 | 8 bit |
| wal | Daikatana | 8 bit |
| swl | SiN | 8 bit |
| m8 | Heretic 2 | 8 bit |
| m32 | Heretic 2 | 24 bit |
| pcx | Quake2 | 24 bit |
| tga | Quake2 | 24 bit |
| png | retexturing | 24 bit |
| jpg | retexturing | 24 bit |
| bmp | Daikatana | 24 bit |
Maps support:
| Format | Version | Game |
| ------ | ------- | ------------------------------------------ |
| IBSP | 39 | Quake 2 / Anachronox / Kingpin / Heretic 2 |
| IBSP | 41 | Daikatana / SIN |
| RBSP | 1 | SIN |
| QBSP | 39 | Quake 2 ReRelease |
| BSPX | 39 | Quake 2 ReRelease (Extension to IBSP) |
Note:
* Non Quake 2 maps are limmited mostly view only, and could have issues
with tranparency or some animations flags and properties.
* If you like support some other maps type, create pull request for Mod_Load2QBSP
function and provide a link to demo maps.
Games:
* Quake 2:
* SDK: <https://github.com/id-Software/quake2-rerelease-dll>
* Tech info: <https://bethesda.net/en/article/6NIyBxapXOurTKtF4aPiF4/enhancing-quake-ii>
* Anachronox:
* SDK: <https://github.com/hogsy/chronon>
* SDK: <https://code.idtech.space/ion-storm/anachronox-sdk>
* Tech info: <https://anachrodox.talonbrave.info/>
* Kingpin:
* SDK: <https://github.com/QuakeTools/Kingpin-SDK-v1.21>
* SDK: <https://code.idtech.space/xatrix/kingpin-sdk>
* Tech info: <https://www.kingpin.info/>
* Daikatana:
* Info: <http://daikatananews.net/>
* Heretic 2:
* SDK: <https://www.quaddicted.com/files/idgames2/planetquake/hereticii/files/Ht2Toolkit_v1.06.exe>
* SDK: <https://code.idtech.space/raven/heretic2-sdk>
* Tech info: <http://h2vault.infinityfreeapp.com/index.html>
* SiN:
* Tools: [SiNview](https://web.archive.org/web/20001212060900/http://starbase.neosoft.com:80/~otaku/program.html)
* Tools: <https://www.moddb.com/games/sin/downloads/sin-modding-tools-and-other-stuff>
* SDK: <https://github.com/NightDive-Studio/sin-ex-game>
* SDK: <https://code.idtech.space/ritual/sin-sdk>
Goals:
* [x] BSPX DECOUPLEDLM light map support (base1),
* [x] QBSP map format support (mguhub),
* [x] Use ffmpeg for load any video,
* [x] RoQ and Theora cinematic videos support.
* [x] Cinematic videos support in smk, mpeg, ogv format,
* [x] Daikatana/Heretic 2 map partial format support,
* [x] md5 improve load speed,
* [x] support Anachronox .dat format,
* [x] suport Daikatana/SiN .pak/.sin format from pakextract,
* [x] Support flow/scale flags for Q64 maps,
* [x] Add debug progress loading code for maps,
* [x] MDR model format in Star Trek: Voyager Elite Force,
* [ ] RGB particles support instead palette based one,
* [x] Broken maps groups from base2 to next,
* [ ] Single player support,
* [ ] Support effects and additional flags for ReRelease when possible.
* [ ] Use shared model cache in client code insted reimplemnet in each render,
* [ ] Check load soft colormap as 24bit color,
* [ ] Fix transparent textures in Daikatana/SiN maps,
* [ ] Use separete texture hi-color buffer for ui in soft render,
* [ ] Cleanup function declarations in game save code,
* [ ] Fix broken base3 with sorted fields names,
* [x] Use 3 bytes vertex normal,
* [ ] Support scalled textures for models and walls in soft render and fix
lighting with remastered maps,
* [ ] Modified ReRelease game code support with removed KEX only related code.
Not a goal:
* [ ] Multiplayer protocol support with KEX engine,
* [ ] Support KEX engine features (inventary, compass and so on),
* [ ] [KEX game library support](https://github.com/id-Software/quake2-rerelease-dll).
Code tested with such [maps](doc/100_tested_maps.md).
# Yamagi Quake II
Yamagi Quake II is an enhanced client for id Software's Quake
II with focus on offline and coop gameplay. Both the gameplay and the graphics
are unchanged, but many bugs in the last official release were fixed and some
nice to have features like widescreen support and a modern OpenGL 3.2 renderer
were added. Unlike most other Quake II source ports Yamagi Quake II is fully 64-bit
clean. It works perfectly on modern processors and operating systems. Yamagi
Quake II runs on nearly all common platforms; including FreeBSD, Linux, NetBSD,
OpenBSD, Windows and macOS (experimental).
This code is built upon Icculus Quake II, which itself is based on Quake II
3.21. Yamagi Quake II is released under the terms of the GPL version 2. See the
LICENSE file for further information.
## Documentation
Before asking any question, read through the documentation! The current
version can be found here: [doc/010_index.md](doc/010_index.md)
## Releases
The official releases (including Windows binaries) can be found at our
homepage: <https://www.yamagi.org/quake2>
**Unsupported** preview builds for Windows can be found at
<https://deponie.yamagi.org/quake2/misc/>