Skip to content

Instantly share code, notes, and snippets.

@kairusds
Created January 19, 2024 04:52
Show Gist options
  • Save kairusds/354606e89f982092eea7aa06679ff862 to your computer and use it in GitHub Desktop.
Save kairusds/354606e89f982092eea7aa06679ff862 to your computer and use it in GitHub Desktop.
Remove Discord Rich Presence from Salsicha / Private AQW servers on PC
  1. Close the private server you're playing on first.
  2. Install the latest release of ffdec for your operating system.
  3. Download the portable launcher (the No Install Required button) for the private AQW of your choice (RedHero, RedAQ, etc.).
  4. Extract the portable launcher's files somewhere.
  5. Open ffdec.
  6. Ignore all the dialogs that will appear at first, then click Open at the top left of the ffdec window.
  7. Find the location of where you extracted the files from step 3 and choose the Desktop.swf file.
  8. Click the + icon on the left of the scripts folder icon from the left side of the screen, and once it's expanded, click the + icon from the left of Device again, and finally click AIRDesktop from the expanded menu.
  9. Click Edit ActionScript on the bottom middle of the screen and press OK.
  10. Replace the code inside of the editor with this code:
package Device
{
   public class AIRDesktop extends DeviceBase
   {
       
      
      public function AIRDesktop()
      {
         Config.DEVICE_TYPE = "Desktop";
         super();
      }
      
      override public function get isDesktop() : Boolean
      {
         return true;
      }
      
      override public function setDiscordStatus(param1:Object) : void
      {
      }
   }
}
  1. Click Save at the bottom middle of the editor, the one right next to Cancel, press OK and click the Save at the top left of the window right besides Open.
  2. Launch the .exe file where you edited the Desktop.swf from and the Discord Rich Presence should be gone.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment