diff --git a/mods/Merks Trader Image Swicher/meta.ini b/mods/Merks Trader Image Swicher/meta.ini deleted file mode 100644 index 80e52b0..0000000 --- a/mods/Merks Trader Image Swicher/meta.ini +++ /dev/null @@ -1,28 +0,0 @@ -[General] -gameName=spt -modid=0 -version=d2025.5.16.0 -newestVersion= -category="-1," -nexusFileStatus=1 -installationFile=MerksTraderImageSwicher_v3.11.zip -repository=Nexus -ignoredVersion= -comments= -notes= -nexusDescription= -url= -hasCustomURL=false -lastNexusQuery= -lastNexusUpdate= -nexusLastModified=2025-05-17T01:10:55Z -nexusCategory=0 -converted=false -validated=false -color=@Variant(\0\0\0\x43\0\xff\xff\0\0\0\0\0\0\0\0) -tracked=0 - -[installedFiles] -1\modid=0 -1\fileid=0 -size=1 diff --git a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/README.md b/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/README.md deleted file mode 100644 index 169bdd4..0000000 --- a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/README.md +++ /dev/null @@ -1,40 +0,0 @@ -# Merks Trader Image Switcher Mod - -The Merks Trader Image Switcher Mod 2.0 makes it easier than ever to customize your trader images in SPT-AKI. Change any trader image just by naming your new custom image the same name as the trader's image you want to change. -(Note: If the shortcut does not work open the config folder and click the MerksImageSwitcher.exe) - -(Note: The MerksImageSwitcher requires .NET 4.8 to run. You can download it from [here](https://dotnet.microsoft.com/download/dotnet-framework/net48).) - -## How to Use the Merks Trader Image Switcher Mod - -To use the Merks Trader Image Switcher Mod, simply click on the MerksImageSwitcher shortcut, - -![MerksImageSwitcher Program](https://i.ibb.co/HtbGg6h/Screenshot-2024-06-19-023013.png) - -in the MerksTraderImageSwitcher folder. - -![MerksImageSwitcher Folder](https://i.ibb.co/rsr0Y0G/Screenshot-2024-06-19-023245.png) - -### Steps: - -1. **Turn the Switcher ON/OFF**: - - - Turn the switcher ON to change trader images and OFF to not change them. - -2. **Select a Folder**: - - - Choose the folder you want to switch the images to. - - **Note**: You can only have one folder selected at a time, but the MerksImageSwitcher takes care of that for you. - -3. **Using Custom Images**: - - - If you selected Custom and are loading your own images, **MAKE SURE** the file name is exactly the same as the trader's image you want to switch. - - **MAKE SURE** the image size is 640px x 640px. - -4. **Select Image Format**: - - - Select either JPG or PNG depending on your image's file type. - - **Note**: These are the two best file types for trader images. Either one works, you just can't load JPG and PNG at the same time. - -5. **Set Trader Images**: - - Click the Set Trader Images button to clear the trader avatar images folder in the temp files. This makes it super easy to change the trader images before launching the game. It also helps keep load times short by only clearing the temp files needed to make the Merks Trader Image Switcher Mod work. diff --git a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/START_HERE.txt b/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/START_HERE.txt deleted file mode 100644 index 4aee646..0000000 --- a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/START_HERE.txt +++ /dev/null @@ -1,31 +0,0 @@ -Merks Trader Image Switcher Mod 2.0 -The Merks Trader Image Switcher Mod makes it easier than ever to customize your trader images in SPT-AKI. Change any trader image just by naming your new custom image the same name as the trader's image you want to change. - -(Note: The MerksImageSwitcher requires .NET 4.8 to run. You can download it from here. "https://dotnet.microsoft.com/en-us/download/dotnet-framework/thank-you/net48-web-installer" ) - -How to Use the Merks Trader Image Switcher Mod -To use the Merks Trader Image Switcher Mod, simply click on the MerksImageSwitcher shortcut, -(Note: If the shortcut does not work open the config folder and click the MerksImageSwitcher.exe. -If you want a new shortcut just right click on the MerksImageSwitcher.exe and click crate shortcut. -Then put the shortcut where ever you like.) - -How to use the MerksImageSwitcher. -Steps: -1.Turn the Switcher ON/OFF: - -Turn the switcher ON to change trader images and OFF to not change them. -Select a Folder: - -2.Choose the folder you want to switch the images to. -Note: You can only have one folder selected at a time, but the MerksImageSwitcher takes care of that for you. -Using Custom Images: - -3.If you selected Custom and are loading your own images, MAKE SURE the file name is exactly the same as the trader's image you want to switch. -MAKE SURE the image size is 640px x 640px. -Select Image Format: - -4.Select either JPG or PNG depending on your image's file type. -Note: These are the two best file types for trader images. Either one works, you just can't load JPG and PNG at the same time. -Set Trader Images: - -5.Click the Set Trader Images button to clear the trader avatar images folder in the temp files. This makes it super easy to change the trader images before launching the game. It also helps keep load times short by only clearing the temp files needed to make the Merks Trader Image Switcher Mod work. \ No newline at end of file diff --git a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/config/MerksImageSwitcher.exe b/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/config/MerksImageSwitcher.exe deleted file mode 100644 index b9cefb5..0000000 --- a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/config/MerksImageSwitcher.exe +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:41b37d9606f31aa7b8df3818e224b9cc1240815d99d796748b499234a31698c0 -size 154523963 diff --git a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/config/config.json b/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/config/config.json deleted file mode 100644 index 0a1d849..0000000 --- a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/config/config.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "updateAllTraders": true, - "main": false, - "custom": true, - "anime": false, - "realistic": false, - "extension": "jpg" -} \ No newline at end of file diff --git a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/package.json b/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/package.json deleted file mode 100644 index affdbc4..0000000 --- a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/package.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "name": "MerksTraderImageSwitcher", - "version": "2.0.0", - "main": "src/TraderPics.js", - "license": "MIT", - "author": "TeejayMerks", - "sptVersion": "~3.11", - "loadBefore": [], - "loadAfter": [], - "incompatibilities": [], - "contributors": [], - "scripts": { - "setup": "npm i", - "build": "node ./build.mjs", - "buildinfo": "node ./build.mjs --verbose" - }, - "devDependencies": { - "@types/node": "20.11", - "@typescript-eslint/eslint-plugin": "7.2", - "@typescript-eslint/parser": "7.2", - "archiver": "^6.0", - "eslint": "8.57", - "fs-extra": "11.2", - "ignore": "^5.2", - "os": "^0.1", - "tsyringe": "4.8.0", - "typescript": "5.4", - "winston": "3.12" - } -} \ No newline at end of file diff --git a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/anime/579dc571d53a0658a154fbec.jpg b/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/anime/579dc571d53a0658a154fbec.jpg deleted file mode 100644 index 21d6650..0000000 Binary files a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/anime/579dc571d53a0658a154fbec.jpg and /dev/null differ diff --git a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/anime/59b91ca086f77469a81232e4.jpg b/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/anime/59b91ca086f77469a81232e4.jpg deleted file mode 100644 index a1c6195..0000000 Binary files a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/anime/59b91ca086f77469a81232e4.jpg and /dev/null differ diff --git a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/anime/59b91cab86f77469aa5343ca.jpg b/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/anime/59b91cab86f77469aa5343ca.jpg deleted file mode 100644 index 865385e..0000000 Binary files a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/anime/59b91cab86f77469aa5343ca.jpg and /dev/null differ diff --git a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/anime/59b91cb486f77469a81232e5.jpg b/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/anime/59b91cb486f77469a81232e5.jpg deleted file mode 100644 index 3439af1..0000000 Binary files a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/anime/59b91cb486f77469a81232e5.jpg and /dev/null differ diff --git a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/anime/59b91cbd86f77469aa5343cb.jpg b/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/anime/59b91cbd86f77469aa5343cb.jpg deleted file mode 100644 index 5efcc3f..0000000 Binary files a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/anime/59b91cbd86f77469aa5343cb.jpg and /dev/null differ diff --git a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/anime/5a7c2ebb86f7746e324a06ab.jpg b/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/anime/5a7c2ebb86f7746e324a06ab.jpg deleted file mode 100644 index 50377e2..0000000 Binary files a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/anime/5a7c2ebb86f7746e324a06ab.jpg and /dev/null differ diff --git a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/anime/5ac3b86a86f77461491d1ad8.jpg b/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/anime/5ac3b86a86f77461491d1ad8.jpg deleted file mode 100644 index 7d8871e..0000000 Binary files a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/anime/5ac3b86a86f77461491d1ad8.jpg and /dev/null differ diff --git a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/anime/5c06531a86f7746319710e1b.jpg b/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/anime/5c06531a86f7746319710e1b.jpg deleted file mode 100644 index 26f92ff..0000000 Binary files a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/anime/5c06531a86f7746319710e1b.jpg and /dev/null differ diff --git a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/anime/638f541a29ffd1183d187f57.jpg b/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/anime/638f541a29ffd1183d187f57.jpg deleted file mode 100644 index 978602b..0000000 Binary files a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/anime/638f541a29ffd1183d187f57.jpg and /dev/null differ diff --git a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/custom/579dc571d53a0658a154fbec.jpg b/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/custom/579dc571d53a0658a154fbec.jpg deleted file mode 100644 index 9c1240d..0000000 Binary files a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/custom/579dc571d53a0658a154fbec.jpg and /dev/null differ diff --git a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/custom/59b91ca086f77469a81232e4.jpg b/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/custom/59b91ca086f77469a81232e4.jpg deleted file mode 100644 index 627338a..0000000 Binary files a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/custom/59b91ca086f77469a81232e4.jpg and /dev/null differ diff --git a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/custom/59b91cab86f77469aa5343ca.jpg b/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/custom/59b91cab86f77469aa5343ca.jpg deleted file mode 100644 index 978cdb5..0000000 Binary files a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/custom/59b91cab86f77469aa5343ca.jpg and /dev/null differ diff --git a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/custom/59b91cb486f77469a81232e5.jpg b/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/custom/59b91cb486f77469a81232e5.jpg deleted file mode 100644 index 5d2713f..0000000 Binary files a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/custom/59b91cb486f77469a81232e5.jpg and /dev/null differ diff --git a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/custom/59b91cbd86f77469aa5343cb.jpg b/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/custom/59b91cbd86f77469aa5343cb.jpg deleted file mode 100644 index c039d5d..0000000 Binary files a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/custom/59b91cbd86f77469aa5343cb.jpg and /dev/null differ diff --git a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/custom/5a7c2ebb86f7746e324a06ab.jpg b/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/custom/5a7c2ebb86f7746e324a06ab.jpg deleted file mode 100644 index 33987a7..0000000 Binary files a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/custom/5a7c2ebb86f7746e324a06ab.jpg and /dev/null differ diff --git a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/custom/5ac3b86a86f77461491d1ad8.jpg b/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/custom/5ac3b86a86f77461491d1ad8.jpg deleted file mode 100644 index 1c72559..0000000 Binary files a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/custom/5ac3b86a86f77461491d1ad8.jpg and /dev/null differ diff --git a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/custom/5c06531a86f7746319710e1b.jpg b/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/custom/5c06531a86f7746319710e1b.jpg deleted file mode 100644 index 0aae348..0000000 Binary files a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/custom/5c06531a86f7746319710e1b.jpg and /dev/null differ diff --git a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/custom/638f541a29ffd1183d187f57.jpg b/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/custom/638f541a29ffd1183d187f57.jpg deleted file mode 100644 index d21f3e6..0000000 Binary files a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/custom/638f541a29ffd1183d187f57.jpg and /dev/null differ diff --git a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/custom/Artem.jpg b/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/custom/Artem.jpg deleted file mode 100644 index f076212..0000000 Binary files a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/custom/Artem.jpg and /dev/null differ diff --git a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/custom/Lotus.jpg b/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/custom/Lotus.jpg deleted file mode 100644 index 518f73e..0000000 Binary files a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/custom/Lotus.jpg and /dev/null differ diff --git a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/custom/gunsmith.jpg b/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/custom/gunsmith.jpg deleted file mode 100644 index 42b8385..0000000 Binary files a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/custom/gunsmith.jpg and /dev/null differ diff --git a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/custom/readme.txt b/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/custom/readme.txt deleted file mode 100644 index ef7f5eb..0000000 --- a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/custom/readme.txt +++ /dev/null @@ -1,6 +0,0 @@ -Merks Trader Image Switcher Mod 2.0 --------------------------------- -Use this folde to mix and match your trader images or add your own! - -NOTE: Make sure your custom trader images have the same name as the original traders image. - Also make sure the images is 640px x 640px. \ No newline at end of file diff --git a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/custom/thegambler.jpg b/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/custom/thegambler.jpg deleted file mode 100644 index 8bb74c5..0000000 Binary files a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/custom/thegambler.jpg and /dev/null differ diff --git a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/custom/themachine.jpg b/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/custom/themachine.jpg deleted file mode 100644 index 0edab7a..0000000 Binary files a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/custom/themachine.jpg and /dev/null differ diff --git a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/desktop.ini b/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/desktop.ini deleted file mode 100644 index 70ef162..0000000 --- a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/desktop.ini +++ /dev/null @@ -1,6 +0,0 @@ -[.ShellClassInfo] -IconResource=C:\Windows\System32\SHELL32.dll,318 -[ViewState] -Mode= -Vid= -FolderType=Generic diff --git a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/main/579dc571d53a0658a154fbec.jpg b/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/main/579dc571d53a0658a154fbec.jpg deleted file mode 100644 index 9c1240d..0000000 Binary files a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/main/579dc571d53a0658a154fbec.jpg and /dev/null differ diff --git a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/main/59b91ca086f77469a81232e4.jpg b/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/main/59b91ca086f77469a81232e4.jpg deleted file mode 100644 index 627338a..0000000 Binary files a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/main/59b91ca086f77469a81232e4.jpg and /dev/null differ diff --git a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/main/59b91cab86f77469aa5343ca.jpg b/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/main/59b91cab86f77469aa5343ca.jpg deleted file mode 100644 index 978cdb5..0000000 Binary files a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/main/59b91cab86f77469aa5343ca.jpg and /dev/null differ diff --git a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/main/59b91cb486f77469a81232e5.jpg b/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/main/59b91cb486f77469a81232e5.jpg deleted file mode 100644 index 5d2713f..0000000 Binary files a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/main/59b91cb486f77469a81232e5.jpg and /dev/null differ diff --git a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/main/59b91cbd86f77469aa5343cb.jpg b/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/main/59b91cbd86f77469aa5343cb.jpg deleted file mode 100644 index c039d5d..0000000 Binary files a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/main/59b91cbd86f77469aa5343cb.jpg and /dev/null differ diff --git a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/main/5a7c2ebb86f7746e324a06ab.jpg b/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/main/5a7c2ebb86f7746e324a06ab.jpg deleted file mode 100644 index 33987a7..0000000 Binary files a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/main/5a7c2ebb86f7746e324a06ab.jpg and /dev/null differ diff --git a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/main/5ac3b86a86f77461491d1ad8.jpg b/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/main/5ac3b86a86f77461491d1ad8.jpg deleted file mode 100644 index 1c72559..0000000 Binary files a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/main/5ac3b86a86f77461491d1ad8.jpg and /dev/null differ diff --git a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/main/5c06531a86f7746319710e1b.jpg b/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/main/5c06531a86f7746319710e1b.jpg deleted file mode 100644 index 0aae348..0000000 Binary files a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/main/5c06531a86f7746319710e1b.jpg and /dev/null differ diff --git a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/main/638f541a29ffd1183d187f57.jpg b/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/main/638f541a29ffd1183d187f57.jpg deleted file mode 100644 index d21f3e6..0000000 Binary files a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/main/638f541a29ffd1183d187f57.jpg and /dev/null differ diff --git a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/main/Artem.jpg b/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/main/Artem.jpg deleted file mode 100644 index f076212..0000000 Binary files a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/main/Artem.jpg and /dev/null differ diff --git a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/main/coyote.jpg b/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/main/coyote.jpg deleted file mode 100644 index 518f73e..0000000 Binary files a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/main/coyote.jpg and /dev/null differ diff --git a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/main/gunsmith.jpg b/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/main/gunsmith.jpg deleted file mode 100644 index 42b8385..0000000 Binary files a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/main/gunsmith.jpg and /dev/null differ diff --git a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/main/thegambler.jpg b/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/main/thegambler.jpg deleted file mode 100644 index 8bb74c5..0000000 Binary files a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/main/thegambler.jpg and /dev/null differ diff --git a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/main/themachine.jpg b/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/main/themachine.jpg deleted file mode 100644 index 0edab7a..0000000 Binary files a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/main/themachine.jpg and /dev/null differ diff --git a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/realistic/579dc571d53a0658a154fbec.jpg b/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/realistic/579dc571d53a0658a154fbec.jpg deleted file mode 100644 index 7207c8c..0000000 Binary files a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/realistic/579dc571d53a0658a154fbec.jpg and /dev/null differ diff --git a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/realistic/59b91ca086f77469a81232e4.jpg b/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/realistic/59b91ca086f77469a81232e4.jpg deleted file mode 100644 index f84bf6c..0000000 Binary files a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/realistic/59b91ca086f77469a81232e4.jpg and /dev/null differ diff --git a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/realistic/59b91cab86f77469aa5343ca.jpg b/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/realistic/59b91cab86f77469aa5343ca.jpg deleted file mode 100644 index 05536c6..0000000 Binary files a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/realistic/59b91cab86f77469aa5343ca.jpg and /dev/null differ diff --git a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/realistic/59b91cb486f77469a81232e5.jpg b/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/realistic/59b91cb486f77469a81232e5.jpg deleted file mode 100644 index f022108..0000000 Binary files a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/realistic/59b91cb486f77469a81232e5.jpg and /dev/null differ diff --git a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/realistic/59b91cbd86f77469aa5343cb.jpg b/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/realistic/59b91cbd86f77469aa5343cb.jpg deleted file mode 100644 index 39d8a4b..0000000 Binary files a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/realistic/59b91cbd86f77469aa5343cb.jpg and /dev/null differ diff --git a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/realistic/5a7c2ebb86f7746e324a06ab.jpg b/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/realistic/5a7c2ebb86f7746e324a06ab.jpg deleted file mode 100644 index c95766c..0000000 Binary files a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/realistic/5a7c2ebb86f7746e324a06ab.jpg and /dev/null differ diff --git a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/realistic/5ac3b86a86f77461491d1ad8.jpg b/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/realistic/5ac3b86a86f77461491d1ad8.jpg deleted file mode 100644 index 923b2e8..0000000 Binary files a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/realistic/5ac3b86a86f77461491d1ad8.jpg and /dev/null differ diff --git a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/realistic/5c06531a86f7746319710e1b.jpg b/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/realistic/5c06531a86f7746319710e1b.jpg deleted file mode 100644 index 0ba93dd..0000000 Binary files a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/realistic/5c06531a86f7746319710e1b.jpg and /dev/null differ diff --git a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/realistic/6617beeaa9cfa777ca915b7c.jpg b/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/realistic/6617beeaa9cfa777ca915b7c.jpg deleted file mode 100644 index 68c5e81..0000000 Binary files a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/realistic/6617beeaa9cfa777ca915b7c.jpg and /dev/null differ diff --git a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/unused/desktop.ini b/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/unused/desktop.ini deleted file mode 100644 index a072d45..0000000 --- a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/unused/desktop.ini +++ /dev/null @@ -1,6 +0,0 @@ -[.ShellClassInfo] -IconResource=C:\Windows\System32\SHELL32.dll,234 -[ViewState] -Mode= -Vid= -FolderType=Generic diff --git a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/unused/readme.txt b/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/unused/readme.txt deleted file mode 100644 index 7542964..0000000 --- a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/res/unused/readme.txt +++ /dev/null @@ -1,3 +0,0 @@ -Merks Trader Image Switcher Mod 2.0 --------------------------------- -Use this folder to store the unused/extra trader images you have. \ No newline at end of file diff --git a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/src/TraderPics.js b/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/src/TraderPics.js deleted file mode 100644 index ba732d6..0000000 --- a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/src/TraderPics.js +++ /dev/null @@ -1,96 +0,0 @@ -"use strict"; -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.mod = void 0; -const tsyringe_1 = require("C:/snapshot/project/node_modules/tsyringe"); -const LogTextColor_1 = require("C:/snapshot/project/obj/models/spt/logging/LogTextColor"); -const path_1 = __importDefault(require("path")); -const fs_1 = __importDefault(require("fs")); -const logger = tsyringe_1.container.resolve("WinstonLogger"); -const imageRouter = tsyringe_1.container.resolve("ImageRouter"); -const preSptModLoader = tsyringe_1.container.resolve("PreSptModLoader"); -class TraderPics { - modName = path_1.default.basename(path_1.default.dirname(__dirname.split("/").pop() || "")); - async preSptLoad(container) { - // Initialize anything if needed before SPT loads - } - async postDBLoad(container) { - let settings; - let pkg; - try { - pkg = require("../package.json"); - settings = require("../config/config.json"); - logger.info("Settings loaded successfully."); - logger.info(`Settings: ${JSON.stringify(settings)}`); - } - catch (err) { - logger.error("Failed to load config.json or package.json", err); - return; - } - const modPath = preSptModLoader.getModPath(this.modName); - logger.info(`Mod path: ${modPath}`); - const folderPaths = { - anime: path_1.default.join(modPath, "res", "anime"), - custom: path_1.default.join(modPath, "res", "custom"), - main: path_1.default.join(modPath, "res", "main"), - realistic: path_1.default.join(modPath, "res", "realistic"), - }; - try { - if (!settings.anime && - !settings.custom && - !settings.main && - !settings.realistic) { - logger.info("All folder usage settings are false. No images will be changed."); - return; - } - let filepath = ""; - if (settings.anime) { - filepath = folderPaths.anime; - } - else if (settings.custom) { - filepath = folderPaths.custom; - } - else if (settings.main) { - filepath = folderPaths.main; - } - else if (settings.realistic) { - filepath = folderPaths.realistic; - } - this.loadImages(filepath, settings); - logger.log(`${pkg.name} [LOADED]: Traders Looking Fire Now!`, LogTextColor_1.LogTextColor.BLUE); - } - catch (err) { - logger.error("An error occurred during postDBLoad execution", err); - logger.error(err.stack); - } - } - loadImages(filepath, settings) { - logger.info(`Loading images from: ${filepath}`); - fs_1.default.readdir(filepath, (err, files) => { - if (err) { - logger.error(`Error reading directory: ${filepath}`, err); - return; - } - files.forEach((file) => { - const traderName = path_1.default.basename(file, path_1.default.extname(file)); - try { - if (settings.updateAllTraders) { - this.changeTraderImage(traderName, settings, filepath); - } - } - catch (error) { - logger.error(`Error processing image for trader ${traderName}: ${error.message}`); - } - }); - }); - } - changeTraderImage(traderName, settings, filepath) { - const imageFileName = `${traderName}.${settings.extension}`; - logger.info(`Changing image for ${traderName} to ${imageFileName}`); - imageRouter.addRoute(`/files/trader/avatar/${traderName}`, `${filepath}${path_1.default.sep}${imageFileName}`); - } -} -exports.mod = new TraderPics(); -//# sourceMappingURL=TraderPics.js.map \ No newline at end of file diff --git a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/src/TraderPics.js.map b/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/src/TraderPics.js.map deleted file mode 100644 index 680401c..0000000 --- a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/src/TraderPics.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"TraderPics.js","sourceRoot":"","sources":["TraderPics.ts"],"names":[],"mappings":"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"} \ No newline at end of file diff --git a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/src/TraderPics.ts b/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/src/TraderPics.ts deleted file mode 100644 index 2d26fc8..0000000 --- a/mods/Merks Trader Image Swicher/user/mods/MerksTraderImageSwitcher/src/TraderPics.ts +++ /dev/null @@ -1,130 +0,0 @@ -import { container, DependencyContainer } from "tsyringe"; - -import { ImageRouter } from "@spt/routers/ImageRouter"; // Adjusted the import path -import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; // Adjusted the import path -import { ILogger } from "@spt/models/spt/utils/ILogger"; // Adjusted the import path -import { LogTextColor } from "@spt/models/spt/logging/LogTextColor"; - -import path from "path"; -import fs from "fs"; - -const logger: ILogger = container.resolve("WinstonLogger"); -const imageRouter: ImageRouter = container.resolve("ImageRouter"); -const preSptModLoader: PreSptModLoader = container.resolve("PreSptModLoader"); - -interface Settings { - updateAllTraders: boolean; - extension: string; - anime: boolean; - custom: boolean; - main: boolean; - realistic: boolean; -} - -class TraderPics implements IPreSptLoadMod, IPostDBLoadMod { - private modName: string = path.basename( - path.dirname(__dirname.split("/").pop() || "") - ); - - public async preSptLoad(container: DependencyContainer): Promise { - // Initialize anything if needed before SPT loads - } - - public async postDBLoad(container: DependencyContainer): Promise { - let settings: Settings; - let pkg: any; - - try { - pkg = require("../package.json"); - settings = require("../config/config.json"); - logger.info("Settings loaded successfully."); - logger.info(`Settings: ${JSON.stringify(settings)}`); - } catch (err) { - logger.error("Failed to load config.json or package.json", err); - return; - } - - const modPath = preSptModLoader.getModPath(this.modName); - logger.info(`Mod path: ${modPath}`); - - const folderPaths = { - anime: path.join(modPath, "res", "anime"), - custom: path.join(modPath, "res", "custom"), - main: path.join(modPath, "res", "main"), - realistic: path.join(modPath, "res", "realistic"), - }; - - try { - if ( - !settings.anime && - !settings.custom && - !settings.main && - !settings.realistic - ) { - logger.info( - "All folder usage settings are false. No images will be changed." - ); - return; - } - - let filepath = ""; - if (settings.anime) { - filepath = folderPaths.anime; - } else if (settings.custom) { - filepath = folderPaths.custom; - } else if (settings.main) { - filepath = folderPaths.main; - } else if (settings.realistic) { - filepath = folderPaths.realistic; - } - - this.loadImages(filepath, settings); - logger.log( - `${pkg.name} [LOADED]: Traders Looking Fire Now!`, - LogTextColor.BLUE - ); - } catch (err) { - logger.error("An error occurred during postDBLoad execution", err); - logger.error(err.stack); - } - } - - private loadImages(filepath: string, settings: Settings): void { - logger.info(`Loading images from: ${filepath}`); - - fs.readdir(filepath, (err, files) => { - if (err) { - logger.error(`Error reading directory: ${filepath}`, err); - return; - } - - files.forEach((file) => { - const traderName = path.basename(file, path.extname(file)); - try { - if (settings.updateAllTraders) { - this.changeTraderImage(traderName, settings, filepath); - } - } catch (error) { - logger.error( - `Error processing image for trader ${traderName}: ${error.message}` - ); - } - }); - }); - } - - private changeTraderImage( - traderName: string, - settings: Settings, - filepath: string - ): void { - const imageFileName = `${traderName}.${settings.extension}`; - logger.info(`Changing image for ${traderName} to ${imageFileName}`); - imageRouter.addRoute( - `/files/trader/avatar/${traderName}`, - `${filepath}${path.sep}${imageFileName}` - ); - } -} - -export const mod = new TraderPics(); diff --git a/profiles/Multiplayer/modlist.txt b/profiles/Multiplayer/modlist.txt index 86e523b..f284e8d 100644 --- a/profiles/Multiplayer/modlist.txt +++ b/profiles/Multiplayer/modlist.txt @@ -2,9 +2,9 @@ +Unsorted_separator +Version 2.0.4_separator +Backburner_separator ++Trader Images +Config Files +Modlist Addons_separator -+Merks Trader Image Swicher +Tools & Debugging_separator +Headshot Darkness +Smoke Rework diff --git a/profiles/Server/modlist.txt b/profiles/Server/modlist.txt index 994e52e..48ba706 100644 --- a/profiles/Server/modlist.txt +++ b/profiles/Server/modlist.txt @@ -1,9 +1,9 @@ +Unsorted_separator +Version 2.0.4_separator +Backburner_separator +-Trader Images +Config Files +Modlist Addons_separator --Merks Trader Image Swicher +Tools & Debugging_separator -Headshot Darkness -Smoke Rework