Replies: 54 (Who?), Viewed: 15015 times.
Page 1 of 3
Lab Assistant
Original Poster
#1 Old 6th Jul 2016 at 9:07 PM Last edited by DevX : 21st Aug 2016 at 10:17 AM.
UI/GUI Editing/Unpacking? - PROBLEMS / ERRORS [SOLVED]
Hey!
I wanna edit the UI aka GUI in sims4 with photoshop... is there any moddingtool that allows unpacking? or can someone send me un unpacked copy of the package containing the textures?
Advertisement
Instructor
#2 Old 6th Jul 2016 at 11:06 PM
You'll have to use S4PE to extract the .gfx files. They're i Ui.package.

To see a world in a grain of sand, and heaven in a wild flower, hold infinity in the palm of your hand, and eternity in an hour.

Get rid of that gnome in your pictures and eat some new cereal!

My Website/Blog, Princess Pretty Sims!
My Tumblr
Lab Assistant
Original Poster
#3 Old 6th Jul 2016 at 11:56 PM
Quote:
Originally Posted by BritannicStepanova
You'll have to use S4PE to extract the .gfx files. They're i Ui.package.


Could not import all resources. Error occured on package file 'E:\Program Files (x86)\Origin Games\The Sims 4\Data\Client\UI.package', resource key '0x62ECC59A-0x00000000-0xA90FFC3E02B5E102'. Aborting.

== START ==
Source: s4pi.WrapperDealer
Assembly: s4pi.WrapperDealer, Version=1606.5.1801.23430, Culture=neutral, PublicKeyToken=null
Could not find a resource handler
vid s4pi.WrapperDealer.WrapperDealer.WrapperForType(String type, Int32 APIversion, Stream s) i F:\SourceTree\Sims4Tools\s4pi\WrapperDealer\WrapperDealer.cs:rad 128

vid s4pi.WrapperDealer.WrapperDealer.GetResource(Int32 APIversion, IPackage pkg, IResourceIndexEntry rie, Boolean AlwaysDefault) i F:\SourceTree\Sims4Tools\s4pi\WrapperDealer\WrapperDealer.cs:rad 66

vid S4PIDemoFE.MainForm.ImportPackagesCommon(String[] packageList, String title, DuplicateHandling dups, Boolean compress, Boolean useNames, Boolean rename, List`1 dupsList, AutoSaveState autoSaveState, IList`1 selection) i F:\SourceTree\Sims4Tools\s4pe\Import\Import.cs:rad 418
-----
== END ==
Instructor
#4 Old 7th Jul 2016 at 2:48 AM
I've never seen that error. Maybe you could try copy and pasting the file to your desktop and see if that works.

To see a world in a grain of sand, and heaven in a wild flower, hold infinity in the palm of your hand, and eternity in an hour.

Get rid of that gnome in your pictures and eat some new cereal!

My Website/Blog, Princess Pretty Sims!
My Tumblr
Lab Assistant
Original Poster
#5 Old 7th Jul 2016 at 12:57 PM
in the right box I see this error massage:
Code:
Error reading resource 0x62ECC59A-0x00000000-0xA90FFC3E02B5E102
Front-end Distribution: 
Library Distribution: 

Source: s4pi.WrapperDealer
Assembly: s4pi.WrapperDealer, Version=1606.5.1801.23430, Culture=neutral, PublicKeyToken=null
Could not find a resource handler
----
Stack trace:
   vid s4pi.WrapperDealer.WrapperDealer.WrapperForType(String type, Int32 APIversion, Stream s) i F:\SourceTree\Sims4Tools\s4pi\WrapperDealer\WrapperDealer.cs:rad 128
   vid s4pi.WrapperDealer.WrapperDealer.GetResource(Int32 APIversion, IPackage pkg, IResourceIndexEntry rie, Boolean AlwaysDefault) i F:\SourceTree\Sims4Tools\s4pi\WrapperDealer\WrapperDealer.cs:rad 66
   vid S4PIDemoFE.MainForm.browserWidget1_SelectedResourceChanged(Object sender, ResourceChangedEventArgs e) i F:\SourceTree\Sims4Tools\s4pe\MainForm.cs:rad 2653
----



and when I try to export a file I get this error massage (in swedish):
Code:
Could not find a resource handler.

Information om att aktivera JIT-felsökning i stället för den 
här dialogrutan finns i slutet av det här meddelandet.

