ddrio-smx procedure entry point SMX_SetLights2 could not be located #66

Closed
opened 2020-11-07 03:02:46 +03:00 by icex2 · 7 comments
icex2 commented 2020-11-07 03:02:46 +03:00 (Migrated from github.com)

In GitLab by @maboesanman on Nov 7, 2020, 01:02

Summary

ddrio-smx.dll results in error popup on launch

Detailed Description

Following the ddr A installation instructions, with the additional smx instructions (downloading SMX.dll and renaming ddrio-smx.dll to ddrio.dll) and running gamestart-16.bat results in the following error popup:

“The procedure entry point SMX_SetLights2 could not be located in the dynamic link library D:\Games\DDR A\MDX-001-2019042200\contents\ddrio.dll.”

Replacing the ddrio with the original boots up fine.

Additionally, the config tool does not allow binding smx inputs.

Possible solution

Maybe ddrio-smx is outdated with the rest of the project?

Context (Environment)

Bemanitools version(s) affected

  • 5.32

Game(s) and version(s) affected

  • DDR A (MDX-001-2019042200)

Log output

(Working on it)

Configuration files

(Worming on it)

Command line arguments

Gamestart-16.bat

APIs used

  • ddrio-smx.dll

OS version

Windows 10 Home 1909

Hardware specs

  • 3 year old gaming laptop with discrete Nvidia card
In GitLab by @maboesanman on Nov 7, 2020, 01:02 ## Summary ddrio-smx.dll results in error popup on launch ## Detailed Description Following the ddr A installation instructions, with the additional smx instructions (downloading SMX.dll and renaming ddrio-smx.dll to ddrio.dll) and running gamestart-16.bat results in the following error popup: “The procedure entry point SMX_SetLights2 could not be located in the dynamic link library D:\Games\DDR A\MDX-001-2019042200\contents\ddrio.dll.” Replacing the ddrio with the original boots up fine. Additionally, the config tool does not allow binding smx inputs. ## Possible solution Maybe ddrio-smx is outdated with the rest of the project? ## Context (Environment) ### Bemanitools version(s) affected * 5.32 ### Game(s) and version(s) affected * DDR A (MDX-001-2019042200) ### Log output (Working on it) ### Configuration files (Worming on it) ### Command line arguments Gamestart-16.bat ### APIs used * ddrio-smx.dll ### OS version Windows 10 Home 1909 ### Hardware specs * 3 year old gaming laptop with discrete Nvidia card
icex2 commented 2020-11-07 22:32:21 +03:00 (Migrated from github.com)

Which version of the SMX SDK binary (SMX.dll) are you using?

I suppose you are using something more recent and it seems like BT5 still needs to catch up to that, e.g. there are already a bunch of functions, including the SMX_SetLights2 that is shown in your error, marked as deprecated. Apparently, at least that one was removed on SMX binary you are using.

Can you try an older version of the compiled SMX binaries?

Which version of the SMX SDK binary (`SMX.dll`) are you using? I suppose you are using something more recent and it seems like BT5 still needs to catch up to that, e.g. there are already a bunch of functions, including the `SMX_SetLights2` that is shown in your error, marked as deprecated. Apparently, at least that one was removed on SMX binary you are using. Can you try an older version of the compiled SMX binaries?
icex2 commented 2020-11-09 02:11:38 +03:00 (Migrated from github.com)

In GitLab by @maboesanman on Nov 9, 2020, 24:11

I followed this download link:
https://bin.jvnv.net/file/u5WBN/SMX.dll

I’m unclear what that actually points to and how to select an older version

In GitLab by @maboesanman on Nov 9, 2020, 24:11 I followed this download link: https://bin.jvnv.net/file/u5WBN/SMX.dll I’m unclear what that actually points to and how to select an older version
icex2 commented 2020-11-09 02:31:59 +03:00 (Migrated from github.com)

In GitLab by @maboesanman on Nov 9, 2020, 24:31

According to their documentation SetLights2 is actually pretty new. I’ll try with a manually built smx.dll

In GitLab by @maboesanman on Nov 9, 2020, 24:31 According to their [documentation](https://steprevolution.github.io/stepmaniax-sdk/) SetLights2 is actually pretty new. I’ll try with a manually built smx.dll
icex2 commented 2020-11-10 00:14:13 +03:00 (Migrated from github.com)

You are right, my lookup was wrong, the SetLights function is deprecated and not SetLights2.

Then, you are likely using an old version of SMX.dll which does not provide an implementation for SetLights2, yet. Therefore, you might be good if you just get the latest version either pre-compiled or compile it yourself.

Couldn't find any pre-compiled binaries and also no explicit build instructions on https://github.com/steprevolution/stepmaniax-sdk.

I guess the simplest way to build this is to grab a copy of Visual Studios 15 and load it using the .sln file.

You are right, my lookup was wrong, the `SetLights` function is deprecated and not `SetLights2`. Then, you are likely using an old version of `SMX.dll` which does not provide an implementation for `SetLights2`, yet. Therefore, you might be good if you just get the latest version either pre-compiled or compile it yourself. Couldn't find any pre-compiled binaries and also no explicit build instructions on https://github.com/steprevolution/stepmaniax-sdk. I guess the simplest way to build this is to grab a copy of Visual Studios 15 and load it using the [.sln](https://github.com/steprevolution/stepmaniax-sdk/blob/19b27cd333fb79df3adc3976fb3561c56149e392/SMX.sln#L3) file.
icex2 commented 2020-11-17 05:45:10 +03:00 (Migrated from github.com)

In GitLab by @maboesanman on Nov 17, 2020, 03:45

I was able to fix everything by building smx.dll from source. It appears the version listed in certain forums is out of date

In GitLab by @maboesanman on Nov 17, 2020, 03:45 I was able to fix everything by building smx.dll from source. It appears the version listed in _certain_ forums is out of date
icex2 commented 2020-11-17 22:51:33 +03:00 (Migrated from github.com)

Great to hear that this worked out.

Might be something we can add to bemanitools-supplement to save others the hassle. Would you mind uploading the one you compiled + info which version this is based on?

Great to hear that this worked out. Might be something we can add to [bemanitools-supplement](https://dev.s-ul.eu/djhackers/bemanitools-supplement) to save others the hassle. Would you mind uploading the one you compiled + info which version this is based on?
icex2 commented 2020-11-18 21:36:18 +03:00 (Migrated from github.com)
For reference, MR: https://dev.s-ul.eu/djhackers/bemanitools-supplement/-/merge_requests/1#7f0bd51c22176f37af4014e391a34256fdb106e3
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Max/djhackersdev_bemanitools#66