MapObj Parameters - #65
Open
Scutlet wants to merge 16 commits into
Open
Conversation
Fixed broken text keys Added an index to the Unused map obj parameters.
Parse parameters from JSON archive. Params are not yet used anywhere.
Merge multiple archives together. This way, archives can be split up and users can load their own on top of the default ones.
Not sure why there's two identical copies of TurboStudio.txt. Synced the two. Modified the param UI in order to load different widgets based on the parameter type. It can currently display float, int, bytes, and checkbox widgets. Utilised the new table layout in favour of the older column-style.
Display "number of frames/delay" parameters as m:ss.mmm. Each frame is approximately 16.667ms, so not all timer values are valid. Invalid ms are always rounded down. Display enum parameters
Allow searching for MapObj aliases (modifies MapStudio.UI) Refactored Meta so it's attached to the ObjDefinition instead of the MapObj itself. Added the paramDB to the GlobalSettings Fixed a bug where all string[] elements from the JSON were not loaded properly.
Also utilize aliases in the object selector.
Related commits in MapStudio.UI and Toolbox.Core Included submodule updates for these.
Utilise default paramaters from meta files. Fixed naming for unused/undocumented parameters.
Summerize them in a tooltip. Refactored how supportU/DX are calculated to better support overriding. Renamed Frame to Time.
Show description and tags/aliases of mapObjs in a new collapsible menu. Modified platforms to show DLC/modded status for both U/DX. Platform support can be specified for both parameters and mapObjs.
Added a toggle for hiding unsupported parameters on the current platform. Added a reset button for each parameter.
Added button to open user meta folder. Added error popups when parsing meta files fails. Also write it in the tool's console. Added missing import for DX base objects.
Added docs to the user parameter folder. Removed the original ParamDatabase and filled all JSON files.
This was referenced Aug 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes the way MapObj Parameters can be edited, providing more background information and limited validation. Moves all the hardcoded parameter descriptions to several JSON files.
DX mapObjs are not included as they were not present previously.
Supports parameter descriptions, default values, validation (min/max)
Details
Defines parameter types: float (default), int, bool, bytes, time, enum. Under the hood everything remains a float, only the widget changes. It's always possible to revert back to the old layout through a toggle ("Raw")
Details
Local overrides. This way, parameters can be documented on the go. An edit button is included as a shortcut to the user folder. Errors in the file format are displayed.
Details
Shows supported game versions. A toggle allows hiding unsupported parameters. This only really affects the Item Box Double-parameter.
Details
Search for mapObj aliases in the asset list and outliner. E.g. When searching for "Thwomp", lists "Dossun".
- NB: Requires Toolbox.core and MapStudio.UI to be updated (see separate PR's there as well)
Details
JSON Example
The same info is included in the user folder.JSON description
Any value can be left out, meaning you'll only need to define the docs you wish to add.
E.g., the following is valid:
or even