UA:Source

For general topics about Urban Assault and any Urban Assault-related topic that doesn't fit anywhere else. If you're not sure, it probably goes in here.
cedi4155476
Firefly
Firefly
Posts: 9
Joined: Thu May 02, 2019 2:56 pm

Re: UA:Source

Post by cedi4155476 » Tue May 07, 2019 8:19 pm

Ok
I tried it out on the original UA and there I have no problems with the joystick.
I cant really test much, because it has a lot of graphical bugs, but the minimap works so I tested the speed out there and it was the same on keyboard and joystick. So I guess it really has to do something with the sdl or something like that.

User avatar
Zidane
Turantul 1 (Veteran)
Turantul 1 (Veteran)
Posts: 194
Joined: Mon Nov 22, 2010 8:38 pm
Location: Novosibirsk, Russia

Re: UA:Source

Post by Zidane » Mon May 13, 2019 5:04 am

cedi4155476 wrote:
Tue May 07, 2019 8:19 pm
Ok
I tried it out on the original UA and there I have no problems with the joystick.
I cant really test much, because it has a lot of graphical bugs, but the minimap works so I tested the speed out there and it was the same on keyboard and joystick. So I guess it really has to do something with the sdl or something like that.
Can you test what max/min values are for your joystick in this SDL2 test joystick program https://drive.google.com/open?id=1JLF46 ... 4pSBb1twto ?

Run it from cmd.exe, first run "sdl2-jstest -l" for joystick list and after "sdl2-jstest -t #joyindex".

Normally max/min axis values must be -32767/32767, if not - it's answer why you has a problem.
合体! ライオカイザー

cedi4155476
Firefly
Firefly
Posts: 9
Joined: Thu May 02, 2019 2:56 pm

Re: UA:Source

Post by cedi4155476 » Tue May 14, 2019 6:18 pm

this seems to work o.o
Attachments
sdl2 test.png
sdl2 test.png (3.32 KiB) Viewed 456 times

User avatar
Zidane
Turantul 1 (Veteran)
Turantul 1 (Veteran)
Posts: 194
Joined: Mon Nov 22, 2010 8:38 pm
Location: Novosibirsk, Russia

Re: UA:Source

Post by Zidane » Wed May 15, 2019 1:25 am

cedi4155476 wrote:
Tue May 14, 2019 6:18 pm
this seems to work o.o
Hmmmm. And if you try to copy SDL2 dll from Ua_source?
合体! ライオカイザー

cedi4155476
Firefly
Firefly
Posts: 9
Joined: Thu May 02, 2019 2:56 pm

Re: UA:Source

Post by cedi4155476 » Wed May 15, 2019 10:26 am

Also works fine.
I tested with helicopter now and it seems like, its only the ground unit.
I don't know how to test other units from the get go, but thats what I realised when comparing wasp and fox.

User avatar
Zidane
Turantul 1 (Veteran)
Turantul 1 (Veteran)
Posts: 194
Joined: Mon Nov 22, 2010 8:38 pm
Location: Novosibirsk, Russia

Re: UA:Source

Post by Zidane » Wed May 15, 2019 11:13 am

If it's only ground units, well I will try to find a bug in code.
Really I play mostly with fly units and may miss some with ground.
合体! ライオカイザー

cedi4155476
Firefly
Firefly
Posts: 9
Joined: Thu May 02, 2019 2:56 pm

Re: UA:Source

Post by cedi4155476 » Wed May 15, 2019 3:35 pm

Yeah it seems like its only the ground unit.
Tried some solo multiplayer maps and tested with aircraft and they seem to work normally.

User avatar
CharlotteLabyrinth
Turantul 1 (Veteran)
Turantul 1 (Veteran)
Posts: 423
Joined: Thu Mar 01, 2012 3:00 pm
Location: Schloss Charlottenburg..?

Re: UA:Source

Post by CharlotteLabyrinth » Wed Jun 05, 2019 8:30 pm

Wow cedi4155476, thank you very much for making comprehensive reports about the joystick configuration issues! I've also experienced several problems with my joysticks on UA:Source before, but never made an extensive test or feedback. It's so great to see them finally getting addressed and recognised with sufficient details like this.
;--------------------------------------------------
;
; Vielleicht der niedlichste Hubi, Knuddel.
;
;--------------------------------------------------
„ Helfen - Wehren - Heilen “

Personal Declaration: I always use different usernames across different websites. Hence if you ever see my username is being used outside of Stoudson Corporation, I absolutely have no affiliation whatsoever with that!

User avatar
Zidane
Turantul 1 (Veteran)
Turantul 1 (Veteran)
Posts: 194
Joined: Mon Nov 22, 2010 8:38 pm
Location: Novosibirsk, Russia

Re: UA:Source

Post by Zidane » Mon Jun 10, 2019 9:16 am

cedi4155476 wrote:
Wed May 15, 2019 10:26 am
Also works fine.
I tested with helicopter now and it seems like, its only the ground unit.
I don't know how to test other units from the get go, but thats what I realised when comparing wasp and fox.
Finally got to work on this bug and has found incorrect axis scaling. Values must be scaled to range -300/300 from -32768/32767. And I accidentally divided by 300 instead 109.
Thanks for found this bug.
Try this build with fix: https://drive.google.com/open?id=19Wnt4 ... BXc5RqwPw2
合体! ライオカイザー

cedi4155476
Firefly
Firefly
Posts: 9
Joined: Thu May 02, 2019 2:56 pm

Re: UA:Source

Post by cedi4155476 » Tue Jun 11, 2019 6:35 pm

Yes it works now, thank you.
Gotta play through it now, I'll let you know when I find another bug.

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests