The Witcher 2: Assassins of Kings Forum

This is a community forum and not official technical support. — If you need official support: Contact Us

The following comments are owned by whoever posted them. We are not responsible for them in any way.

Back to Threads Reply to Thread

installs, starts, gets to main menu

the witcher 2 requires direct x 9 runtimes, and VC2010runtime to work correctly. currently i dont know how to use winetricks with crossover, so i cant test the VC2010 runtimes. I seem to have gotten everything to work. the patcher, the game, etc. only problem is it loads forever when starting a new game.

chris bulman wrote:

the witcher 2 requires direct x 9 runtimes, and VC2010runtime to
work correctly. currently i dont know how to use winetricks with
crossover, so i cant test the VC2010 runtimes. I seem to have gotten
everything to work. the patcher, the game, etc. only problem is it
loads forever when starting a new game.

Hey Chris,

Umm... wrt vcrun2010, yes you can - see ;

http://www.codeweavers.com/compatibility/browse/name/?app_id=7994

That should also be available in the 'Runtime SUpport Components'
are of the cxinstaller GUI...

..as for winetricks <--> crossover, Andrew & I have been working on
a comparative table for this...see the following page ;

https://spreadsheets.google.com/ccc?key=0ApwL_nxxrmmcdDFCdUJPYjJ5M25GWDdaUEN4QlpkSEE&hl=en&pli=1#gid=1

Cheers!

Artist Formally Known as Dot wrote:

chris bulman wrote:

the witcher 2 requires direct x 9 runtimes, and
VC2010runtime to work correctly. currently i dont know how to use
winetricks with crossover, so i cant test the VC2010 runtimes. I
seem to have gotten everything to work. the patcher, the game,
etc.
only problem is it loads forever when starting a new game.

Hey Chris,

Umm... wrt vcrun2010, yes you can - see ;

http://www.codeweavers.com/compatibility/browse/name/?app_id=7994

That should also be available in the 'Runtime SUpport Components'
are of the cxinstaller GUI...

..as for winetricks <--> crossover, Andrew & I have been working on

a comparative table for this...see the following page ;

https://spreadsheets.google.com/ccc?key=0ApwL_nxxrmmcdDFCdUJPYjJ5M25GWDdaUEN4QlpkSEE&hl=en&pli=1#gid=1

Cheers!

thanks don, I didnt actually see it in the runtime support components on my install of crossover.
I've been reading here, looking for ways to get it to work: http://appdb.winehq.org/objectManager.php?sClass=version&iId=23492

I'm having trouble finding the entry in the registry they are referencing though.

also, I cant seem to be able to click the "launch game" button on the launcher. it doesn't highlight like the other some of the other buttons do. i'm stuck with going to the installation folder and running the game exe.

EDIT: it seems after doing the visual runtime 2010 that the game will not launch at all. I'm looking into this.

Hey - which version are you dealing with?

I am trying the Steam version and I'm getting a "This game is unavailable at the current time" error.

Jake wrote:

Hey - which version are you dealing with?

I am trying the Steam version and I'm getting a "This game is
unavailable at the current time" error.

I am using the GOG version. I've gotten that error in the past on steam. try backing up your game files, deleting it from steam, and restoring the game. if that doesnt work, try a reinstall of the app? usually that worked to get around that error for me.

chris bulman wrote:

Jake wrote:

Hey - which version are you dealing with?

I am trying the Steam version and I'm getting a "This game is
unavailable at the current time" error.

I am using the GOG version. I've gotten that error in the past on
steam. try backing up your game files, deleting it from steam, and
restoring the game. if that doesnt work, try a reinstall of the app?
usually that worked to get around that error for me.

I tried restarting Steam, and I got the window about setting up DirectX. Now when I click play, it just says "Preparing to launch The Witcher 2..." and then the window disappears pretty quickly. Then nothing happens.

I had installed that Visual C++ link posted earlier in the same bottle - could that be messing it up? Is it even supposed to work on Steam?

chris bulman wrote:

