Jump to content

Linux(wine): Aslain mod 1.15.0.1 no longer installs


iru

Recommended Posts

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 by iru
Link to comment
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 by iru
Link to comment
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 by iru
Link to comment
  • Administrator
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;

 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.