Build Your Own Arcade Controls Forum

Main => Main Forum => Topic started by: defre19766 on January 24, 2019, 01:36:40 pm

Title: AHK or Bat for demul
Post by: defre19766 on January 24, 2019, 01:36:40 pm
Please can somebody help me with this . I just can't get it to work .

I want to launch a game in Demul using AHK or Bat .

game location => D:\Dreamcast Games\Crazy Taxi 2 (Europe)\Crazy Taxi 2 (Europe).gdi
Emulation location => D:\Hyperspin Rocketlauncher\Hyperspin\Emulators\Demul Dreamcast Crazy Taxi 2\Demul.exe

I tried following but no luck .
Bat =>
demul.exe -run=dc -rom="D:\Dreamcast Games\Crazy Taxi 2 (Europe)\Crazy Taxi 2 (Europe).gdi"
demul.exe -run=dc -rom= "D:\Dreamcast Games\Crazy Taxi 2 (Europe)\Crazy Taxi 2 (Europe).gdi"
demul.exe -run=dc -rom=D:\Dreamcast Games\Crazy Taxi 2 (Europe)\Crazy Taxi 2 (Europe).gdi
demul.exe -run=dc -rom= D:\Dreamcast Games\Crazy Taxi 2 (Europe)\Crazy Taxi 2 (Europe).gdi

No luck with this bat , i can get Demul open , but game don't run ??

AHK =>

Run, D:\Hyperspin Rocketlauncher\Hyperspin\Emulators\Demul Dreamcast Crazy Taxi 2\demul.exe -run=dc -image=D:\Dreamcast Games\Crazy Taxi 2 (Europe).gdi
Process, Close, demul.exe
ExitAPP
return

Run, D:\Hyperspin Rocketlauncher\Hyperspin\Emulators\Demul Dreamcast Crazy Taxi 2\demul.exe -run=dc -image="D:\Dreamcast Games\Crazy Taxi 2 (Europe).gdi"
Process, Close, demul.exe
ExitAPP
return

Also here Demul start up , but not the game . What am i doing wrong here .

Please help



Title: Re: AHK or Bat for demul
Post by: DrakeTungsten on January 24, 2019, 02:03:29 pm
Older versions of Demul require that the rom path and name be in a certain cfg or ini file. If you are using Windows XP, then I think you must be using such a version of Demul.

Why are you using a -rom argument in the batch files but a -image argument in the AHK file? I think only -image is correct. But again, that argument is meaningless with older versions (or at least insufficient)  Maybe the name of that option is different between versions, but -image works for me.


Title: Re: AHK or Bat for demul
Post by: processedmeat on January 24, 2019, 02:26:13 pm
When I was using Attract Mode to launch bat files this is what eventually worked for me:

@echo off
cd C:\YokeMame\Supermodel
Supermodel.exe swtrilgy.zip -fullscreen -res=1600,1200 -new3d -flip-stereo -sound-volume=100 -music-volume=100 -ppc-frequency=57

Not sure why, but I had to cd to the directory first and then run the executable.

Here's my mame version:

@echo off
cd C:\YokeMame\Mame
mame64.exe starwars

I think I was able to get Demul running the same way to run the star wars pod race game.
Title: Re: AHK or Bat for demul
Post by: defre19766 on January 25, 2019, 02:02:02 pm
Run,D:\Hyperspin Rocketlauncher\Hyperspin\Emulators\Demul Dreamcast Ready to Rumble 2\demul.exe -run=dc -image="D:\Dreamcast Games\Ready 2 Rumble Boxing (Europe)\Ready 2 Rumble Boxing (Europe).gdi"
sleep, 1500
Send {Enter}
ExitScript:
ExitApp

that's the one guys . and works perfect .
make shortcut of this ahk , put it somewhere in a folder inside hyperspin folder named dreamcast shortcuts .
In don's hyperspin tools open create a new hyperspin list .
Go to open rom folder , build hyperspin xlm file from your dreamcast shortcut folder . In database rename " Sega Dreamcast " .

Open HyperHQ under wheel settings select dreamcast .
execution Normal
pc game enabled
extensions INK
winstat normal .

Et voila , works perfect for me .
I just copy the emu folder from demul for every game i want . Offcourse its al little more work , but for me it works perfect . I also don't need all the dreamcast games , just the games  that i like .

the send enter you see in the AHK file is for bypassing the error (pademul ) its a bug in demul . When you connect xbox controllers and logitech wheel at the same time . You just need to enter to bypass it and game works perfect .

As for the exit key , i use joytokey i config button 32 with Alt and F4 .
then under optons configure under butter 32 , you put in my case button 7 and 8 . That's select and start on my xbox 360 controller .

Title: Re: AHK or Bat for demul
Post by: defre19766 on January 25, 2019, 02:39:53 pm
Oh i forgot to say . I use windows 10 and the latest demul build.
Works perfect.