HXDD: A Heretic and Hexen Wad Merger [0.7.1-Beta]

Any utility that assists in the creation of mods, assets, etc, go here. For example: Ultimate Doom Builder, Slade, WadSmoosh, Oblige, etc.
Forum rules
The Projects forums are ONLY for YOUR PROJECTS! If you are asking questions about a project, either find that project's thread, or start a thread in the General section instead.

Got a cool project idea but nothing else? Put it in the project ideas thread instead!

Projects for any Doom-based engine (especially 3DGE) are perfectly acceptable here too.

Please read the full rules for more details.
User avatar
Lemon King
Posts: 21
Joined: Thu Jul 15, 2021 10:01 am

HXDD: A Heretic and Hexen Wad Merger [0.7.1-Beta]

Post by Lemon King »

This is tool I put together to disassemble and cook Heretic and Hexen with some Hexen II features into a single playable ipk3 for GZDOOM.
WadSmoosh for DOOM is the direct inspiration, but its not that easy with Raven's games. Heretic and Hexen have enough differences that there needs a hefty amount of scripting to glue them together and balance them.

My goal was to combine both games while maintaining vanilla gameplay and to be usable with any type mods.

Currently HXDD supports the base classes from Heretic and Hexen. If you have Hexen II PAK files, these classes will be playable via the menu but are still under development.

HXDD Features 
  • Unified Game & Episode Structure
    Play Heretic, Hexen and Deathkings from one menu with any class from either game!
  • Hexen II Leveling
    A highly expanded version of the leveling system found in Hexen II.
  • Selectable Armor Modes
    Simple and AC, selected in New Game.
  • PlayerSheets for Mod Support
    Allows for cross game pickups and actors and expand PlayerClass definitions. PlayerSheets will allow your mod to support HXDD only features without needing to expand actors or make another mod version. Just create a new json under playersheets/<classname>.json and you're supported!
Spoiler
Spoiler:
Upcoming Features
Menu & UI: Further updates and streamlining.
Completion of the remaining Hexen II Classes (Paladin, Crusader, Necromancer, Assassin, Demoness) and Pickups.
PWAD Mode

Requirements
GZDOOM 4.10
Java Runtime (for building the ipk3)

Download & Source
https://github.com/Lemon-King/HXDD/releases

Installation
  • Extract HXDD into a new folder.
  • Copy the following gzdoom pk3 and game iwad files into the /wads folder:
    gzdoom.pk3, game_support.pk3, brightmaps.pk3, game_widescreen_gfx.pk3, lights.pk3
    heretic.wad, hexen.wad, hexdd.wad
  • If you have Hexen II:
    pak0.pak, pak1.pak are from the base game.
    pak3.pak is from the expansion Portals of Praevus.
    pak4.pak is from the free hexen world update, Hammer of Thyrion has this file for download.
  • Copy these PAK files into /wads also.
    You need to download and drop the noesis zip file into the same folder as HXDD.jar, HXDD will take care of the rest at runtime.
    https://richwhitehouse.com/index.php?co ... project=91
    HXDD uses Noesis to dump the PAK files and process mdl and spr data.
  • Copy all files into /wads if you have them.
  • Run java -jar hxdd.jar via command line, this may take a few minutes.
  • Copy HXDD.ipk3 to your GZDOOM iwad folder.

Screenshots
Spoiler:
Gameplay Videos
Spoiler:
Last edited by Lemon King on Thu Jun 01, 2023 4:07 pm, edited 5 times in total.
User avatar
NightFright
Spotlight Team
Posts: 1321
Joined: Fri May 02, 2008 12:29 pm
Location: Germany

Re: HXDD: A Heretic and Hexen Wad Merger

Post by NightFright »

So this is basically something like Wadsmooshed for Heretic and Hexen, then? With the difference that you can have Heretic weapons in Hexen maps and vice versa?
User avatar
Lemon King
Posts: 21
Joined: Thu Jul 15, 2021 10:01 am

Re: HXDD: A Heretic and Hexen Wad Merger

Post by Lemon King »

Mostly. Weapons and ammo change depending on your class. Using Corvus on maps with Hexen weapons and ammo will allow you to have Heretic equivalents and vise-versa for Hexen classes.

This is an video from an older version showing off some of the classes in different maps.
User avatar
BouncyTEM
Posts: 3817
Joined: Sun Aug 24, 2003 5:42 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support
Location: 2280 Lol Street: The Calamitous Carnival (formerly Senators Prison)

Re: HXDD: A Heretic and Hexen Wad Merger

Post by BouncyTEM »

I can't seem to run this. Every time, it complains "Error: A .INI error has occured, please check your installation and try again." "A Java Exception has occured." other java programs run fine, but not this one. I've updated Java to the newest. Help?
User avatar
Lemon King
Posts: 21
Joined: Thu Jul 15, 2021 10:01 am

