Anarchy Live
CASTLEVANIA SOTN: Hacked- - Printable Version

+- Anarchy Live (https://anarchylive.com)
+-- Forum: Other (https://anarchylive.com/forumdisplay.php?fid=19)
+-- Thread: CASTLEVANIA SOTN: Hacked- (/showthread.php?tid=448)

Pages: 1 2 3 4 5


CASTLEVANIA SOTN: Hacked- - Esco - 12-08-2007

Members · 164 posts · joined 26-November 07

This thread is for updates, pics, videos, and just general information that I want to put up about the hack.

This thread will stay locked since it is only for informational purposes. For any questions, comments, etc. please use the other thread.

As of now, I have about 80% of the enemies and bosses done in the game. The ones left are:

Medusa

Doppleganger2

Dark Octopus

Blue Venus Weed

Cave Troll

Rock Knight

Death

Slogra (enemy version)

Gaibon (enemy version)

Witch

Frozen Half

Golden Bones (new enemy)

Galamoth

Ouroborus

Dragon Rider

Fire Warg

Warg Rider

Dodo

Bitterfly

Lesser Demon (enemy version)

Flame Demon

Beezelbub

Werewolf (enemy version)

Minotaur (enemy version)

Fake Grant

Fake Trevor

Fake Sypha

White Dragon

Ancient Axe Armor (new enemy)

Shaft

Lord Dracula

So basically... every enemy near the end of the game that had NOT appeared in an earlier stage of the game needs to be done. And of the ones listed above, a few don't even need almost any changes, if any at all. And some others, since I've tweaked their boss versions already, I know their AI so they will be VERY easy to do.

A list of other things that I want to get done:

ASM coding of new spear weapon (buggy at the moment)

Attempt to put in new frames for alucard, so that I can implemented royal sword type weapons

Set up rooms that require locks, and scripts

Editing of maps for second castle to have new themes

Repositioning of items and relics

tweaking of current weapons, relics, etc. Removal of redundant things, and adding of some new ones.

Setting up in game menu so that some weapons are unequipable like the gold apple or hammer.

Getting the game tod load more or certain enemy gfx into some rooms

Richter's version of the game: including his new moves, new items, etc.

Attempt to implement Man Eater boss or Behemoth Boss (may not be doable without the ability to add more images to stage files... don't get your hopes up)

Setting up way of leveling up magic weapons (for alucard) and sub weapons (for richter)

This post has been edited by Esco: 24 February 2009 - 05:37 AM


CASTLEVANIA SOTN: Hacked- - Esco - 12-08-2007

Members · 164 posts · joined 26-November 07

IMPORTANT note... VERY important.... THE MEMORY ADDRESSES LISTED ARE FOR THE US VERSION OF CASTLEVANIA SOTN! THE EMULATOR I USE IS ESPXE AND I AM USING THE MOST CURRENT VERSION! Please don't ask me about the jap or pal releases, most of the stuff is the same value wise, but address wise the locations are different. With the data I'm giving you guys here, you can probably find them on your own pretty easily. However, the ASM changes might be a different story since the pal and jap versions have stuff in different places.

Also some other emulators, use different memory addresses. Again with what I'm giving you here it is pretty easy to find them, if your willing to take the time and want to use a different emulator. All that you would need to change would be the memory addresses (ex 800a000d). Since all the addresses would still be the same distance relative to each other.

1st up... some BASIC STUFF:

BYTE format: range 0-255.... you'll see this used for a few things, but mostly addresses that end in an ODD value (800a0001, 800a0007, 800a000b, etc.)

SHORT FORMAT: range -32768 to +32767..... this is the type I'll be using the most. It's the easiest to read and follow along with in the game (ex. - values heal, + values dmg)

WORD Format: range 0 - 65535... basically UNSIGNED SHORT.... SHORT without signs used like the name indicates, instead it maxes out at 65535. Not used much. And then, only for my convenience.

LONG: for stuff that needs to have a bigger range than SHORT type. I use this mostly for movement speed things.

3951E0 is the offset for the newest version of EPSXE. You will notice that if you look thru my scripts once it is released you have one address+this 2nd amount added to it. This is so when epsxe is updated, I can easily update the addresses too.

To convert from a GS/AR code address to memhack addresses: Simply drop the 1st 2 digits, and then add 5b6e40+3951e0 to it. The second # is included after the 5b6e40 instead of just being added to it because as the emulator is updated it will probably change, and it makes updating this thread easier. I use calc.exe under windows, set to scientific view and hex for this So in other words, I won't be reviewing the codes found on www.cmgsccc.com (GS/AR codes site) since you guys now know how to convert all those now thanks to the above data.

Obviously to convert from memehack back to GS/AR code format you simply subtract (5b6e40+3951e0) from the address.

To create a memory hack using c scripts: I recommend memhack. It is found on www.memoryhacking.com, pre releases can be found regularly on the forums. It's a GREAT easy to use program, where you can see memory addresses and values as they change in real time. It is very stable, and has a LOT of features, and the creator of the program CONSTANTLY browses his forums, is friendly and very helpful and knowledgeable. This is the program I will be using here.

To ensure codes work properly: Makes sure the emulator runs at about 55-60 FPS.... the reason is that if it doesn't, and you use codes based on timers you implement yourself, even though the emulator will have slowed down.... MEMHACK STILL WOULD BE RUNNING AT FULL SPEED! This results in things not working like they should.

To declare a variable in memhack:

........ //the type//the name of the var.//the memory address it points to

extern SHORT rooms = { "", 0x005f35a0};

//to comment use the usual

To use one of the codes below take the memory address and input it into memhack. Change the value as you wish, and you can even freeze it to a certain number, or keep it above or below certain values.

VOID Lock() {

//put code here, this is basically MAIN and needed to run your codes in memhack

}

//create functions as normal

VOID function(){

}

I have also made some changes to the actual ASM code in the game now (credit goes to geminimewtwo for teaching me this). You can usually find what you need using pcsx (the one with the debugger), combined with pcsxt (which prints out a trace log of the ASM code used). I'm still new at ASM though, so please don't ask me for help with it. All I can provide is notes on things I changed. And I usually change things that could be EXTREMELY effected by slowdown with the emulator, or were bug prone, if I used memhack instead. Stuff like the wolf/bat's movement speed, magic regeneration, etc.

Unfortunately, the way Konami coded things is FUCKTASTICALLY RETARDED! So it makes ASM hacking a real chore. But as I go I am going to edit the stage files with more and more info, so that memhack is needed less for some things. Wehn I am done using the hack should be easy:

1)Apply IPS patch to ISO once... then it is changed forever

2)Open memhack, open hack file. Once loaded, minimize it. This must be done every time you want to play it.

3)Open epsxe and run the game

That's it. Nice and simple. Basically, two extra easy steps are invovled once the ISO is patched (which is easy to do)

This post has been edited by Esco: 24 February 2009 - 05:40 AM


CASTLEVANIA SOTN: Hacked- - Esco - 12-08-2007

Members · 164 posts · joined 26-November 07

Various Codes: NOTE the value next to all of them added to them. As stated above, this value is for the newest version of epsxe since it is WIP. In case it changes later it is easy for everyone to update it.

(NOTE: if one doesn't work TELL ME! I'm probably off by a digit)

//the number of rooms explored so far (located in start menu)

extern SHORT rooms = { "", 0x005f35a0 +3951e0};

//are you using alucard (0) or Richter (1)

extern BYTE character = { "", 0x005f37e0 +3951e0};

//if > 0 game freezes.... think of when alucard levels up. In richters game there is a bug where the game will actually do the dagger crash if this value is > 0 for too long... I will cover this later.

extern SHORT actionfrozen = { "", 0x0064e260 +3951e0};

//1 = paused, 0 = not

extern BYTE paused = { "", 0x006f24d0 +3951e0};

////button values: none pressed= 255, all pressed= 0, square = -128, X = -64, 0= -32, triangle = -16, r1= -8, l1 = -4, r2 = -2, l2 = -1. For each button pressed subtract the amount specified from 255.

extern BYTE buttonpress = { "", 0x005be3b3 +3951e0};

//same thing as button press above. Start and select are included here, as well as pushing the analog sticks in (l3 and r3)

extern SHORT padpress = { "", 0x005f009d +3951e0};

//RICHTER ONLY: if > 0, next forward tap makes him dash. Basically set it to 3 or 4, and instead of walking he always runs.

extern BYTE Dashtimer = { "", 0x00629d50 +3951e0};

//if the # is odd, your on the ground.. If even in the air. It also changes based on whether your standing against a wall or on an incline or decline. But the odd/even rule remains true regardless. Useful if you want to add in new moves and make sure they work right.

extern BYTE ontheground = { "", 0x00629d60 +3951e0};

// How much character is affected in water, 0 = not in it, > 16 damages player if relic not present (richter takes no dmg even without relic it seems). The higher this is, the less mobile you are too. It also causes bubbles to spawn from the player's head if high enough (like when udnerwater).

extern SHORT underwater = { "", 0x0064e288 +3951e0};

//RICHTER ONLY: used for tackle. 1 means you tapped up, 2 means your in mid fireball motion, 3 means hitting the button does the move. Freeze at 3, and hitting square will ALWAYS do the tackle.

extern BYTE tapuptimer = { "", 0x0072c720 +3951e0};

//RICHTER ONLY: used for rising whip: 1 means you tapped down, 2 means you tapped up and hitting the button does a rising whip. Freeze at 2 and guess what happens.

extern BYTE tapdowntimer = { "", 0x0072c724 +3951e0};

//ALUCARD ONLY: used for wing smash... 7 = smash. However, if set to 7 the minute you change to bat he does the move. To delay it hold x. In other words, you would basically want to code something that says when buttonpress = x, this number = 7. The minute you let go of x he would do the move.

extern BYTE wingsmashtimer = { "", 0x006eee34 +3951e0};

//ALUCARD ONLY: wolf DASH (double tap forward)... freeze it to a non zero value (preferably one over 2, since it decreases) and when you press forward he runs instead of walk. I used this to make him ALWAYS move faster.

extern BYTE wolfdashtimer= { "", 0x006ef26c +3951e0};

//ALUCARD ONLY: used for super jump... same premise as the one behind richters. But for alucard, Double jump first, then next jump is super. OR duck then tap jump to superjump off the ground with one button.

extern BYTE tapdowntimer2 = { "", 0x006efe00 +3951e0};

//ALUCARD ONLY: 255 for special move

extern BYTE wolfchargetimer= { "", 0x006efe04 +3951e0};

//ALUCARD ONLY: used for hellfire... take a guess what to do here? 4 for spell.

extern BYTE hellfiretimer= { "", 0x006efe0c +3951e0};

//ALUCARD ONLY: used for tetra spirit... take a guess what to do here? But for this one... you MUST be ducking for the spell to spawn when you hit the button. 7 for spell

extern BYTE tetraspirittimer= { "", 0x006efe10 +3951e0};

//ALUCARD ONLY: yup. 7 for spell

extern BYTE soulstealtimer= { "", 0x006efe18 +3951e0};

//ALUCARD ONLY: 8 for spell, must be ducking

extern BYTE swordbrotherstimer= { "", 0x006efe24 +3951e0};

//ALUCARD ONLY: DOY! Guess? (must be ducking). 4 for spell

extern BYTE summonspirittimer= { "", 0x006efe38 +3951e0};

//ALUCARD ONLY: yup. 5 for spell

extern BYTE darkmetamorphosistimer= { "", 0x006efe3c +3951e0};

//used to determine brightness of screen when map is up. 7 means map is up... 8 means map is closing... 6 is a dark screen with no map. Freeze at 7 to have the screen dim and the map up while alucard/richter are in motion.

extern BYTE selectmenu = { "", 0x006ee7e4 +3951e0};

//these are used to determine the players horizontal and vertical position in the current room. 128 for either one means the player is centered either horizontally, vertically, or both.

extern SHORT hroompos = { "", 0x0064e230 +3951e0};

extern SHORT vroompos = { "", 0x0064e234 +3951e0};

//these next 2 are a bit different than the above 2 though they may sound similar. These are the player's actual ON SCREEN position. A standard room is 256*256. -1 means the player exited the left side, 257 means they exited the right side of the screen. These are very useful for scripting.

extern SHORT hscreenpos = { "", 0x00629ece+3951e0};

extern SHORT vscreenpos = { "", 0x00629ed2+3951e0};

//these are used to determine the players current vertical and horiz position on the MAP screen (what room your in) . The first 2 determine what room the player will be in if he exits the left side of the screen. 2nd set are for the right side.

extern SHORT hroomnum1 = { "", 0x00629ef0+3951e0};

extern SHORT vroomnum1 = { "", 0x00629ef4+3951e0};

extern SHORT hroomnum2 = { "", 0x00629ef8+3951e0};

extern SHORT vroomnum2 = { "", 0x00629efc+3951e0};

//if > 0 player cannot be hit. The 1st one is almost NEVER used. The 2nd one is used 99% f the time.

extern SHORT canbehit1 = { "", 0x00629d5a +3951e0};

extern SHORT canbehit2 = { "", 0x00629d5c +3951e0};

//if > 0 player cannot move or use any attacks (can still pause or bring up map)

extern SHORT canmove = { "", 0x00629d3c+3951e0};

//if this is NOT set to 0 and the canmove address above is > 0 so player can't move, This controls what direction the player will walk on or what it will do. Used for "cut scenes" and also the boss tactics found in the librarian's menu.

extern SHORT automove = { "", 0x00629d34+3951e0};

//an odd one... basically determines when you walk off a ledge how much time you have till you can't jump (think of how when you walk off a platform you have a small time frame to still jump even though you are technically in mid air). > 0 means you can do it. This is why after a tackle in mid air richter can jump again.

extern SHORT candoairjump = { "", 0x00629d4a +3951e0};

//affects the color of the box that says PAUSED for richter, and the color behind the 2nd digit for alucards hp.

extern BYTE pausebox = { "", 0x0064e066 +3951e0};

//determines the color of richters hp gauge (unknown use for alucard)

extern BYTE hpgaugecolor = { "", 0x0064e19e +3951e0};

//RICHTER ONLY: time till whip power up ends.

//ALUCARD ONLY: time till poison ends

extern SHORT whippowerup = { "", 0x00629d40 +3951e0};

//ALUCARD ONLY: time till curse ends

extern SHORT cursetimer = { "", 0x00629d42 +3951e0};

//ALUCARD ONLY: number of hits/shakes till you are free of stone

extern SHORT stonenumhits = { "", 0x00629dbe +3951e0};

//affects the color of boss life gauges, their horizontal position on screen, and the percent each is filled (richter game). Use for alucard unknown

extern SHORT mpgaugecolor = { "", 0x0064e16e +3951e0};

extern SHORT mpgaugehpos = { "", 0x006ee7c0 +3951e0};

extern SHORT mpgauge1pct = { "", 0x006ee7c8 +3951e0};

extern SHORT mpgauge2pct = { "", 0x006ee7cc +3951e0};

//CREDITS TO AMIHIRO FOR THIS CODE:

//Determines the type of dmg inflicted on the player

extern WORD dmgtype = { "", 0x0062a25c+3951e0};

IMPORTANT: MEMORIZE THESE VALUES since they effect the element type inflicted on enemies too, and also stand for the elements used in absorb, weakness, immune and strong to factors as well. They are also used for weapons and items.

32= hit dmg 64 = cut dmg 128 = psn dmg 256= cur dmg 512 = stone dmg 1024 = h20 dmg 2048 = dark dmg 4096 = holy dmg 8192 = ice dmg 16384 = thu dmg 32768 = fire dmg 16 = breaks spikes (ARMOR ONLY), for enemies does dmg based on players maxhp (1/8th)

Combining them equals multi elements. for example: 96 = cut and hit dmg, 41216 = ice, fire and cur dmg. These multi element numbers will mostly be used on armors, and to determine what effects enemies in what manner.

Adding certain numbers to each one as well results in other effects on the player:

add 2 = move PUSHES back (like when you take 1 pt of dmg), add 4: flies back with no SLAM into wall dmg

add 5 = fly back WITH slam into wall dmg 6 = drains hp like water does


CASTLEVANIA SOTN: Hacked- - Esco - 12-08-2007

Members · 164 posts · joined 26-November 07

ELEMENT CHART (AGAIN):

IMPORTANT: MEMORIZE THESE VALUES since they effect the element type inflicted on enemies too, and also stand for the elements used in absorb, weakness, immune and strong to factors as well. They are also used for weapons and items.

32= hit dmg 64 = cut dmg 128 = psn dmg 256= cur dmg 512 = stone dmg 1024 = h20 dmg 2048 = dark dmg 4096 = holy dmg 8192 = ice dmg 16384 = thu dmg 32768 = fire dmg 16 = breaks spikes (ARMOR ONLY), for enemies does dmg based on players maxhp (1/8th)

Combining them equals multi elements. for example: 96 = cut and hit dmg, 41216 = ice, fire and cur dmg. These multi element numbers will mostly be used on armors, and to determine what effects enemies in what manner.

Adding certain numbers to each one as well results in other effects on the player:

add 2 = move PUSHES back (like when you take 1 pt of dmg), add 4: flies back with no SLAM into wall dmg

add 5 = fly back WITH slam into wall dmg 6 = drains hp like water does.

STRUCTURE OF WEAPONS: Credit to SF for discovering 3 of these entries.

Each has 52 entries

Example: Morningstar

first entry 65d240: Last entry: 65d272

(ASSUME Type is SHORT unless otherwise indicated)

65d240: POS OF TEXT IN ISO FOR NAME: Type LONG

65d244: POS OF TEXT IN ISO FOR DESCRIPTION: Type LONG

65d248: ATTACK AMOUNT

65d24a: DEFENSE AMOUNT

65d24c: ELEMENTAL DAMAGE TYPE (see chart)

65d24e: 1=1 handed, 5= 2handed, 6=does 9999 dmg: Type BYTE

65d24f: weapon used1: Type BYTE

65d250: UNKNOWN Type BYTE

65d251: < 32, stops when weapon used, over doesn't stop. Also this is the action2 value (Action2=value+64): Type BYTE

65d252: WEAPON ANIMATION used by ALUCARD: Type BYTE (must pause/unpause to see change)

65d253: weapon used2: Type BYTE

65d254: weapon used3: Type: BYTE

65d255: DELAY before player can move after using weapon/item: type BYTE

65d256: # OF ITEM/ATTACK that can be on screen at once

65d257: Weapons Back to forward special move (takes no MP) : Type BYTE

65d258: weapons fireball motion special move (takes MP): Type BYTE

65d259: 0 =unlimited, 1=limited: Type: BYTE

65d25a: DELAY TILL WEAPON HITS AGAIN: Type SHORT

65d25c: UNKNOWN, seems to always be 0

65d25e: UNKNOWN, seems to always be 0

65d260: UNKNOWN, used only by heaven sword and shield rod it seems

65d262: UNKNOWN, seems to always be 0

65d264: MP COST TO USE ITEM

65d266: AMOUNT ITEM STUNS ENEMY

65d268: 0 seems to mean healing item, 2 seems to mean attack, 128 hits everything on screen, 4= blocks

65d26a: 0-128 = hit sound, 2 = steals souls, 3 = bounces off 128 and higher = cut sound. So 130= steal souls and cut sound, 131 = cut sound and bounces off armor. There might be a way to get it to steal souls AND bounce off, but I didn't bother to find the #.

65d26c: image used for item (ends around 270-80)

65d26e: color pal used for item(ends around 270-80)

65d270: CRITICAL HIT RATE

65d272: UNKNOWN, seems to always be 0

NOTE ABOUT WEAPON ANIMATION: for many things if alucard isn't set to the correct animation, the item/weapon won't spawn on screen.

NOTE: for weapon used entries... the first 2 when matched up properly cause a certain hand item to spawn (orange, bwaka knife, sword, etc) when the attack button with the edited weapon equipped is hit. The last entry (# 3) for weapon used is for the ones who share similar proprties.

EX: if weapon used1 = 15 & weapon used 2 = 50 & weapon used 3 = 0, then shuriken is spawned

but if weapon used1 = 15 & weapon used 2 = 50 & weapon used 3 = 1, then yagyu shuriken is spawned

Likewise if weapon used 3 is set to 3, buffalo star, and for weapon used = 4 fire star is spawned.

If you want to see what weapon used 1&2 entry coincides to what thing, you can look in the file for the individual weapon that you want to change to. I have created a zip file that has a file for each item in the game stored in it. These can be opened in Epsxe and will be released to the general public when the hack comes out..

Also.... shield spells and weapon specials can be spawned like this too. So I can change the mace to instead be a moon rod magic bolt every time I hit attack.

ORDER OF HAND ITEMS: NOTE: 3951e0 is the amount added to adapt address for newest version of epsxe

If you are going to try to figure out the starting address for an item's info, you can use the windows calculator set to hex type

Empty Fist: (65b944+3951e0) (add 52 for next so..)

Monster vial1 = 1 down from top so: 65b944+3951e0+(34*1)= the address for this item NOTE: 52 in hex format is 34

Monster vial 2 = 2 down from the top so it's 65b944+3951e0+(34*2)= the address for this item

3)Monster Vial 3,

4)Shield Rod,

5)Leather shield,

6)knight shield,

7)iron shield,

8)axelord shield

9)herald shield,

10)dark shield,

goddess shield,

shaman shield,

medusa shield,

skull shield,

15)fire shield, = 15 down from the top so it's 65b944+3951e0+(34*F)= the address for this item (f is 15 in hex format)

alucard shield,

sword of dawn,

basilard,

short sword,

20)combat knife,

nunchuku,

werebane,

rapier,

karma coin,

25)magic missile,

red rust,

takemitsu,

shotel,

orange,

30)apple,

banana,

grapes,

strawberry,

pineapple,

35)peanuts,

toadstool,

shiitake,

cheesecake,

shortcake,

40)tart,

parfait,

pudding,

ice cream,

frankfurter,

45)hamburger,

pizza,

cheese,

ham and eggs,

omelette,

50)morning set,

lunch a,

lunch b,

curry rice,

gyros plate,

55)spaghetti,

grape juice,

barley tea,

green tea,

natou,

60)ramen,

miso soup,

sushi,

pork bun,

red bean bun,

65)chinese bun,

dim sum set,

pot roast,

sirloin,

turkey,

70)meal ticket,

neutron bomb,

power of sire,

pentagram,

bat pentagram,

75)Shuriken,

cross shuriken,

buffalo shuriken,

fire shuriken,

tnt,

80)bwaka knife,

boomerang,

javelin,

tyrfing,

namakura,

85)knuckle duster,

gladius,

scimitar,

cutlass,

sabre,

90)falchion,

broadsword,

bekatowa,

damascus sword,

hunter sword,

95)estoc,

bastard sword,

jewel knuckles,

claymore,

talware,

100)katana,

flameberge,

iron fist,

zwei hander,

sword of hador,

105)luminus,

harper,

obsidian sword,

gram,

jewel sword,

110)mormegil,

firebrand,

thunderbrand,

icebrand,

stone sword,

115)holy sword,

terminus est,

marsil,

dark blade,

heaven sword,

120)fist of tulkas,

gurthang,

mourneblade,

alucard sword,

mablung sword,

125)badelaire,

sword familiar,

great sword,

mace,

morningstar,

130)holy rod,

starflail,

moon rod,

chakram,

fire boomerang,

135)iron ball,

holbein dagger,

blue knuckles,

dynamite,

osafune katana,

140)masamune,

muramasa,

heart refresh,

rune sword,

anti-venom,

145)uncurse,

life apple

hammer,

str potion,

lck potion,

150)smart potion,

atk potion,

shield potion,

resist fire,

resist thunder,

155)resist ice,

resist stone,

resist holy,

resist dark,

potion,

160)high potion,

elixir,

manna prism,

vorpal blade,

crissagrim,

165)yasatsuna katana,

library card,

alucart shield,

alucart sword

(god I hope I didn't miss any above. If anything seems off, it means I missed one, definitely let me know)

STRUCTURE OF ARMOR, HELMETS, CAPES AND RELICS:

Each has 32 entries

Example: spike breaker

first entry 65e718: last entry 65e736

65e718: POS OF TEXT IN ISO USED FOR NAME. Type LONG so then add 4 to get next address

65e71c: POS OF TEXT IN ISO USED FOR DESCRIPTION. Type LONG so again add 4 for next...

65e720: ATK AMOUNT ADDED. Type SHORT, so add 2 for next....

65e722: DEF AMOUNT ADDED Type SHORT, so add 2 again

65e724: STR AMOUNT ADDED: Type BYTE, so add 1 to get the next entry

65e725: CON AMOUNT ADDED: Type BYTE, so again add 1

65e726: INT AMOUNT ADDED: Type BYTE, so guess what to do?

65e727: LCK AMOUNT ADDED: Type BYTE

65e728: WEAK TO: makes player weak to these element(s): Type SHORT, so time to add 2 again

65e72a: STRONG TO: Type SHORT

65e72c: IMMUNE TO: Type SHORT

65e72e: ABSORBS: Type SHORT

65e730: IMAGE USED BY ITEM: Type SHORT... these images seem to end around 270-80

65e732: COLOR PAL USED FOR IMAGE: Type SHORT... same thing, colors end around 270-80 for items.

65e734: CATAGORY ITEM APPEARS IN: Type SHORT (0 = head, 1=body, 2= capes, 3= relics)

65e736: UNKNOWN, may just be set to 0, so it's easier to see where items end and begin.

Body: Formula: 65e578+new epsxe amount +(number of item in list in hex format * 20)= address of item

Cloth Tunic: 65e578+3951e0+(0*20)= address (it is item 0 and 20 is 32 in hex format)

Hide Cuirass: 65e578+3951e0+(1*20)= address

Bronze Cuirass: 65e578+3951e0+(2*20)= address

3)Iron Cuirass:

4)Steel Cuirass:

5)Silver Plate:

6)Gold Plate:

7)Platinum Mail:

8)Diamond Plate:

9)Fire Mail:

10)Lightning Mail:

11)Ice Mail:

12)Mirror Cuirass:

13)Spike Breaker Armor:

14)Alucard Armor:

15)Dark Armor:

16)Healing Mail:

17)Holy Armor:

18)Walk Armor:

19)Brilliant Armor:

20)Mojo Mail:

21)Fury Plate:

22)Dracula Tunic:

23)God�s Garb:

24)Axelord Armor:

25)Alucart Mail: 65f078+3951e0

NOTE: this item is positioned after accessories (bloodstone, ankh of life, etc.) and is an exception to my formula above.

Head: formula = 65e898+new epsxe amount +(number of item in list in hex format * 20)= address of item

0)Empty:

1)Sunglasses:

2)Ballroom mask:

3)Bandanna:

4)Felt hat:

5)Velvet hat:

Goggles:

Leather hat:

Holy glasses:

Steel helm:

10)Stone mask:

Circlet:

Gold circlet (holy):

Ruby circlet (fire):

Opal circlet (ice):

15)Topaz circlet (poison):

Beryl circlet (lit):

Cat eye circlet:

Coral circlet (curse):

Dragon helm:

20)Silver crown :

Wizard hat:

Cloaks: formula = 65eb58+new epsxe amount +(number of item in list in hex format * 20)= address of item

0)Empty:

1)Cloth Cloak:

2)Reverse Cloak:

3)Elven Cloak:

4)Crystal cloak:

5)Royal Cloak:

6)Blood Cloak:

7)Josephs Cloak:

8)Twilight cloak:

accessories: formula = 65ec78+new epsxe amount +(number of item in list in hex format * 20)= address of item

0)Empty:

1)Moonstone:

2)Sunstone:

3)Bloodstone:

4)Staurolite:

5)Ring of Pales:

Zircon:

Aquamarine:

Turquiose:

Onyx:

10)Garnet:

Opal:

Diamond:

Lapis Lazuli:

Ring of Ares:

15)Gold Ring:

Silver Ring:

Ring of Varda:

Ring of Arcana:

Mystic pendant:

20)Heart brooch:

Necklace of J:

Gauntlet:

Ankh of life:

Ring of Feanor:

25)Medal:

Talisman:

Duplicator:

Kings stone

Covenant Stone

30)Nauglamir:

Secret boots:

This post has been edited by Esco: 03 January 2010 - 06:59 AM


CASTLEVANIA SOTN: Hacked- - Esco - 12-08-2007

Members · 164 posts · joined 26-November 07

PERMANENT ENEMY DATA: 40 entries, start odd ends even

This is the data that is COPIED to a temporary location in memory when an enemy is spawned. That means if you want to change things and see what they affect you must do so BEFORE the enemy spawns. Otherwise you must leave and reenter the room so it will respawn and your changes take effect. However for the enemies def, and absorb/strong/immune/weakto data this is not the case. It takes effect INSTANTLY, because it is not copied to anywhere else.

*IMPORTANT: FOR HORIZONTAL AND VERTICAL SIZE BELOW it does NOT affect all enemies and projectiles. It only seems to work for some. For those it does not effect you actually can edit the temp data when the enemy is spawned to change it. I will discuss temp data in a future post.

Example: Skeleton: 6602f7-66031e

(assume type = SHORT unless indicated)

6602f8 - TEXT POS IN ISO FOR NAME: Type LONG

6602fc- HP (32767 = invulnerable like stone skull)

6602fe - dmg done to player

660300 - DMG TYPE (see elemental chart in posts above)

660302 - DEFENSE

660304 - SPECIAL DATA = 0 unhittable/unblockable/does no dmg, 1= does dmg

2= makes it hittable 4 = makes it blockable, 16 = does it bleed when hit with cut attack

(combine to get different effects ex. 6 = hittable/blockable/does no dmg, 3 = does dmg/hittable/unblockable, etc. 35 & 51 seems to be used for enemies. But I see no difference between 35 and 3, which is does dmg, hittable, unblockable. And 51 seems the same as 19 which is bleeds, does dmg, hittable, unblockable)

660306 - WEAK TO (see elemental chart in posts above)

660308 - strong to

66030a - immune to

66030c - absorbs

66030e - LEVEL

660310 - EXP

660312 - COMMON ITEM DROP (128=empty fist, count down from there in order presented in above post. For numbers 0 -128 see below)

660314 - RARE ITEM DROP

660316 - COMMON DROP RATE

660318 - RARE DROP RATE

66031a- HORIZONTAL SIZE*- Type BYTE

66031b- VERTICAL SIZE* - Type BYTE

66031c - UNKNOWN- Type BYTE

66031d - STOPWATCH EFFECT/DOES AXE BOUNCE/SPECIAL EFFECTS? Type BYTE

0= WATCH STOPS it, 1= enemy self destructs upon spawning, 2= watch slows them down, 4 or 8 = drops items (seem to do same thing?) 16 = counts towards kill count, 32 = watch has no effect, 128 = axe/daggers bounce off.

**You can add these together for multiple effects so.... 176= axe/daggers bounce, watch has no effect and it counts towards the kill count.

66031e - does enemy move with player? Yes or No?

NOTE: FOR DROPS 0-127 for monsters (ONLY MONSTERS):

0=heart

1= big heart

2= $1

3=$25

4=$50

5=$100

6=$250

7=$400

8=$700

9=$1000

10=$2000

11=$5000

12=heart max up

