Giter VIP home page Giter VIP logo

Comments (16)

berarma avatar berarma commented on September 27, 2024

Happy new year.

The combination of axes is implemented in the driver, Oversteer can't do anything.

This should be fixed in the game by remapping the axis. Which wheel do you have?

from oversteer.

lilongueti avatar lilongueti commented on September 27, 2024

g29, the problem is that as far as the game settings go the other axes doesn't exist at all, it doesn't detect about half of the buttons either

from oversteer.

berarma avatar berarma commented on September 27, 2024

It's an old game and I guess its controls are hardcoded for some type of gamepad, not even a wheel. I'm sorry but remapping controls is out of the scope of the application. There should be applications for that.

from oversteer.

isopix avatar isopix commented on September 27, 2024

Nooo....don't close it. It's one of my favourite racing games (other are Lotus III Ultimate Challange, Ignition, Top Gear SNES).
It's using DirectInput under wine, and I also was unable to map it to g29. For rendering it uses Direct3D or Glide, so it's very versatile and nice-looking game using poper GlideWrapper. And it's freely available abandonware.
Strange thing is that it doesn't detect ForceFeedback on G29 (option is greyed out), while it does for old Logitech Cordless Rumblepad (under linux/wine/g29)

BTW, doesn't Dethkarz has separate support for Wheel? (not sure, but if I remember good, there was support for keyboard, joypad and wheel in options, but cannot verify it now).

Joking aside, can we use this bug record to talk and investigate further how to map it under wine. I guess there are plenty ways to do it, there are some uniput remappers for linux, and much more directInput remappers for Windows.

Deathkarz not dead! DeathKarz FTW! But it would be more fun to add support for Lotus III with proper force feedback ;-)

from oversteer.

lilongueti avatar lilongueti commented on September 27, 2024

It's an old game and I guess it's controls are hardcoded for some type of gamepad, not even a wheel. I'm sorry but remapping controls is out of the scope of the application. There should be applications for that.

it does support wheel, even ffb works fine, but also fair answer its a 22 years old game

Nooo....don't close it. It's one of my favourite racing games (other are Lotus III Ultimate Challange, Ignition, Top Gear SNES).
It's using DirectInput under wine, and I also was unable to map it to g29. For rendering it uses Direct3D or Glide, so it's very versatile and nice-looking game using poper GlideWrapper. And it's freely available abandonware.
Strange thing is that it doesn't detect ForceFeedback on G29 (option is greyed out), while it does for old Logitech Cordless Rumblepad (under linux/wine/g29)

BTW, doesn't Dethkarz has separate support for Wheel? (not sure, but if I remember good, there was support for keyboard, joypad and wheel in options, but cannot verify it now).

Joking aside, can we use this bug record to talk and investigate further how to map it under wine. I guess there are plenty ways to do it, there are some uniput remappers for linux, and much more directInput remappers for Windows.

Deathkarz not dead! DeathKarz FTW! But it would be more fun to add support for Lotus III with proper force feedback ;-)

i was able to map it to g29 with ffb, also its no longer freely available under my abandonware scince its now on steam and gog.com, for ffb to stop being grayed out you must change controller type to wheel. im using wine-staging 5.22 and kernel 5.10.3-arch it worked fine both with the default module and with new-lg4ff and it's playable even with the whole axes thing

from oversteer.

berarma avatar berarma commented on September 27, 2024

Ok, maybe not the best place but no problem. The outcome of this might be a note in the README that can help others.

Remapping is an interesting topic specially for older games and games without setup options. And it's broad enough to deserve its own dedicated application. It can cover joysticks, gamepads and wheels equally since all are seen as basically the same thing by the system, so this has already been discussed somewhere else for sure.

Some apps that might work but I haven't tried are qjoypad and sc-controller. There's also a SDL2 tool that can produce configuration strings to map any controller to a XBox controller.

from oversteer.

berarma avatar berarma commented on September 27, 2024

These are the websites for every project I've mentioned above. If you could try them and report which ones work best for your cases, then we can recommend them to others. QJoyPad seems more close to what we're looking for.

from oversteer.

isopix avatar isopix commented on September 27, 2024

joydevmap is a small userspace tool to change the axis and button mappings of joysticks and gamepads in Linux.


joydevmap

Tool to read physical joystick devices, create virtual joystick devices and output keyboard presses on a Linux system.
wejoy
Both are available in Archlinux's AUR

A program that exposes the Razer Hydra controller as a 20 axis virtual joystick on Linux.
https://github.com/yomboprime/hydrajoy

from oversteer.

lilongueti avatar lilongueti commented on September 27, 2024

thanks for the suggestions here's the results of my tests

QJpyPad, SC Controller work nicely for mapping controller input to keyboard/mouse but i couldn't find a way to remap it to other controller input

SDL2 as far as i understood is for games that use SDL as input which doesn't seem to be the case for deathkarz

joydevmap should do, however when i tried it using
joydevmap --dev /dev/input/by-id/usb-Logitech_G29_Driving_Force_Racing_Wheel-joystick --set-axismap '17,16,5,2,1,0'
this should have switched around all axis but instead it did nothing at all, it might not be playing nicely with new-lg4ff, i haven't tried with the default module and i don't think i will since lg4ff works so nicely with other games

wejoy might just work, but i haven't tested it yet as it requires to write a lua script (i might try latter)

from oversteer.

berarma avatar berarma commented on September 27, 2024

Deathkarz might not use SDL but Wine does. Anyway, using SDL2 Gamepad Tool isn't the easiest or more elegant solution.

joydevmap uses the old joydev API, now deprecated, so it might work with very old software written for it. It's useless nowadays.

By the description in the QJoyPad page, it should be able to map between joysticks/controllers. Wejoy should work too but it's more complex. I'm not sure about SC Controller, @lilongueti might be right about this one.

from oversteer.

isopix avatar isopix commented on September 27, 2024

from oversteer.

berarma avatar berarma commented on September 27, 2024

Indeed QJoyPad and SC Controller don't seem to help at all.

SDL2 Gamepad Tool would be useful to map the wheel and pedals to a standard XBox 360 controller. Games that use that kind of controller could use the wheel and pedals instead.

Wejoy looks very promising. Using LUA it should be possible to implement a virtual input device that does whatever we want. But someone has to learn how to write the code.

Anyway, I still think this is an issue in the game. What we're trying to do here is a workaround.

from oversteer.

isopix avatar isopix commented on September 27, 2024

from oversteer.

berarma avatar berarma commented on September 27, 2024

Yes, it's a workaround. But I guess it's best we can do. Its closed
source abandonware.

It's selling on GOG. Have you tried that version?

Anyway, a remapping tool could be useful for other games too.

from oversteer.

finnboost avatar finnboost commented on September 27, 2024

Dethkarz works in Windows 10 with Logitech G920 when using x360ce v.4 remapping tool. May sound odd that xbox 360 pad emulator solves this; default settings set accellerator pedal to left thumb on pad and you get a combined break-acc pedal. Once you learn to use it, you may find it better than separate acc / break because breaking happens "automatic" when you lift gas pedal, just like in new ev cars.

from oversteer.

parkerlreed avatar parkerlreed commented on September 27, 2024

Throwing another one out there

https://github.com/kozec/sc-controller

Has generic controller support and can map to a standard Xbox 360 layout.

The author is very stubborn and refuses to let Python 2 die so there's a fork to keep it going

https://github.com/Ryochan7/sc-controller

from oversteer.

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.