ZDoom / Raze

Build engine port backed by GZDoom tech. Currently supports Duke Nukem 3D, Blood, Shadow Warrior, Redneck Rampage and Powerslave/Exhumed.
680 stars 59 forks source link

[User error] [Duke 3D] Voxel pack/HRP maphacks not working #317

Closed NightFright2k19 closed 3 years ago

NightFright2k19 commented 3 years ago

Currently Raze does not seem to really use any maphacks from the Voxel Pack (and therefore the HRP since they are almost identical), showing in E1L1 in several spots already:

My suspicion is that Raze does not recognize the map hashes used in the EDuke32 maphacks. They are needed because sometimes there are different versions of the same map which require different maphacks (e.g. Atomic vs World Tour).

The format is like this (example: E1L1)

mapinfo 
{
  maptitle "Hollywood Holocaust"
  // author "Allen H. Blum III"
  mapfile  "E1L1.map"
  mapmd4   944032d239a314088ec7fdd771910362 // 1996-04-19 (1.3D GRP)
  mhkfile  "maphacks/3drealms/E1L1_13d.mhk"
}

mapinfo 
{
  maptitle "Hollywood Holocaust"
  // author "Allen H. Blum III"
  mapfile  "E1L1.map"
  mapmd4   a1ce0037911b2625781a2623588c8b90 // 1996-12-11 (Atomic GRP)
  mhkfile  "maphacks/3drealms/E1L1.mhk"
}
Dzierzan commented 3 years ago

Hmmm... FYI I tested Blood Voxel Pack and it did detect maphacks just fine.

Here's a screenshot where you can see the voxel on the right rotated:

image

And here's from DN: WT

image

And from DN: 3D

image

Looks as intended.

coelckers commented 3 years ago

Looks correct to me in all described cases. The map hack definitely gets used as it looks totally different when I rename it.

NightFright2k19 commented 3 years ago

Retroactively I found out it was my fault since I forgot to include an important .def file. So yeah, it was not a problem with Raze.