herbix / hoi4modutilities

A VSCode extension that contains utilities for Heart of Iron IV mods developers
MIT License
81 stars 10 forks source link

[Feature Request] Set root folder #26

Closed Makkkkus closed 3 years ago

Makkkkus commented 3 years ago

A setting to set the root folder of the project. This is useful if you work in the /mod/ folder instead of the folder of the mod you are creating. I specifically request this because loading of the files from the gfx file is dependent on the folder you are in, which in my case is: mod, but the mod root is in mod/[modname], so files are loaded relative to mod instead of [modname]. Which causes it not not find the graphics in the gfx file.

GFX is located: mod/[modname]/gfx/test/test.dds, but the extension tries to load from mod/gfx/test/test.dds.

image

herbix commented 3 years ago

Hi, you can create a workspace that contains mod folder and other folders. The extension will read from all folders in the workspace.

Makkkkus commented 3 years ago

I will try