From fb0c2020f87f5412b16b9823dbd417f985d98565 Mon Sep 17 00:00:00 2001 From: OlegTheSnowman <123775785+OlegTheSnowman@users.noreply.github.com> Date: Sat, 11 Jul 2026 00:06:58 +0300 Subject: [PATCH] Fix broken auto-updater path, sync readme with updator.bat filename CheckSoundpackVersion's auto-launch of updator.bat was resolving to worlds\updator.bat (dir + one "..") instead of the repo root where the file actually lives (dir + three ".."), so the automatic update prompt silently failed to launch anything. Verified the corrected path resolves to the real file. Also fixed readme.md referring to "updater.bat" when the actual shipped file is "updator.bat". --- cosmic rage/worlds/plugins/CosmicRage.xml | 4 +++- readme.md | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/cosmic rage/worlds/plugins/CosmicRage.xml b/cosmic rage/worlds/plugins/CosmicRage.xml index d2bd085..d263cf3 100644 --- a/cosmic rage/worlds/plugins/CosmicRage.xml +++ b/cosmic rage/worlds/plugins/CosmicRage.xml @@ -116,7 +116,9 @@ Note("You are currently running version " .. tostring(CURRENT_SP_VERSION).." of ColourNote("yellow", "", "Warning: Your soundpack is " .. version_diff .. " version(s) out of date. We are now on version " .. user_version .. " of the soundpack.") ColourNote("yellow", "", "Launching the updater...") ppi.play(dir.."sounds/ogg/general/comms/announcement.ogg", 0, 0, 100) - local bat_path = dir .. "..\\updator.bat" + -- dir is the world's own folder (cosmic rage\worlds\Cosmic Rage\); + -- updator.bat lives at the repo root, three levels up from there. + local bat_path = dir .. "..\\..\\..\\updator.bat" -- Signature is (filename, params, defdir, operation, show) - this was -- previously passing "open" as the filename, so it never actually -- launched cmd.exe/updator.bat at all. diff --git a/readme.md b/readme.md index b85475e..44091e7 100644 --- a/readme.md +++ b/readme.md @@ -17,7 +17,7 @@ Getting the soundpack up and running is simple: 2. **Extract the Files**: Extract the downloaded zip file to a location of your choice. * **Important**: Ensure the extracted folder does not contain any special or non-English characters (e.g., ö, ğ, ü) as this can cause issues with MushClient. 3. **Run the Installer**: Locate the `installer.bat` file within the extracted folder. Right-click it and select "Run as administrator". Wait for the installation process to complete. -4. **Update the Soundpack**: To update the soundpack in the future, simply run `updater.bat` as an administrator. +4. **Update the Soundpack**: To update the soundpack in the future, simply run `updator.bat` as an administrator. 5. **Restart MushClient**: Close and reopen MushClient for the soundpack to be loaded. ## Connecting to Cosmic Rage