************** Undantagstext **************
System.InvalidOperationException: Could not find a resource handler
   vid s4pi.WrapperDealer.WrapperDealer.WrapperForType(String type, Int32 APIversion, Stream s) i F:\SourceTree\Sims4Tools\s4pi\WrapperDealer\WrapperDealer.cs:rad 128
   vid s4pi.WrapperDealer.WrapperDealer.GetResource(Int32 APIversion, IPackage pkg, IResourceIndexEntry rie, Boolean AlwaysDefault) i F:\SourceTree\Sims4Tools\s4pi\WrapperDealer\WrapperDealer.cs:rad 66
   vid S4PIDemoFE.MainForm.ExportFile(IResourceIndexEntry rie, String filename) i F:\SourceTree\Sims4Tools\s4pe\MainForm.cs:rad 1868
   vid S4PIDemoFE.MainForm.ResourceExport() i F:\SourceTree\Sims4Tools\s4pe\MainForm.cs:rad 1787
   vid S4PIDemoFE.MainForm.menuBarWidget1_MBResource_Click(Object sender, MBClickEventArgs mn) i F:\SourceTree\Sims4Tools\s4pe\MainForm.cs:rad 1440
   vid S4PIDemoFE.MenuBarWidget.OnMBResource_Click(Object sender, MB mn) i F:\SourceTree\Sims4Tools\s4pe\MenuBarWidget\MenuBarWidget.cs:rad 336
   vid S4PIDemoFE.MenuBarWidget.tsCMSBW_Click(Object sender, EventArgs e) i F:\SourceTree\Sims4Tools\s4pe\MenuBarWidget\MenuBarWidget.cs:rad 399
   vid System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   vid System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
   vid System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   vid System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   vid System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   vid System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
   vid System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   vid System.Windows.Forms.Control.WndProc(Message& m)
   vid System.Windows.Forms.ToolStrip.WndProc(Message& m)
   vid System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
   vid System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Inlästa sammansättningar **************
mscorlib
    Sammansättningsversion: 4.0.0.0
    Win32-version: 4.6.1080.0 built by: NETFXREL3STAGE
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
s4pe
    Sammansättningsversion: 1409.20.48.23433
    Win32-version: 1409.20.48.23433
    CodeBase: file:///E:/H%C3%A4mtade%20filer/s4pe_0.4.5-beta/s4pe.exe
----------------------------------------
System.Core
    Sammansättningsversion: 4.0.0.0
    Win32-version: 4.6.1038.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System
    Sammansättningsversion: 4.0.0.0
    Win32-version: 4.6.1081.0 built by: NETFXREL3STAGE
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
    Sammansättningsversion: 4.0.0.0
    Win32-version: 4.6.1038.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Sammansättningsversion: 4.0.0.0
    Win32-version: 4.6.1078.0 built by: NETFXREL3STAGE
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
    Sammansättningsversion: 4.0.0.0
    Win32-version: 4.6.1038.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Custom
    Sammansättningsversion: 1606.6.1412.16580
    Win32-version: 1606.6.1412.16580
    CodeBase: file:///E:/H%C3%A4mtade%20filer/s4pe_0.4.5-beta/System.Custom.DLL
----------------------------------------
System.Xml
    Sammansättningsversion: 4.0.0.0
    Win32-version: 4.6.1064.2 built by: NETFXREL3STAGE
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
s4pi.CustomForms
    Sammansättningsversion: 1606.5.1800.23428
    Win32-version: 1606.5.1800.23428
    CodeBase: file:///E:/H%C3%A4mtade%20filer/s4pe_0.4.5-beta/s4pi.CustomForms.DLL
----------------------------------------
s4pi.Interfaces
    Sammansättningsversion: 1606.6.1412.16580
    Win32-version: 1606.6.1412.16580
    CodeBase: file:///E:/H%C3%A4mtade%20filer/s4pe_0.4.5-beta/s4pi.Interfaces.DLL
----------------------------------------
s4pi.WrapperDealer
    Sammansättningsversion: 1606.5.1801.23430
    Win32-version: 1606.5.1801.23430
    CodeBase: file:///E:/H%C3%A4mtade%20filer/s4pe_0.4.5-beta/s4pi.WrapperDealer.DLL
----------------------------------------
mscorlib.resources
    Sammansättningsversion: 4.0.0.0
    Win32-version: 4.6.1038.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_sv_b77a5c561934e089/mscorlib.resources.dll
----------------------------------------
Microsoft.GeneratedCode
    Sammansättningsversion: 1.0.0.0
    Win32-version: 4.6.1064.2 built by: NETFXREL3STAGE
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Windows.Forms.resources
    Sammansättningsversion: 4.0.0.0
    Win32-version: 4.6.1038.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_sv_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
s4pi.Package
    Sammansättningsversion: 1606.5.1801.23430
    Win32-version: 1606.5.1801.23430
    CodeBase: file:///E:/H%C3%A4mtade%20filer/s4pe_0.4.5-beta/s4pi.Package.DLL
----------------------------------------
s4pi.Settings
    Sammansättningsversion: 1606.6.1412.16580
    Win32-version: 1606.6.1412.16580
    CodeBase: file:///E:/H%C3%A4mtade%20filer/s4pe_0.4.5-beta/s4pi.Settings.DLL
----------------------------------------
s4pi.Extensions
    Sammansättningsversion: 1606.5.1801.23430
    Win32-version: 1606.5.1801.23430
    CodeBase: file:///E:/H%C3%A4mtade%20filer/s4pe_0.4.5-beta/s4pi.Extensions.DLL
----------------------------------------
s4pi.Helpers
    Sammansättningsversion: 1606.5.1801.23431
    Win32-version: 1606.5.1801.23431
    CodeBase: file:///E:/H%C3%A4mtade%20filer/s4pe_0.4.5-beta/s4pi.Helpers.DLL
----------------------------------------

************** JIT-felsökning **************
För att aktivera JIT-felsökning (just-in-time ) måste .config-filen för det här
tillämpningsprogrammet eller datorn (machine.config) ha 
jitDebugging-värdet angivet i avsnittet system.windows.forms.
Tillämpningsprogrammet måste också vara kompilerat med felsökning
aktiverat.

Till exempel:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

När JIT-felsökning är aktiverad kommer alla undantag som inte hanteras
att skickas till JIT-felsökaren som är registrerad på datorn
snarare än att hanteras av den här dialogrutan.
Instructor
#6 Old 7th Jul 2016 at 5:37 PM
I don't recognize the error. Maybe a mod could help? I extracted them myself, if you want them.

To see a world in a grain of sand, and heaven in a wild flower, hold infinity in the palm of your hand, and eternity in an hour.

Get rid of that gnome in your pictures and eat some new cereal!

My Website/Blog, Princess Pretty Sims!
My Tumblr
Lab Assistant
Original Poster
#7 Old 7th Jul 2016 at 5:55 PM
Quote:
Originally Posted by BritannicStepanova
I don't recognize the error.

my computer is wierd...

Quote:
Originally Posted by BritannicStepanova
Maybe a mod could help?

agreed

Quote:
Originally Posted by BritannicStepanova
I extracted them myself, if you want them.

yes please
Instructor
#8 Old 8th Jul 2016 at 12:37 AM
Okay, I've attached all the .gfx files from the UI.package. Let me know if they work.
Download - please read all instructions before downloading any files!
File Type: 7z ui.7z (11.86 MB, 68 downloads) - View custom content

To see a world in a grain of sand, and heaven in a wild flower, hold infinity in the palm of your hand, and eternity in an hour.

Get rid of that gnome in your pictures and eat some new cereal!

My Website/Blog, Princess Pretty Sims!
My Tumblr
Lab Assistant
Original Poster
#9 Old 8th Jul 2016 at 10:27 AM
Quote:
Originally Posted by BritannicStepanova
Okay, I've attached all the .gfx files from the UI.package. Let me know if they work.

how can I open the files?
Mad Poster
#10 Old 8th Jul 2016 at 4:10 PM
You need to decompile them with Adobe Flash or a free program called JPEGS will also do it. The problem with JPEGS is that the free version won't let you import a modified element back into the file. The only thing you can import into a file with the free version are text-based scripts of some kind, no images or other types of elements.
The UI and GFX files were discussed here a little bit concerning the software required:
http://forums.thesims.com/en_US/dis...ve-tools#latest

MedievalMods and Sims3mods: Dive Cave Reset Fix, Resort Revamp, Industrial Oven Revamp, Will O' Wisp fix, UI Sounds Disabled, No Cars, Gnome Family Planner, Townies Out on the Town, No Martial Arts Clothes, Fast Skilling, etc. http://simsasylum.com/tfm/
Instructor
#11 Old 8th Jul 2016 at 5:43 PM
I just opened them in a hex editor and changed the first 3 letters that were "GFX" to "FWS" and then opened them with Chrome. But your way seems easier.

To see a world in a grain of sand, and heaven in a wild flower, hold infinity in the palm of your hand, and eternity in an hour.

Get rid of that gnome in your pictures and eat some new cereal!

My Website/Blog, Princess Pretty Sims!
My Tumblr
Lab Assistant
Original Poster
#12 Old 8th Jul 2016 at 8:34 PM
I got adobe flash open up right now... so what should I do?
Instructor
#13 Old 8th Jul 2016 at 9:44 PM
Forget all the outdated steps and run JPEXS.
Lab Assistant
Original Poster
#14 Old 8th Jul 2016 at 10:49 PM
Quote:
Originally Posted by azoresman
Forget all the outdated steps and run JPEXS.

that don't say me anything to be honest... can you give me a step by step tutorial? I have never even opened adobe flash before.
Instructor
#15 Old 9th Jul 2016 at 2:25 PM
Quote:
Originally Posted by DevX
that don't say me anything to be honest... can you give me a step by step tutorial? I have never even opened adobe flash before.

Don't know of any tutorial, but, to open a .GFX file that have already been provides. the only thing to do is to associate the file type to JPEXS and double click it. or, right click and open with, after that, in the used software, "Either JPEXS or Adobe Flash pro" just navigate to the element you want to change or edit.... be aware that most elements in the UI are shared across many files, and changing one is not gonna work. in fact it can make the game go into an endless loading scene.
I don't know exactly what you want to edit, maybe if you are a bit more specific, i could give some more advise.
I have modded sims 4 ui to manage households and lots to 100 sims without problem, that's been more than 1 and 1/2 years ago.
Made it possible to have created households with child sims only....
So anything is possible, but for what i read, you just want to edit visual elements... Am i correct?
Lab Assistant
Original Poster
#16 Old 9th Jul 2016 at 9:05 PM
Quote:
Originally Posted by azoresman
I don't know exactly what you want to edit, maybe if you are a bit more specific, i could give some more advise.

I just wanna edit the UI textures

Quote:
Originally Posted by azoresman
For what i read, you just want to edit visual elements... Am i correct?

Yes you are
Instructor
#17 Old 9th Jul 2016 at 11:32 PM
Quote:
Originally Posted by Shimrod101
You need to decompile them with Adobe Flash or a free program called JPEGS will also do it. The problem with JPEGS is that the free version won't let you import a modified element back into the file. The only thing you can import into a file with the free version are text-based scripts of some kind, no images or other types of elements.
The UI and GFX files were discussed here a little bit concerning the software required:
http://forums.thesims.com/en_US/dis...ve-tools#latest

There is no Payed version of JPEXS, it's an open source project.
Lab Assistant
Original Poster
#18 Old 10th Jul 2016 at 4:54 PM
so... now all my GFX files is decompiled.
Guess I just have to find the right folder with the textures inside now... right?
Instructor
#19 Old 10th Jul 2016 at 5:31 PM
Quote:
Originally Posted by DevX
so... now all my GFX files is decompiled.
Guess I just have to find the right folder with the textures inside now... right?

That's it
Lab Assistant
Original Poster
#20 Old 10th Jul 2016 at 6:23 PM Last edited by DevX : 10th Jul 2016 at 7:19 PM.
Quote:
Originally Posted by azoresman
That's it

will the texture be in it's own gfx or will it be spread in many files?
Instructor
#21 Old 10th Jul 2016 at 7:56 PM
Quote:
Originally Posted by DevX
will the texture be in it's own gfx or will it be spread in many files?

Usually the are various layers, but should all be in the same file, so in the same folder.
Did you exported to FLA?
Lab Assistant
Original Poster
#22 Old 10th Jul 2016 at 8:04 PM
Quote:
Originally Posted by azoresman
Usually the are various layers, but should all be in the same file, so in the same folder.

okay... I did not find them

Quote:
Originally Posted by azoresman
Did you exported to FLA?

no... I expoterted everything to png I think
Instructor
#23 Old 11th Jul 2016 at 12:59 AM
Quote:
Originally Posted by DevX
okay... I did not find them


no... I expoterted everything to png I think


If you don't mind me asking: What exactly do you want to change in the UI?
Changing UI elements is not the same or as simple as making a recolor using an automated tool such as for example SIMS4Studio.
Lab Assistant
Original Poster
#24 Old 11th Jul 2016 at 6:11 PM
Quote:
Originally Posted by azoresman
If you don't mind me asking: What exactly do you want to change in the UI?
Changing UI elements is not the same or as simple as making a recolor using an automated tool such as for example SIMS4Studio.

I wanna open it with photoshop so I can edit the textures...

I come from the Spore modding community so I maby will make a sims styled UI if I just get the textures
Instructor
#25 Old 11th Jul 2016 at 10:44 PM
Quote:
Originally Posted by DevX
I wanna open it with photoshop so I can edit the textures...

I come from the Spore modding community so I maby will make a sims styled UI if I just get the textures

The easy way to to grab them I know. See Image > Export sprite and shape, edit, and replace by edited versions.
The UI is composed by several elements/layers spread across many files.

Everything is editable, Buttons backgrounds, zones / NH , lot shape, etc...

Forgot to say, that not every image/texture is within the flash part, most is in the fullbuild packages
Screenshots
Page 1 of 3
Back to top