NR2003 setup error

Questions about Wine on Linux
Locked
allstargamer
Level 2
Level 2
Posts: 13
Joined: Sat Nov 24, 2018 9:19 pm

NR2003 setup error

Post by allstargamer »

Hi guys,

After installing nr2003 on my laptop running Ubuntu 18.04 with the latest edition of wine (i tried it on both the development and stable versions of wine) I ran setup.exe to setup the graphics and I came across this.
Image
Image
This used to work on Ubuntu 16.04 (on the same laptop as now). It even worked with the intel integrated graphics set I have inside of my laptop (again, same as now). But it doesn't work. Can somebody try it and see if there's a workaround?

Thanks in advance.
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: NR2003 setup error

Post by jkfloris »

First thing you could try with an old game like this is use a clean 32-bit Wineprefix set to Windows XP
https://wiki.winehq.org/FAQ#How_do_I_cr ... _system.3F

If you don't have any progress, please post the terminal output, including you Wine command.
https://wiki.winehq.org/Wine_User's_Gui ... mmand_line
allstargamer
Level 2
Level 2
Posts: 13
Joined: Sat Nov 24, 2018 9:19 pm

Re: NR2003 setup error

Post by allstargamer »

That guide was very confusing, so I don't know if I did it wrong.

Here's what I did:
I ran WINEARCH=win32 WINEPREFIX=/home/nathaniel/.wine/drive_c winecfg. It opened winecfg, and I set Default Settings to Windows XP. I clicked apply then ok. I then moved the Papyrus folder (which was where the game installation was) inside the new drive. It opened and put the same error messages there. I then ran WINEPREFIX=/home/nathaniel/.wine/drive_c/drive_c wine start /unix /home/nathaniel/.wine/drive_c/drive_c/Papyrus/NASCAR Racing 2003 Season/config.exe. The same thing happened. Did I do something wrong?
allstargamer
Level 2
Level 2
Posts: 13
Joined: Sat Nov 24, 2018 9:19 pm

Re: NR2003 setup error

Post by allstargamer »

Terminal output after trying 32-bit wine prefix:
wine start '/home/nathaniel/.wine/drive_c/drive_c/Papyrus/NASCAR Racing 2003 Season/config.exe'
000f:err:service:load_reg_dword Error 1804 while reading value L"Type"
000f:err:service:scmdatabase_load_services Error 1804 reading registry key for service L"papycpu2" - skipping
000f:err:service:load_reg_dword Error 1804 while reading value L"Type"
000f:err:service:scmdatabase_load_services Error 1804 reading registry key for service L"papyjoy" - skipping
0009:err:start:wmain Unknown option 'L"/home/nathaniel/.wine/drive_c/drive_c/Papyrus/NASCAR Racing 2003 Season/config.exe"'
Start a program, or open a document in the program normally used for files
with that suffix.
Usage:
start [options] program_filename [...]
start [options] document_filename

Options:
"title" Specifies the title of the child windows.
/d directory Start the program in the specified directory.
/b Don't create a new console for the program.
/i Start the program with fresh environment variables.
/min Start the program minimized.
/max Start the program maximized.
/low Start the program in the idle priority class.
/normal Start the program in the normal priority class.
/high Start the program in the high priority class.
/realtime Start the program in the realtime priority class.
/abovenormal Start the program in the abovenormal priority class.
/belownormal Start the program in the belownormal priority class.
/node n Start the program on the specified NUMA node.
/affinity mask Start the program with the specified affinity mask.
/wait Wait for the started program to finish, then exit with its
exit code.
/unix Use a Unix filename and start the file like windows
explorer.
/ProgIDOpen Open a document using the specified progID.
/? Display this help and exit
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: NR2003 setup error

Post by jkfloris »

You almost got it right. But probably your default WINEPREFIX is damaged now.
- Backup and remove the ~/.wine folder
- Create a new WINEPREFIX set to WinXP

Code: Select all

WINEARCH=win32 wine winecfg
- Install Nascar Racing 2003
Wine remembers you created a 32-bit prefix, so you don't have to tell it again
After start use /unix and you can use a Linux filenames.

Code: Select all

wine start /unix /path/to/the/installer/Setup.exe
- Try to run the game

Code: Select all

wine start /unix /path/to/the/exe/NR2003.exe
allstargamer
Level 2
Level 2
Posts: 13
Joined: Sat Nov 24, 2018 9:19 pm

Re: NR2003 setup error

Post by allstargamer »

Terminal Output:
nathaniel@nathaniel-Inspiron-N5010:~$ wine start /unix '/home/nathaniel/.wine/drive_c/Papyrus/NASCAR Racing 2003 Season/config.exe'
000f:err:service:load_reg_dword Error 1804 while reading value L"Type"
000f:err:service:scmdatabase_load_services Error 1804 reading registry key for service L"papycpu2" - skipping
000f:err:service:load_reg_dword Error 1804 while reading value L"Type"
000f:err:service:scmdatabase_load_services Error 1804 reading registry key for service L"papyjoy" - skipping
002d:fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
002d:err:ole:ClientIdentity_QueryMultipleInterfaces IRemUnknown_RemQueryInterface failed with error 0x80004002
002d:err:ole:ClientIdentity_QueryMultipleInterfaces IRemUnknown_RemQueryInterface failed with error 0x80004002
002d:err:ole:ClientIdentity_QueryMultipleInterfaces IRemUnknown_RemQueryInterface failed with error 0x80004002
002d:err:ole:ClientIdentity_QueryMultipleInterfaces IRemUnknown_RemQueryInterface failed with error 0x80004002
002d:err:ole:ClientIdentity_QueryMultipleInterfaces IRemUnknown_RemQueryInterface failed with error 0x80004002
002d:err:ole:ClientIdentity_QueryMultipleInterfaces IRemUnknown_RemQueryInterface failed with error 0x80004002
002d:err:ole:ClientIdentity_QueryMultipleInterfaces IRemUnknown_RemQueryInterface failed with error 0x80004002
002d:err:ole:ClientIdentity_QueryMultipleInterfaces IRemUnknown_RemQueryInterface failed with error 0x80004002
002d:err:ole:ClientIdentity_QueryMultipleInterfaces IRemUnknown_RemQueryInterface failed with error 0x80004002
002d:err:ole:ClientIdentity_QueryMultipleInterfaces IRemUnknown_RemQueryInterface failed with error 0x80004002
002d:err:ole:ClientIdentity_QueryMultipleInterfaces IRemUnknown_RemQueryInterface failed with error 0x80004002
002d:err:ole:ClientIdentity_QueryMultipleInterfaces IRemUnknown_RemQueryInterface failed with error 0x80004002
002d:err:ole:ClientIdentity_QueryMultipleInterfaces IRemUnknown_RemQueryInterface failed with error 0x80004002
002d:err:ole:ClientIdentity_QueryMultipleInterfaces IRemUnknown_RemQueryInterface failed with error 0x80004002
002d:err:ole:ClientIdentity_QueryMultipleInterfaces IRemUnknown_RemQueryInterface failed with error 0x80004002
002d:err:ole:ClientIdentity_QueryMultipleInterfaces IRemUnknown_RemQueryInterface failed with error 0x80004002
002d:err:ole:ClientIdentity_QueryMultipleInterfaces IRemUnknown_RemQueryInterface failed with error 0x80004002
002d:err:ole:ClientIdentity_QueryMultipleInterfaces IRemUnknown_RemQueryInterface failed with error 0x80004002
002d:err:ole:ClientIdentity_QueryMultipleInterfaces IRemUnknown_RemQueryInterface failed with error 0x80004002
002d:err:ole:ClientIdentity_QueryMultipleInterfaces IRemUnknown_RemQueryInterface failed with error 0x80004002
002d:err:ole:ClientIdentity_QueryMultipleInterfaces IRemUnknown_RemQueryInterface failed with error 0x80004002
002d:err:ole:ClientIdentity_QueryMultipleInterfaces IRemUnknown_RemQueryInterface failed with error 0x80004002
002d:err:ole:ClientIdentity_QueryMultipleInterfaces IRemUnknown_RemQueryInterface failed with error 0x80004002
002d:err:ole:ClientIdentity_QueryMultipleInterfaces IRemUnknown_RemQueryInterface failed with error 0x80004002
002d:err:ole:ClientIdentity_QueryMultipleInterfaces IRemUnknown_RemQueryInterface failed with error 0x80004002
nathaniel@nathaniel-Inspiron-N5010:~$ 0050:fixme:win:EnumDisplayDevicesW ((null),0,0x33e504,0x00000000), stub!
0050:err:wgl:X11DRV_WineGL_InitOpenglInfo couldn't initialize OpenGL, expect problems
002d:err:ole:CoReleaseMarshalData StdMarshal ReleaseMarshalData failed with error 0x8001011d
0050:fixme:win:EnumDisplayDevicesW ((null),0,0x33e904,0x00000000), stub!
0050:fixme:msg:pack_message msg 14 (WM_ERASEBKGND) not supported yet
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: NR2003 setup error

Post by jkfloris »

0050:err:wgl:X11DRV_WineGL_InitOpenglInfo couldn't initialize OpenGL, expect problems
Did you install the 32-bit glx packages?
allstargamer
Level 2
Level 2
Posts: 13
Joined: Sat Nov 24, 2018 9:19 pm

Re: NR2003 setup error

Post by allstargamer »

What do you mean by that?
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: NR2003 setup error

Post by jkfloris »

If you run a 32bit DirectX or OpenGL application, you also need the 32bit modules for your GPU.
For Nvidia you need: nvidia-driver-libs-i386
Intel: libgl1-mesa-glx:i386 or libglx-mesa0:i386
allstargamer
Level 2
Level 2
Posts: 13
Joined: Sat Nov 24, 2018 9:19 pm

Re: NR2003 setup error

Post by allstargamer »

both were already installed:
nathaniel@nathaniel-Inspiron-N5010:~$ sudo apt install libgl1-mesa-glx:i386
[sudo] password for nathaniel:
Reading package lists... Done
Building dependency tree
Reading state information... Done
libgl1-mesa-glx:i386 is already the newest version (18.0.5-0ubuntu0~18.04.1).
libgl1-mesa-glx:i386 set to manually installed.
The following packages were automatically installed and are no longer required:
wine-stable wine-stable-amd64 wine-stable-i386:i386
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 212 not upgraded.
nathaniel@nathaniel-Inspiron-N5010:~$ sudo apt install libglx-mesa0:i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
libglx-mesa0:i386 is already the newest version (18.0.5-0ubuntu0~18.04.1).
libglx-mesa0:i386 set to manually installed.
The following packages were automatically installed and are no longer required:
wine-stable wine-stable-amd64 wine-stable-i386:i386
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 212 not upgraded.
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: NR2003 setup error

Post by jkfloris »

Can you also post the output of

Code: Select all

# Install inxi if necessary
# sudo apt install inxi
inxi -G
allstargamer
Level 2
Level 2
Posts: 13
Joined: Sat Nov 24, 2018 9:19 pm

Re: NR2003 setup error

Post by allstargamer »

Graphics: Card: Intel Core Processor Integrated Graphics Controller
Display Server: x11 (X.Org 1.19.6 ) driver: i915
Resolution: [email protected]
OpenGL: renderer: Mesa DRI Intel Ironlake Mobile
version: 2.1 Mesa 18.0.5
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: NR2003 setup error

Post by Bob Wya »

jkfloris wrote:Can you also post the output of

Code: Select all

# Install inxi if necessary
# sudo apt install inxi
inxi -G
@jkfloris

If you recommend using inxi, for Ubuntu users.
It's probably worth noting that the standard repository version of inxi, for Ubuntu, is completely obsolete.
I'd recommend a PPA, e.g.: Ubuntu PPA: Inxi (perl version).
The Perl version gives clearer output and is actually being maintained...

Bob
allstargamer
Level 2
Level 2
Posts: 13
Joined: Sat Nov 24, 2018 9:19 pm

Re: NR2003 setup error

Post by allstargamer »

It didn't work bob
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: NR2003 setup error

Post by jkfloris »

@Bob Wya
Thanks for the tip!

@allstargamer
I then moved the Papyrus folder (which was where the game installation was) inside the new drive.
Just to be sure. Did you install the game or did you just copy the files? The latter doesn't always work.

Things you could try:
* Start the game in the game directory

Code: Select all

cd "~/.wine/drive_c/Papyrus/NASCAR Racing 2003 Season"
wine config.exe
* Use the old Direct Draw Renderer

Code: Select all

winetricks ddr=gdi
wine  wine start /unix "~/.wine/drive_c/Papyrus/NASCAR Racing 2003 Season/config.exe"
If this doesn't work or make things worse. Reset it to the default

Code: Select all

winetricks ddr=opengl
* Make sure your GPU modules are properly installed. Do you have issues with other 32-bit games?
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: NR2003 setup error

Post by Bob Wya »

allstargamer wrote:It didn't work bob
@allstargamer

I'm not sure what you are referring to there?? :?

Anyway...

Can you post the output from:

Code: Select all

export WINEDEBUG=+timestamp,+tid,+wgl,+d3d
wine start /unix '/home/nathaniel/.wine/drive_c/Papyrus/NASCAR Racing 2003 Season/config.exe' &>~/wine-development-3.21_d3d_wgl_log.txt
That will save the file: wine-development-3.21_d3d_wgl_log.txt in your regular Linux HOME directory.

Please run (first):

Code: Select all

sudo apt-get install xclip
if you don't already have the xclip utility installed!!

To copy a file in your standard Desktop Environment (Gnome, KDE, etc.) copy-paste buffer:

Code: Select all

cat ~/wine-development-3.21_d3d_wgl_log.txt | xclip -i -selection clipboard
If you are posting terminal commands or output in your forum posts... Then please, please use the forum Code tags:

Code: Select all

...
Choose Full editor when posting a reply.
Select a block of terminal commands+output then click the Code button (above the edit box).
Without Code tags your posts quickly become totally unreadable... Hence why I become less inclined to lend a hand... :cry:

Ta
Bob
allstargamer
Level 2
Level 2
Posts: 13
Joined: Sat Nov 24, 2018 9:19 pm

Re: NR2003 setup error

Post by allstargamer »

@jkfloris
I installed the game to the 32 bit c drive
allstargamer
Level 2
Level 2
Posts: 13
Joined: Sat Nov 24, 2018 9:19 pm

NR2003 crashes after intro

Post by allstargamer »

@jkfloris
This time it loaded the config.exe without errors. Unfortunately, like all the other papyrus games i have in wine, it says "failed to load selected display adapter". Even though it saves your configurations for graphics, it crashes the game after the intro. This is now what i need help with.
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: NR2003 crashes after intro

Post by Bob Wya »

allstargamer wrote:@jkfloris
... This is now what i need help with.
Sure... But we're still waiting for a Wine terminal log (with the wgl and d3d debug channels enabled)!
From whatever component of the game is failing for you.

Bob
allstargamer
Level 2
Level 2
Posts: 13
Joined: Sat Nov 24, 2018 9:19 pm

Re: NR2003 setup error

Post by allstargamer »

@bob wya
i didn't get any output from those commands that you asked me to do
allstargamer
Level 2
Level 2
Posts: 13
Joined: Sat Nov 24, 2018 9:19 pm

Re: NR2003 setup error

Post by allstargamer »

or is this what you meant:

Code: Select all

nathaniel@nathaniel-Inspiron-N5010:~$ wine start '/home/nathaniel/.wine/drive_c/Papyrus/NASCAR Racing 2003 Season/config.exe'
000f:err:service:load_reg_dword Error 1804 while reading value L"Type"
000f:err:service:scmdatabase_load_services Error 1804 reading registry key for service L"papycpu2" - skipping
000f:err:service:load_reg_dword Error 1804 while reading value L"Type"
000f:err:service:scmdatabase_load_services Error 1804 reading registry key for service L"papyjoy" - skipping
0009:err:start:wmain Unknown option 'L"/home/nathaniel/.wine/drive_c/Papyrus/NASCAR Racing 2003 Season/config.exe"'
Start a program, or open a document in the program normally used for files
with that suffix.
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: NR2003 setup error

Post by Bob Wya »

allstargamer wrote:@bob wya
i didn't get any output from those commands that you asked me to do
Some of those commands won't produce any output. That's why I documented what they did.

I'm up for helping folks, but with a bit of "tough love"!
Sometimes it's better for you to figure why something didn't work yourself...
Rather than just have someone else explaining it in excruciating detail.
You'll thank me for this later on... You'll learn more and retain the information better. Honest! 8)

So think about what you're trying to do a bit and then sleep on the problem.
If you spend ages banging on an issue or problem - you can actually start moving backwards (in my experience). :shock:

Bob
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: NR2003 setup error

Post by jkfloris »

Code: Select all

nathaniel@nathaniel-Inspiron-N5010:~$ wine start '/home/nathaniel/.wine/drive_c/Papyrus/NASCAR Racing 2003 Season/config.exe'
You forgot /unix
This time it loaded the config.exe without errors.
Which option does the trick?
allstargamer
Level 2
Level 2
Posts: 13
Joined: Sat Nov 24, 2018 9:19 pm

Re: NR2003 setup error

Post by allstargamer »

@jkfloris
I ran the "wine start /unix" command after i read your post, and it has the same outcome as when i ran

Code: Select all

winetricks ddr=gdi
the code above was what caused config.exe to work before i used /unix.
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: NR2003 setup error

Post by jkfloris »

In the config.exe program there are multiple options. Which options did you try? Which options can you set successfully?

Also we still missing the terminal output Bob Wya asked

Code: Select all

WINEDEBUG=+timestamp,+tid,+wgl,+d3d wine start /unix '/home/nathaniel/.wine/drive_c/Papyrus/NASCAR Racing 2003 Season/config.exe' &>~/wine-development-3.21_d3d_wgl_log.txt
There is a new file in your home directory: wine-development-3.21_d3d_wgl_log.txt
Please post the content of this text file.
Locked