Getting warning "Bad or missing file"

Questions about Wine on Linux
Locked
Harish
Newbie
Newbie
Posts: 3
Joined: Sat Mar 31, 2018 5:00 pm

Getting warning "Bad or missing file"

Post by Harish »

(Hope I'm posting my question in the right forum, please suggest otherwise)

Hello,
Greetings!

I'm using Ubuntu 16.04, with wine 1.4-i386.

Was trying out old roadrash game. Here is the warning I'm getting.
It first gives "Bad or missing file", and then "MIDI Error". When i click OK, i can hear the sound of the game, but the game do not move ahead.

Perhaps I can ignore the warnings? But the game do not start, as the screen is not rendering/moving ahead.

Attaching the error screenshots.

Any suggestions?

Need help. Thank You.

Harish
Attachments
error2.jpeg
error.jpeg
User avatar
dimesio
Moderator
Moderator
Posts: 13202
Joined: Tue Mar 25, 2008 10:30 pm

Re: Getting warning "Bad or missing file"

Post by dimesio »

Harish wrote:I'm using Ubuntu 16.04, with wine 1.4-i386.
Where did you ever get that 6 year old Wine version? It hasn't been supported in years. The first thing you need to do is upgrade Wine; the current stable release is 3.0, development is 3.5. Use the WineHQ packages. https://wiki.winehq.org/Ubuntu
Harish
Newbie
Newbie
Posts: 3
Joined: Sat Mar 31, 2018 5:00 pm

Re: Getting warning "Bad or missing file"

Post by Harish »

dimesio wrote:
Harish wrote:I'm using Ubuntu 16.04, with wine 1.4-i386.
Where did you ever get that 6 year old Wine version? It hasn't been supported in years. The first thing you need to do is upgrade Wine; the current stable release is 3.0, development is 3.5. Use the WineHQ packages. https://wiki.winehq.org/Ubuntu
Thank you. I cleaned up the old version, and freshly installed wine 3.0. Followed the exact steps from wiki winehq.

I get exactly the same issue again.

Here are the logging messages printed on screen,
root@root-HP-Compaq-8000-Elite-SFF-PC:~/RoadRash$ wine ROADRASH.EXE
0009:fixme:win:EnumDisplayDevicesW ((null),0,0x33f534,0x00000000), stub!
0009:fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 8
0009:fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 16
0009:fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 16
0009:fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 8
0009:fixme:ddraw:ddraw_surface7_Flip Ignoring flags 0x1.

Please let me know how to get rid of the errors.

Thank you.
User avatar
dimesio
Moderator
Moderator
Posts: 13202
Joined: Tue Mar 25, 2008 10:30 pm

Re: Getting warning "Bad or missing file"

Post by dimesio »

Harish wrote: root@root-HP-Compaq-8000-Elite-SFF-PC:~/RoadRash$ wine ROADRASH.EXE
Never run Wine as root. https://wiki.winehq.org/FAQ#Should_I_ru ... as_root.3F

Delete the wineprefix and recreate it as a normal user.

Is this game the one listed in https://appdb.winehq.org/objectManager. ... n&iId=9989? If so, there is a howto there for installing/running it. You will need to install it to a 32 bit wineprefix. https://wiki.winehq.org/FAQ#How_do_I_cr ... _system.3F
Harish
Newbie
Newbie
Posts: 3
Joined: Sat Mar 31, 2018 5:00 pm

Re: Getting warning "Bad or missing file"

Post by Harish »

dimesio wrote:
Harish wrote: root@root-HP-Compaq-8000-Elite-SFF-PC:~/RoadRash$ wine ROADRASH.EXE
Never run Wine as root. https://wiki.winehq.org/FAQ#Should_I_ru ... as_root.3F

Delete the wineprefix and recreate it as a normal user.

Is this game the one listed in https://appdb.winehq.org/objectManager. ... n&iId=9989? If so, there is a howto there for installing/running it. You will need to install it to a 32 bit wineprefix. https://wiki.winehq.org/FAQ#How_do_I_cr ... _system.3F
Thank you, appreciate your response.
This is not root anymore, have changed it. Ran again, but same results.
guest@guest-HP-Compaq-8000-Elite-SFF-PC:~/RoadRash$ wine ROADRASH.EXE

This is 32-bit hardware, with 32-bit OS.

> Is this game the one listed in https://appdb.winehq.org/objectManager. ... n&iId=9989?
It appears i may need to go back to an older wine version? Let me try some hacks and report back again. I had wine 2.x on the same hardware running Ubuntu 14.0.4 an year back on which this game was running perfectly okay.

The whole problem appears to be these two errors in the std output.

0009:fixme:win:EnumDisplayDevicesW ((null),0,0x33f534,0x00000000), stub!
0009:fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 8
0009:fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 16

0009:fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 16
0009:fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 8
0009:fixme:ddraw:ddraw_surface7_Flip Ignoring flags 0x1.

Thanks again.
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Getting warning "Bad or missing file"

Post by Bob Wya »

Harish wrote:

Code: Select all

0009:fixme:win:EnumDisplayDevicesW ((null),0,0x33f534,0x00000000), stub!
0009:fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 8
0009:fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 16
0009:fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 16
0009:fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 8
0009:fixme:ddraw:ddraw_surface7_Flip Ignoring flags 0x1.
Thanks again.
See: WineHQ Wiki: 256 Color Mode.

Please use the forum Code:

Code: Select all

I AM CODE
tags for terminal commands and logs/output.
Just paste in the whole blob of terminal text, highlight it and press the Code button (above the forum edit box).

Thanks
Bob
Locked