thanks don, I didnt actually see it in the runtime support
components on my install of crossover.
I've been reading here, looking for ways to get it to work:
http://appdb.winehq.org/objectManager.php?sClass=version&iId=23492

I'm having trouble finding the entry in the registry they are
referencing though.

also, I cant seem to be able to click the "launch game" button on
the launcher. it doesn't highlight like the other some of the other
buttons do. i'm stuck with going to the installation folder and
running the game exe.

EDIT: it seems after doing the visual runtime 2010 that the game
will not launch at all. I'm looking into this.

..yeah, the vcrun2010 target should turn up in the linux cxinstaller after
the next update -- I noticed it wasn't ranked against linux and fixed it
but the site still needs to update stuff...

...the UseGLSL registry key is included in the table I linked to above,
under the settings tab... I did crossties to turn it on/off ;)

Cheers!

Jake wrote:

Hey - which version are you dealing with?

I am trying the Steam version and I'm getting a "This game is
unavailable at the current time" error.

Hi,

A number of things can spawn this error, from a problem with the Steam
servers, issues with offsite DRM associated with steamapps (sometimes the
key-server gets overloaded by sale specials or the number of sale keys is
exceeded)...or the app's DRM itself is failing for some reason... hard to say..

Cheers!

Artist Formally Known as Dot wrote:

Jake wrote:

Hey - which version are you dealing with?

I am trying the Steam version and I'm getting a "This game is
unavailable at the current time" error.

Hi,

A number of things can spawn this error, from a problem with the
Steam
servers, issues with offsite DRM associated with steamapps
(sometimes the
key-server gets overloaded by sale specials or the number of sale
keys is
exceeded)...or the app's DRM itself is failing for some reason...
hard to say..

Cheers!

Yeah, it's resolved, but now I just get the "Preparing to launch The Witcher 2..." window, then nothing.

Is it possible that the Steam version simply just won't work?

EDIT: I backed up the game, removed it, and restored it, and it's having the same problem.

Hi again,

It's always possible the Steam release doesn't work, but, it's just as likely
something else. Although the results in the winehq thread (linked to by Chris
above) expound some things to try, it's not guaranteed that any of those mean
much (or will work with the current crossover games version) , because the version
of wine CXG-10.x is based on is 1.3.9 -- this is a long way from wine-1.3.22 ...

..I don't have this title, so ultimately the only useful feedback (for me) will be
a debuglog ; if you want to gather one, post back here and I'll give you some details..

Cheers!

Sorry, bit of a newbie here - how do I gather a debuglog? I'd be happy to do it.

Jake wrote:

Sorry, bit of a newbie here - how do I gather a debuglog? I'd be
happy to do it.

Okay... steamapps can be fickle to debug ; sometimes the trace can be gathered
one of two or three ways...we'll try the easy one first...read this page;

http://www.codeweavers.com/support/wiki/SubmitTechSupportLog

Follow those instructions, and select the Steam.exe binary in the Steam bottle
in question for the 'Command'. In the GUI under 'Extra Logging channels' in the
'Other' stringbox are, enter the following flags;

+trace,+loaddll

Now click on the 'Run' button and give a meaningful name to the logfile being created
...ie; steam-witcher2.log or whatever, and then click on the 'Save' button, and you
should see the Steam client start-up. Once Steam is running, launch the game itself to
recreate the problem (not starting), and then quit Steam...

...now find the logfile created, gzip it, and upload the file to a free public repo
or whatever (rapidshare or such) and paste the download URL back here so I can grab
the log and have a peek at it...

Cheers!

I didn't bother zipping it, and it would only let me save it as a .cxlog. Sorry if I'm being too dumb to work with!

https://rapidshare.com/files/4287780372/steam-witcher2.cxlog

Jake wrote:

I didn't bother zipping it, and it would only let me save it as a
.cxlog. Sorry if I'm being too dumb to work with!

https://rapidshare.com/files/4287780372/steam-witcher2.cxlog

