Pre-release 0.7
Pre-release
Pre-release
- Added option to target a specific game.
- Though I've only tested against thps4 and thug2.
- Added support for checksum literals:
#deadf00d
gets compiled as16 DE AD F0 0D
(bytecode).
- Added support for spaces within checksums:
`my variable` = `camo shorts`
- Added support for escape sequences within strings:
one_backslash = "\\"
two_backslashes = "\\\\"
one_double_quote = "\""
two_double_quotes = "\"\""
- Added option to remove checksum information from output.
- Fixed bug that prevented checksums from starting with keywords e.g.:
script_1
oracle
andrew_reynolds
breakage
- Fixed game crashes from nested while loops.
- REMOVED experimental boolean return syntax.
__ __ _ _
/\ \ \_____ _____ _ __/ _\ ___ _ __(_)_ __ | |_
/ \/ / _ \ \ / / _ \ '__\ \ / __| '__| | '_ \| __|
/ /\ / __/\ V / __/ | _\ \ (__| | | | |_) | |_
\_\ \/ \___| \_/ \___|_| \__/\___|_| |_| .__/ \__|
|_|
The QB programming language.
----------------------------------------------------
Release 0.7
Usage of ns:
COMPILATION:
-c (required string) Specify a file to compile (.ns).
-o (optional string) Specify the output file name (.qb).
-targetGame (optional string) Specify which game to target (defaults to "thug2").
-removeChecksums (optional flag) Removes checksum information from end of output.
-showHexDump (optional flag) Display the compiled bytecode in hex format.
-decompileWithRoq (optional flag) Display output from roq decompiler (roq.exe must be in your PATH).
PRE GENERATION:
-p (required string) Specify a pre spec file (.ps).
-showHexDump (optional flag) Display the pre bytes in hex format.
DECOMPILATION (very incomplete):
-d (required string) Specify a file to decompile (.qb).
-o (optional string) Specify the output file name (.ns).
-showCode (optional flag) Display the decompiled code as text.