How to remove superfluous Custom Data from an SWF mod you've downloaded (1 Viewer)

SyntaxTerror

ALL GLORY TO THE HYPNOTOAD!
Admin
Forums Moderator
RM Moderator
Content Creator
Joined
Jul 24, 2014
Hello.

It can be annoying to create a character and suddenly see the background change, and/or HIS clothes, penis, skin colour, etc. and/or HER clothes, hair, accessories, etc. because you've loaded an SWF mod that has its own embedded custom data.
For example, if you load Mio Dynamic Hair 1.0, the background will be replaced by the base game classroom one, HIS clothes and penis will change, and HER clothes and accessories will be removed (it has been solved using this method in v. 1.1).

I know there are Loader add-ons like moreclothing that allow to choose only the clothes you want in a mod, but some people don't use that add-on (or even the Loader, like me 😳) and want another method.
You could ask for a revision of the mod, but you'd need a modder who is able and willing to do that.

There is actually a simpler method, explained in detail by RokPhenix RokPhenix in his Use FFdec to make mods tutorial, which I'm going to reproduce here because you only need to do a few things (you can still read his excellent thread if you want to learn how to edit existing SWF mods, or check How to make SWF mods using free tools if you want to make your own).

This is how to do it quickly:
  1. Download and install JPEXS decompiler (it is free, open source, and runs on Windows, Linux and macOS).
    01.jpg
    (click images to enlarge)​
  2. Open JPEXS and open the SWF mod.
    02.jpg
  3. In the left window, open the folders scripts and SDTMods, open the file ModPackage, then click on Edit ActionScript.
    03.jpg
  4. Search for the line (Ctrl+F) containing this.charData = " (it should be near line 220, depending on the complexity of the mod).
    04.jpg
  5. Delete or replace the value of this.charData. It should begin with double straight quotes and end with double straight quotes and a semicolon (an empty value will be ""; like on the image below). This syntax is very important, otherwise the mod will not work.
    When this is done, save the ActionScript, then save the SWF.
    05.jpg

  6. The SWF is ready to be used, with no superfluous Custom data.
    Super_Deepthroat_InkBZv7cGD.png
 

Users who are viewing this thread

Top


Are you 18 or older?

This website requires you to be 18 years of age or older. Please verify your age to view the content, or click Exit to leave.