Or to be more precise: "How do I search for certain references when browsing through source code for each engine in ScummVM?"
It recently dawned on me (with help from somebody else elsewhere) that it's possible to adjust the flag regarding copy protection for the Cine engine within a certain file in the source, so I thought, "well, if the Future Wars protection isn't going to be officially removed anytime soon, I might as well make my own personal build which will kill it". ^_^
However, I also recall having a lot of trouble with the protection in GOB titles (Gobliiins, Ween et al) and so was looking to see if I could disable that too. But I'm having a hell of a time finding any copy protection references in any of the GOB engine source files. Is there an easier way of doing this, or is there in fact no way to kill the protection even by source-modification?
Thanks.
How to search for certain references in source for engines?
Moderator: ScummVM Team
- eriktorbjorn
- ScummVM Developer
- Posts: 3561
- Joined: Mon Oct 31, 2005 7:39 am
Re: How to search for certain references in source for engin
In most (all?) games that ScummVM supports, the copy protection is handled by a game script, virtually indistinguishable from any other game script. There probably aren't many direct references to copy protection in the ScummVM source code, except for the cases where it goes out of its way to disable it.marzipan wrote:But I'm having a hell of a time finding any copy protection references in any of the GOB engine source files. Is there an easier way of doing this, or is there in fact no way to kill the protection even by source-modification?
Re: How to search for certain references in source for engin
Lure hardcodes the copy protection. It's disabled by default, anyway.eriktorbjorn wrote:In most (all?) games that ScummVM supports, the copy protection is handled by a game script, virtually indistinguishable from any other game script.
- lazylazyjoe
- Posts: 131
- Joined: Mon Oct 01, 2007 4:14 pm
I would imagine that it would be treated like an ordinary event that needs to be triggered in order to continue. (Like, needing to get a key, before your character can open a door.) So, you would have to figure out what variable to alter, and also what value to assign it. This would involve a look in the source code/script of the game. Or perhaps some RE'ing and much testing.
Thus, it would be a game specific hack, not an engine hack. This is just a guess based on my limited coding experience, so correct me if I'm wrong.
Thus, it would be a game specific hack, not an engine hack. This is just a guess based on my limited coding experience, so correct me if I'm wrong.