Skip to content

Releases

v1.0.0

Choose a tag to compare

@erik-blasko erik-blasko released this 29 Nov 14:53

First public release.

Vietcong Crash Translator explains the crash log pt_excp.txt that Vietcong and its level editor write when they crash: which part of the engine crashed, what kind of error it was, the likely cause and the files involved.

One layout for every crash

  Cause           : DATA ERROR
                    Something in the game data is invalid: a model, texture,
                    level or other file.
  Where           : Graphics driver (Direct3D 8, pd3d8)
                    [I3D_Driver__CreateMaterial]
  What            : A pointer was overwritten by the text "irt_" - a too long
                    name/string overflowed its buffer
  Known           : Diffuse texture name in a BES model is too long (32+
                    characters)
  Fix             : Find the texture whose name ends with the text from the
                    crash, rename it (and the texture file) to at most 31
                    characters, re-export the BES.
  Level           : D:\Vietcong\levels\Nuketown\nuketown.sco

Causes: DATA ERROR, MISSING OBJECT, SCRIPT / LOGIC ERROR, MEMORY CORRUPTION, PATCH / MOD CODE. Repeated crashes are grouped, so a problem that keeps coming back is easy to spot.

Usage

Double-click the .exe and press Enter to pick pt_excp.txt (it is in the game or editor folder), or drop the log onto the .exe. If the .exe is placed in the game folder, the log there opens right away. Menu: details, all crashes grouped, crash by number, save a text report.

The tool reads the game's own files next to the log to find the crash location. For a log copied from another PC, type game <your Vietcong folder> first. Supported: Vietcong 1.60 and the level editor build; patched copies are recognized where the crashing function is unchanged.

See the README for details.

Downloads

File Description
vc_crash_translator.exe Standalone Windows executable, no Python needed

SHA-256 vc_crash_translator.exe: 4C5709DAACA31EBAA9C6F79BA4E7722A2FA76ED4073ABF36B59D991B9EABFBD4