Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Demul padDemul error: IDirectInputDevice8 CreateEffect FAILED  (Read 22406 times)

0 Members and 1 Guest are viewing this topic.

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9226
  • Last login:Yesterday at 12:43:52 pm
  • ...
Demul padDemul error: IDirectInputDevice8 CreateEffect FAILED
« 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:

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?
« Last Edit: November 26, 2010, 09:00:28 pm by BadMouth »

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9226
  • Last login:Yesterday at 12:43:52 pm
  • ...
Re: Demul padDemul error: IDirectInputDevice8 CreateEffect FAILED
« Reply #1 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.

headkaze

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2943
  • Last login:August 14, 2023, 02:00:48 am
  • 0x2b|~0x2b?
Re: Demul padDemul error: IDirectInputDevice8 CreateEffect FAILED
« Reply #2 on: December 01, 2010, 08:25:07 am »
Try the "Pad Plugin" from 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 as there are others who have had this problem with this emu.
« Last Edit: December 01, 2010, 08:28:58 am by headkaze »

ant2

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 227
  • Last login:March 26, 2024, 02:36:51 pm
Re: Demul padDemul error: IDirectInputDevice8 CreateEffect FAILED
« Reply #3 on: November 05, 2013, 03:00:09 am »
any one find a fix to this ? Im experiencing the same issue

dorito213

  • Trade Count: (0)
  • Newbie
  • *
  • Offline Offline
  • Posts: 1
  • Last login:September 06, 2014, 07:39:22 pm
  • I want to build my own arcade controls!
Re: Demul padDemul error: IDirectInputDevice8 CreateEffect FAILED
« Reply #4 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

delt31

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 65
  • Last login:August 01, 2020, 03:11:10 pm
  • I want to build my own arcade controls!
Re: Demul padDemul error: IDirectInputDevice8 CreateEffect FAILED
« Reply #5 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

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9226
  • Last login:Yesterday at 12:43:52 pm
  • ...
Re: Demul padDemul error: IDirectInputDevice8 CreateEffect FAILED
« Reply #6 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.

jw2000uk

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 13
  • Last login:September 16, 2015, 06:54:52 am
Re: Demul padDemul error: IDirectInputDevice8 CreateEffect FAILED
« Reply #7 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.

jw2000uk

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 13
  • Last login:September 16, 2015, 06:54:52 am
Re: Demul padDemul error: IDirectInputDevice8 CreateEffect FAILED
« Reply #8 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?
« Last Edit: August 05, 2015, 08:58:07 am by jw2000uk »

xbrunox

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 148
  • Last login:Yesterday at 04:45:26 pm
  • I want to build my own arcade controls!
Re: Demul padDemul error: IDirectInputDevice8 CreateEffect FAILED
« Reply #9 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
« Last Edit: February 24, 2019, 06:58:44 am by xbrunox »

gstav

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 212
  • Last login:Today at 01:40:48 pm
    • forum.arcadecontrols.com/index.php/topic,157861.0.html
Re: Demul padDemul error: IDirectInputDevice8 CreateEffect FAILED
« Reply #10 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:
"One coin to rule em' all"

Killa7977

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 8
  • Last login:May 26, 2020, 08:08:16 am
  • I want to build my own arcade controls!
Re: Demul padDemul error: IDirectInputDevice8 CreateEffect FAILED
« Reply #11 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

gstav

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 212
  • Last login:Today at 01:40:48 pm
    • forum.arcadecontrols.com/index.php/topic,157861.0.html
Re: Demul padDemul error: IDirectInputDevice8 CreateEffect FAILED
« Reply #12 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.
"One coin to rule em' all"

MotownC

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 72
  • Last login:Yesterday at 09:54:06 pm
  • Reliving my youth, one lap at a time
Re: Demul padDemul error: IDirectInputDevice8 CreateEffect FAILED
« Reply #13 on: May 22, 2020, 09:11:59 pm »
gstav,
code works great - many thanks!

Gimpy

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 3
  • Last login:May 20, 2021, 05:26:55 pm
  • I want to build my own arcade controls!
Re: Demul padDemul error: IDirectInputDevice8 CreateEffect FAILED
« Reply #14 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!

johey

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 7
  • Last login:December 12, 2023, 04:57:11 am
  • I want to build my own arcade controls!
Re: Demul padDemul error: IDirectInputDevice8 CreateEffect FAILED
« Reply #15 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. 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.

sushko

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 28
  • Last login:January 07, 2024, 08:10:03 pm
  • I want to build my own arcade controls!
Re: Demul padDemul error: IDirectInputDevice8 CreateEffect FAILED
« Reply #16 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.