MTS has all free content, all the time. Find out how YOU can help to keep it running. Tell me how...

Body Shop - Clean UI & Widescreen

by SmugTomato Posted 25th Mar 2021 at 1:24 PM - Updated 15th May 2021 at 12:50 AM by SmugTomato : Custom slider icons will no longer be stretched and mangled
72 Comments / replies (Who?) - 13 Feedback Posts, 12 Thanks Posts
4:3 is so 2004, bring your Body Shop into the 2020s with this widescreen mod!

Features
  • A brand new UI based on Clean UI
  • More items will be shown per page than before with the extra added horizontal space, which means less scrolling to find what you need
  • Body Shop gets resized to a more modern 1600x900
  • I've managed to fix an annoying bug where the UI would still be interactable when invisible
  • Adjustable Camera (through the included ini file)

Important
If you're getting an error message about failing to initialize one or more pointers try raising the 'iMaxRetries' value inside BodyShopHack.ini
By default it will give up on hooking into BS after about 5 minutes, depending on how fast your hard drive is or how much CC you've got installed this might not be enough time.
Adding 600 to this value corresponds to adding 1 minute of waiting time.

If you've set up display scaling the window will probably not scale correctly, it will either have to be disabled globally or for Body Shop only under compatibility settings (For the original TS2BodyShop.exe)

BodyShopLauncher.exe was made for the M&G version of Body Shop (v1.17.0.66)
It will almost certainly not work for any other version of Body Shop.

BodyShopLauncher.exe may be picked up by your antivirus due to the way it hooks into Body Shop,
you can safely add an exception for it if this is the case. Feel free to look through the source code and compile it yourself
if you don't trust it.

Please note that your display must be larger than 1600x900, the UI is built for a window size of 1600x900.
If your monitor is exactly 1600x900 you can still use this mod, but you'll either have to use it with the built-in full screen mode (Alt+Enter), or use a program
like borderless gaming to allow for easy switching between Body Shop and other windows.
If you have any issues, make sure you've read this section and then try running GraphicsRulesMaker for Body Shop.


Install Instructions
  1. Locate your Sims 2 M&G install directory, this will be shown as [Sims 2 Install] from now on
    For the Ultimate Collection it will be something like this:
    C:/Program Files/Origin Games/The Sims 2 Ultimate Collection/Fun with Pets/SP9/
    C:/Program Files (x86)/Origin Games/The Sims 2 Ultimate Collection/Fun with Pets/SP9/
  2. Extract the contents of 'to_csbin/' to [Sims 2 Install]/CSBin/
  3. Extract the contents of 'to_tsdata/' to [Sims 2 Install]/TSData/
  4. That's all, make sure to launch Body Shop with BodyShopLauncher and not with the original executable,
    the launcher does some extra stuff to make everything work, but still needs the original executable.

Uninstall Instructions
Delete all the files contained in the zip file but do NOT delete CSResources.ini, this file is required by Body Shop.
Instead remove '0x00000000 = 0x086d4a89;%DataDirectory%Res\UI\SmugTomato_bs_cleanui.package' from it and save.

Anti-Aliasing
Whether you use this mod or not, you can enable anti-aliasing for Body Shop by editing [Sims 2 Install]/TSData/Res/CSConfig/globalProps.xml
Replace the value of the line with key="antialiasingQuality" from 0 to 4

Custom Background
If you want a custom background, you will have to do it manually, Body Shop Mechanic will crop the image to the wrong resolution.
Make sure you have a 1600x900 image and save it as UserBkg.bmp in your Sims 2 User folder(1 folder up from your Downloads folder).

Custom Sliders
If you have any custom sliders installed they will by default use the smaller Body Shop version of their icons, I've provided some "fixed" for slider mods found here on MTS.

The icons in the topmost slider are what custom slider icons will look like by default, not great, but more functional than a stretched out and mangled icons.
The middle slider is what the icons will look like after swapping the Body Shop ones with the in-game ones.
The bottom slider is what the basegame cleanUI icons look like, I am not currently planning on cleanUI-ifying custom sliders.

To install, extract the contents of the zip files into your Sims 2 Downloads folder, please make sure not to rename anything, the 'zzz_' in front of everything are there to make sure the files are loaded last so they can overwrite the original slider mods. Please note that you still need the original slider mods, the packages I've provided only swap the icons.

If you're using slider mods not "fixed" by me and want to use the bigger icons you will require some basic knowledge of SimPE.


Source Code
https://github.com/SmugTomato/TS2_BodyShopHack

Additional Credits:
greatcheesecakepersona for making the original Clean UI for the game and providing the DIY kit for others to use

Mirablu for starting the original thread that got me started on this project

The people on the MTS discord for providing feedback and helping me test before uploading

Operating System: Windows
Utility Type: Miscellaneous
Plugin Type: Not Applicable

You must have the expansion or stuff packs listed below installed to use this custom content. Please see the post text for any exceptions.

Sims 2 + 1 SPs
Key: - File was updated after upload was posted
Filename - Tip: You can click the magnifying glass to see the archive contents Size Downloads Date
bs_cleanui_1.1.3.zip | MAIN FILE

Size: 1.11 MB · Downloads: 2,028 · 27th Mar 2021
1.11 MB 2,028 27th Mar 2021
Jawusa_AsymmetricalBrow_bsCleanUIFix.zip | Overwritten smaller Body Shop icons with larger in-game versions

Size: 26.3 KB · Downloads: 429 · 27th Mar 2021
26.3 KB 429 27th Mar 2021
Nopke_20Sliders_bsCleanUIFix.zip | Overwritten smaller Body Shop icons with larger in-game versions

Size: 172.7 KB · Downloads: 469 · 27th Mar 2021
172.7 KB 469 27th Mar 2021
Nopke_24Sliders_bsCleanUIFix.zip | Overwritten smaller Body Shop icons with larger in-game versions

Size: 212.4 KB · Downloads: 579 · 27th Mar 2021
212.4 KB 579 27th Mar 2021
Don't forget to Thank the creator after downloading! Use the Thanks button located above the screenshots above.
Basic Download and Install Instructions:

1. Download: Click the download link to save the .rar or .zip file(s) to your computer.

2. Extract the zip, rar, or 7z file.

3. Place in Downloads Folder: Cut and paste the .package file(s) into your Downloads folder:
  • Origin (Ultimate Collection): Users\(Current User Account)\Documents\EA Games\The Sims™ 2 Ultimate Collection\Downloads\
  • Non-Origin, Windows Vista/7/8/10: Users\(Current User Account)\Documents\EA Games\The Sims 2\Downloads\
  • Non-Origin, Windows XP: Documents and Settings\(Current User Account)\My Documents\EA Games\The Sims 2\Downloads\
  • Mac: Users\(Current User Account)\Documents\EA Games\The Sims 2\Downloads
  • Mac x64: /Library/Containers/com.aspyr.sims2.appstore/Data/Library/Application Support/Aspyr/The Sims 2/Downloads
Need more information?
 
72 Comments / Replies (Who?) - 50 Feedback Posts, 19 Thanks Posts
Hide Thanks Posts for this thread (Show only feedback)
Page 1 of 3
Test Subject
THANKS POST
#2 Old 25th Mar 2021 at 2:08 PM
Oh wow, this is incredible!!
Test Subject
THANKS POST
#3 Old 25th Mar 2021 at 2:32 PM
This looks perfect! Thank you!
Lab Assistant
THANKS POST
#4 Old 25th Mar 2021 at 3:06 PM
Amazing. You've gone above and beyond with this.
The Great AntiJen
retired moderator THANKS POST
#5 Old 25th Mar 2021 at 3:11 PM
Very cool - now we just need Homecrafter. Lovely, thanks
Lab Assistant
THANKS POST
#6 Old 25th Mar 2021 at 3:31 PM Last edited by ClaudetteCorleone : 25th Mar 2021 at 3:50 PM.
This is terrific! Thank you!
Test Subject
THANKS POST
#7 Old 25th Mar 2021 at 3:50 PM
Oh heck yes! I was just thinking the other day about how we need something like this for Body Shop. Many thanks!
Test Subject
THANKS POST
#8 Old 25th Mar 2021 at 4:05 PM
You made my dream come true! Can you make a version for 1366x768?
Test Subject
THANKS POST
#9 Old 25th Mar 2021 at 4:17 PM
Awesome! I knew BS wasn't far behind after Clean UI facelift S2 got.
Not to sound ungrateful, but yeah, 1366x768 compatible, would be appreciated. That's more commonly used than 1900x...
Test Subject
THANKS POST
#10 Old 25th Mar 2021 at 4:17 PM Last edited by Niiice-Pants : 25th Mar 2021 at 4:41 PM.
Any chance you might know a way to update Bodyshop Mechanic to use the launcher instead of the main executable? If I could somehow use this AND bodyshop mechanic it would be fantastic. I mean otherwise I'm just using this, it's wonderful and I can't thank you enough for doing this. You're the best.

