Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

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

- - - - -

  • Please log in to reply
4 replies to this topic

#1
blackmodder

blackmodder

    Addicted to MSFN.

  • Member
  • 47 posts
  • OS:XP Pro x64
  • Country: Country Flag
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.



Posted Image

Thank you.
Back from hell and falled into neighbourhood.
L.E. Looking for Selena...


How to remove advertisement from MSFN

#2
blackmodder

blackmodder

    Addicted to MSFN.

  • Member
  • 47 posts
  • OS:XP Pro x64
  • Country: Country Flag
Nobody?
Back from hell and falled into neighbourhood.
L.E. Looking for Selena...

#3
Gerhardt13

Gerhardt13
  • Member
  • 4 posts
  • OS:none specified
  • Country: Country Flag
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"

#4
jaclaz

jaclaz

    The Finder

  • Developer
  • 14,212 posts
  • OS:none specified
  • Country: Country Flag
Just for the record, following screen should be in SMSS.EXE:
http://www.msfn.org/...howtopic=113048

jaclaz

#5
Gerhardt13

Gerhardt13
  • Member
  • 4 posts
  • OS:none specified
  • Country: Country Flag
I've actually had some succes in this area that can be trivially accomplished with a Hex Editor:
Posted Image
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, 02 May 2010 - 04:36 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN