Giter VIP home page Giter VIP logo

Comments (12)

samuelgr avatar samuelgr commented on June 10, 2024 1

Fixed in v2.0.0. Please specify DigitalGamepad as the mapper type, and the d-pad will be mapped to X and Y axes.

from xidi.

samuelgr avatar samuelgr commented on June 10, 2024

To be investigated for a future version.

from xidi.

Hexaae avatar Hexaae commented on June 10, 2024

Mmh, this doesn't seem to work with Jazz Jackrabbit 2 - The Secret Files... I tried everything...
XBox controller + buttons do work, but adding:
dinput.dll
dinput8.dll
winmm.dll (<-- game exe contains this)
with xidi.ini containing:

[Mapper]
Type = DigitalGamepad

[Log]
Enabled = yes
Level = 4

does nothing: directions of my Hori Fighting Stick Mini (DPAD) are ignored but buttons work fine.

from xidi.

samuelgr avatar samuelgr commented on June 10, 2024

I have Jazz Jackrabbit 2 so I tested with it as well. A couple of questions:

  • The configuration you provided should produce a log file. Could you please upload the log file?
  • If you use the Xbox controller to play the game, does the d-pad work? In DigitalGamepad mode it should work, but in the default mode it should not.

from xidi.

Hexaae avatar Hexaae commented on June 10, 2024

The only log I've found (nothing on my dekstop) was in \Appdata\Roaming\Jazz2 (using Hori Fighting Stick Mini):
https://pastebin.com/vVuNUjNW

No, DPAD of my XBox One BT does not work, only LSTICK.

Maybe this game does not use dinput or winmm.dll as input device?
I could send you my game version (it's v.1.2.4) to test, maybe there's something unusual...? Please send me a private mail at this temp email address: jazz2tmp (at) incredibile.e4ward.com

from xidi.

samuelgr avatar samuelgr commented on June 10, 2024

But Xidi + DigitalGamepad does work with other games?

You're using another mod along with Xidi, right? It looks like a different mod might be interfering with Xidi being loaded at all, which is likely why you don't see any Xidi log show up on the desktop. I do not see any of the Xidi modules listed in the log you shared, and I also have v1.2.4 (The Secret Files).

from xidi.

Hexaae avatar Hexaae commented on June 10, 2024

Have to check again but I think so...

from xidi.

Hexaae avatar Hexaae commented on June 10, 2024

Doesn't work. Same with old Pitfall a Mayan Adventure (using winmm.dll browsing into the file with a hex-editor):
I put in the exe directory winmm.dll (32bit) + xidi.ini containing:

[Mapper]
Type = DigitalGamepad

[Log]
Enabled = yes
Level = 4

But directions of my Hori Fighting Stick Mini (XINPUT device using DPAD signals) are not detected. Buttons do work.
I can't find Xidi output logs either... It looks like it's not even loaded/used (!?)

Before you ask I do have Visual C++ installed:
image

from xidi.

Hexaae avatar Hexaae commented on June 10, 2024

Looks like winmm.dll in the exe dir won't get loaded/used at all... as I have no output log...
but have also to report that normal XInput XBox One BT device works without XIDI, even though browsing with a hex-editor these games exe files (Pitfall Mayan Adventure, JJazz2...) actually use winmm.dll (??? winmm.dll and XInput XBox One controller works fine?).
Only XInput Hori Fighting Stick Mini, which uses DPAD for directions does not work.

from xidi.

samuelgr avatar samuelgr commented on June 10, 2024

So just to confirm, the fighting stick works with DigitalGamepad in some games, but for Jazz Jackrabbit 2 and Pitfall Mayan Adventure it appears the winmm.dll form of Xidi isn't being loaded at all?

from xidi.

Hexaae avatar Hexaae commented on June 10, 2024

Tested once again with ZXSpin emulator and it's exactly as you said. It also generated the log ( https://pastebin.com/1zDs9AQy ) with ZXSpin, but seems totally ignored from JJ2 for example...

from xidi.

samuelgr avatar samuelgr commented on June 10, 2024

If you have all the required runtimes installed and you tried both the 32-bit versions and 64-bit versions of Xidi (I suspect the 32-bit version is the one you want for these older games), then it might be the case that these games - or some mods you might be using with them - are messing with the standard process for loading winmm.dll, which is why Xidi is not being loaded.

For example, I was able to reproduce the same issue with a modded version of Final Fantasy VII (i.e. it ignores the Xidi winmm.dll file and loads the system version instead), and on the other hand my completely unmodded version of JJ2 works fine with Xidi's winmm.dll file.

I do plan to try to fix the winmm.dll loading problem, which is a separate issue tracked in #18. However, I will close this issue since it seems Xidi + DigitalGamepad does make the fighting stick work in games that are able to load it.

from xidi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.