Last active
July 16, 2022 00:52
-
-
Save mrowrpurr/818c78e4aba650b7b321685e43fcdcf1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # To run this script, remember to configure: Set-ExecutionPolicy RemoteSigned | |
| # Paths | |
| $MO2 = "C:\Users\mrowr\Dropbox\Fallout Scripting\Fallout 2 Modding\Mods" | |
| $Fo1in2 = "C:\Users\mrowr\Dropbox\Fallout Scripting\Fallout 2 Modding\Fo1in2" | |
| # Create the desired mod folders | |
| New-Item -ItemType Directory -Path "${MO2}\FO1 Base" -Force | |
| New-Item -ItemType Directory -Path "${MO2}\FO1 Interface" -Force | |
| New-Item -ItemType Directory -Path "${MO2}\FO1 Anim_ImprovedSMutantDeath" -Force | |
| New-Item -ItemType Directory -Path "${MO2}\FO1 Maps Mountains" -Force | |
| New-Item -ItemType Directory -Path "${MO2}\FO1 Interface Upscaled" -Force | |
| New-Item -ItemType Directory -Path "${MO2}\FO1 Show Loot Weight" -Force | |
| New-Item -ItemType Directory -Path "${MO2}\FO1 WORLDMAP.TXT\mods\fo1_base\data" -Force | |
| New-Item -ItemType Directory -Path "${MO2}\FO1 Scripts and Headers" -Force | |
| New-Item -ItemType Directory -Path "${MO2}\FO1 Barter Formula" -Force | |
| New-Item -ItemType Directory -Path "${MO2}\FO1 New Premades" -Force | |
| New-Item -ItemType Directory -Path "${MO2}\FO1 Inventory AP Costs" -Force | |
| New-Item -ItemType Directory -Path "${MO2}\FO1 Robodog" -Force | |
| New-Item -ItemType Directory -Path "${MO2}\FO1 Alternative Forcefields" -Force | |
| New-Item -ItemType Directory -Path "${MO2}\FO1 Fo1in2 Data" -Force | |
| # Mod Fo1in2 Paths to Mod Names | |
| $paths = @{ | |
| "Fallout2\Fallout1in2\mods\fo1_base" = "FO1 Base\data" | |
| "Fallout2\Fallout1in2\mods\fo1_interface" = "FO1 Interface\data" | |
| "Fallout2\Fallout1in2\mods\Anim_ImprovedSMutantDeath" = "FO1 Anim_ImprovedSMutantDeath\data" | |
| "Fallout2\Fallout1in2\mods\fo1_maps_mountains" = "FO1 Maps Mountains\data" | |
| "Fallout2\Fallout1in2\mods\InterfaceUpscaled" = "FO1 Interface Upscaled\data" | |
| "Fallout2\Fallout1in2\mods\ShowLootWeight" = "FO1 Show Loot Weight\data" | |
| "Fallout2\Fallout1in2\mods\fo1_base\data\WORLDMAP.TXT" = "FO1 WORLDMAP.TXT\mods\fo1_base\data\WORLDMAP.TXT" | |
| "Fallout2\Fallout1in2\Mapper\source\scripts" = "FO1 Scripts and Headers\scripts" | |
| "Fallout2\Fallout1in2\mods\fo1_barter_formula" = "FO1 Barter Formula\data" | |
| "Fallout2\Fallout1in2\mods\fo1_new_premades" = "FO1 New Premades\data" | |
| "Fallout2\Fallout1in2\mods\InventoryAPcosts" = "FO1 Inventory AP Costs\data" | |
| "Fallout2\Fallout1in2\mods\fo1_robodog" = "FO1 Robodog\data" | |
| "Fallout2\Fallout1in2\mods\fo1_alternative_forcefields" = "FO1 Alternative Forcefields\data" | |
| "Fallout2\Fallout1in2\data" = "FO1 Fo1in2 Data\data" | |
| } | |
| foreach ($fo1in2path in $paths.Keys) { | |
| Write-Host "${Fo1in2}\${fo1in2path} ---> ${MO2}\$($paths.$fo1in2path)" | |
| New-Item -ItemType SymbolicLink -Path "${MO2}\$($paths.$fo1in2path)" -Target "${Fo1in2}\${fo1in2path}" | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment