News: 11 March 2016 - Forum Rules
Current Moderators - DarkSol, KingMike, MathOnNapkins, Azkadellia, Danke

Author Topic: text pointers of mk4 (pc version) ??  (Read 1816 times)

Agahnim

  • Newbie
  • *
  • Posts: 4
    • View Profile
text pointers of mk4 (pc version) ??
« on: January 16, 2013, 06:06:12 pm »
hello folks. im trying to translate windows version of mortal kombat 4 (yea, i know.. this isnt a rom) but im stack! i cant find pointers with the 'madhacker tutorial' methods.

from this offset 0x0EDCB0 i want to find the pointer.. i try the following:

1) B0 DC...B0 CC = FAILED
2) change almost every B0 byte to B1 of the mk4.exe file = FAILED
3) search and change B0 DC of the filesys.dat file = FAILED (then i just can't run the game)

what else can i do?? i dont know assembly and i'm searching google a hours about 'alternative method find text pointers'

i really really want to translate this game into greek but this is my only problem


thanx in advance ~ sorry for poor english ;p

keithisgood

  • Full Member
  • ***
  • Posts: 192
  • [DANGER ! ! ! ! ! ! ] [TERROR HORROR]
    • View Profile
    • keithisgood
Re: text pointers of mk4 (pc version) ??
« Reply #1 on: January 16, 2013, 06:32:42 pm »
Offsets often require a number (divisible by 1000) to be subtracted/added after the 10 is subtracted and before the bytes are swapped.

For example, in Baseball Simulator 1.000, text data begins at $3AD30. The pointer requires a subtraction of 8010 to arrive at the pointer, 20 AD.

Usually the additional operation is addition, and the usual number is 8000.

Hope this helps.

Agahnim

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: text pointers of mk4 (pc version) ??
« Reply #2 on: January 16, 2013, 07:13:15 pm »
thanx for your answer but i dont know if this helps..

1) i think subtraction of 10 is only for nes roms cause the header (look again madhackers guide).  mortal kombat 4 is a game for pc (windows) and i think that is no need to subtract the header. i try subtract the number 400 (who i think it's the header) but still nothing...

2) i also think you are calculating wrong... 3AD30 - 10 = 3AD20 -> 20 AD. But the right is: 3AD30 - 8010 = 32D20 -> 20 2D

keithisgood

  • Full Member
  • ***
  • Posts: 192
  • [DANGER ! ! ! ! ! ! ] [TERROR HORROR]
    • View Profile
    • keithisgood
Re: text pointers of mk4 (pc version) ??
« Reply #3 on: January 18, 2013, 12:44:13 pm »
Ah right. Forgot I'm in NES mode. Sorry I couldn't be more help.

henke37

  • Hero Member
  • *****
  • Posts: 643
    • View Profile
Re: text pointers of mk4 (pc version) ??
« Reply #4 on: January 18, 2013, 02:30:45 pm »
Start by learning the PE file format.