Go Back   FileForums > CD & DVD > CD/DVD Copy Protections & Utilities
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 27-03-2006, 07:31
Xophile Xophile is offline
Registered User
 
Join Date: Jan 2006
Location: Neverland
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
Xophile is on a distinguished road
Exclamation How do I make an icon that mounts and starts a game?

Hi!

Is there a simple way to:

1. Mount an image/mini image
2. Start up a game
3. Unmount the image when finished playing

Number 1-2 is the most important but 1-3 would be awesome.

I just can't get Daemount to work with right-click mount/unmount nowadays.

Thanks!
Reply With Quote
Sponsored Links
  #2  
Old 27-03-2006, 07:50
Joe Forster/STA's Avatar
Joe Forster/STA Joe Forster/STA is offline
Senior forum member
 
Join Date: Nov 2000
Location: Hungary
Posts: 9,836
Thanks: 20
Thanked 342 Times in 224 Posts
Joe Forster/STA is on a distinguished road
I use batch files for this (and pretty much everything else ), using the command line interfaces of Alcohol 120% and Daemon Tools. To mount:
- Alcohol 120%: axcmd 1: /m:"filename"
- Daemon Tools: daemon -mount 0,"filename"
To unmount:
- Alcohol 120%: axcmd 1: /u
- Daemon Tools: daemon -unmount 0

Notes:
- You can find axcmd.exe and daemon.exe in the home directory of the installed software. Call them with a fully qualified filename: "C:\Program Files\Daemon Tools\daemon.exe [...]" or similar.
- These examples (un)mount the first emulated drive; that's what "1:" and "0" stand for. Use "2:" or "1" for the second drive etc.
- Always use fully qualified filenames, along with full path as specifying only the filename of the image may not work otherwise: for Alcohol 120% it definitely won't; for Daemon Tools, it works only if you're in the directory in which the image resides.
__________________
Joe Forster/STA
For more information, see the FileForums forum rules and the PC Games forum FAQ!
Don't contact me via E-mail or PM to ask for help with anything other than patches (or software in general) done by me, otherwise your request may be deleted without any reply!
Homepage: http://sta.c64.org, E-mail: [email protected]; for attachments, send compressed (ZIP or RAR) files only, otherwise your E-mail will bounce back!
Reply With Quote
  #3  
Old 27-03-2006, 10:54
Xophile Xophile is offline
Registered User
 
Join Date: Jan 2006
Location: Neverland
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
Xophile is on a distinguished road
Thank you kindly for that information!

I'll try it right away!

One thing though, can the .bat file automatically unmount the image when I'm done playing?
Reply With Quote
  #4  
Old 27-03-2006, 10:54
neptun neptun is offline
Member
 
Join Date: Dec 2004
Location: Bulgaria
Posts: 94
Thanks: 0
Thanked 1 Time in 1 Post
neptun is on a distinguished road
I recommend you to use Daemon Script.You can download it from daemon tools homepage.It works perfect for me.
Reply With Quote
  #5  
Old 28-03-2006, 04:26
Xophile Xophile is offline
Registered User
 
Join Date: Jan 2006
Location: Neverland
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
Xophile is on a distinguished road
Neptun:

I found out about Daemoun Script just a minute ago. It works perfect!

Although I'd like to use as few applications as possible, I really like to know how to make a simple batch-file (or script) that can do what I want in my second post?
Reply With Quote
  #6  
Old 28-03-2006, 06:55
Xophile Xophile is offline
Registered User
 
Join Date: Jan 2006
Location: Neverland
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
Xophile is on a distinguished road
This worked like a charm!

"C:\XXX\DAEMON Tools\daemon.exe" -mount 0,"X:\The Battle for Middle-Earth I\XXX.mds"
"X:\\The Battle for Middle-Earth I\lotrbfme.exe"
"C:\XXX\DAEMON Tools\daemon.exe" -unmount 0
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -7. The time now is 14:35.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com