Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion: Forcibly trigger anti-piracy #183

Closed
mariomadproductions opened this issue Aug 29, 2018 · 9 comments
Closed

Suggestion: Forcibly trigger anti-piracy #183

mariomadproductions opened this issue Aug 29, 2018 · 9 comments

Comments

@mariomadproductions
Copy link

mariomadproductions commented Aug 29, 2018

I'd like to document some game anti-piracy features for The Cutting Room Floor, so it would be useful if there was a feature that causes the sort of things that DS anti-piracy code looks out for to be badly emulated on purpose.

@zeromus
Copy link
Contributor

zeromus commented Aug 30, 2018

try removing line 66-67 of slot1comp_rom.cpp and see if you can get them to trigger

@mariomadproductions mariomadproductions changed the title Forcibly trigger anti-piracy Suggestion: Forcibly trigger anti-piracy Aug 30, 2018
@mariomadproductions
Copy link
Author

Thanks, I'll try that.

@mariomadproductions
Copy link
Author

mariomadproductions commented Sep 15, 2018

Finally got round to doing this. I used commit e09f2699140f8feb6875c9739637ef346ac37241 and didn't edit any code.

1>------ Build started: Project: DeSmuME, Configuration: Debug x64 ------
1>  Cannot find git or git.cmd, check your PATH:
1>  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin;C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\\bin;;C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\tools;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\ide;C:\Program Files (x86)\HTML Help Workshop;;C:\Program Files (x86)\MSBuild\14.0\bin\;C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\;;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\OMake\bin\;c:\devkitPro\msys\bin;C:\ProgramData\Oracle\Java\javapath;C:\Python27\Lib\site-packages\PyQt4;C:\Python34\Lib\site-packages\PyQt5;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Python33\Lib\site-packages\PyQt4;C:\Python33\;c:\Program Files (x86)\Intel\iCLS Client\;c:\Program Files\Intel\iCLS Client\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\IVI Foundation\VISA\WinNT\Bin;C:\Program Files (x86)\Google\Google Apps Sync\;C:\Program Files (x86)\Google\Google Apps Migration\;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files (x86)\Skype\Phone\;C:\Program Files (x86)\Smart Projects\IsoBuster;C:\Program Files\PuTTY\;C:\Program Files\Nintendo\Nintendo Dev Interface;C:\Program Files\Nintendo\HostBridge;;C:\Program Files\Mu\bin;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Users\David\AppData\Local\Programs\Fiddler;
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(123,5): error MSB3073: The command ""%windir%\Sysnative\cscript" /nologo /E:JScript "defaultconfig\make_scmrev.h.js"
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(123,5): error MSB3073: :VCEnd" exited with code 1.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

The tutorial didn't say git had to be installed, so...

@zeromus
Copy link
Contributor

zeromus commented Sep 15, 2018

install tortoisegit

@zeromus
Copy link
Contributor

zeromus commented Oct 25, 2018

(FYI, git no longer needs to be installed to build desmume)

@zeromus
Copy link
Contributor

zeromus commented Oct 31, 2018

waiting for @mariomadproductions to confirm whether this hack triggers the AP

@kbarkevich
Copy link

@zeromus I tried it, it does indeed trigger an anti-piracy measure for Mario & Luigi: Bowser's Inside Story (it locks the controls on the save select screen.)

@zeromus
Copy link
Contributor

zeromus commented Jan 12, 2019

I don't think I want to add an option for this.. I glanced around and can't see a place I'm happy adding it. Since the code is easy to hack, maybe we can leave it that way. If you insist, I can add a command line parameter, since there isn't any need to change it at run-time.

@mariomadproductions
Copy link
Author

I would appreciate it if you could add a command line parameter for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants