Aller au contenu

[Solved] Can't change the game path and error message pops up


Messages recommandés

Posté(e)

This is the error message: 

Révélation

************** Exception Text **************

System.ArgumentNullException: Value cannot be null.
Parameter name: path1
   at System.IO.Path.Combine(String path1, String path2)
   at Sims4TrayImporter.Dialogs.SettingsGameView.ValidateValues(String[] properties)
   at Sims4TrayImporter.Dialogs.SettingsForm.UpdateView()
   at Sims4TrayImporter.Dialogs.SettingsForm.SetViewSection(String sectionName)
   at Sims4TrayImporter.TabStripController.TabItem_CheckedChanged(Object sender, EventArgs e)
   at System.Windows.Forms.ToolStripButton.OnCheckedChanged(EventArgs e)
   at System.Windows.Forms.ToolStripButton.set_CheckState(CheckState value)
   at System.Windows.Forms.ToolStripButton.set_Checked(Boolean value)
   at Sims4TrayImporter.Dialogs.SettingsForm.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3260.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
S4TI
    Assembly Version: 1.0.0.0
    Win32 Version: 1.9.2.0
    CodeBase: file:///C:/Program Files/TeameeVo/Sims 4 Tray Importer (S4TI) - x64/S4TI.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3221.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3314.0 built by: NET472REL1LAST_B
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3056.0 built by: NET472REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Sims4.Common
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program Files/TeameeVo/Sims 4 Tray Importer (S4TI) - x64/Sims4.Common.DLL
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3056.0 built by: NET472REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3221.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3056.0 built by: NET472REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Sims4.GameInfos
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program Files/TeameeVo/Sims 4 Tray Importer (S4TI) - x64/Sims4.GameInfos.DLL
----------------------------------------
TeameeVo.Import
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program Files/TeameeVo/Sims 4 Tray Importer (S4TI) - x64/TeameeVo.Import.DLL
----------------------------------------
S4TI.LocaleManager
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program Files/TeameeVo/Sims 4 Tray Importer (S4TI) - x64/S4TI.LocaleManager.DLL
----------------------------------------
TeameeVo.Common
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program Files/TeameeVo/Sims 4 Tray Importer (S4TI) - x64/TeameeVo.Common.DLL
----------------------------------------
S4TI.resources
    Assembly Version: 1.0.0.0
    Win32 Version: 1.9.2.0
    CodeBase: file:///C:/Program Files/TeameeVo/Sims 4 Tray Importer (S4TI) - x64/pt/S4TI.resources.DLL
----------------------------------------
Sims4.UserData
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program Files/TeameeVo/Sims 4 Tray Importer (S4TI) - x64/Sims4.UserData.DLL
----------------------------------------
ProtoBuffer
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program Files/TeameeVo/Sims 4 Tray Importer (S4TI) - x64/ProtoBuffer.DLL
----------------------------------------
Sims4.PackageHelper
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program Files/TeameeVo/Sims 4 Tray Importer (S4TI) - x64/Sims4.PackageHelper.DLL
----------------------------------------
Sims4.Package
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program Files/TeameeVo/Sims 4 Tray Importer (S4TI) - x64/Sims4.Package.DLL
----------------------------------------
Sims4.CSharp
    Assembly Version: 1.0.0.0
    Win32 Version: 1.49.0.0
    CodeBase: file:///C:/Program Files/TeameeVo/Sims 4 Tray Importer (S4TI) - x64/Sims4.CSharp.DLL
----------------------------------------
System.Security
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3101.0 built by: NET472REL1LAST_B
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Security/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Security.dll
----------------------------------------
Accessibility
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3056.0 built by: NET472REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------

 

Sem título.jpg

  • Team
Posté(e)

@Mani de Alencar

Did you got an error message?

Was it the first time ever you installed S4TI?

 

Open HELP>System Diagnostics and check if your changes has been saved.

 

If not, as a workaround, you can try to manualy edit the configuration file:

C:\ProgramData\TeameeVo\Sims 4 Tray Importer\Sims4.GameInfos.Settings.xml

Locate GameInstallation platform="win":

  <GameInstallation platform="win">
    <Name>The Sims 4</Name>
    <Locale>[Auto]</Locale>
    <InstallDir>%ProgramFiles%\Origin Games\The Sims 4\</InstallDir>
    <Launcher>[InstallDir]Game\Bin\TS4.exe</Launcher>
  </GameInstallation>

Replace the content of InstallDir by the current path of the game.

Posté(e)

I did not get an error message, I just click "save" and when I open settings the path is back to default. I already tried to change manually as you said in another post, but it seems to do nothing.

This is the system diagnostics:


 

Révélation

 

Begin Reading


App info...
------------------------------

Version  : 1.9.2.1


OS infos...
------------------------------