...rapidshare is being a pain here (again...happens from time to time),
so I can't grab the file.... try another repo or a pastebin (pastebin.ca)

http://www.2shared.com/file/WByVwxy1/steam-witcher2.html

Regardless of whether this works or not, thanks for taking time to help me. I really appreciate it. I've been trying to play this game for days!

Hi again...

...apols for my tardiness, just got home...

Okidoki...possibly the most useful info about this over at winehq, is this posting..;

http://appdb.winehq.org/objectManager.php?sClass=version&iId=23504

You can aside the CD references and the reference to d3dx9_36 (it's already installed
with Steam), but the rest of that outlay is perhaps pertinent...

...going by your logfile, the game launcher (Launcher.exe) is crashing before it
passes runtime args to the game binary (witcher2.exe) ; the runtime args are created
by the configuration program (Configurator.exe) ... all these three binaries concert
together, but this is probably not happening ; it also means there's 3 binaries that
need be examined (or debugged) -- ostensibly, the logfile you've produced is actually
just what's going wrong with the Launcher.exe part....

...the launcher is the binary looking for vcrun2010 ; I cannot say if the other parts
need this. You'll see in the winehq exposition, that the Launcher.exe part is allegedly
not working -- that may be due to the fact it's calling for gdiplus.dll but nobody has
twigged this (it's in your debuglog tho' =), so perhaps the launcher needs the following
package installed into the same bottle..;

http://www.codeweavers.com/compatibility/browse/name/?app_id=8227

That package is also available in the 'Community Supported Applications' section of the
cxinstaller GUI (as the target 'Platform SDK Redistributable: GDI+') ; that might get the
launcher running, you'll need try it and see....

..else. you'll have to run Configurator.exe manually (using the Run Command function) to
setup the game config files, and then likewise run witcher2.exe manually (if the launcher
still doesn't work)...

..the winetricks targets 'glsl=disabled' and 'VideoMemorySize' may have to be set - you can
do that manually in the windows registry editor, or see the following table...;

https://spreadsheets.google.com/ccc?key=0ApwL_nxxrmmcdDFCdUJPYjJ5M25GWDdaUEN4QlpkSEE&hl=en&pli=1#gid=4

You'll basically have to try/do all this stuff, and see where it leads you ; post back with
any results and we'll see where it puts us...

Cheers!

Sorry this is late - I'm on the East Coast, USA.

Anyway, I think we may be getting to the root of the problem. I tried installing that link on the same bottle, and I tried running the .exes manually, and no luck. But, when I went to edit the registry, there was no Direct3D folder under HKEY_CURRENT_USER\Software\Wine. Sounds like that's probably the issue. How do I fix that?

edit: I tried re-installing DirectX 9, and it neither works nor does the Direct3D folder appear.

Artist Formally Known as Dot wrote:

..yeah, the vcrun2010 target should turn up in the linux cxinstaller
after
the next update -- I noticed it wasn't ranked against linux and
fixed it
but the site still needs to update stuff...

...the UseGLSL registry key is included in the table I linked to
above,
under the settings tab... I did crossties to turn it on/off ;)

Cheers!

hey don,
I cant seem to find it in there. is it named something else?

chris bulman wrote:

hey don,
I cant seem to find it in there. is it named something else?

Hi Chris,

..umm this page, row 17 & 18 ....

https://spreadsheets.google.com/ccc?key=0ApwL_nxxrmmcdDFCdUJPYjJ5M25GWDdaUEN4QlpkSEE&hl=en&pli=1#gid=4

Cheers!

Jake wrote:

Sorry this is late - I'm on the East Coast, USA.

Anyway, I think we may be getting to the root of the problem. I
tried installing that link on the same bottle, and I tried running
the .exes manually, and no luck. But, when I went to edit the
registry, there was no Direct3D folder under
HKEY_CURRENT_USER\Software\Wine. Sounds like that's probably the
issue. How do I fix that?

edit: I tried re-installing DirectX 9, and it neither works nor does
the Direct3D folder appear.

