I want to get rid of these errors.

Questions about Wine on Linux
Locked
todelete
Level 1
Level 1
Posts: 6
Joined: Tue Oct 02, 2018 9:06 am

I want to get rid of these errors.

Post by todelete »

I am trying to play a game (made on RPGMaker 2003), and it's been a pain in the ass, but I've managed to solve a lot of problems. The thing is, I still haven't found a solution to the following errors:

Code: Select all

0009:fixme:win:EnumDisplayDevicesW ((null),0,0x33f584,0x00000000), stub!
0009:err:winediag:MIDIMAP_drvOpen No software synthesizer midi port found, Midi sound output probably won't work.
0009:fixme:ddraw:ddraw7_WaitForVerticalBlank iface 0x16c8c8, flags 0x1, event (nil) stub!
0037:fixme:win:GetWindowPlacement not supported on other process window 0x10020
0037:fixme:win:GetWindowPlacement not supported on other process window 0x10020
0037:fixme:win:GetWindowPlacement not supported on other process window 0x10020
0037:fixme:win:GetWindowPlacement not supported on other process window 0x10020
0037:fixme:win:GetWindowPlacement not supported on other process window 0x10020
0037:fixme:win:GetWindowPlacement not supported on other process window 0x10020
0037:fixme:win:GetWindowPlacement not supported on other process window 0x10020
.......the last error repeats until I close the game.......
Ignore the midi, I think I've been able to fix it.
User avatar
dimesio
Moderator
Moderator
Posts: 13205
Joined: Tue Mar 25, 2008 10:30 pm

Re: I want to get rid of these errors.

Post by dimesio »

Fixmes are not errors, they are unimplemented functions. If the game works as expected, ignore them.
todelete
Level 1
Level 1
Posts: 6
Joined: Tue Oct 02, 2018 9:06 am

Re: I want to get rid of these errors.

Post by todelete »

Well, the game tabs out whenever it switches from or to the start screen (as soon as I start it, when I load a save, when I go to the start screen again to exit, etc.)
todelete
Level 1
Level 1
Posts: 6
Joined: Tue Oct 02, 2018 9:06 am

Re: I want to get rid of these errors.

Post by todelete »

It's also painfully laggy (it stutters a lot). In this same computer, I run easyrpg launcher through wine and the game runs flawlessly. I got to a part where I have to use the original launcher, because I can't use shift on easyrpg launcher.
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: I want to get rid of these errors.

Post by jkfloris »

Use

Code: Select all

WINEDEBUG=-all wine program.exe
To get rid of all debug messages. Sometimes this will gain some performance on your game.
todelete
Level 1
Level 1
Posts: 6
Joined: Tue Oct 02, 2018 9:06 am

Re: I want to get rid of these errors.

Post by todelete »

Ok. I did that, and it got a little better. I now realized that shift key also doesn't work on original launcher. I got this when I pressed it:

Code: Select all

0009:trace:key:X11DRV_KeyEvent type 2, window 5e00003, state 0x0000, keycode 50
0009:trace:key:X11DRV_KeyEvent XmbLookupString needs 0 byte(s)
0009:trace:key:X11DRV_KeyEvent nbyte = 0, status 3
0009:trace:key:X11DRV_KeyEvent KeyPress : keysym=ffe1 (Shift_L), # of chars=0 / ""
0009:trace:key:EVENT_event_to_vkey e->keycode = 50
0009:trace:key:X11DRV_KeyEvent keycode 50 converted to vkey 0xA0 scan 2a
0009:trace:key:X11DRV_send_keyboard_input hwnd 0x10082 vkey=00a0 scan=002a flags=0000
0009:trace:key:TranslateMessage Translating key VK_SHIFT (0010), scancode 002a
0009:trace:key:X11DRV_ToUnicodeEx ShiftMask = 0001
0009:trace:key:X11DRV_ToUnicodeEx AltGrMask = 0000
0009:trace:key:X11DRV_ToUnicodeEx (0010, 002A) : faked state = 0x0001
0009:warn:key:X11DRV_ToUnicodeEx Unknown virtual key 10 !!!
0009:trace:key:X11DRV_KeyEvent type 3, window 5e00003, state 0x0001, keycode 50
0009:trace:key:X11DRV_KeyEvent nbyte = 0, status 0
0009:trace:key:X11DRV_KeyEvent KeyRelease : keysym=ffe1 (Shift_L), # of chars=0 / ""
0009:trace:key:EVENT_event_to_vkey e->keycode = 50
0009:trace:key:X11DRV_KeyEvent keycode 50 converted to vkey 0xA0 scan 2a
0009:trace:key:X11DRV_send_keyboard_input hwnd 0x10082 vkey=00a0 scan=002a flags=0002
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: I want to get rid of these errors.

Post by jkfloris »

Ok. I did that
What have you done? Because with WINEDEBUG=-all there is no terminal output.
todelete
Level 1
Level 1
Posts: 6
Joined: Tue Oct 02, 2018 9:06 am

Re: I want to get rid of these errors.

Post by todelete »

I did the WINEDEBUG=-all, and then I realized shift didn't work. I did a little research and then I did WINEDEBUG=-all,+key,+keyboard to get that log, because I think something might be wrong with the keys. Not sure though. I'm a noob after all.
todelete
Level 1
Level 1
Posts: 6
Joined: Tue Oct 02, 2018 9:06 am

Re: I want to get rid of these errors.

Post by todelete »

Nevermind. The easyrpg launcher corrupted the save. I feel like an idiot.
Locked