OSName   : Windows 10
OSVersion: 10.0.17134.0
OSType   : 64-bit
Process  : 64-bit


Framework Info...
------------------------------

Reading .NET Framework version...
.NET Framework Version: 4.7.2

>>>> [Error] Missing assembly 'Sims4.GameInfos.dll'

Opening Registry...
------------------------------

Listing keys for 'HKLM\SOFTWARE\Maxis':
// note: 32-bit node
[\The Sims 4]
 Locale       = pt_BR
>>>> [Warning] 'Install Dir' not found !
>>>> [Warning] 'Product GUID' not found !
// note: 64-bit node
[\The Sims 4]
 Locale       = pt_BR
>>>> [Warning] 'Install Dir' not found !
>>>> [Warning] 'Product GUID' not found !


Reading 'Sims4.GameInfos.Settings.xml'...
------------------------------

Source: C:\ProgramData\TeameeVo\Sims 4 Tray Importer\Sims4.GameInfos.Settings.xml
[The Sims 4]
 MixedMode   = 0


Reading Game infos...
------------------------------

[The Sims 4 Installation]
Name            : The Sims 4
Version         : 1.0
DisplayName     : The Sims™ 4
Locale          : pt_BR
InstallDir      : 
IsInstalled     : False
IsLoadedFromXml : False

ExePath         : 
ExeExists       : False

MyDocuments     : C:\Users\manid\Documents
MyDocsExists    : True
UserData        : C:\Users\manid\Documents\Electronic Arts\The Sims 4
UserDataExists  : True

Checking Tray folder...
TrayDir         : C:\Users\manid\Documents\Electronic Arts\The Sims 4\Tray
TrayDirExists   : True
LibraryCount    : 9

Checking Mods folder...
ModsDir         : C:\Users\manid\Documents\Electronic Arts\The Sims 4\Mods
ModsDirExists   : True
ResCfgExists    : True
ModsCount       : 5073

Checking Game files...
>>>> [Error]


Done!

 

 

  • Team
Posté(e)

@Mani de Alencar your configuration file is (almost) empty, so there must an internal error that prevents the change to be saved.

 

Try this, to reset all settings to their default value:

Press Win+R, then type "C:\Program Files\TeameeVo\Sims 4 Tray Importer (S4TI) - x64\S4TI.exe" -reset

 

Have you tried the 32bit version?.

 

  • Team
Posté(e)
Il y a 1 heure, Mani de Alencar a dit :

And about the 32bit version, the link for the download is wrong

There's nothing wrong here, the file has simply been replaced by the hotfix. 😉

So just download the official version (not 64bit).

 

If nothing works, fixing the missing 'Install Dir' key in the registry should allow the auto detection to work as expected.

Open Notepad then paste:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Maxis\The Sims 4]
"Install Dir"="C:\\Program Files (x86)\\Origin Games\\The Sims 4\\"

Replace "C:\\Program Files (x86)\\Origin Games\\The Sims 4\\" with the current path of the game, don't forget to replace the '\' by '\\'.

 

Save the file as s4regfix.reg then close Notepad, double-click on s4regfix.reg to update the registry. 

Posté(e)
il y a 52 minutes, deevo a dit :

There's nothing wrong here, the file has simply been replaced by the hotfix. 😉

So just download the official version (not 64bit).

 

If nothing works, fixing the missing 'Install Dir' key in the registry should allow the auto detection to work as expected.

Open Notepad then paste:


Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Maxis\The Sims 4]
"Install Dir"="C:\\Program Files (x86)\\Origin Games\\The Sims 4\\"

Replace "C:\\Program Files (x86)\\Origin Games\\The Sims 4\\" with the current path of the game, don't forget to replace the '\' by '\\'.

 

Save the file as s4regfix.reg then close Notepad, double-click on s4regfix.reg to update the registry. 

sorry, I didn't understand the last step

Rejoindre la conversation

Vous pouvez publier maintenant et vous inscrire plus tard. Si vous avez un compte, connectez-vous maintenant pour publier avec votre compte.

Invité
Répondre à ce sujet…

×   Collé en tant que texte enrichi.   Coller en tant que texte brut à la place

  Seulement 75 émoticônes maximum sont autorisées.

×   Votre lien a été automatiquement intégré.   Afficher plutôt comme un lien

×   Votre contenu précédent a été rétabli.   Vider l’éditeur

×   Vous ne pouvez pas directement coller des images. Envoyez-les depuis votre ordinateur ou insérez-les depuis une URL.



×
×
  • Créer...

Information importante

Nous avons placé des cookies sur votre appareil pour aider à améliorer ce site. Vous pouvez choisir d’ajuster vos paramètres de cookie, sinon nous supposerons que vous êtes d’accord pour continuer. Conditions d’utilisation Politique de confidentialité