I've been using klik products since klik 'n' play, so I'm quite advance on this, but I need some help making this one thing I couldn't figure out. So, I have a game I'd like to burn on some CD's and sell to my friends, but without protection that would mean that I sell one copy and the they'll copy it to each other. So I'm thinking about either the game would require the cd in tray to work or so that the game would paly from the cd. I can make the sevond one work BUT I can''t figure out how can I make it find the games ini files from the palyers hard disk, since the player can install the anywhere... Am I missing something really basic here or what?
So alltogether, I need help making either the cd required on tray or game played from cd SO THAT IT CAN USE THE INSTALLED INI FILES FROM HARD DISK. I'm using MMF2 dev
Instead of hard coding the path to the ini file, you can use Apppath$ [plus symbol] "data.ini". Apppath$ is the game directory, wherever the exe is being run from.
Originally Posted by nim Instead of hard coding the path to the ini file, you can use Apppath$ [plus symbol] "data.ini". Apppath$ is the game directory, wherever the exe is being run from.
This I do know, but it doesn't solve the problem that the exe file is going to be in the CD and the ini files on the HARD DISK.
Originally Posted by Vilsuu I can''t figure out how can I make it find the games ini files from the palyers hard disk, since the player can install the anywhere...
Does the player install the game, or what? Explain further about how the player saves these ini files, or installs the game, or whatever you were trying to say above.
I'm thinking that the File object and a little creative thinking might help you in the end. If you're trying to stop people from copying the CD then I think you're wasting your time.
Actually I got it already working so that the game is played from the cd after you have installed the needed ini files to you computer. I know it isn't much of a protection, but my friends ain't any potential hackers, and this prevents it to be played WITHOUT a disk. Of course they can copy files to another disc and play it like that, but I know that for them, it too much hassle Thanks to you all anyways (:
Agreed with the last guy. For some reason, I really, REALLY dislike the energy it takes to put a disc in. I'm not joking. I always legitimately purchase my games, but putting disc in (even in consoles) annoys me. :/
You could just ensure that the appdrive$ doesn't equal "C:" then use the file object to test file modification date and file writability on any random file on the CD. So long as it reports unwritable and the modification date matches, I think you might have a secure game. Maybe. lol.
ChrisD> Employer: Say, wanna see a magic trick?
ChrisD> Employee: Uhh… sure, boss.
ChrisD> Employer: Your job! It just disappeared! Pack your things and leave! Pretty good trick, huh?