![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
10-04-25, 03:32 PM
|
#1 |
|
Gunner
![]() Join Date: Jan 2013
Posts: 100
Downloads: 32
Uploads: 0
|
*** UPDATED ***
Utils Pack - Added a separate download with some command line utilities pack to provide some help when creating mods for this system. - Includes commands to list all dials and images of a given menu_1024 ini entry (a couple of screenshots added in the screenshot section of the post). It is useful to list what files you have to package into your custom mod. (Download link in the download section of the post) v1.4 - Group element numeration handled by the system in menu_1024_768 files: this means that you don't have to renumber every group element name if you add a new element in the middle or if you reorder them (wrong numeration is fixed in the output file after building). You also can use X or XX as the group element number (example: [G26 IXX]). So what is matter is the order of the element in the file, but the numbers of element in the group label are pretty much ignored, anyway you have to use a number or X/XX so the group label is identified correctly. - Source/Split file names for menu_1024_768 now use 3 digits in their numeration. v1.3 - Improved dials management in merge operation. - Original dials order is kept. - Dials are now identified by Dial, CrtVal, NewVal and Cmd. v1.1 - Includes the split of Cameras.dat ****** The goal of this system is to split the monolithic UI definition files (menu_1024_768.ini, dials.cfg, commands_en.cfg and Cameras.dat) into smaller, modular components. This allows you to modify or extend specific parts of the UI independently, without creating conflicts between mods. For example, one mod could change the binoculars view, while another modifies the attack periscope view. With the current system, both would overwrite the entire menu_1024_768.ini file, making them incompatible. By adopting this modular approach, each mod can safely alter its own UI section. How it works:
Folder structure (where you can find the split files after running the preparation script): data/Cfg/Command_en data/Menu/menu_1024_768 data/Menu/cfg/Dials data/Library/Cameras Intelligent Dial management The system includes an automatic Dial management feature. When rebuilding, any Dial not referenced in the UI (menu_1024_768 items) is automatically excluded from dials.cfg. This allows you to safely add new Dial entries or leave unused ones in place as the script handles them intelligently. Compatibility This modular UI system is designed to work with any SH3 installation or mod pack. Example - Simple PUMUS Mod Included is a small proof-of-concept mod that adds a keyboard shortcut (Shift + L) for ship identification. It can be used with mod packs such as GWX OneAlex or Fifi’s NYGM. Follow the steps above to apply and build it. Download links v1.4: https://www.mediafire.com/file/82g8w...-_v1.4.7z/file Updating from previous version to v1.4 If you are updating from a previous version it requires the rebuilt of the split files by running modular-ui-prepare-files-run-me-once.cmd again. Before running it, disable all your mods and execute modular-ui-update-and-build-ui.cmd to revert the game UI files to its initial state (or if is easier for you reinstall and overwrite these files with their original versions: menu_1024_768.ini, dials.cfg, commands_en.cfg and Cameras.dat) PUMUS UTILS Pack: https://www.mediafire.com/file/aeny1..._Utils.7z/file Download example PUMUS Mod - Adds ship identify key shortcut (shift + L): https://www.mediafire.com/file/tx48m...ip_Key.7z/file (Older versions) v1.3 (obsolete): v1.1 (obsolete): v1.0 (obsolete): Screenshots: ![]() ![]() Utils Pack ![]()
Last edited by Kirienko; 05-17-26 at 09:00 AM. Reason: Utils Pack Added |
|
|
|
|
