Jump to content

Heeeeelp with Hex Editor


BruceVC

Recommended Posts

Hi All

 

I am currently playing Planescape and have hit a bug in Curst when I try to enter the silo and the game crashes.

This is an issue that is known about and there is a solution, see the link below. I even posted a question on this thread

 

 

http://www.gog.com/forum/planescape_torment/stuck_in_a_certain_disc_4_grain_silo

 

The solution involves using a Hex editor and the Torment.exe file, see below

 

http://www.shsforums.net/topic/37824-please-report-crashes-here/page-9?p=534474

 

 

Now here is my issue, I have downloaded a  Hex Editor and opened the Torment.exe file but have no idea how to actually find the 1920x 1080 resolution in the file. Do I search on Hex values in the Torment.exe file? To make it clearer someone with the same issue as me in the same thread posted the following below. But I can't get right what he did, how do I find the strings he mentioned in the Hex? And then once I have found the Hex what values do I replace them with?  I know there are people on these forums with advanced and prodigious intellects so hopefully someone can assist :)

 

 

           
"I've got a Hex editor and I'm trying to apply this fix, but I can't figure it out (I have no knowledge of Hex at all, really). I've opened Torment.exe, searched and found the strings you listed, but I'm a bit confused as to what I'm editing and what I should be editing it to.
The resolution I'm using is 1920x1080, and I've gone and found out what those are in Hex (0x780 and 0x438 respectively) but I'm a little stuck from there. No idea how to get from those to the XX XX XX etc. format.

Would I be correct in doing this: 1920x1080 - Replace 80 02 with 80 07 and replace E0 01 with 38 04 ??

EDIT:
Looks like I was, no longer crashing when leaving Mebbeth's Hut."
Thanks for the fix!                                        

 

Edited by JamesofN, 14 February 2012 - 08:34 AM.

 

"Abashed the devil stood and felt how awful goodness is and saw Virtue in her shape how lovely: and pined his loss”

John Milton 

"We don't stop playing because we grow old; we grow old because we stop playing.” -  George Bernard Shaw

"What counts in life is not the mere fact that we have lived. It is what difference we have made to the lives of others that will determine the significance of the life we lead" - Nelson Mandela

 

 

Link to comment
Share on other sites

I would probably extend the search criteria a bit to make sure you get the right spot and not an accidental match.

 

E.g. look for B9 80 02 00 00 F7 F9 89 and then replace the 80 02 with 80 07. Same for the E0 01, replacing it with 38 04 (if you have 1920x1080 resolution)
 

“He who joyfully marches to music in rank and file has already earned my contempt. He has been given a large brain by mistake, since for him the spinal cord would surely suffice.” - Albert Einstein
 

Link to comment
Share on other sites

I would probably extend the search criteria a bit to make sure you get the right spot and not an accidental match.

 

E.g. look for B9 80 02 00 00 F7 F9 89 and then replace the 80 02 with 80 07. Same for the E0 01, replacing it with 38 04 (if you have 1920x1080 resolution)

 

 

 

Gorth it sounds like you know what you are talking about, I'll try this later after work and let you know what the outcome is :)

Edited by BruceVC

"Abashed the devil stood and felt how awful goodness is and saw Virtue in her shape how lovely: and pined his loss”

John Milton 

"We don't stop playing because we grow old; we grow old because we stop playing.” -  George Bernard Shaw

"What counts in life is not the mere fact that we have lived. It is what difference we have made to the lives of others that will determine the significance of the life we lead" - Nelson Mandela

 

 

Link to comment
Share on other sites

Remember, real men don't take backups ;)

“He who joyfully marches to music in rank and file has already earned my contempt. He has been given a large brain by mistake, since for him the spinal cord would surely suffice.” - Albert Einstein
 

Link to comment
Share on other sites

Remember, real men don't take backups ;)

 

:grin: no I have already made a copy of Torment.exe. when I was just looking at this issue last night

"Abashed the devil stood and felt how awful goodness is and saw Virtue in her shape how lovely: and pined his loss”

John Milton 

"We don't stop playing because we grow old; we grow old because we stop playing.” -  George Bernard Shaw

"What counts in life is not the mere fact that we have lived. It is what difference we have made to the lives of others that will determine the significance of the life we lead" - Nelson Mandela

 

 

Link to comment
Share on other sites

Okay issue solved, on the same thread I posted the modder Scient had a hotfix that did the same thing I was trying to do manually. You run it from the CMD prompt and the issue has been solved. I can now continue with Torment  :)

"Abashed the devil stood and felt how awful goodness is and saw Virtue in her shape how lovely: and pined his loss”

John Milton 

"We don't stop playing because we grow old; we grow old because we stop playing.” -  George Bernard Shaw

"What counts in life is not the mere fact that we have lived. It is what difference we have made to the lives of others that will determine the significance of the life we lead" - Nelson Mandela

 

 

Link to comment
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
×
×
  • Create New...