Menu

#80 Support for HACX

open
nobody
None
5
2013-04-02
2013-04-02
Anonymous
No

Hi there,

HACX is a freely available 20-level TC for Doom 2 which in its recent version 1.2 is even available as an IWAD. However, prboom-plus fails to recognize it properly and aborts with an error. The attached patch adds initial support for HACX by considering it as an additional gamemission for Doom2.

- Fabian

Discussion

  • Nobody/Anonymous

    Initial support for HACX

     
  • Fabian Greffrath

    The following chunk should be added, so HACX isn't run in final doom, but doom 2 compatibility mode.

    --- a/src/g_game.c
    +++ b/src/g_game.c
    @@ -3119,7 +3119,7 @@ static int G_GetOriginalDoomCompatLevel(int ver)
    if (ver == 110) return tasdoom_compatibility;
    if (ver < 107) return doom_1666_compatibility;
    if (gamemode == retail) return ultdoom_compatibility;
    - if (gamemission >= pack_tnt) return finaldoom_compatibility;
    + if (gamemission == pack_tnt || gamemission == pack_plut) return finaldoom_compatibility;
    return doom2_19_compatibility;
    }

     
  • Andrey Budko

    Andrey Budko - 2013-04-03

    HACX.WAD works fine as pwad.

     
  • Andrey Budko

    Andrey Budko - 2013-04-03

    does it?

     
  • Andrey Budko

    Andrey Budko - 2013-04-03

    applied

     
  • Andrey Budko

    Andrey Budko - 2013-04-03

    I've checked zdoom sources. It checks "HACX-E" and "HACX-R" lumps for recognizing Hacx 2.0 and Hacx 1.2

    IWad
    {
    Name = "Hacx 2.0"
    Game = "Doom"
    Config = "Hacx"
    Mapinfo = "mapinfo/hacxharm.txt"
    MustContain = "MAP01", "HACX-E"
    BannerColors = "ff ff ff", "00 88 22"
    }

    IWad
    {
    Name = "Hacx: Twitch'n Kill"
    Game = "Doom"
    Config = "Hacx"
    Mapinfo = "mapinfo/hacxharm.txt"
    MustContain = "MAP01", "HACX-R"
    BannerColors = "00 00 a8", "a8 a8 a8"
    }

     

Log in to post a comment.