All notable changes to the "hoi4modutilities" extension will be documented in this file.
Check Keep a Changelog for recommendations on how to structure this file.
- Allow
|
in symbol type (to support the caselocalization_key = building_state_modifier|dam
) (#105) (Contributor: IShiraiKurokoI(Shirai_Kuroko)).
- Add shared focus dependency parsing for focus preview (#97) (Contributor: IShiraiKurokoI(Shirai_Kuroko)).
- Add support for
remove_trait
in MIO preview (#96).
- Reading text from localisation files and show them in previews (Contributor: IShiraiKurokoI(Shirai_Kuroko)).
- Updated Korean translation (Contributor: gyhs(NIKA)).
- Fix a bug that some conditions are treated as scope.
- Preview world map will stuck if resource icons are not available.
- Preview map shows X and Z from HOI4 coordinate system.
- Show resources of each state on previewed map.
- Show river on previewed map.
- Remove supply value if supply area is not enabled.
- Military industrial organization preview.
- GFX index now searches
.gfx
recursively ininterface
folder. - Icons and buttons in preview GUI uses the first frame if the frame specified is not found.
- Korean localization.
- GUI preview.
- Language settings for event localization.
- Warning message of "Terrain "ocean" is not defined".
- In some cases the tech tree item in preview may be missing.
- Support joint_focus.
- Support focus icon with condition.
- Move
has_completed_focus
condition from dropdown to left-top corner of focus icon.
- Cannot scroll dropdown via mouse wheel in preview UI.
- GFX index (under feature flag).
- Updated Korean translation (Contributor: gyhs(NIKA)).
- NSB tank tech tree (NSB_armor.txt) doesn't preview (#71).
- A bug that focus condition doesn't work correctly.
- Add more support to
.dds
format. - A bug that focus condition doesn't work correctly for those who have two optional prerequisites.
- Support web based vscode.
- Known issues:
.zip
based DLCs can't be loaded.- HOI4 install path must be set every time you open it.
- Known issues:
- Add command "Select HOI4 Install Path" to set HOI4 install path
- Latin extension characters is not supported in HOI format symbols.
- A potential issue that some images can't be load.
- Unable to load extension in older vscode versions.
- Update the way to read DLC content.
- Fix doctrine tree preview.
- Keep focus tree condition after focus file change.
- Allow prefix spaces in railways.txt.
- Russian translation (Contributor: Ivan-Corporation(Koma Human)).
- Support negative value of country colour.
- Preview new supply system based on railway.
- New setting
hoi4ModUtilities.enableSupplyArea
to switch to old version development.
- Remove context menu from preview panels.
meta_effect
can't be parsed.
- Support preview of
frameanimatedspritetype
andtextspritetype
. - Support trusted workspaces feature in VSCode.
- Items in world map preview can be opened by double click instead of clicking button on toolbar.
- Show error message when size of map image is not multiply of 256.
Display
option in world map preview, which can show or hide map components.Export as image
button to export whole world map to an image.
- An issue that not all terrain definitions are read.
- An issue that connection between provinces are not visible when one of the province is out of view.
- Show event picture in event tree.
- Partially supported Korean translation (Contributor: gyhs(NIKA)).
- An issue that preview window closes even when text editor exists.
- Focus tree preview supports multiple trees in one file now.
- Changed preview
.tga
editor name. - This extension will automatically activate when there're previewable files in workspace.
- Improve performace of edge rendering in world map preview.
- Support
.tga
format image in all previews.
- Event preview will show delay time of each event if not happen immediately.
- Preview doesn't properly update when document has circular dependencies.
- Event tree preview
- Show relationship of events.
- Easily navigate from preview to event definition.
- Resolve and show event target scope and other informations.
- Localization support.
- Zoom event tree using wheel.
- Command
HOI4 Mod Utilities: Scan References
to automatically discover references of current script.
- Add check before all usage of fsPath to make sure error message popup.
- An issue that D01 not treated as country scope.
- An issue that
dynamic_tags
is treated as a country in country tags files. - An issue that world map still loading even preview page closed.
- Add telemetry to record usage and exceptions to provide better experience. It can be disabled with VSCode telemetry settings.
- Localization now can fallback to lang code when country code not present. For example,
en-us
will fallback toen
.
- Update parser.
- Strings without quote will be treated as string now.
- Variables can be parsed now. The default value will be used.
- Focus tree preview will show warnings for invalid code.
- An issue that preview button shows incorrect type of preview.
- An issue that in some case focus tree preview shows nothing.
- Focus tree
- Focus can reference shared focuses now.
- Focus tree
- Change allow branches to condition, offset will also be calculated. This can be disabled by specifying feature flag
!useConditionInFocus
.
- Change allow branches to condition, offset will also be calculated. This can be disabled by specifying feature flag
- Position of continuous focuses.
- Position of focus icons and titles in focus tree.
- An issue that preview will refresh twice.
- Focus tree
- Zoom focus tree using wheel.
- Search item in focus tree by ID.
- Change allow branches from checkboxes to multi-selection combobox.
- Update missing Chinese localization.
- View mode
warnings
in world map. - Warning filter in world map.
- Align style of checkbox and combobox with VSCode.
- Click item in GFX file preview will navigate to name of sprite instead of type.
- Placeholder of search box in world map.
- Performance issue when opening world map preview.
- World map preview
- New view modes: strategic region and supply area.
- New color sets: supply value.
- Refine map loading and auto reload.
- Changed scale level to show edges and labels for different view modes.
- Fixed bug that can't copy file if parent folder not exist.
- Fixed bug that sometimes world map not properly reloaded.
- Command
HOI4 Mod Utilities: Preview World Map
to open world map preview window.
- World map preview
- Possible view modes: province and state.
- Copy (if not in mod) and open state file from world map.
- Show warnings and informations about provinces and states.
- Various of color sets.
- Search province or state by ID.
- Auto reload world map when related file updates.
- Force reload world map from tool bar.
- Update UI in preview page to match VSCode style.
- Fixed parsing rules of HOI4 file parser.
- Reads
replace_path
of.mod
file.- New setting
hoi4ModUtilities.modFile
to set working mod definition. - Read
replace_path
from working mod when loading files. - Show and change selected mod file from status bar.
- New setting
- Focus tree preview
- Show continuous focuses zone in focus tree preview.
- Add ability to reference more
.gfx
file in previewed file (focus tree, technology tree, gui, etc.).
- Refine error message generated by HOI file parser.
- Added "Loading..." text to focus tree preview.
- Support more dds format so that they can be shown now.
- Changed icon of preview window.
- Fixed bug that sometimes icon in technology view not shown.
- Update strings in Chinese simplified localization.
- Technology tree preview
- Render technology tree as GUI defined in
interface\countrytechtreeview.gui
(icons, texts defined in this file will also be rendered). - Navigate to related technology tag by clicking technology or subtechnology.
- Auto update preview when technology file changed.
- Switch technology folder if a technology tree contains technology from different folder.
- Can be dragged to scroll.
- Render technology tree as GUI defined in
- GFX file preview
- Support
corneredTileSpriteType
tags.
- Support
- GFX file preview
- Show image size on tooltip.
- Focus tree preview
- Can be dragged to scroll.
- Fix 1 pixel offset of read
.dds
file.
- Fix bug that the tokenizer will read
={
as one token.
- Focus tree preview
- Render focus tree as graph.
- Navigate to
focus
tag in document by clicking a focus in graph. - Show/hide focus branches (available for focuses has
allow_branch
tag). - Auto update preview when document updates.
- Preview focus tree file that contains
shared_focus
tree.
- GFX file preview
- Preview all
spritetype
tags in.gfx
files. - Filter sprites by name.
- Navigate to
spritetype
tag in document by clicking a sprite in list.
- Preview all
- DDS preview
- Supports RGB and RGBA format.