1. Hey! Guest! The 36th GMC Jam will take place between February 27th, 12:00 UTC - March 2nd, 12:00 UTC. Why not join in! Click here to find out more!
    Dismiss Notice

[Tool] Protect your shaders

Discussion in 'Game Design, Development And Publishing' started by gengo, Jan 23, 2020.

  1. gengo

    gengo Member

    Joined:
    Jan 23, 2020
    Posts:
    8
    Download: https://github.com/GengoStar/HideGMShaders/releases
    Github: https://github.com/GengoStar/HideGMShaders
    Versions: GM:S2

    Maybe youve already heard of this, but GM:S2 stores your shaders in plain text inside win files, making them easy to extract for anyone interested
    upload_2020-1-23_13-14-3.png
    Turns out that the game doesnt use any of that on windows export (it uses binary HLSL11 code instead) and I made a software that removes it:
    [​IMG]
    Its easy enough to use too
    [​IMG]
    I made this for friends last year but didnt post it because I only use discord
     
    Last edited: Jan 23, 2020
  2. rIKmAN

    rIKmAN Member

    Joined:
    Sep 6, 2016
    Posts:
    5,043
    Not sure where this stands with regards to the EULA (Do not copy, modify, merge, distribute, translate, rent, lend, lease, reverse engineer, decompile, disassemble or create derivative works of.. etc), but this seems like a handy tool to remove the plain text inclusion of shaders from GMS2 games which annoys a fair few people and should probably be done by GMS2 internally as standard.

    Good stuff.
     
    Amon and nacho_chicken like this.
  3. nacho_chicken

    nacho_chicken Member

    Joined:
    Jun 21, 2016
    Posts:
    463
    Excellent tool! GMS storing shaders in plain-text really bothered me. I personally won't be using it until potential EULA issues are addressed, but it's great that this exists. If I had one critique, it would be that you should have an option to flood-fill with either 0x00 or 0xFF instead of repeating "HA"/0x4841.
     
  4. gengo

    gengo Member

    Joined:
    Jan 23, 2020
    Posts:
    8
    Thanks. I was given a OK to post this by a moderator so should be good?

    Maybe, yes - friends wanted that because Risk of Rain
    upload_2020-1-24_2-13-21.png
    Shows that shaders were before but youre not getting any
     

Share This Page