Skip to content

Gibbed.MadMax-1.5.1

Choose a tag to compare

@gigaHours gigaHours released this 08 Feb 14:28

What's New

πŸ”„ Decompiler & Compiler

  • XvmDecompile β€” decompile .xvmc bytecode to high-level Python-like .xvm source
  • XvmCompile β€” compile .xvm source back to .xvmc bytecode
  • Full round-trip: decompile β†’ edit β†’ compile β†’ drop into game

✨ Compiler Features

  • Auto-computed function name hashes (Jenkins lookup3)
  • Auto-computed source_hash, max_stack, and locals
  • Debug info generation (line:column per instruction)
  • Constant folding for negative float literals
  • #! hash: / #! source_hash: directives for exact binary reproduction

πŸ› Bug Fixes

  • Fixed Jenkins hash for strings with length divisible by 12 (e.g. DisableBoost)
  • Fixed importHashes not being assigned during XvmModule.Deserialize()

πŸ“– Documentation

  • Complete XVM language reference (English | Russian)
  • Full engine API reference in xvm_globals.txt β€” 49 modules, 900+ methods with type signatures
  • Updated README with high-level and low-level workflow examples

Workflow

Decompile
Gibbed.MadMax.XvmDecompile.exe script.xvmc script.xvm

Edit the .xvm file...
Compile
Gibbed.MadMax.XvmCompile.exe script.xvm script.xvmc

Drop into game
copy script.xvmc /dropzone/scripts/...