Forum Discussion

4 Replies

  • Maridemi7's avatar
    Maridemi7
    2 years ago

    Hi! I downloaded the mod, and following the script instructions I get "A UI-scaled package file was generated, and saved to "/Users/maripapasavva/Documents/Electronic Arts/The Sims 3/Mods/TinyUIFix/tiny-ui-fix.package" Have fun! 🙂". 

    However, when I check the mods folder, I see a file called "TinyUIFix", but it is empty, no package is visible. 

    I am attaching the script:

    Trying to find file-paths for your installation of The Sims 3.

    The file-path of your ins/Users/maripapasavva/Documents/Electronic Arts/The Sims 3 please supply the file-path of your Sims 3 installation. (It is usually a folder named "The Sims 3"): 

    Reading the load-order for patchsets from "/Users/mari/tiny-ui-fix-for-ts3/LastPatchsetLoadOrder.txt".

    Reading the configurations for patchsets from "/Users/mari/tiny-ui-fix-for-ts3/LastPatchsetConfiguration.json".

    Reading patchsets from "/Users/mari/tiny-ui-fix-for-ts3/Patchsets".

    Resolving the load-order for patchsets.

    Loading patchset "Nucleus" from "/Users/mari/tiny-ui-fix-for-ts3/Patchsets/Nucleus.ps1".

    Loading patchset "VanillaCoreCompatibilityPatch" from "/Users/mari/tiny-ui-fix-for-ts3/Patchsets/VanillaCoreCompatibilityPatch.ps1".

    Loading patchset "CompatibilityPatchesForNRaasMods" from "/Users/mari/tiny-ui-fix-for-ts3/Patchsets/CompatibilityPatchesForNRaasMods.ps1".

    Settling state for the "Nucleus" patchset.

    Loading patchset "CompatibilityPatchForSmoothPatch" from "/Users/mari/tiny-ui-fix-for-ts3/Patchsets/CompatibilityPatchForSmoothPatch.ps1".

    Resolving the resource priorities for the Sims 3 installation at "/Users/mari/Documents/Electronic Arts/The Sims 3" with the user-data at "/Users/maripapasavva/Documents/Electronic Arts/The Sims 3".

    Checking the game folder at "/Users/mari/Documents/Electronic Arts/The Sims 3".

    An unexpected error occurred. Should you like assistance with this error, please assist those assisting you by copying the indented text into your request for assistance. The error was:

        = Tiny UI Fix version 1.3.3, running on PowerShell v7.2.9, on Unix 14.3.0 =

        Cannot find path '/Users/mari/Documents/Electronic Arts/The Sims 3/Contents/GameData/Shared' because it does not exist.

        HRESULT: 80131501

        The type of error was: System.Management.Automation.ItemNotFoundException

        The line that caused the error was: $GameSubDirectory = Get-Item -LiteralPath (Join-Path $Sims3Path $SubPath) -ErrorAction Stop

        The error occurred:

            at System.Management.Automation.LocationGlobber.ResolveDriveQualifiedPath(String path, CmdletProviderContext context, Boolean allowNonexistingPaths, CmdletProvider& providerInstance)

            at System.Management.Automation.LocationGlobber.GetGlobbedMonadPathsFromMonadPath(String path, Boolean allowNonexistingPaths, CmdletProviderContext context, CmdletProvider& providerInstance)

            at System.Management.Automation.LocationGlobber.GetGlobbedProviderPathsFromMonadPath(String path, Boolean allowNonexistingPaths, CmdletProviderContext context, ProviderInfo& provider, CmdletProvider& providerInstance)

            at System.Management.Automation.SessionStateInternal.GetItem(String[] paths, CmdletProviderContext context)

            at System.Management.Automation.ItemCmdletProviderIntrinsics.Get(String path, CmdletProviderContext context)

            at Microsoft.PowerShell.Commands.GetItemCommand.ProcessRecord()

            at <ScriptBlock>, /Users/mari/tiny-ui-fix-for-ts3/Use-TinyUIFixForTS3.ps1: line 1365

            at Resolve-ResourcePrioritiesForSims3Installation, /Users/maripapasavva/tiny-ui-fix-for-ts3/Use-TinyUIFixForTS3.ps1: line 1395

            at Resolve-ResourcePrioritiesForSims3InstallationForUIScaling, /Users/mari/tiny-ui-fix-for-ts3/Use-TinyUIFixForTS3.ps1: line 3947

            at <ScriptBlock>, /Users/mari/tiny-ui-fix-for-ts3/Use-TinyUIFixForTS3.ps1: line 4904

            at <ScriptBlock>, /Users/mari/tiny-ui-fix-for-ts3/tiny-ui-fix-for-ts3-Bootstrap.ps1: line 75

            at <ScriptBlock>, <No file>: line 1

            at <ScriptBlock>, <No file>: line 1

    The configurator is available at the URL: http://127.0.0.1:49603/

    You can:

    Press [Enter], or [O] to open the URL in the default web-browser.

    Or, open the URL manually.

    Or, close the configurator by pressing [Q], [Ctrl+C], or [Ctrl+Z].

    Or, cancel the package generation altogether by pressing [Ctrl+D].

    Loading patchset "Nucleus" from "/Users/maripapasavva/tiny-ui-fix-for-ts3/Patchsets/Nucleus.ps1".

    Loading patchset "VanillaCoreCompatibilityPatch" from "/Users/mari/tiny-ui-fix-for-ts3/Patchsets/VanillaCoreCompatibilityPatch.ps1".

    Loading patchset "CompatibilityPatchesForNRaasMods" from "/Users/mari/tiny-ui-fix-for-ts3/Patchsets/CompatibilityPatchesForNRaasMods.ps1".

    Settling state for the "Nucleus" patchset.

    Finding UI resources to scale across 0 package files.

    An unexpected error occurred. Should you like assistance with this error, please assist those assisting you by copying the indented text into your request for assistance. The error was:

        = Tiny UI Fix version 1.3.3, running on PowerShell v7.2.9, on Unix 14.3.0 =

        Object reference not set to an instance of an object.

        HRESULT: 80004003

        The type of error was: System.NullReferenceException

        The line that caused the error was: [TinyUIFixForTS3Patcher.ResourceManipulator]::FindResourcesAcrossPackages(

        The error occurred:

            at TinyUIFixForTS3Patcher.ResourceManipulator.FindResourcesAcrossPackages[IResourceKey,ConstructableResourceKey,IPackage](Dictionary`2 prioritisedFiles, DirectoryInfo baseDirectory, HashSet`1 byKey, UInt32[] byResourceType, ValueTuple`2[] byCondition, Func`4 openPackage, Action`2 closePackage, Func`2 getResourceListOfPackage, Func`2 getInstanceOfResourceKey, Func`2 getResourceTypeOfResourceKey, Func`2 getResourceGroupOfResourceKey, Func`2 constructResourceKey, Action`1 logWarning)

            at CallSite.Target(Closure , CallSite , Type , Dictionary`2 , DirectoryInfo , HashSet`1 , UInt32[] , ValueTuple`2[] , Object , Object , Object , Object , Object , Object , Func`2 , Action`1 )

            at Find-ResourcesAcrossPackages, /Users/mari/tiny-ui-fix-for-ts3/Use-TinyUIFixForTS3.ps1: line 1337

            at Find-ResourcesToPatch, /Users/mari/tiny-ui-fix-for-ts3/Use-TinyUIFixForTS3.ps1: line 1460

            at <ScriptBlock>, /Users/mari/tiny-ui-fix-for-ts3/Use-TinyUIFixForTS3.ps1: line 5127

            at <ScriptBlock>, /Users/mari/tiny-ui-fix-for-ts3/tiny-ui-fix-for-ts3-Bootstrap.ps1: line 75

            at <ScriptBlock>, <No file>: line 1

            at <ScriptBlock>, <No file>: line 1

    Categorising 0 resources by resource-key.

    An unexpected error occurred. Should you like assistance with this error, please assist those assisting you by copying the indented text into your request for assistance. The error was:

        = Tiny UI Fix version 1.3.3, running on PowerShell v7.2.9, on Unix 14.3.0 =

        You cannot call a method on a null-valued expression.

        HRESULT: 80131501

        The type of error was: System.Management.Automation.RuntimeException

        The line that caused the error was: foreach ($Entry in $ResourcesByKey.GetEnumerator())

        The error occurred:

            at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)

            at System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame)

            at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)

            at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)

            at System.Management.Automation.Interpreter.Interpreter.Run(InterpretedFrame frame)

            at System.Management.Automation.Interpreter.LightLambda.RunVoid1[T0](T0 arg0)

            at System.Management.Automation.DlrScriptCommandProcessor.RunClause(Action`1 clause, Object dollarUnderbar, Object inputToProcess)

            --- End of stack trace from previous location ---

            at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input)

            at System.Management.Automation.PipelineOps.InvokePipeline(Object input, Boolean ignoreInput, CommandParameterInternal[][] pipeElements, CommandBaseAst[] pipeElementAsts, CommandRedirection[][] commandRedirections, FunctionContext funcContext)

            at System.Management.Automation.Interpreter.ActionCallInstruction`6.Run(InterpretedFrame frame)

            at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)

            at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)

            at <ScriptBlock>, /Users/mari/tiny-ui-fix-for-ts3/Use-TinyUIFixForTS3.ps1: line 1476

            at Group-ResourcesToPatchByPackage, /Users/maripapasavva/tiny-ui-fix-for-ts3/Use-TinyUIFixForTS3.ps1: line 1493

            at <ScriptBlock>, /Users/mari/tiny-ui-fix-for-ts3/Use-TinyUIFixForTS3.ps1: line 5128

            at <ScriptBlock>, /Users/mari/tiny-ui-fix-for-ts3/tiny-ui-fix-for-ts3-Bootstrap.ps1: line 75

            at <ScriptBlock>, <No file>: line 1

            at <ScriptBlock>, <No file>: line 1

    Extracting assemblies.

    An unexpected error occurred. Should you like assistance with this error, please assist those assisting you by copying the indented text into your request for assistance. The error was:

        = Tiny UI Fix version 1.3.3, running on PowerShell v7.2.9, on Unix 14.3.0 =

        You cannot call a method on a null-valued expression.

        HRESULT: 80131501

        The type of error was: System.Management.Automation.RuntimeException

        The line that caused the error was: foreach ($Entry in $ResourcesByPackage.GetEnumerator())

        The error occurred:

            at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)

            at System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame)

            at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)

            at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)

            at System.Management.Automation.Interpreter.Interpreter.Run(InterpretedFrame frame)

            at System.Management.Automation.Interpreter.LightLambda.RunVoid1[T0](T0 arg0)

            at System.Management.Automation.DlrScriptCommandProcessor.RunClause(Action`1 clause, Object dollarUnderbar, Object inputToProcess)

            --- End of stack trace from previous location ---

            at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input)

            at System.Management.Automation.PipelineOps.InvokePipeline(Object input, Boolean ignoreInput, CommandParameterInternal[][] pipeElements, CommandBaseAst[] pipeElementAsts, CommandRedirection[][] commandRedirections, FunctionContext funcContext)

            at System.Management.Automation.Interpreter.ActionCallInstruction`6.Run(InterpretedFrame frame)

            at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)

            at Apply-PatchesToResources, /Users/mari/tiny-ui-fix-for-ts3/Use-TinyUIFixForTS3.ps1: line 2167

            at New-PackageWithPatchedResources, /Users/mari/tiny-ui-fix-for-ts3/Use-TinyUIFixForTS3.ps1: line 3972

            at <ScriptBlock>, /Users/mari/tiny-ui-fix-for-ts3/Use-TinyUIFixForTS3.ps1: line 3980

            at UseDisposable, /Users/mari/tiny-ui-fix-for-ts3/Use-TinyUIFixForTS3.ps1: line 983

            at Write-PackageWithPatchedResources, /Users/mari/tiny-ui-fix-for-ts3/Use-TinyUIFixForTS3.ps1: line 3979

            at <ScriptBlock>, /Users/mari/tiny-ui-fix-for-ts3/Use-TinyUIFixForTS3.ps1: line 5130

            at <ScriptBlock>, /Users/mari/tiny-ui-fix-for-ts3/tiny-ui-fix-for-ts3-Bootstrap.ps1: line 75

            at <ScriptBlock>, <No file>: line 1

            at <ScriptBlock>, <No file>: line 1

    Get-Item: /Users/mari/tiny-ui-fix-for-ts3/Use-TinyUIFixForTS3.ps1:5139

    Line |

    5139 |  … edPackage = Get-Item -LiteralPath $GeneratedPackageFilePath -ErrorAct

         |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

         | Cannot find path '/Users/mari/Documents/Electronic Arts/The Sims 3/Mods/TinyUIFix/tiny-ui-fix.package' because it does not exist.

    A UI-scaled package file was generated, and saved to "/Users/mari/Documents/Electronic Arts/The Sims 3/Mods/TinyUIFix/tiny-ui-fix.package".

  • @Maridemi7, it looks as though the same path, "/Users/mari/Documents/Electronic Arts/The Sims 3", has been used for both the installation and the user-data folder of The Sims 3. The path for the installation should be the folder that contains the game's executable, e.g. on Windows the default would be "C:\Program Files (x86)\Electronic Arts\The Sims 3", whereas on macOS it could be "~/Applications/Sims3Launcher.app/Contents/Resources/The Sims 3.app".

  • Maridemi7's avatar
    Maridemi7
    2 years ago

    Thank you! 

    I am a Mac user, and it seems that I don't have the sims game in my applications, only origin shows up there. The only place I can see a sims 3 executable is in the launchpad, but I am not sure if I can get a path for that☹️

    Any help is appreciated!!!

  • @Maridemi7, yeah—sorry about that, there are multiple places that the game can be installed to, by default, on macOS, and the script isn't very good at finding that place.

    These are the six paths, that I know of, that the game can be located at on macOS:

    /Users/YOUR_USERNAME_HERE/Applications/Sims3Launcher.app/Contents/Resources/The Sims 3.app
    /Users/YOUR_USERNAME_HERE/Applications/The Sims 3.app/Contents/Resources/The Sims 3.app
    /Users/YOUR_USERNAME_HERE/Applications/The Sims 3.app
    /Applications/Sims3Launcher.app/Contents/Resources/The Sims 3.app
    /Applications/The Sims 3.app/Contents/Resources/The Sims 3.app
    /Applications/The Sims 3.app


    Failing that, apparently it's possible to get the path of a running application via the "Activity Monitor"—for that, see: https://apple.stackexchange.com/questions/407366

About The Sims 3 Technical Issues

Get help with issues in The Sims 3 from fellow Simmers.83,237 PostsLatest Activity: 3 hours ago