img



img

Galaxy Obfuscator


By: _ForgeUser7077863
Addon | img 702




Description

___________________________________________________________________________________________________________________________

Galaxy Obfuscator is a simple program that can obfuscate your script, making it unreadable by humans. I does not change how the script works.

Galaxy Obfuscator will:

  • Remove all comments and unnecessary whitespaces
  • Replace all identifiers (variable names, functions) with random sequences of l (lowercase L) and I (uppercase i)
  • Obfuscates all integers and strings

Galaxy Obfuscator has GUI and works in a fully automated fashion. After selecting a map you want to obfuscate, it will create in the same directory a file named <YourMapName>Obfuscated.SC2Map. You can also run it from the command prompt, with your map name as the argument.

The program will change only the "MapScript.galaxy" and "Triggers" files in the map. It will not obfuscate any libraries nor dependencies you may be using.

Note that an obfuscated map file will crash the editor if you try to open the triggers in it.

There is an example of Galaxy Obfuscator in action (it is the obfuscated Hello World script):

include "TriggerLibs/NativeLib"
void
lIIIIIIIlIlIIlII(){libNtve_InitLib();}trigger
IIIIIIllIIlIlIIl;bool
IIIIlIIIlllIllII(bool
lIIIIIIllIlIIIll,bool
lllIllIIllllllIl){if(!lllIllIIllllllIl){return
true;}TriggerDebugOutput(01,StringExternal("x50x61x72x61x6dx2fx56x61x6cx75x65x2fx39x42x36x30x39x30x31x44"),true);return
true;}void
lllllIIIIlIlIlll(){IIIIIIllIIlIlIIl=TriggerCreate("x49x49x49x49x6cx49x49x49x6cx6cx6cx49x6cx6cx49x49");TriggerAddEventMapInit(IIIIIIllIIlIlIIl);}void
IIlIIllIllIIlllI(){lllllIIIIlIlIlll();}void
InitMap(){lIIIIIIIlIlIIlII();IIlIIllIllIIlllI();}



About Project

Created: October 5th 2023

Updated: October 5th 2023

Project ID: 66149

License: All Rights Reserved

__________________________________________

Game Versions:

1.01.03

1.01.03

1.01.03

1.01.03

1.01.03

__________________________________________

Flavors:

WoW Retail

__________________________________________

Categories

Companions

Battle

__________________________________________

Main File

_ForgeUser7077863_Galaxy Obfuscator.zip
  • Release
  • October 5th 2023

    __________________________________________

    Recent File

    _ForgeUser7077863_Galaxy Obfuscator.zip
  • Release
  • October 5th 2023

    __________________________________________

    Members

    img
    _ForgeUser7077863
    Owner

    __________________________________________

    Report