Is it crashes without even showing anything on a screen?
I build debug version with debug symbols, so plz run that one (replace just a binary, and run it from an icon) and put just a stack trace here, thanks!
LIBGL: Using Warp3DNova.library v1 revision 68 LIBGL: Using OGLES2.library v2 revision 11 LIBGL: OGLES2 Library and Interface open successfuly Log set-up. compiled date Oct 16 2019 compiled time 23:45:46 Irrlicht Engine version 1.9.0
Here is the log with the debug version :
LIBGL: Using Warp3DNova.library v1 revision 68 LIBGL: Using OGLES2.library v2 revision 11 LIBGL: OGLES2 Library and Interface open successfuly Log set-up. compiled date Dec 27 2019 compiled time 22:55:04 mConfig->Load failed LIBGL: OGLES2 Library and Interface closed
By log I mean I need a crash log from debug version (it will show me on which function it crashes), not the console output log :) And you need to run it from Icon, not from a shell. From shell, it will exit as you show, but when you will run it from the icon it should then crash as before, just show us stack-trace with normal strings in stack trace pointing out on the line of code where a crash happens
@K-L Yes, from CLI (shell) it should be like this, just not from icon. But as I understand you got the same now and from CLI (shell) and then run it from icon (by dbl-click on WB icon). That correct?
If that correct, I need to sort that "fail" issue, maybe it automatically will fix your crash.
Sadly it didn't crash anymore.. But as I have same issue when I run it from shell (just without a crash), I will try to sort it out, and be in the hope it will deal with your crash too)
1). fix loading from the shell as well. So it now should start and from the icon, and from the shell without giving "mConfig->Load failed" error.
2). getting rid of -lunix on linking, and replaced all remaining paths on amiga-native ones.
I through not sure if it was an issue because of which you crash (i think not), but at least now it will starts, and if will crash will give us normal stack trace. Try it plz.
@K-L The strange thing is, is that you crash on the place where it do "getcwd()" before probabaly:
Crash log for task "hcraft_debug2"
Generated by GrimReaper 53.19
Crash occured in module hcraft_debug2 at address 0x7E7A3D04
Type of crash: DSI (Data Storage Interrupt) exception
Alert number: 0x80000003
And it strangely crash for you on strcat(name,"/");, coming from success = NameFromLock(GetCurrentDir(),name,512);. And its null pointer, so maybe again need to open damn dos.library as with Barony before? But then wtf, getcwd() then crashes before too, while it was newlib.
@K-L I open old Barony crashes we had before, and it exactly the same! The same comes from dos.library, the same call to "base dir" checking.
So its 99% the same "need to open dos.library in that place like with Barony", and while I still didn't get why, and why it works on beta, but not on public, I assume making the same workaround as for Barony will help then.
@K-L I recheck other parts, hope there is no needs to do this kind of thing anywhere else. So, pretty possibly all will be fine with the version in the previous post. Write back when you will be able to test it, so I can put fixed version on os4depot if all will be fine. Thanks!
Joypads and joysticks are now supported in H-Craft but to some mixed results. I am unable to attach left and right to anything other than a button
On using a Competition Pro Joystick, for example this renders the game really uncontrollable.
On a Xeox Xbox360 style pad or a Logitech F-310 (Playstaion style) you can only attach the left and right to one of the buttons and it makes sense to put the left and right on one of the trigger buttons or top buttons for left and right, but it does feel a little un-natural and impacts on gameplay in my opinion.
it would be nice if the analogue stick or the hat switches moved the craft left and right
Let me know if you need to test anything else and thanks for looking into this so far
So did it mean that in general left/right just somehow swapped? Sadly I didn't have any working gamepad (damn AmigaInput, didn't recognize 3 of them, and 2 which recognized always "auto-press-down" for some reasons).
Probably I only can deal with it when I will be able to find any working gamepad with os4's amigainput. Wish someday someone replace that crap on something else.
So you think is it worth to update os4depot archive of HCraft with enabled joystick's support as it now? I mean without anything else, just as you have it now vs not have joystick at all