edit: Actually I've got a minor issue with mine, the camera hasn't changed so the top of their heads are cut off. It's not a big deal because I can just use free cam, but I see in your screenshot the camera is fine. Any suggestions?
Lab Assistant
Original Poster
#11 Old 25th Mar 2021 at 4:52 PM
Quote:
Originally Posted by Niiice-Pants
Any chance you might know a way to update Bodyshop Mechanic to use the launcher instead of the main executable? If I could somehow use this AND bodyshop mechanic it would be fantastic. I mean otherwise I'm just using this, it's wonderful and I can't thank you enough for doing this. You're the best.

edit: Actually I've got a minor issue with mine, the camera hasn't changed so the top of their heads are cut off. It's not a big deal because I can just use free cam, but I see in your screenshot the camera is fine. Any suggestions?


Did you get an error message popup? Depending on your hard drive speed and amount of installed CC you might have to raise the 'iMaxRetries' value in the BodyShopHack.ini file.
The default is 1000, try raising this to something like 5000 or higher if you're having trouble.

I unfortunately won't be able to make it so that Bodyshop Mechanic can launch BS through my executable, you should still be able to use it to change the lighting and poses, but you'll have to launch bodyshop manually.

Quote:
Originally Posted by melo-drama
You made my dream come true! Can you make a version for 1366x768?

I'm not planning on making a 1366x768 version at the moment as it's a very time-consuming task to place all the elements and most people have 1080p displays nowadays.
Test Subject
#12 Old 25th Mar 2021 at 4:57 PM
Quote:
Originally Posted by SmugTomato
Did you get an error message popup? Depending on your hard drive speed and amount of installed CC you might have to raise the 'iMaxRetries' value in the BodyShopHack.ini file.
The default is 1000, try raising this to something like 5000 or higher if you're having trouble.

I unfortunately won't be able to make it so that Bodyshop Mechanic can launch BS through my executable, you should still be able to use it to change the lighting and poses, but you'll have to launch bodyshop manually.


Thanks for the quick response! Yes, I did get the error message. Raising the maxretries did the trick, funnily enough I edited this just before seeing your reply, so I just added a 0 to the end (from 1000 to 10000, is that too much? haha). As for Bodyshop Mechanic, I figured as much. I don't mind having to launch it manually to change lighting and poses and backgrounds if I can finally see what the heck I'm doing in body shop! So thank you again.
Test Subject
THANKS POST
#13 Old 25th Mar 2021 at 5:04 PM
This is so sleek, thank you SO much! Instant must have download for me.
Lab Assistant
Original Poster
#14 Old 25th Mar 2021 at 5:06 PM
Quote:
Originally Posted by Niiice-Pants
Thanks for the quick response! Yes, I did get the error message. Raising the maxretries did the trick, funnily enough I edited this just before seeing your reply, so I just added a 0 to the end (from 1000 to 10000, is that too much? haha). As for Bodyshop Mechanic, I figured as much. I don't mind having to launch it manually to change lighting and poses and backgrounds if I can finally see what the heck I'm doing in body shop! So thank you again.


It shouldn't be a big deal if you set it to 10,000 or even 100,000, the setting is basically only there because trying to mess with some things before Body Shop is properly loaded will cause a crash and I can't predict how long loading will take on different machines.
basically every time you add 600 it will allow for an extra minute of startup time before giving up on hooking into the BS executable.
Test Subject
THANKS POST
#15 Old 25th Mar 2021 at 5:10 PM
How do you even move the buttons position? Just curious..
Test Subject
#16 Old 25th Mar 2021 at 5:14 PM
Quote:
Originally Posted by SmugTomato
It shouldn't be a big deal if you set it to 10,000 or even 100,000, the setting is basically only there because trying to mess with some things before Body Shop is properly loaded will cause a crash and I can't predict how long loading will take on different machines.
basically every time you add 600 it will allow for an extra minute of startup time before giving up on hooking into the BS executable.


Good to know! Thank you again.
Lab Assistant
Original Poster
#17 Old 25th Mar 2021 at 5:14 PM
Quote:
Originally Posted by GithdaVro
How do you even move the buttons position? Just curious..


By changing the UI files, they look a lot like XML files, there's a more info in this thread.
Test Subject
#18 Old 25th Mar 2021 at 5:16 PM
Quote:
Originally Posted by SmugTomato
I'm not planning on making a 1366x768 version at the moment as it's a very time-consuming task to place all the elements and most people have 1080p displays nowadays.


Oh, I understood. Is it possible then to resize to 1280x720 to fit smaller monitors?
Lab Assistant
Original Poster
#19 Old 25th Mar 2021 at 5:24 PM
Quote:
Originally Posted by melo-drama
Oh, I understood. Is it possible then to resize to 1280x720 to fit smaller monitors?


The UI files for 800x600 mode would have to be edited, the easiest way would probably be to take my edited files as a base, change their group in SimPE and painstakingly adjust all the values to fit 720p, a handful of graphics and the camera values in the ini file would also have to be tweaked.
Lab Assistant
THANKS POST
#20 Old 25th Mar 2021 at 7:03 PM
This is so amazing, thank you so much!
Top Secret Researcher
#21 Old 25th Mar 2021 at 8:24 PM
Feedback
The top of the sim's head was cut off (without error message), I fixed it by modifying the BodyShopHack.ini file like so:
iWindowWidth = 1920
iWindowHeight = 1080

1920x1080 being my screen's native resolution.

Clean UI
For those of us who like the old blue UI, is it possible to just have the widescreen mod without the Clean UI by some simple editing of an .ini file for instance?

And finally, thank you for sharing this very useful mod! I randomly rolled the dice a few times just to test it, and I can see so many little details on the outfits, that were hardly visible before
Lab Assistant
Original Poster
#22 Old 25th Mar 2021 at 8:56 PM
Quote:
Originally Posted by Lili975
The top of the sim's head was cut off (without error message), I fixed it by modifying the BodyShopHack.ini file like so:
iWindowWidth = 1920
iWindowHeight = 1080

1920x1080 being my screen's native resolution.

For those of us who like the old blue UI, is it possible to just have the widescreen mod without the Clean UI by some simple editing of an .ini file for instance?


I've noticed that the error popup tends to stay hidden behind the Body Shop window (great popup window I know :P), so it could be that you've simply missed it.
If it did work after you set the resolution to 1920x1080 it should also work on the default 1600x900 since it's the same aspect ratio.

It's not possible to keep the old blue UI with this mod, the Body Shop UI didn't lend itself very well to being extended like the in-game UI so I had to resort to redesigning large parts entirely.
Well, technically you could delete the .package file and only have the window be scaled, but it wouldn't be very functional with the UI in the middle of the screen.
Field Researcher
#23 Old 25th Mar 2021 at 9:29 PM
Quote:
Originally Posted by SmugTomato
I've noticed that the error popup tends to stay hidden behind the Body Shop window (great popup window I know :P), so it could be that you've simply missed it.
If it did work after you set the resolution to 1920x1080 it should also work on the default 1600x900 since it's the same aspect ratio.

It's not possible to keep the old blue UI with this mod, the Body Shop UI didn't lend itself very well to being extended like the in-game UI so I had to resort to redesigning large parts entirely.
Well, technically you could delete the .package file and only have the window be scaled, but it wouldn't be very functional with the UI in the middle of the screen.


I was just looking through the ui image files, considering how much time it would take to retro-ify it for fun.
Anything I should know about the files? Are any of them stretched to fit the wider screen, or anything like that?
(For reference, I do UI design for work, so I'm not going into this blind or anything.)

Also this is totally friggen awesome. Thank you SO much!
Lab Assistant
Original Poster
#24 Old 25th Mar 2021 at 9:40 PM
Some graphics are edge-images, they can be scaled as much as you want in any direction, these are mostly things like background images.
Something worth noting is that buttons are quite finicky in their placement, they need to have all 4 corners set pretty much pixel perfect or they'll have weird stretching.
Field Researcher
#25 Old 25th Mar 2021 at 9:51 PM
Quote:
Originally Posted by SmugTomato
Some graphics are edge-images, they can be scaled as much as you want in any direction, these are mostly things like background images.
Something worth noting is that buttons are quite finicky in their placement, they need to have all 4 corners set pretty much pixel perfect or they'll have weird stretching.


Groovy. Thanks!
Page 1 of 3