Google Answers Logo
View Question
 
Q: editing & hacking a PC game ( Answered 4 out of 5 stars,   1 Comment )
Question  
Subject: editing & hacking a PC game
Category: Computers > Software
Asked by: bubakhon-ga
List Price: $5.00
Posted: 02 Oct 2006 13:49 PDT
Expires: 01 Nov 2006 12:49 PST
Question ID: 770245
How can I replace a "text msg" in a PC program(i.e: edit a characters
name in a PC video game file)?
I have used hex editor to check out some of the executable file to
check out one of the exe file but no luck ! I am sure, once the
program is installed, I it generates lots of files in different places
and I don't know whereabout on all the generated files.   So, my
question is that I have the install/set-up files and wondering if, I
could locate/find the desired text in the install/setup files? if not,
how can I locate the desired file & edit it?

Request for Question Clarification by sublime1-ga on 02 Oct 2006 16:57 PDT
bubakhon...

Most programs, when installed, place their generated files into
subdirectories of the main game directory, which is usually in
C:\Program Files\Name of the Game\

Once the game is installed, just r-click that directory, and 
select 'Search' or 'Find', depending on your system. Enter
the text for the name you're trying to find in the 'Containing
text' box, and *.* in the 'Search for files and folders named'
box.

This will search inside of every file in every subdirectory
of the game, and give you the names of the files. You can
then open those with hex editor or a free program like
Resource Hacker, and make the changes you need.

If you don't find the name in any of the files, it's also
possible that there's a registry entry made by the program
in which the name is contained.

Let me know if this satisfies your interests...

sublime1-ga

Clarification of Question by bubakhon-ga on 03 Oct 2006 11:42 PDT
Thanks sublime1 for a quick response !
FYI: I have checked every file in the C:\Program Files\prg_name\ and
could not find the file containing the "text name" but no luck. 
Actually, as I recall a while back I looked into most/all of the files
with hex editor and couldn't locate the "text" that I was looking for.
The output which is "a printable form" but it is not editable or can
not be saved appear to be a MS word Documents (I think) since there is
a "W" on its "window bar" and I want to change the text on its header.

I have not looked into the registry entry since don't know much about it.

Bubakhon

Clarification of Question by bubakhon-ga on 03 Oct 2006 18:54 PDT
Well, I used a programed called "Tuneup Utilties to search and edit
Registry entries.  I did find the "text" that I was looking for and
replaced it with a "new text" and exited the tuneup prgm.  rebooted
and ran my program, but it did not made any difference.  The output
file still showed the old "text".  Checked the regestry file again,
and I can see the old text has been replace with "new text".   :-(
Any Idea?
Bubakhon

Request for Question Clarification by sublime1-ga on 04 Oct 2006 15:23 PDT
Bubakhon...

I'm not familiar with Tuneup Utilities, but if the entry you
changed had no effect where you hoped it would, you're probably
better off changing it back to the original.

You can search the registry without the utility by hitting the
Start button -> Run -> type in regedit and hit Enter.

Then go to Edit -> Find, and type in the word(s) you're looking
for.

Doing that *may* find additional entries that you can experiment
with. But, as usrhlp2 has noted in a comment, if you didn't find
it contained within a file or in a registry entry that makes a
difference you can see, it's probably encoded in compiled code.

Once again, you can try Resource Hacker, which allows you to 
open any executable files (exe, dll, etc) for a program, and
search for the term you hope to find and change, but since you
were unable to locate the specific file that contains the word
via a search in Windows Explorer, this would mean the grunt work
of searching through every executable, with no guarantee of 
finding it.

If my efforts on your behalf have earned 5 stars in your view,
and you're willing to accept an answer in the negative, I'll
post my comments as a formal answer.

sublime1-ga

Request for Question Clarification by sublime1-ga on 04 Oct 2006 15:24 PDT
I meant to include a link to the freeware, Resource Hacker:
http://www.angusj.com/resourcehacker/

Clarification of Question by bubakhon-ga on 04 Oct 2006 22:32 PDT
sublime1-ga
Your input has been VERY informative but has not resove my problem. 
Based on what we have, it seem the "text" probably is part of
encrypted compiled code.  how can I locate & change it?

FYI:  There is a "Init" in the program directory once I remove it, it
give a "default name" which I have not been able to locate it either. 
The "Init" file show to have an ".bmp" extension but is is not a
picture.  I was able to open it with wordpad and all I see a series of
numbers like following
"
la copia de este programa está castigada por la LEY-113623-301020310
 218 
 7055 
 5334 
 5795 
 2895 
 3019 
 7747 
 140 
 7607 
 8144 
 7090 
 453 
 4140 
 8626 
 7904 
 3735 
 9619 
 8714 
 562 
 ....
and many more lines"

I hope this would be helpful.
-Bubakhon

Request for Question Clarification by sublime1-ga on 05 Oct 2006 12:53 PDT
Bubakhon...

No, it's not helpful. The reason I asked if you might be
willing to accept my efforts, even though they resulted
in an answer in the negative, is because there is no way
for an average user to reverse engineer the code and make
the kind of change you're trying to make, short of the
simple methods I've suggested, which have failed for you.

You could possibly find a software engineer who could
reverse engineer the code, but this would be illegal
and expensive, and neither is possible on this site.

sublime1-ga

Clarification of Question by bubakhon-ga on 05 Oct 2006 16:01 PDT
sublime1:
Thanks you very much for your quick responses, suggestions and
directions. You have earned the 4-5 starts in my book eventhough, It's
seems I am stuck with with what I have for now.

Bubakhon
Answer  
Subject: Re: editing & hacking a PC game
Answered By: sublime1-ga on 06 Oct 2006 13:03 PDT
Rated:4 out of 5 stars
 
Bubakhon...

Thanks very much for accepting my efforts on your behalf as
an answer, even though the answer was that you can't manage
to accomplish what you want in a simple way. I'll repost the
information here for the sake of future readers:

-----------------------------------------------------------

Most programs, when installed, place their generated files into
subdirectories of the main game directory, which is usually in
C:\Program Files\Name of the Game\

Once the game is installed, just r-click that directory, and 
select 'Search' or 'Find', depending on your system. Enter
the text for the name you're trying to find in the 'Containing
text' box, and *.* in the 'Search for files and folders named'
box.

This will search inside of every file in every subdirectory
of the game, and give you the names of the files. You can
then open those with hex editor or a free program like
Resource Hacker, and make the changes you need.

If you don't find the name in any of the files, it's also
possible that there's a registry entry made by the program
in which the name is contained.

---

I'm not familiar with Tuneup Utilities, but if the entry you
changed had no effect where you hoped it would, you're probably
better off changing it back to the original.

You can search the registry without the utility by hitting the
Start button -> Run -> type in regedit and hit Enter.

Then go to Edit -> Find, and type in the word(s) you're looking
for.

Doing that *may* find additional entries that you can experiment
with. But, as usrhlp2 has noted in a comment, if you didn't find
it contained within a file or in a registry entry that makes a
difference you can see, it's probably encoded in compiled code.

Once again, you can try Resource Hacker, which allows you to 
open any executable files (exe, dll, etc) for a program, and
search for the term you hope to find and change, but since you
were unable to locate the specific file that contains the word
via a search in Windows Explorer, this would mean the grunt work
of searching through every executable, with no guarantee of 
finding it.

Resource Hacker:
http://www.angusj.com/resourcehacker/

---

Unfortunately, there is no way for an average user to
reverse engineer the code and make the kind of change
you're trying to make, short of the simple methods I've
suggested, which have failed for you. This would be a
difficult task even if you had the source code for the
software.

You could possibly find a software engineer who could
reverse engineer the code, but this would be illegal
and expensive, and neither is possible on this site.

-----------------------------------------------------------

Given that researchers earn 75% of the question price, I
hope you at least feel you've received a reasonable amount
of education for that amount of money.

sublime1-ga
bubakhon-ga rated this answer:4 out of 5 stars
quick responses, suggestions and directions.

Comments  
Subject: Re: editing & hacking a PC game
From: usrhlp2-ga on 04 Oct 2006 04:43 PDT
 
ikt is probably part of encrypted compiled code you can't change.

usrhlp

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy