from Hacker News

Show HN: Protecting Your Software Assets Using OpenGL

by balls2you on 6/3/15, 4:15 PM with 20 comments

  • by Mithaldu on 6/3/15, 7:28 PM

    How often do game assets get stolen? From my perspective copy-cats emulate the style and the gameplay, but never outright steal assets; and players who do piracy copy the game wholesale, so that encryption does nothing there. All this kind of encryption does is mess with players who fancy customizing things.
  • by ryandrake on 6/3/15, 9:10 PM

    The pirates will never pay for your software, and will always work around your countermeasures, no matter how complicated or expensive they were to develop. You're better off investing that money/effort into features that your actual paying customers will pay more for.
  • by datenwolf on 6/3/15, 7:44 PM

    And what exactly is preventing me from injecting my custom libGL.so that hooks onto the `glDraw…` calls, and downloads the current contents of the bound textures using `glGetTexImage`?

    Also OpenGL debugging tools do exist and they work by hooking OpenGL and using the OpenGL accessor functions to show you the contents of every OpenGL object.

  • by billconan on 6/3/15, 7:48 PM

    I think I can hook the opengl driver and get the shader source code and the encryption key. and redo the decryption on cpu.