Re: HXDD: A Heretic and Hexen Wad Merger

Post by Lemon King »

I used OpenJDK 16 when writing this. Updating to Java 16 should resolve the issue, I'll use a lower version of JDK next time.
e: Reproduced your issue on my end too, getting this fixed today/tonight.
Craneo
Posts: 248
Joined: Sat Jun 22, 2019 9:12 am
Graphics Processor: Intel (Modern GZDoom)
Location: Gone.

Re: HXDD: A Heretic and Hexen Wad Merger

Post by Craneo »

is there a compiled version? and I mean the .jar file, not the .ipk3, like, I really have no idea how to compile Github stuff, so I can't just use the HXDD.jar file on the wads I have, I see a HXDD archive but it says it's extension is something else, and not .jar, it says it's .settings, sorry if it bothers you, I'm just very tech illiterate I think
User avatar
Lemon King
Posts: 21
Joined: Thu Jul 15, 2021 10:01 am

Re: HXDD: A Heretic and Hexen Wad Merger

Post by Lemon King »

I had first release marked as 0.1 pre-release and an issue was found. I just fixed and release 0.2-Alpha which retargets the required Java version to 8.
Current issue is if you run HXDD by double clicking it you won't see a console window displaying output, running it by command line will display output.
User avatar
Rachael
Posts: 13303
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her

Re: HXDD: A Heretic and Hexen Wad Merger

Post by Rachael »

Has this been tested on case-sensitive systems, i.e. Linux?

User avatar
Rachael
Posts: 13303
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her

Re: HXDD: A Heretic and Hexen Wad Merger

Post by Rachael »

Ah I see what is going wrong, here.
https://github.com/Lemon-King/HXDD/blob ... va#L38-L39

I think I should point out that Windows has native compatibility to handle folder separators with "/", instead of "\", this makes it much easier to create cross-platform applications. Such special handling does not exist reverse-wise in Linux unless you run an application using Wine.

In Windows, c:/windows/system32 is a valid path, though not all applications may fully recognize it.
User avatar
Lemon King
Posts: 21
Joined: Thu Jul 15, 2021 10:01 am

Re: HXDD: A Heretic and Hexen Wad Merger

Post by Lemon King »

Thanks for that find, its now fixed in 0.3 Alpha. I didn't do any real testing on other OS environments.
User avatar
Lemon King
Posts: 21
Joined: Thu Jul 15, 2021 10:01 am

Re: HXDD: A Heretic and Hexen Wad Merger

Post by Lemon King »

0.4 Alpha has a fix for MultiClassMace error on load. Also added Hexen compatibility palette is also created for wads which use custom palette textures with editor spawn numbers allowing for use of both Heretic & Hexen things.
User avatar
Lemon King
Posts: 21
Joined: Thu Jul 15, 2021 10:01 am

Re: HXDD: A Heretic and Hexen Wad Merger

Post by Lemon King »

HXDD Alpha 0.5

Code: Select all

- Hexen's SKY3 will no longer overwrite Heretic's SKY3
- Fixed SKYFOG and FOGMAP in Hexen / HexDD
- Added missing Heretic Mobs to MultiSpawners
- Hexen and HexDD should no longer overwrite each others WIN#MSG
- BANNER1 is no longer classified as NullTexture in Heretic
- Player class detection will now continue to correctly work when starting a new game under a different class then loading a saved game.
User avatar
Lemon King
Posts: 21
Joined: Thu Jul 15, 2021 10:01 am

Re: HXDD: A Heretic and Hexen Wad Merger

Post by Lemon King »

Pushing Alpha 0.6 a tad early to fix a crash.
HXDD Alpha 0.6

Code: Select all

- Fixed a crash where some entities spawning before the player could cause a crash
- Lowered generated editor spawnnums to prevent GZDoom from underflowing spawnnum ids
User avatar
Rachael
Posts: 13303
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her

Re: HXDD: A Heretic and Hexen Wad Merger

Post by Rachael »

For what it's worth - it successfully ran in Linux. (That is the only place where I have any Java at all - I don't like running Java in Windows)

I don't know if it got all the assets correctly though - for instance there is no preview of Corvus when I select him on the player screen.

User avatar
Lemon King
Posts: 21
Joined: Thu Jul 15, 2021 10:01 am

Re: HXDD: A Heretic and Hexen Wad Merger

Post by Lemon King »

Rachael wrote:I don't know if it got all the assets correctly though - for instance there is no preview of Corvus when I select him on the player screen.
I haven't setup the conversion for Corvus on the menu currently due to it needing separate grAB coords. Its on my TODO list, along with proper Heretic / Hexen armor controls in zscript.

Return to “Creation, Conversion, and Editing”