| Main > Software Forum |
| MameWah vs PCGames (I understand about the LNK files, however ....) |
| << < (2/4) > >> |
| unclet:
I tried to place the Daemon Tools command for mounting and unmounting in a BAT file, then set up a LNK to that BAT file, but I could never find the correct syntax to use in the BAT file. I tried the following command in the BAT file for mounting: C:\Program Files\DaemonTools\daemon -mount 0, "C:\PC Games\[mygame].iso" ... but I get a "C:\Program" can not be found error. I then rapped the first part in quotes like the following: "C:\Program Files\DaemonTools\daemon" -mount 0, "C:\PC Games\[mygame].iso" ... and that did not work since it complained about the "mount" text now. Anyway, I tried a bunch stuff (including using the START, CMD, /WAIT, etc.. command line commands) but no combination seems to work. Here is the information which I have. Can someone tell me how to produce a BAT file which would work: my game location = C:\PC Games\[mygame].iso Daemon Tools location = C:\Program Files\DaemonTools\daemon I guess the BAT file does not need to have the "unmount" command in it since I can set up MameWah "post-emulator command line" to do this ..... however, if there is a way to have all commands located in the BAT file, then that would be great. PS: Is creating a BAT file the real way to solve my problem (which is trying to get MameWah setup to launch a PCGame which starts immediately when mounting the CD occurs only......) Is there a way Daemon Tools can mount a CD but not execute the Setup.exe file on the disk which actually makes the CD start)? This way I could mount the CD and know it will not start automatically, then simply have a LNK to the actual game EXE to start it. I looked through Daemon Tools application and could not find any setting to indicate how to do this ... |
| liquid8:
daemontools is not what is autorunning your cd, it's the windows autorun feature that is doing that. It just so happens that you have "inserted a cd" when you mount it, therefore, Windows does its autorun just like if you would insert an actual cd. Here is an article on disabling autorun: http://www.annoyances.org/exec/show/article03-018 Regarding running it from Mamewah, you should be able to create a .bat file that can mount the cd, then run the executable. Just out of curiosity, what are you trying to play, that doesn't need to be installed? :) |
| Howard_Casto:
--- Quote from: liquid8 on May 11, 2006, 03:58:53 pm ---Just out of curiosity, what are you trying to play, that doesn't need to be installed? :) --- End quote --- A better question would be what are you trying to run that doesn't require install and yet you can't simply copy to the harddrive (like the digitla leisure games)? If you have installed the game but it requires the cd to run that isn't an issue either. I've yet to find a game that doesn't have a no cd hack floating around. |
| unclet:
Thanks for the link .... I will look into turning off Auto-Run on my PC. I was told holding down the "Shift" key while inserting a CD would disable Auto-Run for that CD ..... and I was hoping that Daemon Tools had some setting which would mirror this functionailty, rather than me having to turn of Auto-Run altogether .... oh well. I also read somewhere that after selecting the "Properties" associated with a CD-ROM drive icon, I could select the Autoplay Tab and simply turn it off, however, if I use Daemon tools to mount the disk then it creates a "new" CD-ROM drive on my system, so it seems I can not set the Autoplay tab setting manually since the drive does not exist currently. Anyway, I have multiple "You Dont Know Jack" CDs which are already installed, but require the CD to be in the CD-Rom to be executed. I created ISO images of these CDs so I can have the image on my harddrive only which could be mounted (ie: inserted) with Daemon Tools. I never said the CD program did "not" have to be installed, but rather I had a problem setting up MameWah to recognize that the disc starts automatically .... I guess if I have to turn off Auto-Run completely, then I will do that .... I guess it really is not that big of a deal... Thanks for the information |
| liquid8:
understood, in that case, here are the command line options for daemon tools. Again, you would have to create a .bat file that will mount/unmount the cd, before running the executable, something like: runcd.bat --- Code: --- daemon.exe -mount 0,"c:\My Images\YDKJ.cue". c:\My Games\YDKJ\YDKJ.exe daemon.exe -unmount 0 --- End code --- For some newer games, however, you'll still need to follow Howards advice on No CD cracks. Also, here's a quote about autorun and daemon tools: >>>>>>>> The only way I found to disable and enable autorun from a command line switch was to install BTEWin. It is a powerfull scripting interpreter that has loads more commands than you can use in normal batch files such as autorun on/off and all daemon tools commands as well. When you have made your script you can then turn it into a neat little exe file which will then work on any PC regardless of weither BTEWin is installed on it although if you want this feature then you have to download the previous version as it has been disabled in the latest version. BTEWin is freeware and can be found on the Daemon Tools download page for third party tools and if it hasn't been changed yet then it should be the version that supports making exe files. If you want the latest version you will have to go to the VDesk & BTEWIN homepage. >>>>>>>> Daemon Tools Command Line Switces -lock used to lock the DLL operation to be sure no unauthorized program can load daemon.dll and use its functions. Used mainly in autostart (if 'Autolock' option is enabled), but can be used in command line too. Unlocking can be done from Virtual DAEMON manager or other GUI that is currently running. Note that locking has no effect on DAEMON Manager itself or other programs which have been 'authorized' by us to use the DLL. -noicon this option is used to prevent DAEMON Tools from creating a taskbar icon. It has no effect if DAEMON manager is already running or you specified another command (except 'lock') in the command line! DAEMON manager automatically exits after command is executed and does not create taskbar icon. -mount allows mounting images from command line (or shortcut). Syntax is: -mount <n>,<path> where 'n' means DVD-ROM device number ('0' - '3' allowed) and 'path' is the full path to the image file. Example: daemon.exe -mount 0,"c:\My Images\nameofimage.cue". Do not forget to set the path in quotes if it contains spaces! -unmount allows unmounting images from command line. Syntax is: -unmount <n> where 'n' means DVD-ROM device number ('0' - '3' allowed) -safedisc ? allows turning Safedisc emulation on/off from command line. '-safedisc on' enables emulation, '-safedisc off' disables it -securom ? allows turning Securom emulation on/off from command line. '-securom on' enables emulation, '-securom off' disables it -laserlok ? allows turning Laserlock emulation on/off from command line. '-laserlok on' enables emulation, '-laserlok off' disables it. -rmps ? allows turning RMPS emulation on/off from command line. '-rmps on' enables emulation, '-rmps off' disables it. |
| Navigation |
| Message Index |
| Next page |
| Previous page |