


































s_SpectateButton variable for different buttons.
Use TEAM_RED instead of 0 when joining game in non-team server.
Screenshots:






































































cargo run --bin demo -- path/to/teehistorian.teehistorian path/to/map.map path/to/demo-out.demo

cargo run --bin demo -- path/to/teehistorian.teehistorian path/to/map.map path/to/demo-out.demo    Compiling twgame-utils v0.1.0 (D:\twgame\bin)
warning: use of deprecated associated function `twmap::map::parse::<impl twmap::TwMap>::parse_file`: Please use `parse` instead
  --> bin\src\bin\demo.rs:34:33
   |
34 |     let mut map = twmap::TwMap::parse_file(opt.map).unwrap();
   |                                 ^^^^^^^^^^
   |
   = note: `#[warn(deprecated)]` on by default
warning: `twgame-utils` (bin "demo") generated 1 warning
    Finished `dev` profile [optimized + debuginfo] target(s) in 1m 37s
     Running `target\debug\demo.exe stuff/weirdsolo.teehistorian stuff/weirdsolo.map stuff/weirdsolo.demo`
thread 'main' has overflowed its stack
error: process didn't exit successfully: `target\debug\demo.exe stuff/weirdsolo.teehistorian stuff/weirdsolo.map stuff/weirdsolo.demo` (exit code: 0xc00000fd, STATUS_STACK_OVERFLOW)

--release after cargo runcargo run --release --bin demo -- path/to/teehistorian.teehistorian path/to/map.map path/to/demo-out.demo

cargo run --release --bin demo -- path/to/teehistorian.teehistorian path/to/map.map path/to/demo-out.demo set_tee_pos called for non-existing player 









autoland branch you can generate the full demo (ci failing, but just because I'm currently fiddling with it, will fix later).
… instead of .... twlang already supported checking non-matching formatters, but seems to have been broken. I have moved  that logic from twlang.py to validate.py and fixed it.  It does not support validating strings that change the order of the formatters.
I've deleted the strings that I was unable to fix as they seem to have been translated wrong.
```
$ python3 scripts/languages/validate.py
Invalid: ﻪﻣﺍﺪﺨﺘﺳﺍ ﺪﻳﺮﺗ ﺖﻟﺯﺎﻣ ﻞﻫ '%s' ﻞﻤﻌﺘﺴﻣ ﻚﻤﺳﺍ...


autoland branch you can generate the full demo (ci failing, but just because I'm currently fiddling with it, will fix later).