ValveSoftware / Proton

Compatibility tool for Steam Play based on Wine and additional components
Other
23.85k stars 1.04k forks source link

Foundation (690830) #2318

Open Sebastiangperez opened 5 years ago

Sebastiangperez commented 5 years ago

Compatibility Report

System Information

I confirm:

Symptoms

The game has some error related on his translation game's log output said this: ERROR Core GamCLocalizationManager::loadFile JSON parsing error: 3

Also the game hangs after pressing the market button, keeping the music / sound in the background.

Reproduction

Press play on the Steam button

RobertZenz commented 3 years ago

@MadByteDE Can confirm that the latest Winetricks and vcrun2017 and Proton 5.11 solved the translation issue, texts are now being displayed.

smirgol commented 3 years ago

Nice work! I successfully was able to launch the game after applying your patch. I had to remove/rename the "AchievementsVDF.vdf" in "localization/en" though, or it would crash after the loading bar filled.

MadByteDE commented 3 years ago

@MadByteDE Can confirm that the latest Winetricks and vcrun2017 and Proton 5.11 solved the translation issue, texts are now being displayed.

Glad to hear it. (btw I used the latest stable 5.0-9 Proton for everything.)

Nice work! I successfully was able to launch the game after applying your patch. I had to remove/rename the "AchievementsVDF.vdf" in "localization/en" though, or it would crash after the loading bar filled.

How do your text strings look? If they start with a # then either the winetricks update and vcrun installation may have failed or there's another issue with the game I haven't seen yet.

smirgol commented 3 years ago

Strings are okay, your script did update winetricks and installed vcrun2017 without problems. Without vcrun2017 there were only placeholders with an "#" in front, but with it's all fine.

MadByteDE commented 3 years ago

Strings are okay, your script did update winetricks and installed vcrun2017 without problems. Without vcrun2017 there were only placeholders with an "#" in front, but with it's all fine.

Hm.. I wonder why you had to delete the file since it got fixed by the winetricks update on my end. But if everything else works and you can access the settings menu everything should be fine.

smirgol commented 3 years ago

Weird. I now have restored the AchievementsVDF.vdf file and it does not crash anymore. But I swear it initially did. ¯_(ツ)_/¯ Only minor thing is, after the game is loaded and the main menu shows up, I need to tab out and back, otherwise I cannot click anything. Besides that everything seems to work, played for a couple of minutes already.

leinardi commented 3 years ago
Just bought the game, and it crashes at the end of the initial loading screen:

![image](https://user-images.githubusercontent.com/273338/95619165-79bc5c80-0a6e-11eb-99b8-8f0d1ef97ca3.png) ``` Foundation - version 1.6.20.0814 missing : in locales.txt line: OpenGL vendor: NVIDIA Corporation OpenGL renderer: GeForce RTX 2080 Ti/PCIe/SSE2 OpenGL version: 4.6.0 NVIDIA 450.66 GL_MAX_TEXTURE_IMAGE_UNITS: 32 GL_MAX_PATCH_VERTICES: 32 GPU dedicated video memory: 11534336KB GPU total available memory: 11534336KB GPU current available video memory: 9830912KB GPU eviction count: 0 GPU evicted memory: 0KB Create Audio Engine Audio Engine created Create world Can't load class PlaCBuildingAssetProcessor Can't load class PlaCBuildingAssetProcessor Can't load class PlaCBuildingAssetProcessor Can't load class PlaCBuildingAssetProcessor Can't load class PlaCBuildingAssetProcessor Can't load class PlaCBuildingAssetProcessor Can't load class PlaCBuildingAssetProcessor Can't load class PlaCBuildingAssetProcessor Can't load class PlaCBuildingAssetProcessor Can't load class PlaCBuildingAssetProcessor Can't load class PlaCBuildingAssetProcessor Can't load class PlaCBuildingAssetProcessor Can't load class PlaCBuildingAssetProcessor Can't load class PlaCBuildingAssetProcessor Can't load class PlaCBuildingAssetProcessor Can't load class PlaCBuildingAssetProcessor Can't load class PlaCBuildingAssetProcessor Can't load class PlaCBuildingAssetProcessor Can't load class PlaCBuildingAssetProcessor Can't load class PlaCBuildingAssetProcessor Can't load class PlaCBuildingAssetProcessor Can't load class PlaCBuildingAssetProcessor Can't load class PlaCBuildingAssetProcessor Can't load class PlaCBuildingAssetProcessor Can't load class PlaCBuildingAssetProcessor Can't load class PlaCBuildingAssetProcessor Can't load class PlaCBuildingAssetProcessor Can't load class PlaCBuildingAssetProcessor Can't load class PlaCBuildingAssetProcessor Can't load class PlaCBuildingAssetProcessor Can't load class PlaCBuildingAssetProcessor Can't load class PlaCBuildingAssetProcessor Can't load class PlaCBuildingAssetProcessor Can't load class PlaCBuildingAssetProcessor Can't load class PlaCBuildingAssetProcessor Can't load class PlaCBuildingAssetProcessor Can't load class PlaCBuildingAssetProcessor Can't load class PlaCBuildingAssetProcessor Can't load class PlaCBuildingAssetProcessor Can't load class PlaCBuildingAssetProcessor Can't load class PlaCBuildingAssetProcessor Can't load class PlaCBuildingAssetProcessor Can't load class PlaCBuildingAssetProcessor Can't load class PlaCBuildingAssetProcessor Can't load class PlaCBuildingAssetProcessor Can't load class PlaCBuildingAssetProcessor Can't load class PlaCBuildingAssetProcessor Can't load class PlaCBuildingAssetProcessor Can't load class PlaCBuildingAssetProcessor Can't load class PlaCBuildingAssetProcessor Can't load class PlaCBuildingAssetProcessor Can't load class PlaCBuildingAssetProcessor Can't load class PlaCBuildingAssetProcessor Can't load class PlaCBuildingAssetProcessor Can't load class PlaCBuildingAssetProcessor Can't load class PlaCBuildingAssetProcessor Can't load class PlaCBuildingAssetProcessor Can't load class PlaCBuildingAssetProcessor Can't load class PlaCBuildingAssetProcessor Can't load class PlaCBuildingAssetProcessor Can't load class PlaCBuildingAssetProcessor Can't load class PlaCBuildingAssetProcessor Can't load class PlaCBuildingAssetProcessor Can't load class PlaCBuildingAssetProcessor Can't load class PlaCBuildingAssetProcessor Can't load class PlaCBuildingAssetProcessor Can't load class PlaCBuildingAssetProcessor Can't load class PlaCBuildingAssetProcessor Can't load class PlaCBuildingAssetProcessor Can't load class PlaCBuildingAssetProcessor Can't load class PlaCBuildingAssetProcessor Can't load class PlaCBuildingAssetProcessor Can't load class PlaCBuildingAssetProcessor preload file Terrain/Foundation_Hills_01/trees_padding_foundation_hills_01.geo: 0.156 s property PlaCDataAgentProfileFunctionVisitor::AssetStatusQuota should not be null in property PlaSContextDataHappinessFactor::HappinessFactor should not be null in property PlaSContextDataHappinessFactor::Applicator should not be null in property PlaSContextDataHappinessFactor::HappinessFactor should not be null in property PlaSContextDataHappinessFactor::Applicator should not be null in property PlaSContextDataWorkstationSetup::WorkstationSetup should not be null in property PlaSContextDataSubtree::Subtree should not be null in property PlaSContextDataSubtree::Subtree should not be null in property PlaSContextDataSubtree::Subtree should not be null in property PlaSContextDataHappinessFactor::Applicator should not be null in property PlaCDataHouseStatus::Item0 should not be null in property PlaCDataVillagerStatusQuantityPair::Status should not be null in property PlaCAssetBuildingFunctionQuarry::RandomResourceToSpawn should not be null in property PlaCAssetBuildingFunctionQuarry::RandomResourceToSpawn should not be null in property PlaCAssetBuildingFunctionTaxOffice::Item0 should not be null in property PlaCAssetBuildingFunctionWorkplaceFarm::HarvestSetup should not be null in property PlaCAssetBuildingFunctionWorkplaceFarm::SowingSetup should not be null in property PlaCAssetBuildingFunctionHouse::RelatedDesirability should not be null in property PlaCAssetBuildingFunctionHouse::RelatedZone should not be null in property PlaCAssetBuildingFunctionHouse::RelatedDesirability should not be null in property PlaCAssetBuildingFunctionHouse::RelatedZone should not be null in property PlaCAssetDesirability::CopyLevelFrom should not be null in property PlaCAssetDesirability::CopyLevelFrom should not be null in property PlaCAssetDesirability::CopyLevelFrom should not be null in property GamCKeyframeAsset::Value should not be null in property GenCParticleSystem::Material should not be null in property PlaCDataActionVisit::NarrativePanelData should not be null in property PlaCDataActionVisit::VisitClickAction should not be null in property PlaCDataActionShowNarrativePanel::AssetNotification should not be null in property PlaCDataAssociationEstateString::AssetEstate should not be null in property PlaCDataEstateQuantityPair::Estate should not be null in property PlaCDataEstateQuantityPair::Estate should not be null in property PlaCDataEstateQuantityPair::Estate should not be null in property PlaCDataEstateQuantityPair::Estate should not be null in property PlaCDataEstateQuantityPair::Estate should not be null in property PlaCDataEstateQuantityPair::Estate should not be null in property PlaCDataActionVisit::NarrativePanelData should not be null in property PlaCDataActionVisit::VisitClickAction should not be null in property PlaCDataActionShowNarrativePanel::AssetNotification should not be null in property PlaCDataAssociationEstateString::AssetEstate should not be null in property PlaCDataEstateQuantityPair::Estate should not be null in property PlaCDataEstateQuantityPair::Estate should not be null in property PlaCDataEstateQuantityPair::Estate should not be null in property PlaCDataEstateQuantityPair::Estate should not be null in property PlaCDataEstateQuantityPair::Estate should not be null in property PlaCDataEstateQuantityPair::Estate should not be null in property PlaCDataActionShowNarrativePanel::AssetNotification should not be null in property PlaCDataActionShowNarrativePanel::AssetNotification should not be null in property PlaCDataActionShowNarrativePanel::AssetNotification should not be null in property PlaCDataActionShowNarrativePanel::AssetNotification should not be null in property PlaCDataActionVisit::VisitClickAction should not be null in property PlaCDataActionShowNarrativePanel::AssetNotification should not be null in property PlaCDataActionShowNarrativePanel::AssetNotification should not be null in property PlaCDataActionShowNarrativePanel::AssetNotification should not be null in property GenCParticleSystem::Material should not be null in property GenCParticleSystem::Material should not be null in property PlaCDataBuildingPartCostPair::BuildingPart should not be null in property PlaCDataBuildingPartCostPair::BuildingPart should not be null in property PlaCDataBuildingPartCostPair::BuildingPart should not be null in property PlaCDataBuildingPartCostPair::BuildingPart should not be null in property PlaCDataGameRuleModifierVillagerHappiness::RuleApplicator should not be null in property PlaCAssetGameRuleMineral::GenericMineralPrefab should not be null in property PlaCAssetGameRuleMineral::DebugMineralToAssign should not be null in property PlaCSkin::DefaultCollapsibleStyle should not be null in property PlaCDataGameRuleModifierNeedPermanentlyFilled::NeedResource should not be null in property PlaCAssetProceduralMilitaryQuestGenerator::QuestFunction should not be null in property PlaCDataQuestFunctionSendTroops::SoldierJob should not be null in property PlaCDataQuestFunctionSendTroops::SoldierRegroupBehavior should not be null in property PlaCDataQuestFunctionSendTroops::SoldierLeaveBehavior should not be null in property PlaCDataQuestFunctionSendTroops::SoldierBackBehavior should not be null in property PlaCDataQuestFunctionSendTroops::SoldierJob should not be null in property PlaCDataQuestFunctionSendTroops::SoldierRegroupBehavior should not be null in property PlaCDataQuestFunctionSendTroops::SoldierLeaveBehavior should not be null in property PlaCDataQuestFunctionSendTroops::SoldierBackBehavior should not be null in property PlaCDataQuestFunctionSendTroops::SoldierJob should not be null in property PlaCDataQuestFunctionSendTroops::SoldierRegroupBehavior should not be null in property PlaCDataQuestFunctionSendTroops::SoldierLeaveBehavior should not be null in property PlaCDataQuestFunctionSendTroops::SoldierBackBehavior should not be null in property PlaCAssetProceduralMilitaryQuestGenerator::QuestFunction should not be null in property PlaCDataQuestFunctionSendTroops::SoldierJob should not be null in property PlaCDataQuestFunctionSendTroops::SoldierRegroupBehavior should not be null in property PlaCDataQuestFunctionSendTroops::SoldierLeaveBehavior should not be null in property PlaCDataQuestFunctionSendTroops::SoldierBackBehavior should not be null in property PlaCDataQuestFunctionSendTroops::SoldierJob should not be null in property PlaCDataQuestFunctionSendTroops::SoldierRegroupBehavior should not be null in property PlaCDataQuestFunctionSendTroops::SoldierLeaveBehavior should not be null in property PlaCDataQuestFunctionSendTroops::SoldierBackBehavior should not be null in property PlaCDataQuestFunctionSendTroops::SoldierJob should not be null in property PlaCDataQuestFunctionSendTroops::SoldierRegroupBehavior should not be null in property PlaCDataQuestFunctionSendTroops::SoldierLeaveBehavior should not be null in property PlaCDataQuestFunctionSendTroops::SoldierBackBehavior should not be null in property PlaCAssetProceduralMilitaryQuestGenerator::QuestFunction should not be null in property PlaCDataQuestFunctionSendTroops::SoldierJob should not be null in property PlaCDataQuestFunctionSendTroops::SoldierRegroupBehavior should not be null in property PlaCDataQuestFunctionSendTroops::SoldierLeaveBehavior should not be null in property PlaCDataQuestFunctionSendTroops::SoldierBackBehavior should not be null in property PlaCDataQuestFunctionSendTroops::SoldierJob should not be null in property PlaCDataQuestFunctionSendTroops::SoldierRegroupBehavior should not be null in property PlaCDataQuestFunctionSendTroops::SoldierLeaveBehavior should not be null in property PlaCDataQuestFunctionSendTroops::SoldierBackBehavior should not be null in property PlaCDataQuestFunctionSendTroops::SoldierJob should not be null in property PlaCDataQuestFunctionSendTroops::SoldierRegroupBehavior should not be null in property PlaCDataQuestFunctionSendTroops::SoldierLeaveBehavior should not be null in property PlaCDataQuestFunctionSendTroops::SoldierBackBehavior should not be null in property PlaCDataActionShowNarrativePanel::AssetNotification should not be null in property PlaCDataActionShowNarrativePanel::AssetNotification should not be null in property PlaCAssetWallConfig::Material should not be null in property PlaCAssetWallConfig::MaterialTop should not be null in init asset manager: 4.691 s load all assets: 10.143 s Clear Scene Open Scene ... Can't find any component named PlaCCompMonument Read Terrain Topology: 3.95 ms Generate grass: 10.70 ms Generate grass: 10.55 ms Load Scene: 871.40 ms JSON parsing error: 3 file: localization/en/achievements.json Register Static Object: 36.59 ms ```

MadByteDE commented 3 years ago

@leinardi Try to temporarily move/delete "AchievementsVDF.vdf" from the game folder i.e /home/USERNAME/.steam/steam/steamapps/common/Foundation/localization/en and report back if that changes anything.

leinardi commented 3 years ago

@MadByteDE Renaming AchievementsVDF.vdf seems a valid workaround. Now I can reach the main menu, but all the localized strings are missing: 20201009204451_1

I have installed the installed the winetricks but doesn't seem to be enough:

leinardi@c7h:/media/Steam/steamapps/common/Foundation$ sudo winetricks --self-update
leinardi@c7h:/media/Steam/steamapps/common/Foundation$ WINEPREFIX=$( realpath ../../compatdata/690830/pfx ) winetricks -q vcrun2017

console output

MadByteDE commented 3 years ago

Ah, I guess the winetricks update failed because you didn't run winetricks --self-update as root. try using sudo winetricks --self-update. If the installation succeeds you'll most likely need to delete the pfx, run the game and crash once more, and then do WINEPREFIX=/media/Steam/steamapps/compatdata/690830/pfx winetricks -q vcrun2017. If everything works, you can add the archivementsVDF.vdf back to the en localization folder.

kisak-valve commented 3 years ago

Hello @leinardi, please use a gist for logs or attach them as a file instead of pasting walls of text.

leinardi commented 3 years ago

@MadByteDE Sorry, I didn't copy pasted the winetricks update line like because I already closed the terminal and forgot to add the sudo inside my message, but I executed it with it.

The update went well and I got the latest version installed:

leinardi@c7h:/media/Steam/steamapps/common/Foundation$ winetricks --version
20200412-next - sha256sum: 5c62bc038fd3ac7fa1e0d09123c61e1034cc5431719f5a1768dcb4bd91990cca

I already tried to delete the wine prefix but the result is the same.

@kisak-valve sure, sorry.

leinardi commented 3 years ago

And clicking the settings makes the game crash:

Create world
createTextWithViewParameters received unused views: #.COMMUNITY_TRANSLATION
createTextWithViewParameters received unused views: #.DISCORD
JSON parsing error: 3 file: localization/en/achievements.json
JSON parsing error: 3 file: localization/en/agents.json
JSON parsing error: 3 file: localization/en/buildings.json
JSON parsing error: 3 file: localization/en/events.json
JSON parsing error: 3 file: localization/en/general.json
JSON parsing error: 3 file: localization/en/help.json
JSON parsing error: 3 file: localization/en/menu.json
JSON parsing error: 3 file: localization/en/military.json
JSON parsing error: 3 file: localization/en/rules.json
JSON parsing error: 3 file: localization/en/steam_page.json
JSON parsing error: 3 file: localization/en/tutorial.json
JSON parsing error: 3 file: localization/en/unlockables.json
JSON parsing error: 3 file: localization/en/whatsnew.json
Analytics server address: https://www.polymorph.games/analytics/
Analytics HTTP result: 5387663
Analytics HTTP result: OK
can't access an unexisting item of a const hash map

Since my OS language is not set to English I tried to add

LC_ALL=C %command%

and

LANG=C %command%

to the launch options but doesn't make any difference.

Sebastiangperez commented 3 years ago

I can't use winetricks , this message appear : warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.

But i download the exe files and run it like this : WINEPREFIX=/home/.../.steam/steam/steamapps/compatdata/690830/pfx /home/.../.steam/steam/steamapps/common/Proton\ 5.0/dist/bin/wine VC_redist.x(version).exe version means x86 or x64 and i installed both , i already did this and the language is not fixed. But now, i rename the Achivements and the game keeps crashing.

Any toughts ?

MadByteDE commented 3 years ago

@leinardi yeah, I had this problem a lot, but since updating winetricks everthing worked fine. Your winetricks execution looks very different from the one I get, so I still think something went wrong with updating winetricks. There's lines missing like Executing wine winecfg -v winxp64, and a lot of different stuff going on. This is my output: GIST

btw my local wine version is 5.18. Maybe it has something to do with this.

leinardi commented 3 years ago

The sha256sum of your version is different and so is the wine version:

Using winetricks 20200412-next - sha256sum: 8efa7c2d4b96045bf6dec3a4b60be588c4c9a7da4e6de7c010cb6f21e2fb708f with wine-5.18 and WINEARCH=win64
Using winetricks 20200412-next - sha256sum: 5c62bc038fd3ac7fa1e0d09123c61e1034cc5431719f5a1768dcb4bd91990cca with wine-5.0 and WINEARCH=win64

I'll try with a newer version of wine.

smirgol commented 3 years ago

Hm, I replayed the installation and it still works for me:

  1. remove prefix
  2. start game, let it crash. new prefix will be created
  3. install vcrun2017 with either winetricks or protontricks
  4. rename "localisation/en/AchievementsVDF.vdf" ( can be later renamed back, once the game started successfully at least once )
  5. start game

I'm using Proton 5.0-9. for this game.

@leinardi There's one thing I've noticed, the sha256sum of my winetricks installation, which winetricks prints at the start, is different than yours: 8efa7c2d4b96045bf6dec3a4b60be588c4c9a7da4e6de7c010cb6f21e2fb708f Though the version"20200412-next" is the same. That's a bit strange.

leinardi commented 3 years ago

@smirgol what's your wine version?

MadByteDE commented 3 years ago

warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.

This is normal and can be ignored.

WINEPREFIX=/home/.../.steam/steam/steamapps/compatdata/690830/pfx /home/.../.steam/steam/steamapps/common/Proton\ 5.0/dist/bin/wine VC_redist.x(version).exe

This looks odd to me, winetricks is necessary to install vcrun since it provides workarounds for common bugs which will be needed to install the files properly.

Seeing all these issues it seems like the winetricks version everyone receives via --self-update somehow varies a bit, which might be the main problem here.

smirgol commented 3 years ago

@smirgol what's your wine version?

wine-5.18 (Staging)

MadByteDE commented 3 years ago

From the winetricks GitHub page:

Note: packaged Debian / Ubuntu winetricks versions are typically outdated, so a manual installation is recommended.

If the package is unavailable, outdated, or the latest version is desired, a manual installation of winetricks can be done. It is highly recommended to uninstall any previously installed version of winetricks first.

If you don't uninstall a previously installed, packaged version of winetricks... Well then you get to pick up the pieces!

And from the winetricks script itself:

# Name of this version of winetricks (YYYYMMDD)
# (This doesn't change often, use the sha256sum of the file when reporting problems)
WINETRICKS_VERSION=20200412-next

If you're on a debian based distro I'd recommand follow the instructions provided at https://github.com/Winetricks/winetricks

smirgol commented 3 years ago

To sum up the procedure:

Uninstall any winetricks you have installed with your package manager first!

Get the latest version (save manually or get it with curl): curl https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks > winetricks sudo mv winetricks /usr/bin/ sudo chmod +x /usr/bin/winetricks

I prefer /usr/local/bin over /usr/bin, but that's up to you.

leinardi commented 3 years ago

Finally works: 20201009214623_1

What I think was the issue? having 2 different version of winetricks installed:

leinardi@c7h:/media/Steam/steamapps/common/Foundation$ sudo winetricks --version
20200412-next - sha256sum: 8efa7c2d4b96045bf6dec3a4b60be588c4c9a7da4e6de7c010cb6f21e2fb708f

leinardi@c7h:/media/Steam/steamapps/common/Foundation$ winetricks --version
20200412-next - sha256sum: 5c62bc038fd3ac7fa1e0d09123c61e1034cc5431719f5a1768dcb4bd91990cca

leinardi@c7h:/media/Steam/steamapps/common/Foundation$ whereis winetricks
winetricks: /usr/bin/winetricks /usr/bin/winetricks.bak /home/leinardi/bin/winetricks /usr/share/man/man1/winetricks.1.gz

I was updating the system installation with sudo winetricks --self-update but then executing the user, outdated installation. Running winetricks --self-update without sudo solved the issue.

I had to delete the prefix and ran WINEPREFIX=$( realpath ../../compatdata/690830/pfx ) winetricks -q vcrun2017 again to get the proper installation. The output is now almost identical to the one form @MadByteDE gist.

I also upgraded wine to 5.18 staging but I don't think was needed (I did it before figuring out that I had 2 version of winetricks installed).

After installing vcrun2017 I don't have to rename AchievementsVDF.vdf anymore and the Settings menu opens correctly.

Thanks a lot for the help, I was very close to refund the game :+1:

MadByteDE commented 3 years ago

@leinardi Glad to see it works for you :+1:

What can we learn from it? If its a common issue I could add a check for any other winetricks version to the script to make sure it uses the right one when installing vcrun. Or just add a warning if the checksum is different from the known working wine version. I can't even run winetricks --self-update: warning: You don't have the proper permissions to run this command. Try again with sudo or as root.

jury68000 commented 3 years ago

Doing --self-update before using winetricks for this game has done the trick! Now the labels in game show properly. Thank you for the tip!

Sebastiangperez commented 3 years ago

Sorry , i just update to proton 5.13 and the game keeps crashing. It will be some fix ?

MadByteDE commented 3 years ago

Sorry , i just update to proton 5.13 and the game keeps crashing. It will be some fix ?

The latest stable Proton version should be 5.0-9. Try this one first with the fixes described above. If it works with 5.0-9 but not with 5.13 (+ the fixes) then there might be a regression with the new build.

Sebastiangperez commented 3 years ago

Thanks , The game now Works.

leinardi commented 3 years ago

Just updated proton from 5.0-9 to 5.13-1 and works the same as before the upgrade.

MadByteDE commented 3 years ago

Just updated proton from 5.0-9 to 5.13-1 and works the same as before the upgrade.

Didn't see previously that that they released a new proton version (sorry for the misunderstanding). But it still works without issues for me as well.

smirgol commented 3 years ago

They've dropped a new preview build (Alpha 1.6.22.106) where the shader issue has been resolved!

Vavooon commented 3 years ago

Hi. I tried to run the game but it keeps crashing (or showing UI without translations). I tried to do the following:

  1. Install Winetricks from master repo
    curl https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks > winetricks
    sudo mv winetricks /usr/bin/
    sudo chmod +x /usr/bin/winetricks
  2. Remove the prefix
    rm -rf /home/$USER/.steam/steam/steamapps/compatdata/690830
  3. Run the game to create the prefix again
  4. Install vcrun2017
    WINEPREFIX=/home/$USER/.steam/steam/steamapps/compatdata/690830/pfx /usr/bin/winetricks -q vcrun2017

I use Ubuntu 20.04, latest preview branch of the game and Proton 5.13.

Sebastiangperez commented 3 years ago

I think you misses rename the Archivements.vdf and run it again. I did exactly what you did and worked for me.

leinardi commented 3 years ago

@Vavooon I would do also a sudo winetricks --self-update, just to be sure.

MadByteDE commented 3 years ago

@Vavooon Check your winetricks version with winetricks --version. The checksum should be 61509663b824d72daafec6a95986e5b256e19e0e8ec1d2b7c4e89cf52665d63b. Also, make sure you don't have two seperate winetricks versions installed.

leinardi commented 3 years ago

@Vavooon also, post the output of WINEPREFIX=/home/$USER/.steam/steam/steamapps/compatdata/690830/pfx /usr/bin/winetricks -q vcrun2017, it could help to find the issue.

Vavooon commented 3 years ago

@Sebastiangperez I can proceed to main menu if I rename it, but there is no translation and it crashes if I open settings. @leinardi Tried to execute it too. @MadByteDE It is 20200412-next - sha256sum: 61509663b824d72daafec6a95986e5b256e19e0e8ec1d2b7c4e89cf52665d63b.

Here is winetricks log https://gist.github.com/Vavooon/df74df7f9e85f6efce4ed0ff66d883bb

leinardi commented 3 years ago
@Vavooon I just ran `winetricks --self-update` and got the same version you are using:

``` leinardi@c7h:~$ winetricks --self-update Executing cd /tmp/winetricks.FKCnFq7D Downloading https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks to /tmp/winetricks.FKCnFq7D --2020-10-18 14:22:41-- https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks Risoluzione di raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.192.133, 151.101.128.133, 151.101.64.133, ... Connessione a raw.githubusercontent.com (raw.githubusercontent.com)|151.101.192.133|:443... connesso. Richiesta HTTP inviata, in attesa di risposta... 200 OK Lunghezza: 873442 (853K) [text/plain] Salvataggio in: "winetricks" winetricks 100%[===================>] 852,97K 2,65MB/s in 0,3s 2020-10-18 14:22:41 (2,65 MB/s) - "winetricks" salvato [873442/873442] Executing cd /home/leinardi Executing mv /tmp/winetricks.FKCnFq7D/winetricks /home/leinardi/bin/winetricks.update Executing rmdir /tmp/winetricks.FKCnFq7D Executing cp /home/leinardi/bin/winetricks /home/leinardi/bin/winetricks.bak Executing chmod -x /home/leinardi/bin/winetricks.bak Executing mv /home/leinardi/bin/winetricks.update /home/leinardi/bin/winetricks Executing chmod +x /home/leinardi/bin/winetricks ------------------------------------------------------ warning: Update finished! The current version is 20200412-next - sha256sum: 61509663b824d72daafec6a95986e5b256e19e0e8ec1d2b7c4e89cf52665d63b. Use 'winetricks --update-rollback' to return to the previous version. ------------------------------------------------------ ```

I start thinking that wine 5.18 is needed, can you try to update it to wine staging, delete the prefix and try again?

See here for the instructions on how to add the official wine repo: https://wiki.winehq.org/Ubuntu

Sebastiangperez commented 3 years ago

@Vavooon I just ran winetricks --self-update and got the same version you are using: I start thinking that wine 5.18 is needed, can you try to update it to wine staging, delete the prefix and try again?

See here for the instructions on how to add the official wine repo: https://wiki.winehq.org/Ubuntu

Do you mean the proton wine version or your system version of wine?

leinardi commented 3 years ago

Do you mean the proton wine version or your system version of wine?

winetricks does not use Proton but the system wine installation, as you can see from the logs:

Using winetricks 20200412-next - sha256sum: 61509663b824d72daafec6a95986e5b256e19e0e8ec1d2b7c4e89cf52665d63b with wine-5.0 (Ubuntu 5.0-3ubuntu1) and WINEARCH=win64
Executing w_do_call vcrun2017
Vavooon commented 3 years ago

So I installed wine-staging with sudo apt install --install-recommends winehq-staging, re-created prefix and installed vcrun2017. Here's the log https://gist.github.com/Vavooon/a258f50f1d88a678834effbb08519d95 The game still crashes.

Neither helped protontricks 690830 -q vcrun2017.

Sebastiangperez commented 3 years ago

So I installed wine-staging with sudo apt install --install-recommends winehq-staging, re-created prefix and installed vcrun2017. Here's the log https://gist.github.com/Vavooon/a258f50f1d88a678834effbb08519d95 The game still crashes.

Neither helped protontricks 690830 -q vcrun2017.

But , i think you are mistaken with two different versions of wine, the one that you installed in the system globally and the other one that came with proton.

Vavooon commented 3 years ago

@Sebastiangperez Indeed, winetricks says it is using wine 5.19 now (that's the latest version from winehq), although protontricks seems to use 5.13. Do you have any idea how I could default to the Proton's version while running winetricks?

Sebastiangperez commented 3 years ago

Maybe you can point out after the prefix ,something like this : WINEPREFIX=/home/.../.steam/steam/steamapps/compatdata/690830/pfx /home/.../.steam/steam/steamapps/common/Proton\ 5.13/dist/bin/wine

Vavooon commented 3 years ago

Not sure I'm getting it. Am I supposed to run winetricks with Proton's wine version (it doesn't sound correct for me because winetricks is rather a script) or run it in some other way?

Sebastiangperez commented 3 years ago

Try this : I uninstall the game, delete the prefix, install the game, run it, let it crash, rename the Archivements.vdf file in localizacion (english directory), download the latest version of winetricks from github and run localy not globaly like ./winetricks in the current directory, mabye you can do a ./winetricks --self-update after that, then run the winetricks using the prefix pinting to WINEPREFIX=/home/(yourusername)/.steam/steam/steamapps/compatdata/690830/pfx winetricks -q vcrun2017 All that worked for me.

Vavooon commented 3 years ago

@Sebastiangperez Tried exactly what you've suggested (however, the latest command was WINEPREFIX=/home/$USER/.steam/steam/steamapps/compatdata/690830/pfx ./winetricks -q vcrun2017) and still no luck. The game starts without translations.

Sebastiangperez commented 3 years ago

Shit ... i had the same problem with the translations, but recently the game crashed when you starting up , i did all that with no hope. did you run the winetricks --self-update ? Do all that over again but with proton 5.09, the first time worked with this version, now i downloaded the patched version from the preview branch and im using the 5.13 version of proton.

Vavooon commented 3 years ago

Yes, I also tried winetricks --self-update Looks like the right way to ensure winetricks is using Proton's wine version is to set WINE variable, like

WINEPREFIX=/home/$USER/.steam/steam/steamapps/compatdata/690830/pfx WINE=/home/$USER/.steam/steam/steamapps/common/Proton\ 5.0/dist/bin/wine winetricks vcrun2017

so I get correct wine version in output

Using winetricks 20200412-next - sha256sum: 61509663b824d72daafec6a95986e5b256e19e0e8ec1d2b7c4e89cf52665d63b with wine-5.0-655-g2409bd1 and WINEARCH=win64

Anyways, it doesn't help.

Sebastiangperez commented 3 years ago

did you delete the 690830 folder? i did that too.