Jump to content

Prevent cartridge to be played in emulator


Kruemelbrot

Recommended Posts

Hi,

 

how do I prevent cartridges to be played in the emulator and not in the real world? I know: I can ask ingame for some questions which can just be answered, if you are at the location.

 

But if I don't have such questions: Is there any option I can use to prevent the cartridge to be played and finished in the emulator?

 

Thanks and regards

Krümelbrot

Link to comment

(1) Create a string variable called DeviceID

(2) On Cartridge start up, set DeviceID to ‘Env.DeviceID’ This is a special sytem variable that contains the type of player

(3) Test DeviceID to see if it contains “DeskTop” . If it does, the player is using the Emulator. Display an appropriate message and turn all zones invisible/inactive.

Link to comment

For how to implement something like this, do a search on the forum for "Env.DeviceID". It should give you some good hits as this has been discussed before.

 

There was also a thread about a script called "Emul8Not". Try that, too.

 

In the end, it does mean modifying the cartridge code by hand. You're not going to find an option for this in the Builder.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...