Announcement: Be excellent to each other.


Caravel Forum : DROD Boards : Bugs : Mac Demo Versions Don't Realise The Full Version's Installed
New Topic New Poll Post Reply
Poster Message
Mattcrampy
Level: Smitemaster
Avatar
Rank Points: 2388
Registered: 05-29-2003
IP: Logged
icon Mac Demo Versions Don't Realise The Full Version's Installed (+1)  
Thought you all should know:

There appears to be a bug in the Mac version that crops up if people install the demo, play it, then install the full version on top of it. The Mac version can incorrectly assert that it's the demo version.

The solution appears to be to remove the ~/Library/Application Support/Caravel/ directory and re-run the full version. It is also prudent to export your player.

Can anyone reproduce this?


____________________________
What do you call an elephant at the North Pole?
Click here to view the secret text

08-09-2007 at 05:03 AM
View Profile Send Private Message to User Send Email to User Show all user's posts Quote Reply
trick
Level: Legendary Smitemaster
Rank Points: 2580
Registered: 04-12-2003
IP: Logged
icon Re: Mac Demo Versions Don't Realise The Full Version's Installed (+1)  
I'm guessing this is caused by the fact that the demo and full version executables are identical, so the executable has to find other means to find out whether or not it's the demo version. In Linux, the executable can be separated from the data and resource files as well, and the location of those depends on whether or not you're running the demo version, so you can't check them to find out. Both the Linux and Mac versions (and FreeBSD, etc) solves this in two ways: First, if the executable is run with a 'demo' argument, we enable demo mode, and also if the name of the executable itself contains the string 'demo' anywhere in it. The Linux version is usually run though a wrapper script that sets up the environment to find libraries and such anyway, so the demo version of that passes the demo argument, and the demo executables have a '-demo' suffix too just in case (Someone could "work around" this in Linux too by renaming the executable and not passing the demo arg, but this obviously wouldn't magically give them the full version, it'd just similarly mess things up if they decide to buy the real full version sometime in the future).

So, I can see a couple ways to fix this for Macs: Easiest, if possible, is to just rename the executable (inside the app?) or run it through a script that passes the arg, but I'm fairly sure I've mentioned this before so I'm not sure if the Mac version already does this, in which case it doesn't seem to work. It could also find its resources (ie read-only data) and examine those somehow to figure out if it's demo data or not, which should be more straightforward on a Mac since everything's in the app bundle anyway (iiuc, though don't take my word for it perhaps since what I don't know about macs could fill huge libraries). Another option is to simply do two separate builds of the executable: One for the demo version, and one for the full version.

08-11-2007 at 05:18 PM
View Profile Send Private Message to User Send Email to User Show all user's posts Quote Reply
mrimer
Level: Legendary Smitemaster
Avatar
Rank Points: 5474
Registered: 02-04-2003
IP: Logged
icon Re: Mac Demo Versions Don't Realise The Full Version's Installed (0)  
I haven't heard about this issue happening for anyone since 3.1 was released around October, so I'm unstickying this post unless we need to revive it again.

[Last edited by mrimer at 05-25-2008 02:01 AM]
05-25-2008 at 01:39 AM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores This architect's holds Quote Reply
vaaht
Level: Roachling
Rank Points: 12
Registered: 10-09-2009
IP: Logged
icon Re: Mac Demo Versions Don't Realise The Full Version's Installed (+2)  
I just had this problem happen to me and it took me about half an hour to find the solution in your forums (the bugs area isn't completely easy to find if you're assuming this is a bug with the Caravel Games ordering process and not the game itself).

Anyways, the fix posted worked for me: just delete the problem folder in the library (I went in and just deleted the one for DROD KDD as I have three of them installed), restarted the game, and it was no longer asking me to buy it. The other two games worked fine as I didn't install the demos for those.

:)
10-09-2009 at 07:39 AM
View Profile Send Private Message to User Show all user's posts Quote Reply
New Topic New Poll Post Reply
Caravel Forum : DROD Boards : Bugs : Mac Demo Versions Don't Realise The Full Version's Installed
Surf To:


Forum Rules:
Can I post a new topic? No
Can I reply? No
Can I read? Yes
HTML Enabled? No
UBBC Enabled? Yes
Words Filter Enable? No

Contact Us | CaravelGames.com

Powered by: tForum tForumHacks Edition b0.98.9
Originally created by Toan Huynh (Copyright © 2000)
Enhanced by the tForumHacks team and the Caravel team.