Add Fallout 4 path resolver and update deploys
Introduce resolve-fallout4-path.bat to centralize locating the Fallout 4 installation. deploy-all.bat and deploy-ui.bat now call the resolver (accept an optional path arg or prompt interactively), and the chosen path is saved to a local .fallout4-path file (added to .gitignore). Updated docs (docs/dev-log.md, plugin/setup.md) to reflect the new behavior and usage examples. The resolver normalizes game or Data paths, probes common Steam locations, prompts the user when needed, and exports F4_DIR and DATA_DIR for callers.
This commit is contained in:
+7
-4
@@ -79,13 +79,16 @@ build-prismaui.bat
|
||||
deploy-all.bat
|
||||
```
|
||||
|
||||
`deploy-all.bat` defaults to:
|
||||
Or use `build-all.bat` to build and deploy in one step.
|
||||
|
||||
```text
|
||||
D:\SteamLibrary\steamapps\common\Fallout 4\Data
|
||||
`deploy-all.bat` and `deploy-ui.bat` prompt for your Fallout 4 install folder on first use (or when the saved path is missing). The choice is stored locally in `.fallout4-path` (gitignored). You can still pass a path on the command line:
|
||||
|
||||
```bat
|
||||
deploy-all.bat "D:\SteamLibrary\steamapps\common\Fallout 4"
|
||||
deploy-ui.bat "D:\SteamLibrary\steamapps\common\Fallout 4\Data"
|
||||
```
|
||||
|
||||
It installs:
|
||||
`deploy-all.bat` installs:
|
||||
|
||||
* `Data/F4SE/Plugins/PrismaUI_F4.dll`
|
||||
* `Data/F4SE/Plugins/CommonwealthOnline.dll`
|
||||
|
||||
Reference in New Issue
Block a user