Author Topic: Dark Serge Replacement?  (Read 7750 times)

justin3009

  • Fan Project Leader
  • God of War (+3000)
  • *
  • Posts: 3296
    • View Profile
Re: Dark Serge Replacement?
« Reply #15 on: June 30, 2008, 08:17:48 pm »
Had to double post, what the flying fuck? -points at image- Disc 2: D7 = Dario, DD = Flea
« Last Edit: June 30, 2008, 08:36:40 pm by justin3009 »

anth79mac

  • Iokan (+1)
  • *
  • Posts: 6
    • View Profile
Re: Dark Serge Replacement?
« Reply #16 on: June 30, 2008, 08:41:25 pm »
That's actually a great idea -- since all the enemy characters seem to have Lynx's texture the way the code is set up, let's just use the superior Lynx model, which actually has the same texture mapped onto it. If we can figure out why Dark Serge is "D9" and not "CD," we should be able to pinpoint enemy Lynx.

anth79mac, I will give you the formula I used to get "CD" for Dark Serge for the time being. First off, look at this wiki detailing the battle models in game CD order.

The formula to use is: [Texture # - 3055] / 3 = [desired value in decimal]

Let's break that down with an example. Serge-Scythe/Lynx's model and weapon data are stored in file numbers 3208 ~ 3210 on the first game CD. His texture is file #3208. 3208 - 3055 = 153. Divided by 3, that's 51. Convert that into hexadecimal (that's the number system Gameshark uses) and you get 33, commonly represented in hex as 0x33. Hex to dec and vice versa conversions are very easy to do on Windows Calculator if you're on a Windows system. Thus, the code uses the value "33" for hobbled-over Lynx.

justin, I guess I need to ask at this point whether you were testing this code on Disc 1 or Disc 2. The enemy models may be stored in a different order on Disc 2.

Well I tried replacing Lynx with that chart, came up with 7E for Lynx model--got a Paper Boy.  I came up with CD too when I ran the formula for Dark Serge--Justin how did you find it so fast?

Not as impressive as Guile and his flower power though lol.
« Last Edit: June 30, 2008, 08:44:11 pm by anth79mac »

justin3009

  • Fan Project Leader
  • God of War (+3000)
  • *
  • Posts: 3296
    • View Profile
Re: Dark Serge Replacement?
« Reply #17 on: June 30, 2008, 08:42:28 pm »
I can't find a Dark Serge enemy model in Disc 2.  the values are really different and I went through pretty much all of them.

FaustWolf

  • Guru of Time Emeritus
  • Arbiter (+8000)
  • *
  • Posts: 8972
  • Fan Power Advocate
    • View Profile
Re: Dark Serge Replacement?
« Reply #18 on: June 30, 2008, 09:05:48 pm »
thanks justin, Dark Serge may not even be on Disc 2; certain enemies are disc exclusive. By association, this would necessitate a Dark Serge hack, since a Gameshark code cannot put in models that don't exist. However, my memory may not serve in this case.

D7 for Dario and DD for Flea check out as far as the order in which enemies would be stored on the first game CD at least. justin, do D7 and DD produce Dario and Flea respectively on Disc 1 as well?


justin3009

  • Fan Project Leader
  • God of War (+3000)
  • *
  • Posts: 3296
    • View Profile
Re: Dark Serge Replacement?
« Reply #19 on: June 30, 2008, 10:20:39 pm »
Yep

Satoh

  • CC:DBT Dream Team
  • Magical Dreamer (+1250)
  • *
  • Posts: 1291
  • Am I your dream... or are you mine...?
    • View Profile
Re: Dark Serge Replacement?
« Reply #20 on: July 02, 2008, 04:00:12 am »
Double Post!  Guess who =]  D9 = Dark Serge


Looks like the Palette offset was swapped alright. You see how it's slightly off color in places? There's likely a different code for changing the texture...

And aren't "D0" codes usually for types of input; for checking when something has happened?

I ask because most joker codes are D0 addresses...(in this case the D0 codes would be checkin if something has been D0ne? =P)