I can't tell you the number of times that titles have been released with howlers like "check online friend status every 60th of a second" (via a REST request). Use of Denuvo would likely follow that . . . pattern.
I've never seen a contract for Denuvo, but I've seen enough similar ones to extrapolate a bit. I suspect that it contains some provision to guarantee a certain number of days before a crack is released. If that's the case, it would make sense that they would stipulate/strongly recommend that checks be littered throughout the codebase, triggered by pre-defined operations. And I could see developers putting some of these operations in the core gameplay loop, not foreseeing the requirement to run a DRM check each time it is triggered.
Plus, it's usually patched out after a certain number of days, so there's probably not too much incentive to worry too much about performance.
Not apologizing for crappy behavior, but I can understand how it happens.
When they make a promise to the developers that "this game won't be cracked for X days/weeks" what they are saying is they are putting in so much extra code that it will take the crackers that much time to reverse engineer it. It's basically "we are adding this much busywork to your game". When some AAA publisher opts for the longest possible length it turns into a performance impacting amount of busywork.
I wish more game companies would then ship the un-denuvoed version once the main version was cracked and released on pirate sites. Just do it quietly in a patch with a bullet point of " * slightly improved performance".
Sometimes it's not very benign, there has been more than one example of a game with noticeably improved performance once cracked to remove it.
Picture this: you have a 50-100K+ of scientific equipment. It plugs into a computer via usb (if you are lucky), parallel, serial, or something proprietary (if you are unlucky). Now you need a special piece of software to run said hardware. Of course that software has to have a physical hardware liscense key, because the expensive hardware isn't enough, it too can be usb (you hope) but parallel can be found. You also have a software license on served by the lowest budget server in a foreign country, that randomly pings to make sure you aren't using it on more than one computer. This can happen a few times an hour to a few times a month, and the software is completely unusable until that ping completes.
To complicate things, some companies do all of this, and also provide the computer that the equipment comes with. All the software is locked down to that computer, and any changes to the computer hardware (ram upgrades, new hard drive) cause the software to not boot at all.
And that kids is how some companies lock you into long term service agreements.
At least you own the hardware.
And so unnecessary since the expensive piece of test equipment is already a huge dongle. All of that DRM nonsense is making your life worse for no gain whatsoever. It's not good when people who bought the software legally (often for 6 figures) are looking into how to pirate it because they're losing valuable time on expensive equipment to your copy protection nonsense.
But this is less about copy protection than about the need to keep rogue (i.e., bot/malware) from being installed on the box.
The compiler could move the outer loops to the external CPU, and leave the inner loops to the main CPU which is faster. Of course you would have to think about how you move data around, but in principle why wouldn't this work?
But to answer why this wouldn't work, I'm not particularly involved in cracking / reverse engineering, so maybe someone will chime in with better answers, but. If your code requires portions of it to run on my main CPU, can't I just black-box reverse engineer your external CPU?
And like you say, ARM CPUs are very cheap, so with an iFixit kit and some soldering skills, couldn't I just move your ROM over to a raspberry pi or etc?
Lastly, as a customer this heavily limits how I can use your software. So unless there are absolutely zero alternatives, I would just avoid purchasing this at all.
It reminds me of what iLok has been trying / tried to do in the music production space. Originally it was a DRM scheme that required a USB dongle to run any iLok protected audio plugins. It wasn't too long until iLok server cracks existed. And while I don't have any insights into iLok or companies that chose their dongle based protection, almost every single plugin maker that used the iLok dongle has now moved away from it and iLok now offer a dongle-less DRM scheme comparable to other activate-via-internet methods.
Edit: Another popular example in music production is Universal Audio plugins. These don't just offload parts of the application to a similar processor for DRM purposes, but actually have dedicated SHARC DSP processors which they offload the processing onto. These plugins have stuck around without angering the general community because it's not purely a copy-protection method. They actually remove significant amounts of processing from your main CPU onto their DSP processors. This has become less significant as CPUs have gotten better and better and requires a minimum $900 hardware investment up front. But it is still a more legitimate reason for a "dongle" than being just DRM.
Not really if the hardware costs $5 and the software $1000, wouldn't you agree? Also, the same hardware-design can be used for different software products.
> couldn't I just move your ROM over to a raspberry pi or etc?
Well, you could tamper-proof it. For example, wrap a thin copper wire around the board, and immerse the entire thing in epoxy. When someone tries to get to the CPU or flash memory, the copper wire breaks and the flash is reset. Or something like that.
I don't really agree. Like in my example of the iLok. The iLok was usually free with any compatible plugin purchase and was certainly cheap to produce. Customers still viewed it as a hardware product. Working at a different studio that day and you forgot your iLok? Tell your customer you can't work with them until you drive back home. Lost your iLok somewhere? You can't work until they next-day ship you a new key. It is not a software product.
> Well, you could tamper-proof it.
I'd say tamper-resistant, you can never really make it tamper-proof. Some youtubers will really surprise you with what they can break into. It also raises production costs more, as you're not buying an off-the-shelf device, and creates more potential customer issues. Is there any chance that if I drop the device, it triggers your tamper-resistant scheme? Etc etc.
It's always a game of cat and mouse with these things. The only way to make something completely un-copyable is to never release it. (even server-only applications can get bootlegged with enough dedication. Look at private MMO servers). Otherwise you're just making it more difficult to do, and have to decide if the tradeoff of deterring piracy is worth the additional costs to research/develop/produce and the potential anger it can cause actual paying customers. Every industry probably has it's own sweet-spot, I don't think it's something that has a one-size-fits-all answer. As much as I would love to say just abandon DRM/copy-protection altogether, there are probably situations where it is a net-positive for the producer.
Just a funny anecdote, but my main project is a SaaS application. We were in a meeting with one company who was demoing something for us, and we caught that they were using my app as one of their dependencies! One of our customers was reselling it to them, through a proxy, obviously against contract. Our company was still really small at the time, it got brought up with the CEO. He decided to just let it slide and to add something to the API response saying that the API was ours and what our website was.
https://cpl.thalesgroup.com/resources/software-monetization/...
In the entire history of software there was absolutely zero copy protection for a determined person. Not just commercial one, but think of FBI/NSA/CIA level of protection, and yet they failed spectacularly when a determined individual wanted to steal the secrets. Hence my above "if it can be read, it can be copied".
The battles between the companies and hackers in that scene were fascinating.
I guess these days you could have a USB-device that did useful calculations, so without it software would give the wrong/broken results. But I've not come across anything like that in recent times.