| Viewing Issue Advanced Details [ Jump to Notes ] | |||||||||||||
| ID | Category [?] | Severity [?] | Reproducibility | Date Submitted | Last Update | ||||||||
| 04368 | Crash/Freeze | Major | Always | 2011-06-07 06:33 | 2011-11-03 03:16 | ||||||||
| Tester | abelenki | View Status | Public | Platform | MAME (Self-compiled) | ||||||||
| Assigned To | Resolution | Fixed | OS | Windows Vista/7 (64-bit) | |||||||||
| Status [?] | Resolved | Driver | |||||||||||
| Version | 0.142u5 | Fixed in Version | 0.143 | Build | 64-bit | ||||||||
| Summary | 04368: can't redefine controls in input (this game) | ||||||||||||
| Description |
i have problems with new input system on u5. i defined new default.cfg for my 4 gamepads and 1 keyboard from scratch in u5. but when i use it, i can't redefine controls in input (this game) from gamepad - they all show as n/a, and then mame crash on exit. |
||||||||||||
| Steps To Reproduce |
Super simple repro: load tempest input (this game) Dial Analog Enter, ESC, Enter, ESC ESC, ESC, ESC to leave MAME == crash |
||||||||||||
| Additional Information | |||||||||||||
| Flags | |||||||||||||
| Regression Version | |||||||||||||
| Affected Sets / Systems | |||||||||||||
|
Attached Files
|
Please test this. | ||||||||||||
Full backtrace with 0.142u5 build [Show Content] | |||||||||||||
current controller configuration file | |||||||||||||
current MAME configuration file | |||||||||||||
|
|
|
|
abelenki (Tester) 2011-06-07 06:40 |
one more note: i don't have any .cfg files from previous MAME versions. only fresh default.cfg which i created in u5. |
|
Fujix (Administrator) 2011-06-07 11:42 |
We need your -verbose output to determine your controller set up and seek out the cause. Also, please find out which line causes the problem by editing the default.cfg manually with your current input devices. Thank you. |
|
abelenki (Tester) 2011-06-07 13:16 edited on: 2011-06-07 13:18 |
here's my verbose (after crash) with bublbobl: http://pastebin.com/TEwuXK7D > Also, please find out which line causes the problem by editing the default.cfg manually with your current input devices. i don't really understand what you mean. if i knew what causes the problem, i won't submit a bug report. |
|
Fujix (Administrator) 2011-06-07 14:29 edited on: 2011-06-07 14:30 |
I think I found the cause of the trouble. It is "JOYCODE_*_HATSWITCH*". If I remove any usages of JOYCODE_[2-4]_HATSWITCH* from your default.cfg, it works without the problem. I don't know why for now. Could you check this? JOYCODE_1_HATSWITCH* is working for me. |
|
abelenki (Tester) 2011-06-07 14:42 edited on: 2011-06-07 14:44 |
i just checked: i re-defined all positional controls in Input (General) not to use hat switch (which is d-pad), and used only analog joysticks (e.g. JOYCODE_1_YAXIS_UP_SWITCH). then i tried to re-define the same controls in Input (This game). it became N/A again, and MAME crashed. p.s.: the bottom-line is - everything worked fine for many MAME versions before u5. something went wrong after input system changes in u5. |
|
abelenki (Tester) 2011-06-07 14:49 |
to clarify: this happens, if i redefine the same input in Input (This game). e.g.: i have this in Input (General): <port type="P1_JOYSTICK_UP"> <newseq type="standard"> JOYCODE_1_YAXIS_UP_SWITCH then i try to redefine the up controls in Input (This game) with the same controls (JOYCODE_1_YAXIS_UP_SWITCH), it becomes N/A, and MAME crashes on exit. |
|
Tafoid (Administrator) 2011-06-07 14:58 |
I'll acknowledge this for now. Since it's unlikely most people do not have the controllers/input coverage that you do to populate your .cfg file, (most have access to 1.. maybe 2 controllers), you'll need to do some experiments to help determine what in your .cfg is causing MAME to be unable to write (and cause the resultant crash). There is only so much we can do in this situation. |
|
abelenki (Tester) 2011-06-07 15:07 |
yeah, i'm open to help. just let me know, what i need to test and i will report back. |
|
abelenki (Tester) 2011-06-07 15:15 |
also, i reuploaded my default.cfg. it had wrongly assigned controls for player 4. |
|
Tafoid (Administrator) 2011-06-07 15:33 |
Added my gdboutput.txt log with a full backtrace of the crash I get on exit. Should help a dev identify the issue. Problem is we don't know for sure if it's mangling it upon loading or while preparing it to save. |
|
Fujix (Administrator) 2011-06-07 15:36 edited on: 2011-06-07 15:38 |
Anton, please test my upload. I removed JOYCODE_[2-4]_HATSWITCH* from following definitions, and this file is working for me: <port type="UI_UP"> |
|
B2K24 (Tester) 2011-06-07 15:40 |
I can reproduce this issue if I launch mame64 self compiled 0.142u5 with anything in cfg directory. I'm using a n64 joypad with PSX + N64 USB converter. However, if you delete everything in directory cfg before launching mame64 everything works fine until the point of having to re launch mame64 with config files in cfg directory. |
|
abelenki (Tester) 2011-06-07 15:51 edited on: 2011-06-07 15:52 |
Fujix, tried your default.cfg and still have the same problem. if i redefine the same controls for my gamepad in Input (this game), it reverts to N/A, then crashes on exit. |
|
abelenki (Tester) 2011-06-07 16:05 |
also, i uploaded my mame.ini (if it helps). |
|
dukejp (Tester) 2011-06-13 22:52 |
I can confirm this bug. You can customize your "general" joystick config, but mame crashes at exit if you customize "this game" joystick configuration. (in my case, sf2ce.) |
|
abelenki (Tester) 2011-06-20 01:33 edited on: 2011-06-20 01:34 |
it isn't mentioned in whatsnew, but the bug is fixed in u6. i can finally remap gamepad controls in Input (This game) without N/A and crash. many thanks to everyone involved!! |
|
Tafoid (Administrator) 2011-06-20 01:43 |
I think there are other issues with this which is why it wasn't immediately set as resolved. There was more work to be done but it didn't get done before u6 happened. Once I see it's truly fixed properly, I'll make sure this gets marked as such. |
|
R. Belmont (Developer) 2011-07-01 14:28 |
The N/A and crash problems were the "default input" thing that Aaron fixed. Justify leaving this open or delete :) |
|
Tafoid (Administrator) 2011-07-01 15:38 |
OG fixed the initial crash problem with what he termed it was a "bandaid" (r12858). I didn't notice Aaron's proper fix which seems to have come after u6 was released (r12940). I'll resolve for 0.143 as a result. |
|
abelenki (Tester) 2011-07-02 06:20 edited on: 2011-07-02 06:23 |
actually, the bug is not fixed at all on 0.143. MAME and MESS still crash a lot when trying to define Input (this game) via gamepads. and it's getting real annoying. when i'm trying to define Input (this game) on a800, MESS crashes while i'm moving cursor up and down on UI. when i detached fourth gamepad from my system, and 4th gamepad is still set in default.cfg, MAME crashes on EVERY exit. |
|
Fujix (Administrator) 2011-07-02 11:43 |
Reopened the report. |
|
abelenki (Tester) 2011-07-02 12:00 edited on: 2011-07-02 12:05 |
thanks, Fujix. can anyone confirm that again? (i re-uploaded default.cfg and mame.ini). p.s..: anyway, that case happens not THAT often as before, but still the bug appears not to be fixed. |
|
Tafoid (Administrator) 2011-11-02 21:09 |
abelenki, please see if this is still a problem in 0.143u9 with fresh .cfg files made (not stuff imported from earlier versions). I'd be curious if this is still a recurring issue. |
|
Tafoid (Administrator) 2011-11-03 03:16 |
Unsure when it was fixed, but as of 0.143u6, things work as expect for OP. Resolving |