Simple way to stop people selling your freeware
Posted: 29 Apr 2008, 15:22
Just create a dummy gauge which pops up a bitmap when initialised, with the bitmap saying something like "This HS748 model and panel © Rick Piper and distributed as freeware from flightsim.com (etc), if you've paid money for this you're a right sucker, go ask for a refund". Clicking on the bitmap causes it to disappear. As a tamper-proof system the gauge which generates the bitmap should also generate a shared variable, which a portion of the other gauges are looking for in order to operate (like a gauge-based electrical system). If you're really feeling vindictive, the absence of the shared variable would cause a control lock or fuel cutoff to come into effect, to stop people simply removing it from the panel.cfg file.
I'm very new to C gauge programming so I'm not 100% certain this is pirateproof but I think it might be close to something useful! I don't know exactly how to make a gauge generate a bitmap which can't be shrunk down to zero size by changing the relevant line to "gauge00=HS7!copyright, 0,0,0" but I'm sure it can be done...
From the end-user's point of view, every time they load the aircraft, a message pops up in front of the panel reminding them that the aircraft's freeware made by <author>, and you just click on it to make it go away. I don't think that's intrusive...
edit: alternate idea: incorporate the 'welcome message' into a main flight instrument, and require the user to click on it to activate the rest of the panel, in order to prevent the 'pirate' from minimising that instrument and substituting another in its place!
I'm very new to C gauge programming so I'm not 100% certain this is pirateproof but I think it might be close to something useful! I don't know exactly how to make a gauge generate a bitmap which can't be shrunk down to zero size by changing the relevant line to "gauge00=HS7!copyright, 0,0,0" but I'm sure it can be done...
From the end-user's point of view, every time they load the aircraft, a message pops up in front of the panel reminding them that the aircraft's freeware made by <author>, and you just click on it to make it go away. I don't think that's intrusive...
edit: alternate idea: incorporate the 'welcome message' into a main flight instrument, and require the user to click on it to activate the rest of the panel, in order to prevent the 'pirate' from minimising that instrument and substituting another in its place!