iru Posted January 15, 2022 Posted January 15, 2022 (edited) I am using World of tanks and Aslain mod pack on linux for years now, but in latest version, on installation screen, when selecting the directory where WOT is installed and you press next, the msgbox with error is displayed and modpack doesnt install. --------------------------- Setup --------------------------- Runtime error (at 208:105): Invalid floating point operation. --------------------------- OK --------------------------- I am presuming that you are parsing something from the WOT directory as if you try to install it into empty directory, it works and goes to the screen with mods selection. I don't know what the last version was that was working but before 1.15.0 it was working fine so I hope there isnt much code to diff. Edited January 15, 2022 by iru Quote
Administrator Aslain Posted January 15, 2022 Administrator Posted January 15, 2022 In this step the code is checking if worldoftanks.exe is present in selected folder, if it's not then it's displaying warning: World of Tanks does not seem to be installed in that folder.%n%nContinue anyway? Quote
iru Posted January 15, 2022 Author Posted January 15, 2022 (edited) 4 minutes ago, Aslain said: In this step the code is checking if worldoftanks.exe is present in selected folder, if it's not then it's displaying warning: World of Tanks does not seem to be installed in that folder.%n%nContinue anyway? Yes and this pop up is shown if I try to install into empty folder. But this part of installation works fine. The error is encountered only when using WOT installation directory, so there must be something else. Since this is new installation of WOT, there is no aslain mod installed yet (I got new laptop). Very simple solution would be that on error, you dont return user to the previous screen but give him option like on dialog you mentioned - "Continue anyway?", as returning me back to directory selection screen throws me into next+error loop that i cant get out/continue. Edited January 15, 2022 by iru Quote
Administrator Aslain Posted January 15, 2022 Administrator Posted January 15, 2022 there is also chance for this "Attention: Unsuitable game client version detected" window. It shows up if paths.xml contains unsupported game version. Maybe the installer is unable to open this file. Quote
iru Posted January 15, 2022 Author Posted January 15, 2022 (edited) 15 minutes ago, Aslain said: there is also chance for this "Attention: Unsuitable game client version detected" window. It shows up if paths.xml contains unsupported game version. Maybe the installer is unable to open this file. Hm, I have copied worldoftanks.exe and pathx.xml to the empty directory, but the installation didnt complain, something else needs to be checked. Might be that some value in paths.xml is parsed incorrectly. Are you using version control (git/svn/whatever) for the installation? Can you check the modifications done between last 2 releases on that part of the code? I have attached paths.xml, maybe there is something different in it? paths.xml Edited January 15, 2022 by iru Quote
Administrator Aslain Posted January 15, 2022 Administrator Posted January 15, 2022 if FileExists(ExpandConstant('{app}\paths.xml')) then begin PathsData := TStringList.Create(); PathsData.LoadFromFile(ExpandConstant('{app}\paths.xml')); for I := 0 to PathsData.Count - 1 do if Pos('res_mods', PathsData.Strings[I]) > 0 then if XMLStringReadValue(PathsData.Strings[I], 'Path', PatchVer) then begin while Pos('/', PatchVer) > 0 do Delete(PatchVer, 1, Pos('/', PatchVer)); Break; end; PathsData.Free(); Result := CompareStr(PatchVer, '{#WotVer}') = 0; if not Result then MsgBox(ExpandConstant('{cm:UnsuitableGameVersionDetected}'), mbInformation, MB_OK); end; end; Quote
iru Posted January 15, 2022 Author Posted January 15, 2022 (edited) No it is not this part, I have checked the xml and it is ok... Was maybe some change/version upgrade in installation? Edited January 15, 2022 by iru Quote
nutcracker Posted January 23, 2022 Posted January 23, 2022 I have the same issue with the current WoWS Modpack installation under Pop_OS + Wine. Quote
nutcracker Posted January 24, 2022 Posted January 24, 2022 (edited) This post contained the solution for me: My previous Wine version was 6.14, now I am using 7.0-1, and it works again. @iru does it work for you, as well? Edited January 24, 2022 by nutcracker Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.