Skip to content

0.4.0

Compare
Choose a tag to compare
@ExpHP ExpHP released this 19 Apr 06:34
· 359 commits to main since this release

v0.4.0

The biggest addition to 0.4.0 is that trumsg is now usable.

Compatibility Note

Text source files are now always UTF-8, never Shift-JIS. If you were previously using truth with Shift-JIS files, you may need to change their encoding and re-save them in your text editor.

Changes

  • trumsg now produces reasonable output, and can roundtrip-decode all (stage) MSG files in all games up to and including TH17.
  • Added pseudo-arguments. When decompiling, instructions with unknown signatures will now be decoded to a form like ins_1011(@mask=0b100, @blob="00501c46 00000040 00541c46");
  • Added const variables. These are typed compile-time constants. Please see the truth syntax primer for more information.
  • More warnings! Diagnostics were heavily reworked, allowing warnings to be emitted for many more things (and allowing some things that used to be errors to become warnings instead).
  • Default output line width changed from 100 to 80.