+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 20 of 33

Thread: Victoria 2 Demo on Linux

  1. #1
    gouverneur-generaal vanDiemen's Avatar
    HoI AnthologyDiplomacyHearts of Iron IIIHeir to the ThroneEuropa Universalis III: In Nomine
    EU3 Napoleon's AmbitionVictoria: RevolutionsEuropa Universalis: RomeVictoria 2Rome: Vae Victis

    Join Date
    Jan 2007
    Location
    Malmö, Sweden
    Posts
    21

    Victoria 2 & it's demo on Linux

    How to get Victoria 2 and it's Demo running under Linux:
    (EDIT: Was Victora 2 Demo on Linux)

    Both the Demo and the full game runs very good under Linux.
    I've only the boxed version of the game, but I guess there will be no problem with installation of gamersgate & co versions.

    Installation:
    - execute Setup.exe (or Victoria2_Demo.exe) with help of Wine.
    - cancel dotnet20 installation when that dialog appears, See why below.
    - Install msvcrun2005sp1
    - cancel directx installation.

    Download native windows d3dx9_36.dll and for the demo d3dx9_40.dll as well (from example: http://www.dll-files.com/) and override them in winecfg. (Set to Native)

    Set (string) HKCU/Software/Wine/Direct3D/VideoMemorySize to the size of your video card's memory (e.g. "512") via "wine regedit"
    Set (string) HKCU/Software/Wine/DirectSound/MaxShadowSize to "0" via "wine regedit"

    Bugs:
    If you install dotnet20 and/or msvcrun2005sp1 via winetricks you might not be able to start the game. See bug:
    http://bugs.winehq.org/show_bug.cgi?id=16577
    Workaround is not to install dotnet20 nor msvcrun2005sp1 via winetricks and not use the launcher.

    Updates:
    Have a look in launcher/launcher.cfg where the URL to updates are located. Version 1.1 installs without any issues.

    That's it!
    Last edited by vanDiemen; 16-08-2010 at 22:28.

  2. #2
    academic outlaw Moderator safferli's Avatar
    DiplomacyV2 BetaHoi 2 BetaEU3 Collectors EditionEUIV: Call to arms event

    Join Date
    Mar 2006
    Posts
    11,453
    Gaute65 has mentioned it worked with Wine/Playonlinux in the megathread, I'll repost his post here:

    Quote Originally Posted by Gaute65 View Post
    Using Playonliux, thats a graphical frontend for wine. Using wine 1.2 .

    The performance is fine, much better than HOI3. The only thing not working is music. Must set MaxShadowSize=0 in the registry or the game will not run. I have done the same thing in all other Paradox games and music still worked, so I'm hoping this is just a demo problem.
    When I speak in regal, manly grey I do so as a moderator.
    Never publicly comment or answer to a moderation post. Please write a PM (see Rule #2 of the Forum Rules).

    --
    How to give a proper man-to-man hug

    Ireland's Teardrop -- EU3 DW Munster/Ireland AAR. Follow the story of Munster, taking over the entire North American continent!
    Rule Helvetia! Helvetia Rule the Waves... -- Victoria 2 beta AAR. Watch Switzerland defeat the British Royal Navy... or die trying!
    What if the Pope had 200,000 men? -- A Papal States EU3 1.3 aar (abandoned/finished after owning 70% of the world)

  3. #3
    Did you Install the msvcrun2005sp1 via winetricks or did you use the installation of the game the?

    Since although I did exactly the same things you did, the game crashes
    on start-up with a visual c++ runtime error. (I am using opsensuse)

    Any suggestions?

  4. #4
    Newbie Demi Moderator Gaute65's Avatar
    200k clubCities in Motion 2Crusader Kings IIDeus VultDiplomacy
    EU3 CompleteDivine WindHearts of Iron IIIHeir to the ThroneRome Gold
    SengokuVictoria 2CK2: Holy KnightEU3 Collectors Edition500k club
    Europa Universalis IV: Pre-orderEUIV: Call to arms eventEUIV: Wealth of NationsEUIV: Conquest of ParadiseEUIV: Res Publica
    Crusader Kings II: Legacy of RomeCrusader Kings II: Sword of IslamCrusader Kings II: Sunset InvasionCrusader Kings II: The RepublicCrusader Kings II: The Old Gods
    Crusader Kings II: Sons of AbrahamCrusader Kings II: Rajas of IndiaCrusader Kings II: Charlemagne

    Join Date
    May 2001
    Location
    Mombot Road 103, Norway
    Posts
    4,370
    Have you installed the gecko engine?
    Paradox Linux User Group

    Age, catamite- fac mihi hunc diem felicissimum.

  5. #5
    Yes, i did.

  6. #6
    Newbie Demi Moderator Gaute65's Avatar
    200k clubCities in Motion 2Crusader Kings IIDeus VultDiplomacy
    EU3 CompleteDivine WindHearts of Iron IIIHeir to the ThroneRome Gold
    SengokuVictoria 2CK2: Holy KnightEU3 Collectors Edition500k club
    Europa Universalis IV: Pre-orderEUIV: Call to arms eventEUIV: Wealth of NationsEUIV: Conquest of ParadiseEUIV: Res Publica
    Crusader Kings II: Legacy of RomeCrusader Kings II: Sword of IslamCrusader Kings II: Sunset InvasionCrusader Kings II: The RepublicCrusader Kings II: The Old Gods
    Crusader Kings II: Sons of AbrahamCrusader Kings II: Rajas of IndiaCrusader Kings II: Charlemagne

    Join Date
    May 2001
    Location
    Mombot Road 103, Norway
    Posts
    4,370
    This is how I install V2.

    I'm using Playonlinux, first I set wineversion to 1.2,, then installed the Wine gecko engine and set sound to alsa. Then install, where I said yes to all, .Net chrashed, but directX install just fine. Then did I the soundfix.

    That's all.
    Paradox Linux User Group

    Age, catamite- fac mihi hunc diem felicissimum.

  7. #7
    gouverneur-generaal vanDiemen's Avatar
    HoI AnthologyDiplomacyHearts of Iron IIIHeir to the ThroneEuropa Universalis III: In Nomine
    EU3 Napoleon's AmbitionVictoria: RevolutionsEuropa Universalis: RomeVictoria 2Rome: Vae Victis

    Join Date
    Jan 2007
    Location
    Malmö, Sweden
    Posts
    21
    I install every game in a separate folder, using WINEPREFIX.
    I usually start with "WINEPREFIX=~/games/<game> winecfg" and set up alsa for audio. Gecko gets installed then automatically.

    I did have problems with visual c++ runtime error when I used winetricks to install it. I didn't manage to solve it, so
    I removed the complete vicky2demo installation and started over in an empty directory.

  8. #8
    Okay, so I will try to install the visual c++ from the game.

    Well, it works now. But only if I do it without winetricks
    and get everything from the game. Strange, but nevermind :-D.
    Last edited by hermi; 11-08-2010 at 13:51.

  9. #9
    Newbie Demi Moderator Gaute65's Avatar
    200k clubCities in Motion 2Crusader Kings IIDeus VultDiplomacy
    EU3 CompleteDivine WindHearts of Iron IIIHeir to the ThroneRome Gold
    SengokuVictoria 2CK2: Holy KnightEU3 Collectors Edition500k club
    Europa Universalis IV: Pre-orderEUIV: Call to arms eventEUIV: Wealth of NationsEUIV: Conquest of ParadiseEUIV: Res Publica
    Crusader Kings II: Legacy of RomeCrusader Kings II: Sword of IslamCrusader Kings II: Sunset InvasionCrusader Kings II: The RepublicCrusader Kings II: The Old Gods
    Crusader Kings II: Sons of AbrahamCrusader Kings II: Rajas of IndiaCrusader Kings II: Charlemagne

    Join Date
    May 2001
    Location
    Mombot Road 103, Norway
    Posts
    4,370
    To improve performance you can add this parameters in the Direct3D folder in registry:

    DirectDrawRenderer = opengl

    OffscreenRenderingMode = fbo
    Paradox Linux User Group

    Age, catamite- fac mihi hunc diem felicissimum.

  10. #10
    gouverneur-generaal vanDiemen's Avatar
    HoI AnthologyDiplomacyHearts of Iron IIIHeir to the ThroneEuropa Universalis III: In Nomine
    EU3 Napoleon's AmbitionVictoria: RevolutionsEuropa Universalis: RomeVictoria 2Rome: Vae Victis

    Join Date
    Jan 2007
    Location
    Malmö, Sweden
    Posts
    21
    Updated instructions for the full game.

  11. #11
    Quote Originally Posted by vanDiemen View Post
    How to get Victoria 2 and it's Demo running under Linux:
    (EDIT: Was Victora 2 Demo on Linux)

    Both the Demo and the full game runs very good under Linux.
    I've only the boxed version of the game, but I guess there will be no problem with installation of gamersgate & co versions.

    Installation:
    - execute Setup.exe (or Victoria2_Demo.exe) with help of Wine.
    - cancel dotnet20 installation when that dialog appears, See why below.
    - Install msvcrun2005sp1
    - cancel directx installation.

    Download native windows d3dx9_36.dll and for the demo d3dx9_40.dll as well (from example: http://www.dll-files.com/) and override them in winecfg. (Set to Native)

    Set (string) HKCU/Software/Wine/Direct3D/VideoMemorySize to the size of your video card's memory (e.g. "512") via "wine regedit"
    Set (string) HKCU/Software/Wine/DirectSound/MaxShadowSize to "0" via "wine regedit"

    Bugs:
    If you install dotnet20 and/or msvcrun2005sp1 via winetricks you might not be able to start the game. See bug:
    http://bugs.winehq.org/show_bug.cgi?id=16577
    Workaround is not to install dotnet20 nor msvcrun2005sp1 via winetricks and not use the launcher.

    Updates:
    Have a look in launcher/launcher.cfg where the URL to updates are located. Version 1.1 installs without any issues.

    That's it!
    Some questions
    I did follow these instructions but i did install directX when it asked, but not dotnet20 (got error) or msvcrun2005sp1, do i have to install them?
    where do you put the d3dx9_36.dll file after download, when i start the game i get error "the working directory doesnt seem to be correct? is it because of the directX inst or because of ms2005?

    Thanx

  12. #12
    Captain ferrelas's Avatar
    Crusader Kings IIEU3 CompleteDivine WindFor the MotherlandHearts of Iron III
    Heir to the ThroneSemper FiVictoria 2Victoria II: A House Divided

    Join Date
    Jan 2010
    Location
    Sweden
    Posts
    452
    Quote Originally Posted by roug1234 View Post
    when i start the game i get error "the working directory doesnt seem to be correct?
    When I get this error it is usualy that the working directory you try to run the game from is not thesame as the one the game is installed in. Just do 'cd /path/to/game & wine <executable>' the path to the game folder can be reative or absolute, that doesn't matter.
    OP = original poster

    TS = transport stream

    Another thing, soldier have morale, clergy are moral, well hopefully at least.

    Hopefully this is cleared up now.

  13. #13
    Captain ferrelas's Avatar
    Crusader Kings IIEU3 CompleteDivine WindFor the MotherlandHearts of Iron III
    Heir to the ThroneSemper FiVictoria 2Victoria II: A House Divided

    Join Date
    Jan 2010
    Location
    Sweden
    Posts
    452
    Not getting this to work, tried both with and without winetricks. I not understanding where dotnet comes from in your instructions, I'm not supposed to install it with the game (correct as this method of installing dotnet does not work9, and i'm not supposed to install it via wnietricks, then how am i supposed to run vicky which is a dotnet app?
    OP = original poster

    TS = transport stream

    Another thing, soldier have morale, clergy are moral, well hopefully at least.

    Hopefully this is cleared up now.

  14. #14
    Newbie Demi Moderator Gaute65's Avatar
    200k clubCities in Motion 2Crusader Kings IIDeus VultDiplomacy
    EU3 CompleteDivine WindHearts of Iron IIIHeir to the ThroneRome Gold
    SengokuVictoria 2CK2: Holy KnightEU3 Collectors Edition500k club
    Europa Universalis IV: Pre-orderEUIV: Call to arms eventEUIV: Wealth of NationsEUIV: Conquest of ParadiseEUIV: Res Publica
    Crusader Kings II: Legacy of RomeCrusader Kings II: Sword of IslamCrusader Kings II: Sunset InvasionCrusader Kings II: The RepublicCrusader Kings II: The Old Gods
    Crusader Kings II: Sons of AbrahamCrusader Kings II: Rajas of IndiaCrusader Kings II: Charlemagne

    Join Date
    May 2001
    Location
    Mombot Road 103, Norway
    Posts
    4,370
    Use v2.exe not victoria2.exe, then the game will start.
    Paradox Linux User Group

    Age, catamite- fac mihi hunc diem felicissimum.

  15. #15
    Newbie Demi Moderator Gaute65's Avatar
    200k clubCities in Motion 2Crusader Kings IIDeus VultDiplomacy
    EU3 CompleteDivine WindHearts of Iron IIIHeir to the ThroneRome Gold
    SengokuVictoria 2CK2: Holy KnightEU3 Collectors Edition500k club
    Europa Universalis IV: Pre-orderEUIV: Call to arms eventEUIV: Wealth of NationsEUIV: Conquest of ParadiseEUIV: Res Publica
    Crusader Kings II: Legacy of RomeCrusader Kings II: Sword of IslamCrusader Kings II: Sunset InvasionCrusader Kings II: The RepublicCrusader Kings II: The Old Gods
    Crusader Kings II: Sons of AbrahamCrusader Kings II: Rajas of IndiaCrusader Kings II: Charlemagne

    Join Date
    May 2001
    Location
    Mombot Road 103, Norway
    Posts
    4,370
    Quote Originally Posted by roug1234 View Post
    Some questions
    I did follow these instructions but i did install directX when it asked, but not dotnet20 (got error) or msvcrun2005sp1, do i have to install them?
    where do you put the d3dx9_36.dll file after download, when i start the game i get error "the working directory doesnt seem to be correct? is it because of the directX inst or because of ms2005?

    Thanx
    You must install msvcrun2005sp1 and start the game via v2.exe
    Paradox Linux User Group

    Age, catamite- fac mihi hunc diem felicissimum.

  16. #16
    Captain ferrelas's Avatar
    Crusader Kings IIEU3 CompleteDivine WindFor the MotherlandHearts of Iron III
    Heir to the ThroneSemper FiVictoria 2Victoria II: A House Divided

    Join Date
    Jan 2010
    Location
    Sweden
    Posts
    452
    This really does not work for me. Launcher works fine, but the game (v2game.exe) bails with this:

    fixme:actctxarse_depend_manifests Could not find dependent assembly L"Microsoft.VC80.CRT" (8.0.50727.762)
    fixme:actctxarse_depend_manifests Could not find dependent assembly L"Microsoft.VC80.CRT" (8.0.50727.762)
    err:module:attach_process_dlls "MSVCR80.dll" failed to initialize, aborting
    err:module:LdrInitializeThunk Main exe initialization for L"C:\\Program Files\\Paradox Interactive\\Victoria 2\\v2game.exe" failed, status c0000142

    message regardless of the method of starting it (directly or via launcher). I've tried all methods I could think of to install it none work, would someone please post _complete_ instructions on how to install everything properly (as none of the instructions currently explain how to get dotnet without using either the installer provided with the game or using winetricks).
    OP = original poster

    TS = transport stream

    Another thing, soldier have morale, clergy are moral, well hopefully at least.

    Hopefully this is cleared up now.

  17. #17
    Newbie Demi Moderator Gaute65's Avatar
    200k clubCities in Motion 2Crusader Kings IIDeus VultDiplomacy
    EU3 CompleteDivine WindHearts of Iron IIIHeir to the ThroneRome Gold
    SengokuVictoria 2CK2: Holy KnightEU3 Collectors Edition500k club
    Europa Universalis IV: Pre-orderEUIV: Call to arms eventEUIV: Wealth of NationsEUIV: Conquest of ParadiseEUIV: Res Publica
    Crusader Kings II: Legacy of RomeCrusader Kings II: Sword of IslamCrusader Kings II: Sunset InvasionCrusader Kings II: The RepublicCrusader Kings II: The Old Gods
    Crusader Kings II: Sons of AbrahamCrusader Kings II: Rajas of IndiaCrusader Kings II: Charlemagne

    Join Date
    May 2001
    Location
    Mombot Road 103, Norway
    Posts
    4,370
    Say yes to install .Net, DirectX and ms2005. That's what I did, but I'm using Playonlinux, so that could be the difference
    Paradox Linux User Group

    Age, catamite- fac mihi hunc diem felicissimum.

  18. #18
    Major gosam's Avatar
    Crusader Kings IIFor the MotherlandHearts of Iron IIIEuropa Universalis III: In NomineEU3 Napoleon's Ambition
    Victoria: RevolutionsSemper FiVictoria 2Victoria II: A House DividedVictoria II: Heart of Darkness
    EU3 Collectors Edition500k clubEuropa Universalis IV: Pre-order

    Join Date
    Aug 2004
    Location
    Rabat, Morocco
    Posts
    611
    Quote Originally Posted by ferrelas View Post
    This really does not work for me. Launcher works fine, but the game (v2game.exe) bails with this:

    fixme:actctxarse_depend_manifests Could not find dependent assembly L"Microsoft.VC80.CRT" (8.0.50727.762)
    fixme:actctxarse_depend_manifests Could not find dependent assembly L"Microsoft.VC80.CRT" (8.0.50727.762)
    err:module:attach_process_dlls "MSVCR80.dll" failed to initialize, aborting
    err:module:LdrInitializeThunk Main exe initialization for L"C:\\Program Files\\Paradox Interactive\\Victoria 2\\v2game.exe" failed, status c0000142

    message regardless of the method of starting it (directly or via launcher). I've tried all methods I could think of to install it none work, would someone please post _complete_ instructions on how to install everything properly (as none of the instructions currently explain how to get dotnet without using either the installer provided with the game or using winetricks).
    To solve that problem I downloaded a MSVCR80 zip file off the net. it contained the Microsoft.VC80.CRT file along with 3 other DLLs. I extracted the lot to the game folder and it worked. I know some tutorials say that this isn't recommended, but it's the only way for me to solve that problem. Installing msvcrun2005sp1 didn't help.
    Join the The Order of the Paradox , a Cybernations alliance.

    Running Victoria 2:AHD and HoI3:FtM with wine on Debian sid.

    Put absurdity in your life : uncyclopedia
    my first aar : Transvaal, the united african republic.

  19. #19
    Captain ferrelas's Avatar
    Crusader Kings IIEU3 CompleteDivine WindFor the MotherlandHearts of Iron III
    Heir to the ThroneSemper FiVictoria 2Victoria II: A House Divided

    Join Date
    Jan 2010
    Location
    Sweden
    Posts
    452
    Quote Originally Posted by Gaute65 View Post
    Say yes to install .Net, DirectX and ms2005. That's what I did, but I'm using Playonlinux, so that could be the difference
    I did this and it work _very_ wierd since it's more or less the same things I've been doing without results twelve times over...

    EDIT: The launcher doesn't work now instead, better, but room for improvement.
    Last edited by ferrelas; 21-08-2010 at 15:11.
    OP = original poster

    TS = transport stream

    Another thing, soldier have morale, clergy are moral, well hopefully at least.

    Hopefully this is cleared up now.

  20. #20
    Captain ferrelas's Avatar
    Crusader Kings IIEU3 CompleteDivine WindFor the MotherlandHearts of Iron III
    Heir to the ThroneSemper FiVictoria 2Victoria II: A House Divided

    Join Date
    Jan 2010
    Location
    Sweden
    Posts
    452
    Quote Originally Posted by gosam View Post
    To solve that problem I downloaded a MSVCR80 zip file off the net. it contained the Microsoft.VC80.CRT file along with 3 other DLLs. I extracted the lot to the game folder and it worked. I know some tutorials say that this isn't recommended, but it's the only way for me to solve that problem. Installing msvcrun2005sp1 didn't help.
    Tried to do that accually, didn't work. Plus I still get that error, but the game runs just fine. :P

    EDIT: And it's a bad diea to do that, not only because of versioning issues, but also because you have no idea what's accually in the file, could be anything.
    OP = original poster

    TS = transport stream

    Another thing, soldier have morale, clergy are moral, well hopefully at least.

    Hopefully this is cleared up now.

+ Reply to Thread
Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts