Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > C64 Coding > Cartridge protection
2025-05-23 03:55
DanPhillips

Registered: Jan 2003
Posts: 42
Cartridge protection

Armalyte Ultra cartridge:

Now, normally there's one "smart" guy making an attempt at adding anti piracy measures to a product, and "loads" of people then trying to break it.

I know we will go down the "custom" cart that probably won't be supported by vice...until we release a version that does.
Adding something like DMA or hardware decompression, would have to actually enhance the game in some way :)

But what else could be done?

Thought it might be an interesting challenge for who could come up with the best scheme, maybe we could do custom versions with different schemes and see who's gets cracked first ? :)

Discussion or DM...up to you

Cheers

Dan
 
... 11 posts hidden. Click here to view all posts....
 
2025-05-23 14:42
Spinball

Registered: Sep 2002
Posts: 89
You could add a display to the card, that shows random generated codes. These codes have to be entered at some places in the game. The codes are generated by the cardridge hardware and used to encrypt the game-data on the fly. The game-data (or parts of it) can only be decrypted on the c64-side with the correct code in memory.
2025-05-23 15:11
cadaver

Registered: Feb 2002
Posts: 1163
In seriousness, anything that makes the user hate you for inconvenience is probably not a good idea.

Also, if the cart was to include some serious HW enhancement like a blitter, it always creates the nagging question of whether the game could have been made the same on a bare C64 :)
2025-05-23 15:36
chatGPZ

Registered: Dec 2001
Posts: 11510
Quote:
I know we will go down the "custom" cart that probably won't be supported by vice...until we release a version that does.

Unless we are quicker of course :)

I wouldn't waste a lot of time on thinking this through. Pointless exercise :)
2025-05-23 17:31
Mason

Registered: Dec 2001
Posts: 467
Quote: Armalyte Ultra cartridge:

Now, normally there's one "smart" guy making an attempt at adding anti piracy measures to a product, and "loads" of people then trying to break it.

I know we will go down the "custom" cart that probably won't be supported by vice...until we release a version that does.
Adding something like DMA or hardware decompression, would have to actually enhance the game in some way :)

But what else could be done?

Thought it might be an interesting challenge for who could come up with the best scheme, maybe we could do custom versions with different schemes and see who's gets cracked first ? :)

Discussion or DM...up to you

Cheers

Dan


To be honest.. waste of time today. You make a protection and it will be cracked anyhow

Many people today support the developers and buy the games if they like it
2025-05-23 22:18
DanPhillips

Registered: Jan 2003
Posts: 42
To be clear...this is to make it a challenge and fun, not to actually stop the scene doing what it likes to do.

Sounds like...let it be cracked to run under Easyflash/GModN, detect it in a way that isn't obvious and apply a bunch of gameplay tweaks?
Don't want to make it too broken, cos if someone wants to buy it after trying it that would be great.

Who will find all tweaks 1st? Or disable the detection code? How many different versions of the detection code can there be?

Cheers

Dan
2025-05-23 22:29
Fungus

Registered: Sep 2002
Posts: 746
Well the best protection against disk cracking is to make the game use the cartridge banking in a way that uses enough memory to make not possible without removing something from the game.

The easiest way to protect the code is to checksum the contents and use breadcrumbs spread through the game to use it and to use indirect addressing to check things so it's not easily hunted.

The biggest deterrent, is wasting the crackers time. VMs are they way to go there with run time polymorphism.

All of that can be done without hassling legit customers. It's time consuming to implement and test however.
2025-05-23 22:35
soci

Registered: Sep 2003
Posts: 486
Quoting Krill
.oO( Run the entire game from Blackbox-FPGA-C-64 in the Cartridge, with C-64 in Ultimax mode. )

That's what I thought first. Just make sure the machine is only used for display and periphery and that the whole game executes on a SOC or microcontroller natively (no 6502 code). Even if there's no protection it's unlikely that it'll end up as a C64 release.
2025-05-24 08:59
Krill

Registered: Apr 2002
Posts: 3083
Quoting DanPhillips
this is to make it a challenge and fun, not to actually stop the scene doing what it likes to do.
You should go for novel approaches either way to make it as hard as possible (that's where the fun is), not redo old tricks.
(Plus gameplay tweaks depending on some detection are dangerous, as yes, they can paint a wrong picture of the actually intended gameplay, and false detection of a "pirate copy" can never be ruled out.)

Otherwise it just looks like a thinly veiled marketing stunt.
2025-05-24 16:18
chatGPZ

Registered: Dec 2001
Posts: 11510
Quote:
Otherwise it just looks like a thinly veiled marketing stunt.


I'd like to see a cartridge release that would actually make use of the cartridge in ways that benefit the game, rather than trying to make it hard to copy (that would be a side effect) for that matter.

If "no copies" is really what you are after, do what the "Mssiah" people did. It was cracked/dumped many many moons ago, and noone bothered to make a release, or add it in VICE, yet.
2025-05-24 17:08
tlr

Registered: Sep 2003
Posts: 1807
Quoting Fungus
The easiest way to protect the code is to checksum the contents and use breadcrumbs spread through the game to use it and to use indirect addressing to check things so it's not easily hunted.
Yes, and the checks should be completely independent implementations spread through out various stages of the game. Maybe there are uncommon crumb hideouts to explore?

If you are worried about breaking the game, just make a pretty obvious kill screen appear late in the game if badly cracked.
Quoting Fungus
The biggest deterrent, is wasting the crackers time. VMs are they way to go there with run time polymorphism.

Yes, this can be an interesting exercise to reverse engineer. Takes quite some time to implement though.
Previous - 1 | 2 | 3 - Next
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
visionvortex
krissz
St0rmfr0nt/Quantum
Guests online: 227
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Codeboys & Endians  (9.7)
4 Mojo  (9.6)
5 Coma Light 13  (9.6)
6 Edge of Disgrace  (9.6)
7 Signal Carnival  (9.6)
8 Uncensored  (9.5)
9 Wonderland XIV  (9.5)
10 No Bounds  (9.5)
Top onefile Demos
1 Nine  (9.7)
2 Layers  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.5)
6 Scan and Spin  (9.5)
7 Onscreen 5k  (9.5)
8 Grey  (9.5)
9 Dawnfall V1.1  (9.5)
10 Rainbow Connection  (9.5)
Top Groups
1 Artline Designs  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Performers  (9.3)
5 Censor Design  (9.3)
Top Diskmag Editors
1 Magic  (10)
2 Jazzcat  (9.5)
3 hedning  (9.2)
4 Elwix  (9.1)
5 Peter  (9.0)

Home - Disclaimer
Copyright © No Name 2001-2025
Page generated in: 1.998 sec.