Sign in to follow this  
Followers 0
blackmodder

Can anyone help me editing setupldr.bin in order to change a color ?

5 posts in this topic

Hello folks :hello: , down here I've posted a screen that I want to modify his background color.

I find out that the basic hex code that is responssible for the blue color in these downthere screens is located in a file , setupldr.bin, but I dunno know hex editing. If it's someone does do, please help me in order to chage that annoying blue screen.

XPWelcomeSetupScreen.jpg

Thank you.

0

Share this post


Link to post
Share on other sites

I know this post is old, but it doesn't have any replies for a good reason.

First off, that screen is actually spread across 3 seperate files in the installation process (The installers are chainloaded). Second, SETUPLDR.bin has a CRC check built into it, which means even when it is modified, it would never actually run if the CRC of the program doesn't match the CRC the program checks for. I've managed to modify it once, changing the background to Red and the font to Yellow, but take it from me, it wasn't worth the trouble at all.

I had to strip the 20k of 16-bit header to leave the 32-bit PE, open it in IDA Pro to find the actual code for the coloring (It was labelled "TextGrSetCurrentAttribute" according to the debug symbol), trace it back to the variable, and then modify the variable. Afterwards, I had to add the 16-bit header back in, generate a new CRC, and then modify the CRC Check to reflect the code changes. Not something most would want to attempt simply with a hex editor, and even after all that work, after it said "Loading Windows Executive" at the bottom, it changed back to the default Grey on Blue.

A lot of work for something that only displays for 3 seconds :(

If someone ever figures out a more conventional method though, I'd love to know.

I only leave this response, because this is still the #1 result on Google for "Modify SETUPLDR"

0

Share this post


Link to post
Share on other sites

I've actually had some succes in this area that can be trivially accomplished with a Hex Editor:

colorchangebooting.jpg

Just search for the hex values "94453300" (in SETUPLDR.BIN), the value immediatly after that is the coloring. In this example, I changed it to 4E. 4 = Dark Red (Background), E = Bright Yellow (Text). Notice, the value is in a seemingly insignificant area, which is what makes finding the value to modify rather tricky :|

Never the less, atleast now you have proof it can be done. I'll be moving on to other values in short time, because after my success with that, I can't help but wonder what all else can successfully be changed.

A color table can be found at VirtualPlastic.

Edited by Gerhardt13
0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.