Hi
hope this helps someone:
Some protections work OK from a mounted image if your physical cd drive is disabled (e.g. GTL & BF 2142).
To save you having to do this in device manager you can do this automatically using a microsoft tool, devcon.
Now, devcon can do all sorts of stuff, so USE WITH CARE. I'd imaging it's possible to do something like disable all the devices on your system. So as ever, this is at your own risk etc etc etc.
Have fun!
hope this helps someone:
Some protections work OK from a mounted image if your physical cd drive is disabled (e.g. GTL & BF 2142).
To save you having to do this in device manager you can do this automatically using a microsoft tool, devcon.
Now, devcon can do all sorts of stuff, so USE WITH CARE. I'd imaging it's possible to do something like disable all the devices on your system. So as ever, this is at your own risk etc etc etc.
- Download the devcon tool from here
- The Zip package contains an ia64 and i386 version, so grab the i386 one & copy it to your windows\system32 folder.
- Devcon can show you the status of devices with the status command:
devcon status @ide\*
gets you the status of all ide devices.
For me, to get the status of my pioneer dvd drive it's
devcon status @ide\CDROMPIONEER*
Have a play with that until you're happy you can select the right device to enable/disable. - Disabling & enabling devices are done with the disable & enable commands (duh ) So to disable, then enable my dvd drive I'd do:
devcon disable @ide\CDROMPIONEER*
devcon enable @ide\CDROMPIONEER*
You can have device manager open while you do this & see the little red x appear when the device is disabled. - All you need then is a small batch file to call disable, the game exe then enable. Here's mine, but your device names & battlefield path will be different. The % parameters are for passing the ip address of the server.
start /wait /B devcon disable @ide\CDROMPIONEER*
start "battlefield" /D"E:\Games\Battlefield 2142" /wait /B "E:\Games\Battlefield 2142\BF2142.exe" +menu 1 +fullscreen 1 %1 %2 %3 %4 %5 %6
start /wait /B devcon enable @ide\CDROMPIONEER*
Have fun!
Comment