Hex Editing/Restorator: Changing nba2k12.exe process name

Patchmaking tutorials for NBA 2K12.

Hex Editing/Restorator: Changing nba2k12.exe process name

Postby wilson27 on Sat Jul 28, 2012 5:46 pm

Hi guys, I got bored playing nba 2k12 and tried to mess up with the nba2k12.exe file. I installed many mods in my laptop (e.g. PBACHP2K12 of PBA2kseries, FIBA 2K12 by EDA, and that HOLY SMOKING UBR of Hawk23) but when I play 2k12, its always "NBA 2K12" (off course) that appears on the task bar and explorer bar (when in window mode).

This tutorial is about changing the "process name" (the ones you see in task manager and task bar) and the icon of nba2k12.exe into your desired MOD's name/icon (PBA 2K12, UBR 2K12, etc.). I think this will help Conversion Modders to fully promote their MODS.

So lets begin!

CHANGING THE FILE NAME/PROCESS NAME

1. First, to be sure you won't corrupt your nba2k12.exe, make a back up first.
Image

2. Open your nba2k12.exe in hex editor.
Image

3. In hex editor, press ctrl + f (shortcut for find) and a small pop-up window will appear. Set the following:
Type: Text String
Value: NBA 2K12
HEX (will automatically encode when you type the value);
and under Options, choose ASCII String, then click OK.
Image

4. Now you will see below highlighted is NBA 2K12 which we want to replace/rename.
Image

5. Press ctrl + h (shortcut for replace) and a small pop-up window will appear. (Just look at the picture below and follow what to do). Then click OK.
Image
(Note: Do not replace it with more letters for it will corrupt the file. I tried to replace NBA 2K12 [with space] with FIBA2K12 [without space] and the file got corrupted.)

6. Alright, now we replaced NBA 2K12 and made it PBA 2K12! Don't forget to save the file.
Image

7. Also rename your file in windows explorer.
Image


NEXT: HOW TO CHANGE THE ICON.

8. Open your file with restorator. (Restorator is a free tool, you can search it in google, it's easy to use.)
Image

9. Create your desired icon (with gimp, or photoshop), in this case, I'm using PBA 2K12 icon and save it to your desktop and name it "99.ico" (without "").
Image

10. After saving the icon, close gimp/photoshop. Then drag the saved icon file to Restorator.
Image
Image
Image

11. Then save your file!
Image

OK that's it. Load your game and look at the task bar, you now have your customized icon and process name!
Image


(Note: When you use restorator, it will automatically create a back up file.)


Maybe this tutorial is useless, but still, maybe someone will appreciate. So to the Moderators, if you think this is useful or not, you can close this topic or move it to the tutorials section!

This is my second tutorial. :D
Last edited by wilson27 on Sat Jul 28, 2012 5:48 pm, edited 1 time in total.
Your Tip Here :D
Image
User avatar
wilson27
 
Posts: 550
Joined: Thu Sep 08, 2011 6:23 pm

Re: Hex Editing/Restorator: Changing nba2k12.exe process nam

Postby ILL-Patch guy on Sat Jul 28, 2012 5:48 pm

This is nice! thank you wilson :)
User avatar
ILL-Patch guy
 
Posts: 381
Joined: Mon Apr 04, 2011 11:24 pm
Location: Europe

Re: Hex Editing/Restorator: Changing nba2k12.exe process nam

Postby wilson27 on Sat Jul 28, 2012 5:49 pm

You think so? hehe Glad someone liked this already. (Y)
Your Tip Here :D
Image
User avatar
wilson27
 
Posts: 550
Joined: Thu Sep 08, 2011 6:23 pm

Re: Hex Editing/Restorator: Changing nba2k12.exe process nam

Postby JaoSming on Sat Jul 28, 2012 7:48 pm

useful enough to be a tutorial :wink:

just remember, no distribution or asking for exe files
Opinions are my own.

JaoSming
2KTV Producer
NBA 2K Developer
 
Posts: 29904
Joined: Tue Sep 13, 2005 12:45 am
Location: 2K

Re: Hex Editing/Restorator: Changing nba2k12.exe process nam

Postby wilson27 on Sat Jul 28, 2012 8:02 pm

JaoSming wrote:useful enough to be a tutorial :wink:

just remember, no distribution or asking for exe files


Yep, I know that. That's why I made this tutorial. (Y)
Your Tip Here :D
Image
User avatar
wilson27
 
Posts: 550
Joined: Thu Sep 08, 2011 6:23 pm

Re: Hex Editing/Restorator: Changing nba2k12.exe process nam

Postby JaoSming on Sat Jul 28, 2012 9:16 pm

I know you know, more of a reminder for others though
Opinions are my own.

JaoSming
2KTV Producer
NBA 2K Developer
 
Posts: 29904
Joined: Tue Sep 13, 2005 12:45 am
Location: 2K


Return to NBA 2K12 Tutorials & FAQs

Who is online

Users browsing this forum: No registered users and 1 guest