Skip to content

Added inZOI support#178

Closed
FroggMaster wants to merge 4 commits intoModOrganizer2:masterfrom
FroggMaster:master
Closed

Added inZOI support#178
FroggMaster wants to merge 4 commits intoModOrganizer2:masterfrom
FroggMaster:master

Conversation

@FroggMaster
Copy link

  • Add game plugin support for inZOI.

Features

  • Compatible with 3DPrinter mods: When enabled, the 3DPrinter mods will be symlinked from the mod data directory to %USERPROFILE%/Documents/inZOI/AIGenerated/My3DPrinter/<ModFolder>. (This means even if you run inZOI without Mod Organizer 2, your 3D print mod files will still be present in the game. I may decide to add handling for on game launch/on game close, but for now, I think this suffices.)
  • Symlinks removal: Symlinks are removed after disabling the 3DPrinter mod.
  • Automatic handling for .pak, .ucas, and .utoc mods: These mods will always be structured to live in {inZOI game dir}/BlueClient/Content/Paks/~mods/.
  • Sub-directory handling for incorrectly packaged mods: If a mod is incorrectly packaged, Mod Organizer 2 will notify you after installation, so you can take action.
  • Automatic cleanup of unnecessary files: The following files in the root of a mod directory will be automatically removed:
    • *.txt, *.md, README, icon.png, license, LICENCE, manifest.json, *.dll.mdb, *.pdb. These files are not required and will be purged to save space.
  • Correct placement of UE4SS dwmapi.dll: Ensures that the dwmapi.dll file is correctly placed in {inZOI game dir}/BlueClient/Binaries/Win64.
  • Automatic configuration of force load library settings: Ensures that dwmapi.dll is injected into inZOI-Win64-Shipping.exe.
  • Symlink handling for dsound.dll and bitfix folder: Handles symlinks for dsound.dll and the bitfix folder of inZOI Mod Enabler. (The dsound.dll cannot be injected via force load library settings, so this solution was necessary.)

- Add game plugin support for inZOI.
@FroggMaster
Copy link
Author

Will review the linter errors and work on correcting.

@FroggMaster FroggMaster closed this Apr 9, 2025
@FroggMaster FroggMaster reopened this Apr 9, 2025
@FroggMaster FroggMaster closed this Apr 9, 2025
- Removed unused variables
- Corrected incorrect use of .name when not required.
- Fixed bug where disabling 3D printer mod would also remove the mod data. (Woops)
@FroggMaster FroggMaster reopened this Apr 9, 2025
- Expanded logic for correcting incorrectly packaged mods
- Maybe the setting to adjust how symlinking is handled for 3D Printer mods.
- Probably other stuff that I can't recall (Woops) 🐸
@FroggMaster
Copy link
Author

Tested and appears to be working without any issues, I believe the rest of these linting errors can be disregarded.

@Holt59
Copy link
Member

Holt59 commented Apr 11, 2025

Tested and appears to be working without any issues, I believe the rest of these linting errors can be disregarded.

Regardless of this working or not, these linting issues should be fixed before merging, that the whole point of the CI. You should also use proper snake case or camel case for functions and variables.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants