The NEW Build Your Own Arcade Controls

Main => Software Forum => Topic started by: BadMouth on November 26, 2010, 07:46:49 pm

Title: Demul padDemul error: IDirectInputDevice8 CreateEffect FAILED
Post by: BadMouth on November 26, 2010, 07:46:49 pm
Got a couple NAOMI driving games up and running on my main pc (Vista) and wrote an autohotkey script to make them go fullscreen and play nice with my front-end.
Once everything was sorted and working right, I copied it to my driving cab, which runs XP.
On it, I get the following error when a game is launched:
(http://farm5.static.flickr.com/4132/5210467652_c7dc82c448.jpg)
I click OK, and the game plays perfectly fine.

From what I gathered googling the error, HRESULT = 80070057 is an invalid argument and
IDirectInputDevice8 CreateEffect FAILED has something to do with force feedback (which I didn't think Demul supported).

I reset all the gamepad mappings to NONE - same result.
I deleted the padDemul cfg file - same result.
I made sure all the P1 controls were mapped to something for Dreamcast, Naomi & Atomiswave - same result.
I turned off force feedback in windows control panel>gamepads - same result.
The only thing that gets rid of the error is changing to xinput, but then of course my controls don't work.

I was using a logitech gamepad (no rumble) on my main pc and I'm using a logitech momo wheel on my driving cab.

Anyone have any insight?
Title: Re: Demul padDemul error: IDirectInputDevice8 CreateEffect FAILED
Post by: BadMouth on November 27, 2010, 10:54:38 am
 :angry:
Messed with it a while this morning, then gave up.
I disabled the windows error sound and added to the autohotkey script to have it press enter for "OK".
It all takes place behind a black window, so the game appears to load fine when you launch it from the front end.
So problem not fixed, but covered up.  :-\
I'd still like to correct the issue if possible, just don't want to sink anymore time into it right now.
Title: Re: Demul padDemul error: IDirectInputDevice8 CreateEffect FAILED
Post by: headkaze on December 01, 2010, 08:25:07 am
Try the "Pad Plugin" from http://demul.emulation64.com/downloads/ (http://demul.emulation64.com/downloads/)

Quote
By numerous requests we have added support of old gamepads, which don't support Event Notification, to the PAD plugin. We hope that all PADs can now be used with our emulator. Of course, not a big change for "long-awaited" new build, but this is better than nothing. ;)
To install, just replace default padDemul with new one.

If that fails try this Google Search (http://www.google.com.au/search?hl=&q="IDirectInputDevice8+CreateEffect+FAILED") as there are others who have had this problem with this emu.
Title: Re: Demul padDemul error: IDirectInputDevice8 CreateEffect FAILED
Post by: ant2 on November 05, 2013, 03:00:09 am
any one find a fix to this ? Im experiencing the same issue
Title: Re: Demul padDemul error: IDirectInputDevice8 CreateEffect FAILED
Post by: dorito213 on September 06, 2014, 12:16:45 pm
For those that feel this issue was a lost cause because it plagued alot of people. Just install this.  http://www.microsoft.com/en-us/download/confirmation.aspx?id=35 (http://www.microsoft.com/en-us/download/confirmation.aspx?id=35)
Title: Re: Demul padDemul error: IDirectInputDevice8 CreateEffect FAILED
Post by: delt31 on May 10, 2015, 08:00:19 pm
I have this same error - what was the resolution?  I can't configure ANY keys?  Seems to default to joystick 1 button 1 when I try to change anything
Title: Re: Demul padDemul error: IDirectInputDevice8 CreateEffect FAILED
Post by: BadMouth on May 11, 2015, 09:19:06 am
I never did get it resolved.  Ended up making an autohotkey script that just covers the screen with a black box and presses enter to skip the error message.
Also disabled the error sound in windows.

This issue never interfered with my ability to map keys though and was only present when using a force feedback steering wheel.
I haven't tested the latest version of Demul.
Title: Re: Demul padDemul error: IDirectInputDevice8 CreateEffect FAILED
Post by: jw2000uk on August 05, 2015, 08:09:23 am
I never did get it resolved.  Ended up making an autohotkey script that just covers the screen with a black box and presses enter to skip the error message.
Also disabled the error sound in windows.

This issue never interfered with my ability to map keys though and was only present when using a force feedback steering wheel.
I haven't tested the latest version of Demul.

Hi Badmouth, In desperation ive had to drag a oldish thread up..

After months of configuring, Gameex and All the emu's + G25 are working..

Jut cant sort out how to fix this problem with AHK to resolve this issue,Tried reading, but its not clicking in my brain lol.

Gameex does have a add CMD line option per Emu, maybe something i can add to that to close the error screen,instead of the AHK route.



Could you give me steps on how to close it please mate.
Title: Re: Demul padDemul error: IDirectInputDevice8 CreateEffect FAILED
Post by: jw2000uk on August 05, 2015, 08:21:02 am
Well, Ive cheated lol.

Sorted it with a APP called Clickoff. Small, Freeware App.

Basically point it at  box you want it to shut, ctrl-alt-d

And it will close it from now on. Works 100%

Now i cant get the bleady mouse cursor to go  :banghead:.. Tried nomousy cmd. it hides the cursor, But stops demul opening..

Tried start nomousy.exe /hide demul.exe -run=dc -image="[ROMPATH]\[ROMFILE]"

any ideas?
Title: Re: Demul padDemul error: IDirectInputDevice8 CreateEffect FAILED
Post by: xbrunox on February 24, 2019, 06:48:53 am
I never did get it resolved.  Ended up making an autohotkey script that just covers the screen with a black box and presses enter to skip the error message.
Also disabled the error sound in windows.

This issue never interfered with my ability to map keys though and was only present when using a force feedback steering wheel.
I haven't tested the latest version of Demul.

HI I know is a very old topic. But Pls can u share your script code. Thanks
Title: Re: Demul padDemul error: IDirectInputDevice8 CreateEffect FAILED
Post by: gstav on February 04, 2020, 10:01:06 am
I never did get it resolved.  Ended up making an autohotkey script that just covers the screen with a black box and presses enter to skip the error message.
Also disabled the error sound in windows.

This issue never interfered with my ability to map keys though and was only present when using a force feedback steering wheel.
I haven't tested the latest version of Demul.

HI I know is a very old topic. But Pls can u share your script code. Thanks

Hi guys!

I also ran intro this old bug which still is an annoying thing.
I did modify my rocketlauncher module for demul.7 on line 460 (the black lines is the new code)
Remeber you will get invalid CRC reading so RL will falg this module now, bute works perfect


RLLog.Info("Module - Waiting for Demul to finish loading game.")
winTextSplit := []
;----------------------- mute speakers and kill error message box when steering wheel is connected ------------------------
Send {Volume_Mute}
Winwait, padDemul,,3
IfWinExist, padDemul
{
   IfWinNotActive, padDemul
   {
      WinActivate, padDemul
   }
   WinWaitActive, padDemul
   IfWinActive, padDemul
   {
      Sleep, 500
      Send, {ENTER}
   }
}
Send {Volume_Mute}
;-------------------------------------------------------------------------------------------------------------------------


Hope this help! Please write here if it worked  :laugh:
Title: Re: Demul padDemul error: IDirectInputDevice8 CreateEffect FAILED
Post by: Killa7977 on February 04, 2020, 01:24:42 pm
I dont use rocket Launcher, Just plain big box. Got this error today while moving my Dreamcast bunch of racing games to the cab with steering wheel. Any help about what to do? Thanks
Title: Re: Demul padDemul error: IDirectInputDevice8 CreateEffect FAILED
Post by: gstav on February 26, 2020, 09:01:49 am
This really is as simple as:

MUTE speakers, wait for the paddemul error window 3 sec. If it comes, press enter on the error message and finally reset the mute again

This is a bug which occurs when you have the steering wheel connected and this kinda fixes this behind the fade of the load of a game.

I guess you want something similar to be hooked in LB/BB when launching demul.
Title: Re: Demul padDemul error: IDirectInputDevice8 CreateEffect FAILED
Post by: MotownC on May 22, 2020, 09:11:59 pm
gstav,
code works great - many thanks!
Title: Re: Demul padDemul error: IDirectInputDevice8 CreateEffect FAILED
Post by: Gimpy on July 15, 2020, 05:20:26 pm
Sorry to up this again, but I just had the exact same problem - what fixed it for me was uninstalling VJoy from my system. Obviously not an ideal solution if you actually rely on Vjoy at all, but for anybody who might have ended up with it installed but doesnt actually use it like me, this immediately resolved the problem. Just figured it was worth adding just in case anybody is on a mad google hunt like I was!
Title: Re: Demul padDemul error: IDirectInputDevice8 CreateEffect FAILED
Post by: johey on September 25, 2020, 07:55:46 am
Also I have been crying over this for hours, but finally found a somewhat proper solution hidden in a thread at the launchbox-app forum (https://forums.launchbox-app.com/topic/38234-demul-problems/?do=findComment&comment=305908). Just in case the link will not work, here is the content copy-pasted:

Quote from: Miyuki333, December 24 2018
Code: (ruby) [Select]
file = File.open("padDemul.dll", "r+b")
file.pos = 0x27E23
buffer = [0xE9, 0x95, 0x00].pack("c*")
file.write(buffer)

Just install ruby (https://rubyinstaller.org/) create a file called "patch.rb" in the Demul plugins folder, copy the above code into the file and save it, and then run the "patch.rb" file. That should also fix the issue.

Also should mention the patch applies specifically to Demul build 111117, which you can find here: http://demul.emulation64.com/files/demul07_111117.7z

I can confirm this patch is working. It prevents the popup from happening and just proceeds starting the game. My force feedback wheel still works with the FFBArcadePlugin (https://github.com/Boomslangnz/FFBArcadePlugin/releases).
Title: Re: Demul padDemul error: IDirectInputDevice8 CreateEffect FAILED
Post by: sushko on December 04, 2022, 10:30:14 pm
I can confirm that the patch works but it stopped DumulShooter from working so I cant use it. anyone make a script for LB BB yet.