13=UNKNOWN ITEM (doesn't add to inventory, looks orange and odd)

14=dagger

15=axe

16=cross

17=holy water

18= stopwatch

19=bible

20= rebound gem

21= bibuti

22=agunea

23=life max up

24-127: various glitched graphics and text... some crash the game, but they give nothing.

128=empty hand

over 128: weapons, then armor, head items, capes, then relics. See above post for list and order

This post has been edited by Esco: 02 January 2009 - 03:43 AM


CASTLEVANIA SOTN: Hacked- - Esco - 12-08-2007

Members · 164 posts · joined 26-November 07

This is a COPY AND PASTE of the OLD enemy list and order of them I found: the address are all again in the 800a range, and they are GS addresses. And all of my addresses are off by 1 so add 1 to each of them.

Meaning if it says cca0 it is actually 800acca0.... to change these to memhack address ranges you of course add 5b6e40 to them. But first add 1, and of course drop the 800 so...

800acca0 becomes acca0+1= acca1 then add 5b6e40 =663ae1. Your memhack address.

Of course, this is easier if you just look at the 1st enemy, convert it's address, put it into memhack, then take the LAST enemies LAST entry convert it, and put that into memhack. You can then have it show ALL the enemies in that range at once, and just indicate where each enemy begins and ends after you copy the addresses into the main window of the program.

I recommend the same thing for the weapons and items if you plan on changing a LOT of stuff. It makes life MUCH easier. Here you go.

Monsters= 40 entries per attack or monster

Axe knight (blue, 42) 89EE -8A15

Axe Knight Axe: 8A16-8A3d

Axe Knight Charge: 8A3e-8A65

Sword Lord (61) 8A66-8A8D

Sword lord Sword attacks: 8A8E-8AB5

Skelerang (18) 8AB6-8ADD

Skelerang Boomerangs: 8ADE-8b05

Bloody Zombie (24,) 8b06-8b2d

MAY ALSO BE FLYING ZOMBIE: 8b2e-8b55

Flying Zombie (190) 8b56-8b7d

Diplocephalus Head(80) 8b7e-8bA5

Diplocephalus Legs (32767) 8bA6- 8bcd

Diplocephalus Tail (32767) 8bCE-8BF5

Diplocephalus Fireball 8bF6-8c1d

Owl Knight (180) 8C1e-8c45

Owl Knight Sword: 8C46-8C6d

Owl (26) 8C6E-8C95

Lesser demon (400) 8C96-8Cbd

Lesser Demon Punch: 8Cbe-8Ce5

Lesser Demon Energy Spit: 8CE6-8D0D

Lesser Demon Litball: 8D0E-8D35

Fishman (10): 8D36-8D5D

Fishman Fireball: 8D5e-8D85

Merman (10) 8D86- 8DAD

Merman Fireball: 8DAE- 8DD5

Gorgon Body (240) 88DD6-8dfd

Gorgon Head (240): 8DFE-8E25

Gorgon Breath: 8E26- 8E4D

Armor Lord (84) 8E4E-8E75

Armor Lord Sword/Shield: 8E76- 8E9D

Armor Lord Firewave: 8E9E-8EC5

Black Panther (35) 8EC6-8EED

Dark Octopus (280) 8EEE-8F15

Dark Octopus Ink: 8F16- 8F3d

Flea Man (11) 8f3e-8F65

Flea Armor (18) 8F66-8F8D

Flea Armor Axe: 8F8E- 8FB5

White Dragon (260) 8FB6-8FDD (Must still find attack and charge dmg info)

White Dragon Fire: 8fDE- 9005

Bone Ark (250) 9006-902D

Bone ark priest (140) 902E-9055

Bone Ark Lightning: 9056-907D

Flea Rider (17) 907E-90A5

Marionette (20) 90A6- 90CD

Olrox (666) 800a90CE-90F5

Olrox Bats (13) 90F6- 911D

Olrox Skulls (15) 911E-9145

Olrox Geyser- 9146-916D

Olrox beam- 916E-9195

Olrox 2 Body (15)9196-91bD

Olrox 2 (800) 91be- 91E5

Olrox 2 Grab 91E6-920D

Olrox 2 Jump? (unknown): 920E-9235

Olrox 2 Fireball (20) 9236- 925D

Olrox 2 Flame Burst (35): 925E-9285

Wereskeleton (33) 9286-92AD (MUST still find head atk dmg which is 1 )

Wereskeleton bone: 92AE-92D5

Wereskeleton charge? (unknown2): 92D6- 92FD

Bat (1) 92fe-9325

Large Slime (64) 9326- 934D

Slime (32) 934E- 9375

Phantom Skull (15) 9376- 939D

Flail Guard (36) 939e- 93C5

Flail Guard Flail: 93C6- 93ED

Blood Skeleton (9) 93EE-9415

Hellfire Beast (380) 9416-943d

Hellfire beast flame: 943E-9465

Hellfire beast lightning: 9466- 948D

Hellfire Beast punch: 948E - 94b5

Skeleton (9) 94B6-94dd

Skeleton Bone: 94DE- 9505

Discus Lord (450) 9506- 952d

Discus Lord Disc: 952E-9555

Flame Demon (320) 9556- 957d

Flame demon blast: 957E-95A5

Spittle Bone (18) 95A6-95CD

Spittle Bone Acid: 95CE-95F5

Skeleton Ape (10) 95F6 � 961d

Skeleton Ape Barrel: 961E-9645

Skeleton Ape Punch (12 dmg): c526- c54d

Stone Rose (60): 9646- 966D

Stone Rose Body (32767):

Stone Rose Skull: 966E- 9695

Stone Rose Poison: 9696- 96BD

Ectoplasm (18) 96BE- 96E5

Unknown 3 (1 hp, 8 dmg, drops resist stone/medusa shield, lv 1 exp 10?): 96E6-970D

Unknown 4 (hp 16, def = 8, 0 touch dmg, lv 1 exp 2, weak to holy?) 970E- 9735

Unknown 5 (proj? does 10 dmg, fire elem) 9736-975D

Unknown 6 (32767 hp, does 16 dmg, fire element) 975e-9785

Spear Guard (20) 9786- 97AD

Spear Guard stab: 97AE- 97D5

Spear Guard swipe: 97D6- 97FD

Unknown 7: (32767 hp, 25 dmg, cut type) 97FE- 9825

Plate Lord (90) 9826- 984D

Plate Lord Ball Attack: 984E- 9875 (str is based on speed of ball spinning 1 if on ground)

Frozen Shade (16) 9876-989D

Frozen Shade ice Magic: 989E- 98C5

SPEAR traps in confession room (hp 4, dmg 10, cut type) 98C6- 98ED

Frozen Shade Spear: a9ce- a9f5

Bone Musket (24) 98EE- 9915

Bone Musket Bullet: 9916- 993d

Dodo Bird (2) 993e- 9965

Bone Scimitar (18) 9966- 998D

Toad (10) 998E- 99B5

Frog (2) 99B6- 99DD

Bone Archer (10) 99DE- 9A05

Bone Archer Arrow: 9A06- 9A2D

Zombie (1) 9A2E- 9A55

GraveKeeper (123) 9A56- 9A7D

Grave Keeper Attacks: 9A7E-9AA5

Tombstone (5) 9AA6- 9acd

Blue Raven (15) 9ACE- 9af5

Black Crow (15) 9AF6- 9b1d

Jacko Bones (20) 9B1e- 9B45

Jacko Bones Bone: 9B46- 9B6D

Bone Halberd (30) 9b6E- 9b95

Bone Halberd Spear: 9B96- 9BBD

Yorick (10) 9Bbe- 9be5

Yorick Skull (2) 9bE6-9c0d

Blade Master (65) 9C0E- 9c35

Blade Master Sword: 9c36- 9c5d

Blade Soldier (16) 9c5e- 9c85

Blade Soldier Blade: 9c86- 9cad

Nova Skeleton (20) 9Cae- 9cd5

Nova Skeleton Beam: 9cd6- 9cfd

Winged Guard (15) 9cfe- 9d25

Spectral Sword 2 (90) 9d26- 9D4D

Poltergeist (30) 9D4e- 9D75

Lossoth (99) 9D76- 9D9D

Lossoth fire attacks: 9D9E- 9Dc5

Valhalla Knight (161) 9DC6- 9Ded

Valhalla Knight Horse: 9DEE- 9e15

Valhalla Knight Spear: 9E16- 9E3d

Spectral Sword 1 (100) 9E3e- 9E65

Puppet Sword (20) 9E66- 9E8D

Spectral Sword 3 (540) 9E8E- 9EB5

Spear (10) 9EB6- 9EDD

Shield (120) 9Ede- 9f05

Orobourous (200) 9F06- 9F2d (47 dmg when freed)

Orobourous tail: 9F2e- 9F55

Orobourus Rider (100) 9F56- 9f7d

Dragon Rider (120) 9F7e- 9FA5

Dragon Rider Body: 9Fa6- 9FCD

Dhuron (32) 9FCE- 9ff5

Dhuron Sword: 9FF6- A01D (lit sword doubles attack)

Fire Warg (200) A01e- a045

Fire warg Charge: a046- a06D

Fire warg flames: a06E-a095

Warg Rider (120) A096- a0bd

Warg Rider Lance: A0BE-A0E5

Cave troll (88) a0E6- a10d

Cave troll tongue and blade: a10E- a135 (dmg data here?)

Cave troll special DATA: a136- a15D

Ghost (11) A15e-a185

Thornweed (12) a186-a1ad (affects weed for thornweed and corpseweed)

Corpseweed (18) A1ae-a1d5 (HP is for book entry only� does not affect weed)

Corpseweed Head (20) A1d6- a1fd

Corpseweed Poison: A1FE-A225

Venus Weed (100) A226- A24D

Venus Weed Head (500) A24E-A275

Venus Weed Spikes (32727) A276-A29D

Venus Weed Roses: A29E- A2C5

Bomb Knight (46) A2C6-A2ED (set 212 tag)

Bomb Knight Bomb: A2EE-A315

Rock Knight (160) A316-a33d (set 212 tag)

Rock Knight Rock toss: a33e- a365

Dracula 1st form(600) A366- a38d

Dracula 1st form fireball: A38e- a3b5

Dracula 1st form novaball: a3b6- a3dd

Dracula 2nd form (1200) a3de- a405

Dracula 2nd form fireball: a406- a42d

Dracula 2nd form Plasma: A42e-A455

Warg (32) A456- a47D

Warg Charge: A47E-A4a5

Unknown 9 (1 hp, 10 dmg, drops peanuts/pineapple, lv. 1, 8 exp) A4A6- A4CD

Slinger (12) A4CE- A4F5

Slinger Bone: A4f6- a51d

Corner Guard (48) A51e- a545

Corner guard sword: a546- a56D

Bitterfly (4) A56E-a595

Bone Pillar (64) A596- a5bd

Bone Pillar Flame: a5BE- A5E5

Spike Ball (500) A5E6- A60D

Hammer (250) A60E- A635

Hammer�s Weapon: a636- a65d

Gurkha (420) A65E- a685

Gurkha Knife: a686-a6ad

Blade (380) A6ae- a6d5

Blade�s Sword: a6d6-a6fd

Blade�s kick: a6fe- a725

Oiuja table (20) A726- a74d

Oiuja Table jars: a74e- a775

Sniper of Goth (50) A776-a79d

Sniper of goth arrow: a79e- a7c5

Sniper of goth spell: a7c6- a7ED

Galamoth body staff hit also (12000) a7f4- a815

Galamoth head: a816- a83d

Galamoth staff orbs: a83e-a865

Galamoth thunder: a866- a88d

Galamoth kick: a88e- a8b5

Minotaurusu (300): a8b6-a8dd

Uppercut = 2x dmg charge = same as touch

Minotaurusu Axe: a8de- a905

Minotaurusu breath: a906- a92d

Poison roll is the same

Lypuston (260) A92e- a955

Touch, charge and roll all =20

Lypuston punch and slide, and roll up: a956-a97d

Lypuston fireball: a97e- a9a5

Lypuston firestorm: a9a6- a9cd

Paranthropus (100) A9F6-aa1d

Paranthropus bone: aa1e- aa45

Paranthropus bone toss: aa46- aa6d

Mudman (15) AA6e- aa95

Mudman attack: aa96- aabd

Skeleton Dancer (30) AAbe- aae5

Frozen Half (118) AAE6- ab0d

Frozen Half Ice star: AB0E- AB35

Frozen Half Ice orb: ab36- ab5d

Frozen Half Hail: ab5e- ab85

Salem Witch (180) AB86- abAD

Salem Witch Mist: abae- abd5

Salem Witch Magicball: abd6- abfd

Azaghal (330) Abfe- ac25

Gremlin (100) AC26- ac4d

Gremlin Fire: ac4e- ac75

Hunting Girl (88): AC76- ac9d

Vandal Sword (120) AC9E- acc5

Salome (210) ACC6- aced

Salome Magic: Acee- ad15

Salome skull: ad16- ad3d

Salome cat: ad3e- ad65

CTULHU (200) AD66- ad8d

Ctulhu Fire: ad8E- adb5

Ctulhu Ice: adb6- addd

Malachi (450) 800AADDE- AE05

Malachi claw: AE06- ae2d

Malachi Darkorb: ae2e- ae55

Harpy (26) AE56- ae7d

Harpy kick: ae7e- aea5

Harpy knife: aea6- aecd

Harpy Feathers: aece- aef5

Slogra (200) AEF6- af1d

Slogra spear: af1e- af45

Slogra fireball: af46- af6d

Axe Armor (32) AF6e- af95

Spellbook (26) AF96- afbd

Spellbook skull: afbe- afe5

Spellbook skull face data: Afe6- b00d

Unknown 10 (16 dmg hit type, proj): booe- b035

Magic Tome (22) B036- b05d

Magic Tome sword: b05e- b085

Doppleganger10 (120) B086- b0ad

Gaibon (200) b0ae- b0d5

Gaibon Fireball: B0d6- b0fd

Gaibon Big Fireball: b0fe- b125

Unknown (formerly Doppleganger10 dagger): B126- b14d

Doopleganger 10 dagger (see b7b6)

Doppleganger 10 wing smash: B14e- b175

Doppleganger 10 Sword: B176- b19d

Doppleganger Unknown: B19E- b1c5

Skull Lord (80) B1C6- b1ed

Lion (150) B1ee- b215

Lion Claw: b216- b23d

Tin Man (48) B23e- b265

Tin man axe: b266- b28d

Tin man bullet: b28E- b2b5

Akmodan II (1200) B2B6- b2dd

Akmodan punch: b2de- b305

Akmodan poison: b306- b32d

Akmodan grab (does � dmg per hit): b32e- b355

Cloaked Knight (65) B356- b37d

Cloaked knight sword: b37e- b3a5

Darkwing bat (600) B3A6- b3cd

Darkwing Bat Screw: b3ce- b3f5

Darkwing Bat storm: b3f6- b41d

Darkwing Bat grab: b41e- b445

Fish head (70) B446- b46d

Fish head Fireball: b46e- b495

Fish head Flames: b496- b4bd

Karasuman (500) B4be- b4e5

Karasuman feather: b4e6- b50d

Karasuman Magic: b50e- b535

Karasuman Raven: b536- b55d

Imp (43) B55e- b585

Balloon Pod (3) B586- b5ad

Balloon pod spores: b5ae- b5d5

Scylla (200) B5D6- b5fd

Scylla lady: b5fe- b625

Scylla Razordisc: b626-b64d

Scylla Skulls: b64e- b675

Scylla Skulls data (20 dmg cut type): b676- b69D

Scylla Waterball (18 dmg, water type): b69e- b6c5

Scylla Debris: b6c6- b6ed

Scylla Worm (130) B6ee- b715

Legion (400) B716- b73d

Legion Shell (400) B73e- b765

Legion Zombie: b766- b78d

Legion Beam: b78e- b7b5

Doppleganger 10 dagger: b7b6- b7dd

Hyppogryph (800) B7de- b805

Hippogryph egg: b806- b82d

Hippogryph flame: b82e- b855

Blue Medusa Head (12) B856- b87D

Gold Medusa Head (12) B87e- b8A5

Archer (300): b8a6- b8cd

Archer Arrow: b8ce- b8f5

Richter Belmont (400) b8f6- ab91d

Richter Whip: b91e- b945

Richter Flame: b946- b96d

Richter Air Dash: b96e- b995

Richter unknown (35): b996- b9bd

Richter slide: b9be- b9e5

Richter air slide: b9e6- ba0d

Richter boomerang: ba0e- ba35

Richter holy water jar: ba36- ba5d

Richter Holywater fire: ba5e- ba85

Richter Axe: ba86- baad

Richter hydro storm: baae- bad5

Richter axe crash: bad6- bafd

Richter Holy Cross Light: bafe- bb25

Richter Holy Cross: bb26- bb4d

Scarecrow (120) BB4e- bb75

Schmoo (50) BB76- bb9d

Beezelbub (2000) BB9e- bbc5

Beezelbub Fly: Bbc6-bbed

Beezelbub Maggot: Bbee- bc15

Richter Orb (10 hits) BC16- bc3d

Fake Trevor (1200) BC3e- bc65

Fake Trevor Whip: Bc66- bc8d

Fake Trevor Boomerang: Bc8e- bcb5

Fake Trevor Cross: Bcb6- bcdd

Fake Trevor Dagger: Bcde- bd05

Fake Trevor Holy Water: Bd06-bd2d

Fake Grant (800) BD2e- bd55

Fake Grant Sword: Bd56- bd7d

Fake Grant dagger: bd7e- bda5

Fake Sypha (1000) BDA6- bdcd

Fake Sypha Fire: bdce- bdf5

Fake Sypha ice: bdf6- be1d

Fake Sypha orb: be1e- be45

Fake Sypha Zombie: be46- be6d

Succubus (666) BE6e- be95

Succubus Spore: be96- bebd

Succubus Clone: bebe- bee5

Succubus Magic: bee6- bf0d

Succubus Needles: bf0e- bf35

Succubus Drain: bf36- bf5d

Richter Holy Book Crash: Bf5e- bf85

Richter Agunea Crash: Bf86- bfad

Killer Fish (120) BFae- bfd5

Shaft (1300) bfd6- bffd

Shaft Orb (32767): bffe- c025

Shaft Fire: c026- c04d

Shaft Thunder: c04e- c075

Shaft Bouncing orb: c076- c09d

Death (888) c09e- c0c5

Death Sickle C0C6- c0ed

Death Orb: C0ee- c115

Death Skull: c116- c13d

Death Scythes: c13e- c165

Death 2 (1200) C166- c18d

Death 2 Sickle: c18e- c1b5

Cerberos (800) C1B6- c1dd

Cerberos fire: c1de- c205

Cerberos firestream: c206- c22d

Medusa (1100) C22e- c255

Medusa Sword and Shield (32767) C256- c27d

Medusa Gaze: c27e- c2a5

Medusa Venom: c2a6- c2cd

Creature (1100) C2ce- c2f5

Creature Hammer and roll: c2f6- c31d

Doppleganger40 (777) C31e- c345

Doppleganger40 Diamond: C346- c36d

Doppleganger 40 wing smash: c36e- c395

Doppleganger 40 poison sword: c396- c3bd

Doppleganger 40 stone sword: C3be- c3e5

Unknown 11 (attack, 35 dmg, cut type): c3e6- c40d

Unknown 12: (attack, 40 dmg, cut type) C40e- c435

Lord Dracula (10000) c436- c45d

Lord Dracula Hands: c45e- c485

Lord Dracula Heads: c486- c4ad

Lord Dracula Orb: ac4ae- c4d5

Lord Dracula triads: c4d6- c4fd

Stone Skull (CATTLE AND NORMAL, 32767) C4fe- c525

Ape skeleton Punch c526- c54d

Minotaur (320) C54e-c575

Minotaur Axe: C576- c59D

Minotaur Breath: c59e- c5c5

Werewolf [roll also] (280) C5C6- c5ed

Werewolf sweep and punch: c5ee- c615

Werewolf Fireball: c616- c63d

Blue Venus Weed (weed, and book hp, 550) C63e- c665

Blue Venus Weed Girl: c666- c68d

Blue Venus Weed Spike (32767) c68e- c6b5

Blue venus weed rose: c6b6- c6dd

Guardian (500) c6de- c705

Guardian Shield and sword (32767) C706- c72d

Guardian flame: c72e- c755

Axe Armor Axe (8): c756- c77d


CASTLEVANIA SOTN: Hacked- - Esco - 12-08-2007

Members · 164 posts · joined 26-November 07

WHEEEEEEEEEEEE! Today on the menu, Sub weapon data for both richter and alucard:

Sub weapons: 20 entries, starts odd, ends even

(assume SHORT TYPE UNLESS otherwise indicated)

example: Dagger- 65b853-65b866

65b854-dmg amount

65b856 - heart cost

65b858- ELEMENTAL DMG (see chart in posts above)

65b85a-# can be thrown at once: Type- BYTE

65b85b- delay between hits: Type- BYTE

65b85c-AMOUNT OF TIME ENEMY IS STUNNED

65b85e-POSE DONE WHEN WEAPON IS THROWN: Type- BYTE

65b85f- WEAPON/ITEM SPAWNED: Type-BYTE

65b860- 2 or 32 = hits, over 200 hits all

65b862- 0-128 = hit sound, 2 = steals souls, 3 = bounces off 128 and higher = cut sound. So 130= steal souls and cut sound, 131 = cut sound and bounces off armor. There might be a way to get it to steal souls AND bounce off, but I didn't bother to find the #.

65b864- UNKNOWN

65b866- CRITICAL HIT RATE

THE SUB WEAPONS GO IN THIS ORDER FOR ALUCARD:

(NOTE: ALL already in memhack format)

Dagger 65b853-65b866

Axe

Holy Water

Cross(light dmg)

Holy Book

Stopwatch

Diamond

Bibuti

Agunea

Unknown

Holy Water (flames)

Cross (cross dmg)

And for RICHTER:

dagger: 70b4db- 70b4ee (all stats except hearts also used for dagger crash)

Axe: (all stats except hearts also used for axe crash)

Holy water bottle:

boomerang:

bible:

Stopwatch:

diamond:

bibuti:

Agunea:

Unknown:

Holy water fire:

Holy cross light (heart cost also):

Holy Cross:

Whip (brandish move also)

Flame whip (heart cost only, other data is broken)

Hydrostorm

Tackle: (also used for ALL holy book crash data except heart cost)

Slide:

Unknown3:

Axe crash: ONLY HEART COST USED HERE

Dagger crash: ONLY HEART COST USED HERE

Super jump:

Air slide:

Bibuti Crash:

Diamond Crash (heart costs and beams at start of move dmg):

Bible Crash: ONLY HEART COST USED HERE, FOR OTHER DATA SEE TACKLE. THE REST OF THE #'S FOUND HERE SUCH AS DMG, AND ELEMENT ARE USED FOR THE AGUNEA CRASH

Stopwatch crash (heart cost):

Agunea crash ONLY HEART COST USED HERE, THE REST OF THE DATA FOR THIS IS FOUND ON BIBLE CRASH

Diamond Crash (light):

Stopwatch crash (lightning):

As you can see Richters crashes are a HORRID BROKEN mess! Why this was done I don't know but just remember this:

Dagger Crash: Hearts only here, rest of data in dagger

Axe Crash: Hearts only here, rest of data in axe

Bible Crash: Hearts only here, rest of data in tackle

Agunea Crash: Hearts only here. Rest of data in BIBLE CRASH!

Flame Whip: ONLY HEARTS WORK! I HAVE YET TO FIND ANY OTHER DATA THAT WILL AFFECT THE DMG OR ELEMENT OF THE FLAME WHIP AT THIS TIME! SO I MERELY CREATED A C SCRIPT INSTEAD!


CASTLEVANIA SOTN: Hacked- - Esco - 12-08-2007

Members · 164 posts · joined 26-November 07

Today... it's SPECIAL RELICS FOR RICHTER AND ALUCARD:

With this data you CAN actually enable the sprite and nosedevils. Note that their text will be in japanese under the familiar menu... but with a text hack this is EASILY corrected.

Also a friend of mine found a way to enable the start menu in the JAPANESE version of the iso. I have someone else working on figuring out the american one for me, but in richters case enabling a familiar WILL crash his game! But it's coo because I intend on using these relics for something else new for Richter.

SPECIAL RELICS: 16 entries, start odd, end even

my example: SOUL OF BAT: 65f55f-65f56e

(assume type is SHORT unless otherwise indicated)

65f560- POS OF TEXT IN ISO USED FOR NAME: TYPE LONG

65f564- POS OF TEXT IN ISO USED FOR DESCRIPTION Type LONG

65f568 - image used (same range as items/weapons)

65f56a - color pal used (same range as items/weapons)

65f56c - FAMILIAR SUMMONED WHEN ITEM IS ACTIVATED (1-7, 6=sprite 7=nosedevil)

65f56e- unknown, appears to be zero for all.

ORDER OF RELICS:Keep in mind 871f = 800a871f. So drop the 800 and add 5b6e40. No need to add 1 here though, since my addresses are all correct.

So again: 871f = a871f +5b6e40 = memhack address.

Soul of bat: 871F-872E

Fire of bat: 872F-873E

Echo of bat: 873F-874E

Force of Echo: 874F-875E

Soul Of wolf: 875F-876E

Power of Wolf: 876F-877E

Skill Of Wolf: 877F-878E

Form of Mist: 878F-879E

Power of mist: 879F-87AE

Gas Cloud: 87AF-87BE

Cube of Zoe: 87BF-87CE

Spirit Orb: 87CF-87DE

Gravity Boots: 87DF-87EE

Leap Stone: 87EF-87FE

Holy Symbol: 87FF-880E

Fairy Scroll: 880F-881E

Jewel of Open: 881F-882E

Merman Statue: 882F-883E

Bat Card: 883F-884E

Ghost Card: 884F-885E

Fairy Card: 885F-886E

Demon Card: 886F-887E

Sword Card: 887F-888E

Unknown 1 (uses familiar pic and pal): 888F-889E

Unknown 2 (uses familiar pic and pal): 889F-88aE

Heart of vlad: 88AF-88BE

Tooth of Vlad: 88BF-88CE

Rib of Vlad: 88CF-88DE

Ring of Vlad: 88DF-88EE

Eye of Vlad: 88EF-88FE

SPELLS AND FAMILIAR ATTACKS: 28 entries, start odd, end even

my example: Hellfire: 65f287-65f2a2

(assume type is SHORT unless otherwise indicated)

65f288 - POS OF TEXT IN ISO FOR NAME Type LONG

65f28c - POS OF TEXT IN ISO FOR MOTION TO CAST SPELL Type LONG

65f290 - POS OF TEXT IN ISO FOR DESCRIPTION Type LONG

*NOTE: for the above 3 addresses when it comes to things other than spells, they seem to all have the same values in a pattern, and these 3 values seem to do nothing.

65f294 - mp cost Type BYTE

65f295 - delay between hits TYPE: BYTE

65f296 - stun time

65f298 - 2 here seems to mean that it hits enemies

65f29a - 0-128 = hit sound, 2 = steals souls, 3 = bounces off 128 and higher = cut sound. So 130= steal souls and cut sound, 131 = cut sound and bounces off armor. There might be a way to get it to steal souls AND bounce off, but I didn't bother to find the #.

*in the case of bounces off it just makes a clanging sound instead off actually bouncing off

65f29c - critical hit rate

65f29e - elemental dmg (chart in posts above)

65f2a0 - dmg amount

65f2a2 - appears to be zero for all again

Spells= (REMEMBER AGAIN 840f= 800a840f in GS. For memhack, 840f= a840f+5b6e40. No need to add 1 my addresses are right)

Dark Metamorphosis (10 MP) 840f-842A

Summon Spirit (5 MP) 842B- 8446

Hellfire (15 MP) 8447-8462

Tetra Spirit (20 MP) 8463-847E

Wolf Charge (10 MP) 847F-849A

Soul Steal (50 MP) 849B-84B6

Wing smash (8 MP) 84B7-84D2

Sword Brothers Spell (30 MP) 84D3- 84EE

SPECIAL Magic move and familiar moves=

(demon and nosedevil seem to share the same ones)

Unknown 1: 84EF-850A

Bat Fireball: 850B- 8526

Force of echoes: 8527-8542

Unknown 2: 8543-855E

Gas Cloud: 855F- 857A

Wolf Dash: 857B- 8596

Wolf Bite: 8597-85B2

Bat Familiar attack: 85B3-85CE

Unknown 3: 85CF-85EA

Ghost Familiar: 85EB- 8606

Unknown 4: 8607-8622

Sword Familiar Spin: 8623- 863E

Sword Familiar Stab: 863f-865A

Demon Familiar Poke: 865b-8676

Demon Familiar Swing: 8677-8692

Demon Familiar Fire: 86Af-86CA

Demon Familiar Ice: 86CB-86E6

Demon Familiar Thunder: 86E7-8702

Demon Familiar Lit: 8703-871E

Demon Familiar DIE Attack: 8693-86AE

Some various codes:

EXP NEEDED TO GET TO LEVEL: add 5b6e40 to convert, all type LONG

2: 800ac788

3:ac78c

4: ac790

5: ac794

6: ac798

7: ac79c

8: ac800

9: ac804

10: ac808

11: ac80c

12:ac810

etc. add 4 each time until

99: 800ac90c

(the ones below are all type short)

Kills: 80097bf4

# of Rooms: 8003c760

Level #: 80097be8

Timer: Seconds: 80097c38

Minutes: 80097c34

Hours: 80097c30


CASTLEVANIA SOTN: Hacked- - Esco - 12-08-2007

Members · 164 posts · joined 26-November 07

NEXT UP: the specials moves for each of alucards weapons and shield rod spells. It lists the name, followed by dmg amount and mp cost. These are setup EXACTLY like the weapons I posted above, so I of course won't give an example of them. All you need to remember is that all their text values are the same for each of them (since they are not used), and the def stat seems to do nothing as well..

I have to experiment a bit more too with these at a later date, because it seems that some of the specials even if set to consume mp, even without enough mp it will STILL do the move (the basilards comes to mind). I can get around this easily with a script, but I'm still wondering why. And I checked up and down thru these and the weapon entries, but I still find nothing that effects this.

Weapon Specials: 32 entries, start odd, end even

Remember.... just add 5b6e40 for memhack addresss

Unknown (0,0): 6d57-6d8a

Holy Rod (27, 0 mp): 6d8b-6dbe

Star Flail (35, 0 mp): 6dbf-6df2

Moon rod (25, 5mp): 6df3-6e26

Shield rod (10, 0 mp): 6e27-6e5a

Basilard (5, 0 mp): 6e5b-6e8e

Combat knife (15, 0 mp): 6e8f-6ec2

Shotel (20, 0 mp): 6ec3-6ef6

Sword of dawn (40, 5mp): 6ef7-6f2a

Thunderbrand (40, 5 mp): 6f2b-6f5e

Firebrand (40, 5mp): 6f5f-6f92

Marsil (60, 5 mp): 6f93-6fc6

Icebrand (40, 5mp): 6fc7-6ffa

Claymore (44, 5mp): 6ffb-702e

Flamberge (56, 5mp): 702f-7062

Zwei Hander (60, 5 mp): 7063-7096

Obsidian Sword (68, 5 mp): 7097-70ca

Iron Fist (40, 0 mp): 70cb-70fe

Fist of Tulkas (70, multifist, 0 mp): 70ff-7132

Fist of Tulkas (40 dmg, fireball, 0 mp): 7133-7166

Katana (50, 0 mp): 7167-719a

Were Bane (40, 0 mp): 719b-71ce

Rapier (15, 0 mp): 71cf-7202

Osafune 2(100,0, half circle): 7203-7236

Osafune (130,0, quarter circle): 800a-726a

Masamune (200, 0 mp): 726b-729e

Gurthang (40 dark met affect for swing, 0 mp): 729f-72d2

Holy Sword (35, 5 mp): 72d3-7306

Alucard Sword (50, 5mp): 7307-733a

Jewel Sword (15, 5 mp): 733b-736e

Unknown 3 (40, 5): 736f-73a2

UNKNOWN 2(40,5): 73A3-73d6

UNKNOWN (40,5 mp): 73d7-740a

Heaven Sword Special: (50 dmg, 5 mp, cut): 800a740b-743e

Shield rod spells: same as above. BUT I do need to examine these more, since I haven't done much with them. Same layout as weapons though.

Leather Shield (10 mp def+20):743f-7472

Knight Shield (10 mp, att +20):7473-74a6

Iron Shield (20 MP, 40 DMG HIT): 74A7-74DA

Axelord Shield: (20 mp, 20 dmg)74db-750E

Herald Shield: (10 mp, protect from thunder) 750F-7542

Dark Shield (30 mp, curse dmg): 7543-7576

Goddess shield (40 mp, protect from dark): 7577-75aa

Shaman Shield (10 mp, int+20): 75ab-7612

Medusa Shield (30 mp, homing lasers) 75df-7612

Skulls Shield (40 mp cost) : 7613-7646

Fire Shield (50 mp cost, dmg=70 fire): 800a7647-767a

Alucard Shield (20 mp): 767b- 76ae

Alucart Shield (10 mp): 76af-76e2

Unknown 76e3-7716


CASTLEVANIA SOTN: Hacked- - Esco - 12-08-2007

Members · 164 posts · joined 26-November 07

It's sprite data time!

This has 188 entries, and starts even and ends odd. This is WIP, so I don't know everything yet. But I know the most important factors to it.

The other thing is that depending on whether it's an item, an enemy or a projectile, some numbers may be used for DIFFERENT THINGS (ex. what I call a timer for one enemy, might control the angle of the spinning on something like the holy book). So you basically have to study the enemy that you want to change a little. But some basic things like action, speed, dmg, frame and frametimer, etc. are always used the same way.

Anyways, on with the show!!

SHORT hmovement- for some things (like skeletons) this affects how fast they move left and right... for

others it does nothing. This is the BEST way to increase Alucard or Richters speed.

SHORT hpos- the horizontal pos on screen... for enemies this is relative to the player

SHORT vmovement- same as hmovement, but for the vertical aspect.

SHORT vpos- vertical pos on screen. For enemies relative to player

LONG hspeed- your horizontal movement speed (- = left, + = right)

LONG vspeed - vertical movement speed (- = up, + = down)

SHORT hoffset- where the center of your sprite is horizontally;

SHORT voffset- where the center of your sprite is vertically;

SHORT dirfacing- direction facing; 1=left, 0 = right.

SHORT color = the colorpal used;

SHORT transp; enables transp (different #'s = different transparency amounts... try 40, 10 & 100), enables hwidth & vwidth below (values 256 & 512... 768 = both), & rotation BELOW (1024). These values CAN be combined to enable them all at once. Keep in mind, in the case of hwidth & vwidth below... 256 is normal... if at 0 the sprite WILL be invisible!

SHORT hwidth; horizontal size of sprite (graphically, 256 = normal)

SHORT vwidth; vertical size of sprite (graphically, 256 = normal)

SHORT anglesmall; angle of rotating items

SHORT UNKNOWN

SHORT UNKNOWN

SHORT Imagepriority; (notice how somethings graphically overlap others... this determines that. Higher number= more priority over other images. So an image with 120 here will graphically overlap an image with 100 here if they occupy the same space)

SHORT sprite1; //what is created, enemy, item, weapon, etc.

LONG sprite2; //what is created, enemy, item, weapon, etc.

SHORT action1- what action is being taken by the item/enemy (atk, spawn, die, etc.)

SHORT action2- some actions have 2 parts to the (ex. start to attack, attack, recover from attack)

BYTE itemnum1- what items spawns, what color you blink or the ring is etc.

BYTE itemnum2- usually = 128 or 0... for items 256-258, this would be 129 or 1.

SHORT UNKNOWN.

SHORT SPECIAL- same as stopwatch effect/axe bounces off for the MONSTER struct above

//NOTE: these next TWO entries have multiple uses such as does enemy move when map is up, will it UNSPAWN if you go far enough away from it, etc. I will notate this stuff later.

BYTE SHOWSDMG- when orb is present an enemy is damaged... does it show how much?

BYTE. SHOWSNAME- when faerie scroll is present... does enemies name show up

SHORT UNKNOWN.

SHORT canbehit1; // mostly used for players sub weapon attacks... notice how if you throw 2 boomerangs with richter, even if both overlap the enemy only one hits.... that's because the # here is the same for both of them. Buit if the numbers are different, then they would BOTH hit. Get it?)

UPDATE!FOR ENEMIES THIS IS THE # OF THE ENTRY IN THE LONG LIST OF ENEMIES ABOVE WHERE IT'S EXP AND STRONGTO/WEAKJ TO ETC. DATA IS GOTTEN FROM. AXE KNIGHT IS #6, AXE KNIGHT AXE IS 7 AND SO ON.

SHORT canbehit2; //same as canblock entry for MONSTER struct above. for player weapons 32 means hit enemy but not candles, 4=blocks projectiles, 2 = dmg enemies & candles

SHORT hp- ummmm. doy. lol

SHORT dmg- dmg amount if any

SHORT dmgtype; //type of element dmg attack does

SHORT UNKNOWN

BYTE hrange; //range that touching sprite does damage to you or enemy, increase goes further LEFT

BYTE vrange; //vertical range of sprite

SHORT pain; changes when enemy goes into pain animation. Can be frozen with code so that enemy NO LONGER goes into pain animation.

SHORT UNKNOWN

SHORT actiondata; //determines image set used for current actions

SHORT UNKNOWN

SHORT frame- the current frame the sprite is in

SHORT frametimer- how long till it changes to the next frame (counts down)

SHORT frameset- what set framepics are pulled from

SHORT framepic- current pic being used (if you want to change this, find the number in memory in the

700000+ range and do it there. It's very effecient.)

SHORT hitstun- how much stun the moves does

SHORT frameset2- has to do with centering the framepics used

SHORT UNKNOWN

SHORT UNKNOWN

SHORT UNKNOWN

SHORT UNKNOWN

SHORT UNKNOWN

SHORT UNKNOWN

SHORT UNKNOWN

SHORT hitscandles; //1=yes, 0 = no (for player things only)

SHORT transp2; //amount of transparency for some things, like richters dust

SHORT UNKNOWN

SHORT UNKNOWN

SHORT UNKNOWN

SHORT UNKNOWN

SHORT UNKNOWN

SHORT UNKNOWN

SHORT UNKNOWN

*NOTE: for the next few things below, use changes based on WHAT kind of sprite your messing with.

SHORT fadetimer; //used BY daggers to fade out {N/A on player sprite)

SHORT widthtimer; //used by holy book to control how far spinning extends out

SHORT timer2; //used by prism beam ITSELF to determine when beam fires

SHORT spinangle; //used BY holy book, determines what angle it spins at

SHORT timer3; //used by prism beam to determine how long till book opens up

SHORT UNKNOWN

SHORT UNKNOWN

SHORT UNKNOWN

SHORT UNKNOWN

SHORT UNKNOWN

SHORT blinkintensity; //used when richter is blinking to indicate how MUCH to show blinking

SHORT UNKNOWN

*NOTE: for these so called USERTAGS, I use these mostly as spaces for values I use to indicate certain

occurences on a sprite. Most of the time they are just zeros, but some things use some of them. Again

you will have to play around a little like I do.

SHORT usertag18;

SHORT usertag17;

SHORT usertag16;

SHORT usertag15;

SHORT usertag14;

SHORT usertag13;

SHORT usertag12;

SHORT usertag11;

SHORT usertag10;

SHORT usertag9;

SHORT usertag8;

SHORT usertag7;

SHORT usertag6;

SHORT usertag5;

SHORT usertag4;

SHORT usertag3;

SHORT usertag2;

SHORT usertag1;

SHORT ITEMDATA: in each area there is a certain value here for the set of items that include, hearts life max ups, etc.... and another value for the equipment set.

SHORT UNKNOWN

WHEW! That was a long one.. okay.... next I'm gonna find some of the memory ranges used by monsters for you guys:

But first:

Players range (richter OR alucard): 62a217- 62a2d2

Monster ranges- these don't respawn when killed, and there are a total of 96. The best way to find the enemy you are looking for is look up it's maxhp, search for it.... hit it, search for values decreased by whatever amount you hit for. Once you have the hp, just look below or subtract 3F(hex) to get the start of it's data.

HP found at = address range

Here are a few for you:

62dd16= 62dcd7-62dd92

62ddd2= 62dd93 - 62de4e

62de8e= 62de4f-62df0a

62df4a= 62df0b-62dfc6

62e006= 62dfc7-62e082

62e0c2= 62e083-62e13e

62e17e= 62e13f-62e1fa

62e23a= 62e1fb-62e2b6

62e2f6= 62e2b7-62e372

62e3b2= 62e373-62e42e

62e46e= 62e42f-62e4ea

62e52a= 62e4eb-62e5a6

62e5e6= 62e5a7-62e662

62e6a2= 62e663-62e71e

62e75e= 62e71f- 62e7da

62e81a= 62e7db- 62e896

62e8d6= 62e897- 62e952

62e992= 62e953- 62ea0e

62ea4e= 62ea0f- 62eaca

62eb0a= 62eacb- 62eb86

62ebc6= 62eb87- 62ec42

62ec82= 62ec43- 62ecfe

62ed3e= 62ecff- 62edba

62edfa= 62edbb- 62ee76

62eeb6= 62ee77- 62ef32

For enemies that RESPAWN (ex. stone rose, zombies) and projectiles, they start at 631798. Their seem to be about 64 of them but most are used for projectiles. And in rooms where you have spawning enemies, they seem to use only SOME of those addresses, and always the same ones. But again they are all in order.

This post has been edited by Esco: 19 January 2010 - 12:01 AM