Wolfenstein Modloader Buy me a coffeeKaffee spendieren

Wiki / Research reportsForschungsberichte

TNC Gore-Runtime: Findings and Next Test Path

Partly solvedTeilweise gelöst Original page in the GitHub wikiOriginalseite im GitHub-Wiki

In plain wordsIn einfachen Worten

For Wolfenstein II: The New Colossus, the researchers tried to change how often gore effects happen. Replacing all 24 standard gore definitions at once was read correctly by the game but crashed it at startup, so being readable does not prove it works. The safer route proposed is to change only existing probability values and leave everything else untouched, starting with the pistol. This next test has not been run yet.

  • Full replacement of 24 gore definitions (decls) crashes the game at startup.
  • Retail TNC contains 41 gore behaviour definitions; the standard ones are real, not leftovers from TNO.
  • Gore settings in the console are locked, so a settings-only gore mod is not an option.
  • Next step: a single probe that raises the two pistol probabilities to 0.95.
  • If it starts, add smg, rifle and heavy step by step.

Für Wolfenstein II: The New Colossus wurde versucht zu ändern, wie oft Gore-Effekte auftreten. Alle 24 Standard-Gore-Definitionen auf einmal zu ersetzen wurde vom Spiel zwar korrekt gelesen, ließ es aber beim Start abstürzen, lesbar heißt also nicht funktionsfähig. Als sicherer Weg wird vorgeschlagen, nur vorhandene Wahrscheinlichkeitswerte zu ändern und alles andere unangetastet zu lassen, beginnend mit der Pistole. Dieser nächste Test wurde noch nicht durchgeführt.

  • Kompletter Austausch von 24 Gore-Definitionen (Decls) lässt das Spiel beim Start abstürzen.
  • Das Original-TNC enthält 41 Gore-Verhaltensdefinitionen; die Standard-Einträge sind echt, keine TNO-Reste.
  • Gore-Einstellungen in der Konsole sind gesperrt, eine reine Einstellungs-Mod geht also nicht.
  • Nächster Schritt: eine einzelne Probe, die die zwei Pistolen-Wahrscheinlichkeiten auf 0,95 setzt.
  • Startet das Spiel, werden smg, rifle und heavy schrittweise ergänzt.

Technical detailsTechnische Details

Der technische Teil ist auf Englisch – so, wie er im Wiki steht. Unterstrichene Begriffe haben eine Erklärung auf Deutsch.

Results

Direct full replacement of the 24 goreBehavior:standard/* assets is not viable as a runtime path: it is parseable but crashes the TNC start. The more likely safe route is a surgical set patch on existing scalar probability fields, leaving the Decl structure, woundType lists, inherit chains, and the number of array entries from Retail unchanged.

Static Cross-Checks

  • Retail TNC actually contains 41 goreBehavior Decls; the relevant standard/* Decls are not just TNO artifacts.
  • standard/pistol has two existing paths: edit.probability.item[0].probability = 0.200000003 and edit.probability.item[1].probability = 0.1.
  • standard/smg, rifle, and heavy each have three existing probability fields. Several specialized Decl children inherit from standard/heavy or standard/explosive; this inheritance should not be rebuilt by a new full-replacement file.
  • The Engine already knows the Gore types used in Retail: GORETYPE_SMALL_WOUND, BIG_WOUND, HEAD_SHOT, LIMBLOSS, FULL_BODY_GIBS, SIGNATURE_DEATH1/2/3, REALLY_BIG_WOUND, and EXPLOSIVE. Therefore, there is no reason to introduce new tokens for the first runtime probe.

Negative Checks

  • The previous 24-asset full replacement crashed at startup despite successful Decl parsing during start; parseability is thus explicitly not a runtime proof.
  • A new Gore type/combined woundType token is excluded as a probe: TNC Decls use multiple existing tokens, but an unknown or unresolvable type for the target model is an unnecessary crash/no-op candidate.
  • g_EnableGore, g_debugGore, and g_goreBloodyMess are locked Cvars in the existing Retail measurement; therefore, a Cvar-only Gore mod is not an option.
  • resource_dlcDbgSearchPath was rejected as Unknown command in the real TNC log; an external DLC search path is not a viable substitute for the Decl patch.

Concrete Next Step

Build an isolated probe mod with only goreBehavior:standard/pistol and two set values:

{
  "goreBehavior:standard/pistol": {
    "set": {
      "edit.probability.item[0].probability": 0.95,
      "edit.probability.item[1].probability": 0.95
    }
  }
}

Before a game start: Dry-run on a clean TNC backup, then activate only tnc_erste plus this single probe. Retail start is the actual gate; upon success, gradually add smg/rifle/heavy and finally the inherited special Decls. Upon failure, the next suspicion is the handling of compressed Gore entries in the Resource rebuild, not the Gore syntax.

Context for Custom Maps

The Map Canary and Gore are separate runtime risks. The Gore probe should run without a Map prototype. Only when the single-asset Gore probe starts, enable the Map Entity Canary individually; a new Map ID/geometry is still unproven.