I just figured out one more thing: in Steam, if you are downloading other games, they pause if you launch a game. When I try to launch The Witcher 2, it pauses another download. But when the "Preparing to launch" window closes (after about 1 second) the download resumes. I don't know if that helps at all.

And I apologize if I've hijacked this thread's original purpose. Should I create a new one?

edit: did some searching and realized I'd have to create the folder myself. I added "UseGLSL" and "VideoMemorySize" under the Direct3D folder, and tried setting them both to the different values listed in the spreadsheet, and I've had no luck.

Hi again,

Nahh, I would just keep going in this thread -- ultimately the software is  

the same, but Chris' GOG version is a little easier to debug as it doesn't have
the Steam delivery system mystifying what's going on. Having said that, what works
for one release distribution invariably becomes a template for the Steam release,
so it's no big deal at this stage. IF it turns out getting the Steam version to
run is markedly different from the GOG version, then we can always hoist a Tip&Trick
in that regard....right now, it's not going anywhere it seems...

Also, as I mentioned in a PM to Chris wrt another title, one of my concerns here
is wine version ; CXG-10.x is based on wine-1.3.9 or so, and the only reports of
this title running over at WineHQ, are with wine-1.3.20 or better. Now, I know there
have been significant changes in winecore at about wine-1.3.17 onwards, and this much
in itself might be the reason this title isn't working in CXG-10.x ... of course,
the only way to ascertain that, is for someone to test the game in wine-devel-current...

Cheers!

ps: ftr, I'm GMT+10

Jake wrote:

I just figured out one more thing: in Steam, if you are downloading
other games, they pause if you launch a game. When I try to launch
The Witcher 2, it pauses another download. But when the "Preparing
to launch" window closes (after about 1 second) the download
resumes. I don't know if that helps at all.

And I apologize if I've hijacked this thread's original purpose.
Should I create a new one?

edit: did some searching and realized I'd have to create the folder
myself. I added "UseGLSL" and "VideoMemorySize" under the Direct3D
folder, and tried setting them both to the different values listed
in the spreadsheet, and I've had no luck.

..you need to try running the Configurator.exe & witcher2.exe manually, and
preferably grabbing debuglogs for both...

Cheers!

Okay, got it. Just a question so I can continue my testing and post updates:

If I change the registry, do I have to quit and restart CXG for the changes to take effect? Do I have to remove the game and re-install from a backup? Or can I just try playing again, right away?

Jake wrote:

Okay, got it. Just a question so I can continue my testing and post
updates:

If I change the registry, do I have to quit and restart CXG for the
changes to take effect? Do I have to remove the game and re-install
from a backup? Or can I just try playing again, right away?

No, you don't have to quit CXG for registry key to take effect ; just don't have
the/any app running in the bottle you're working on at the time. When you start the
bottle manager, the bottles are scanned and come to the ready state ; the bottle is
not running anything, but it's ready to have registry changes added or whatever. The
-next- time you run -any- win32 app in that bottle, the registry changes apply...

Cheers!

Artist Formally Known as Dot wrote:

chris bulman wrote:

hey don,
I cant seem to find it in there. is it named something else?

Hi Chris,

..umm this page, row 17 & 18 ....

https://spreadsheets.google.com/ccc?key=0ApwL_nxxrmmcdDFCdUJPYjJ5M25GWDdaUEN4QlpkSEE&hl=en&pli=1#gid=4

Cheers!

thanks for that don. unfortunately when i run it, I get the error "not a valid crosstie file"

EDIT: just tried in standard wine. it is playable, when the runtimes are installed, and GLSL is dissabled (though the framerate is quite low, and I am on a decent PC). it will not get past the main menu in crossover games.

Hi Chris,

Yeah... that table is WIP and mostly instructional at this point.
I'll have to do a bit more on it sometime, but as you note, disabling
GLSL as a work-around, makes apps that rely on/want such, run like a
3 legged dog....

....btw, which Wine version? ('standard' Wine isn't a good descriptor)

Cheers!

Artist Formally Known as Dot wrote:

Hi Chris,

Yeah... that table is WIP and mostly instructional at this point.

I'll have to do a bit more on it sometime, but as you note,
disabling
GLSL as a work-around, makes apps that rely on/want such, run like a

3 legged dog....

....btw, which Wine version? ('standard' Wine isn't a good
descriptor)

Cheers!

I'm on the latest testing version of wine. I'm not on that computer right now so I'm not sure the exact version. i think its 1.3.22

EDIT: updating to the Witcher 2 version 1.2 in wine 1.3.22 makes the launcher work, in the GOG version at least. the gameplay is still at a lower FPS (seemingly 15-20 FPS).

The good news is, the game is playing without any strange settings (box-version).... just install as "not known program" in a new bottle... all you have to do is run "setup.exe", vcredist_x86.exe from DVD 2 and the DirectX-folder setup.

Inside the new .csxgame-folder you will find the new bottle (for example "witcher2") with all needed files.... just start first in program files/Witcher2/bin Configurator.exe and tell the right graphical setting... you have to set up (so far I have testet) not higher resolutions as 1280x1024 with a normal video-card (Nvidia Geforce 9700 M).... then start the file "witcher2.exe" in the same bin-folder....

After this you are able to start the game from the folder above with the launcher.exe , too...

But... if there would be a possibility to change gsdl to disabled or give the correct memorysize of the videocard, I guess, you can do higher resolutions.... but I don't find out, how to "tweak" the bottle....

The same thing will do in wine 1.3.2 or newer.. but the responding time is slower and the resolutions are not so high.... in game-setttings antialiasing will do fine and quicken the game in all resolutions

Have fun...

and... if you find out how to "tweak" the bottle for better performance please inform me

chris bulman wrote:

Artist Formally Known as Dot wrote:

chris bulman wrote:

hey don,
I cant seem to find it in there. is it named something
else?

Hi Chris,

..umm this page, row 17 & 18 ....

https://spreadsheets.google.com/ccc?key=0ApwL_nxxrmmcdDFCdUJPYjJ5M25GWDdaUEN4QlpkSEE&hl=en&pli=1#gid=4

Cheers!

thanks for that don. unfortunately when i run it, I get the error
"not a valid crosstie file"

Hi Chris,

   I did fix these, so they should work properly now...

Cheers!

Artist Formally Known as Dot wrote:

chris bulman wrote:

Artist Formally Known as Dot wrote:

chris bulman wrote:

hey don,
I cant seem to find it in there. is it named something
else?

Hi Chris,

..umm this page, row 17 & 18 ....

https://spreadsheets.google.com/ccc?key=0ApwL_nxxrmmcdDFCdUJPYjJ5M25GWDdaUEN4QlpkSEE&hl=en&pli=1#gid=4

Cheers!

thanks for that don. unfortunately when i run it, I get the error
"not a valid crosstie file"

Hi Chris,

   I did fix these, so they should work properly now...

Cheers!

thanks don, I'll check when I have some more free time, thought I highly doubt the witcher 2 will run on the current build of crossover.

1 to 30 of 30

CrossOver Forums: the place to discuss running Windows applications on Mac and Linux

CodeWeavers or its third-party tools process personal data (e.g. browsing data or IP addresses) and use cookies or other identifiers, which are necessary for its functioning and required to achieve the purposes illustrated in our Privacy Policy. You accept the use of cookies or other identifiers by clicking the Acknowledge button.
Please Wait...
eyJjb3VudHJ5IjoiVVMiLCJsYW5nIjoiZW4iLCJjYXJ0IjowLCJ0enMiOi02LCJjZG4iOiJodHRwczpcL1wvbWVkaWEuY29kZXdlYXZlcnMuY29tXC9wdWJcL2Nyb3Nzb3Zlclwvd2Vic2l0ZSIsImNkbnRzIjoxNzM2MzczNjgxLCJjc3JmX3Rva2VuIjoiWndoYkt4TkpYVXVYM1ZkVCIsImdkcHIiOjB9