-
Notifications
You must be signed in to change notification settings - Fork 2
ThpsQScriptEd\Interface
-
File -> Open: Fires a dialog window to locate a Q or QB file. Bound to Ctrl+O
-
File -> Save: Fires a dialog window to save Q file under current name. Does not compile in QB. Bound to Ctrl+S
-
File -> Save As: Same as Save, but will always ask for a file name.
-
File -> Compile: Compiles current script to QB, saves source to Q and creates backup file, if enabled. Bound to F5
-
File -> Exit: Closes the application. Bound to Alt+F4.
-
Tools -> Dump hashes in text: creates a CSV file of the current symbol cache.
-
Tools -> Dump hashes in QB: creates a QB file of the current symbol cache.
-
Tools -> Clear global cache: purges everything from symbol cache.
-
Tools -> Parse NodeArray: Reads nodearray from current script (if available) to allow some extended editing. In progress.
-
Tools -> Brute: Allows user to brute force a certain checksum. Takes millions of years. In progress.
-
Tools -> Grep: Selects all lines containing certain text within. Default values include scripts and gaps.
-
Tools -> Settings: Opens QScripted settings window.
-
Tools -> Rollback: This submenu allows user to pick an earlier version of the script, if any availble. Works if backups are enabled.
-
Editor -> Word wrap: Toggle word wrap in main text editor. It is not advised to have it turned on due to performance reasons.
-
Editor -> Font...: Allows user to change text editor font and text size.
-
Editor -> Theme dropdown list: Allows user to change editor's color theme.
-
Editor -> Hide scripts list: Toggles the script list on the left side.
-
Help -> Manual: Opens this document.
-
Help -> About: Brief application info.
-
Send to external editor: opens up current script text in an external editor, if chosen.
- Apply cosmetic fixes: on import, changes text formatting slighty. Adds extra line feeds between scripts, adds extra line feed between } and { (useful in nodearrays) and more.
- Prefer tab for nesting: Uses TAB symbol for nesting instead of spaces. By default 2 spaces are added.
- Prefer symbolic operators: (not, or, and) will be imported as (!, ||, &&).
- Uppercase keywords: every keyword will be uppercase (i.e. SCRIPT instead of script)
- Show angle values in degrees: will convert radian angles to degrees
- Round angles (may lose precision): this option will round angle value to 2 decimal places. Without this option turned on, 180 degrees will be presented as 180.00001
- Use short new line symbol: picks between 0x01 and 0x02 opcodes for line feeds. Doesn't really make any change so it is recommended to use 0x01 aka the short one. It is known however, that thps3 is more strict with line feeds in 0x02 mode.
- Save symbols in a separate file: with this option turned on, current symbol cache will be saved as a .sym.qb file instead if being dumped along with the script.
- Remove trailing line feeds: this will remove multiple line feeds from compiled file. This occurs when you have comments or empty lines in your code. Keep in mind that if this option is turned off, every line feed in script will be added to the compiled file, which may be useful for formatting if you're not planning to save q files.
- Backup Q sources: enables backups for Q files, required for rollback feature.
- Always load Q source if available: with this option on, the existing Q file will be opened automatically if you'll try to decompile QB.
User can choose an external editor to edit the script. Click Browse... button, locate your text editor executable and confirm your choice. If editor is chosen, Send to external editor menu item is available.
Once set up, Send to external editor button will save a text file to a temp location, open that file in an external editor and lock the ThpsQScriptEd input. Once you close the external editor, the temp file will be reloaded to the tool, so you can compile the edited script.
Sets up the minimum QB compatibility mode on export.