Sora3100 / Tales_of_Cheat_Tables

Various cheat tables for the "Tales of" franchise
19 stars 7 forks source link

ToD DC Correction and a couple additions. #80

Open CeruleanSky opened 2 months ago

CeruleanSky commented 2 months ago

I am working my way through the game and thought I could contribute some corrections and additions I make as I do so. Thank you for providing this cheat table.

Pull requests are hard to parse and messy on cheat tables sometimes because of how cheat table xml is generated so I am attaching the file and inlining the changes to this issue instead. Should just be able to copy the code and past it into the cheat engine interface.

Just in case I wonder off I'll leave what I have so far, if I end up with more I'll either edit this comment or add a new comment.

Enemy Groups needed to be 2 bytes long. It was really confusing seeing late at night battle group 262 as 6 lol.

Enemy Group Mod ``` 17325 "Enemy Group Mod" 1:Stahn 4:Seinegald Soldiers 5:Seinegald Soldiers (2nd part) 6:Leon (1st encounter) 8:Basilisk x 5 9:Kongman (1st Colosseum fight) 11:Batista 12:Cave Queen 13:Batista Diego 14:Kraken 15:Tiberius 17:Dalis 18:Lydon 19:Leon (Cave Fight) 20:Force Armor (Stahn Side) 21:Baruk 22:Irene 23:Rembrandt 24:Hugo 25:Miktran (1st encounter) 26:Buer 29:Dymlos 31:Shadow of Stahn 32:Shadow of Woodrow 33:Shadow of Stahn & Leon 34:Kronos 35:Kronos Excessive 36:Kraken 43:Kongman (2nd Colosseum fight) 44:Kongman (Female) 45:Lilith (Colosseum) 46:Lilith (Retry version?) 48:Floor 1 (EX Dungeon) 49:Cupid (EX Dungeon) 50:Rune Hearts (EX Dungeon) 51:Molflina Bunny (EX Dungeon) 52:Finley (EX Dungeon) 53:Super Star (EX Dungeon) 54:Empire Beetle (EX Dungeon) 55:KOZ-MOZ Gentleman (EX Dungeon) 56:Masalina Bunny (EX Dungeon) 57:Barbatos (EX Dungeon) 58:3 Thieves 60:Sidequest boss? 61:Barbatos (anti grinding) 62:Ras Gentleman 63:Klarth Gentleman 64:Hilda Gentleman 65:Chloe Gentleman 66:Ras & Klarth & Hilda & Chloe Gentleman 67:Lens Hunters (Stahn & Rutee & Mary) 68:Swordian Masters (Stahn & Rutee & Woodrow & Philia) 71:2 Star Fish 75:Force Armor (Leon Side) 80:Dycroft Enemies 0 2 Bytes
baseElfAddr+1C49C8
```

In Other added World Coordinates I suggest renaming the existing Coordinates code to Map coordinates. This allowed me to travel back to Seingard Castle early in the game even after I left the continent to do finish an event I missed.

World Coordinates ``` 20931 "World Coordinates" 0 1
baseElfAddr+33F004
20932 "X" 0 Float
+0
20933 "Y" 0 Float
+4
20934 "Z" 0 Float
+8
```

The number of hits in battle and the max hits achieved in the battle.

In Battle Combo Hits ``` 20915 "Current Combo Hits" 0 Byte
baseElfAddr+3220D8
20916 "Max Combo Hits" 0 Byte
baseElfAddr+3220E4
```

Tales of Destiny_DC.zip

Bonus: Pnach script for infinite item usage, I didn't get this working in cheat engine, maybe because of how the recompiler works or I have a setting wrong.

[InfiniteItems]
author=anonymous
description=items do not decrease
patch=1,EE,20172790,extended,DC120000
How it was done for those curious I used the pcsx2 debuger, found memory address that decreased, breakpointed on writes to that items count, then ghidraed + [ghidra-emotionengine-reloaded](https://github.com/chaoticgd/ghidra-emotionengine-reloaded) extension the routine at that memory address to study the code and altered it so that it adds zero to the number of items when decrementing. The "EE_Core_Instruction_Set_Manual" was helpful for figuring that out.
Sora3100 commented 2 months ago

Thank you, these will get added the next time I update the tables.

CeruleanSky commented 1 month ago

As I am in the last quarter in the game, I'll probably at most comment once more if I have anything else, but the table for the most part at least for me has had everything I've needed.

Stats->Character-> Paste it into each character:

Support Skill Activation Countdown ``` 20983 "Support Skill Activation Countdown" 0 4 Bytes
+14C
```

Paste into "In Battle Stats":

Enemy HP ``` 20945 "Enemy HP" 1 20936 "Enemy" 0 4 Bytes
+800*4
20937 "Enemy" 0 4 Bytes
+800*5
20939 "Enemy" 0 4 Bytes
+800*6
20940 "Enemy" 0 4 Bytes
+800*7
20941 "Enemy" 0 4 Bytes
+800*8
20942 "Enemy" 0 4 Bytes
+800*9
20943 "Enemy" 0 4 Bytes
+800*A
20944 "Enemy" 0 4 Bytes
+800*B
20985 "Enemy" 0 4 Bytes
+800*C
20986 "Enemy" 0 4 Bytes
+800*D
```

Paste into In-Battle-Stats-> Slot1, Slot2, Slot3, Slot4

KO Status ``` 21135 "KO Status" 1:Dead 6:Alive 0 Byte
+116
```

Ecological Bird Count

Bird Count ``` 21139 "Bird Count" 0 Byte
[EEmem]+02FF070
```

This timer is how much Neutralizer Effect you have left when going into toxic areas:

Neutralizer Effect Timer ``` 21140 "Neutralizer Effect Timer" 0 2 Bytes
[EEmem]+02FF00C
```

Food Usage, Food Strap Ownership, Food Slot Editing:

Food Codes ``` 20992 "Food Strap Ownership" 1:Own 0:Don' Own 0 Byte
[EEmem] + 02C3076
20993 "Rice Balls" Food Strap Ownership 0 Byte
+0
20994 "Sandwich" Food Strap Ownership 0 Byte
+1
20995 "Hamburger" Food Strap Ownership 0 Byte
+2
20996 "Hotdog" Food Strap Ownership 0 Byte
+3
20997 "Burrito" Food Strap Ownership 0 Byte
+4
20998 "Kebab" Food Strap Ownership 0 Byte
+5
20999 "Inarizushi" Food Strap Ownership 0 Byte
+6
21000 "Pickled Vegetables" Food Strap Ownership 0 Byte
+7
21001 "Ochazuke" Food Strap Ownership 0 Byte
+8
21002 "Fried Rice" Food Strap Ownership 0 Byte
+9
21003 "Omelette Rice" Food Strap Ownership 0 Byte
+A
21004 "Curry Rice" Food Strap Ownership 0 Byte
+B
21005 "Omelette" Food Strap Ownership 0 Byte
+C
21006 "Paella" Food Strap Ownership 0 Byte
+D
21007 "Oriental Rice" Food Strap Ownership 0 Byte
+E
21008 "Muffin" Food Strap Ownership 0 Byte
+F
21009 "Kimichi" Food Strap Ownership 0 Byte
+10
21010 "Meat Bun" Food Strap Ownership 0 Byte
+11
21011 "Loco Moco" Food Strap Ownership 0 Byte
+12
21012 "Beef Bowl" Food Strap Ownership 0 Byte
+13
21013 "Oyakodon" Food Strap Ownership 0 Byte
+14
21014 "Sezfood Bowl" Food Strap Ownership 0 Byte
+15
21015 "Clam Chowder" Food Strap Ownership 0 Byte
+16
21016 "Risotto" Food Strap Ownership 0 Byte
+17
21017 "Beef Stroganoff" Food Strap Ownership 0 Byte
+18
21018 "Meat Sauce" Food Strap Ownership 0 Byte
+19
21019 "Gratin" Food Strap Ownership 0 Byte
+1A
21020 "Spaghetti Gratin" Food Strap Ownership 0 Byte
+1B
21021 "Hamburger Steak" Food Strap Ownership 0 Byte
+1C
21022 "Steak" Food Strap Ownership 0 Byte
+1D
21023 "Okonomiyaki" Food Strap Ownership 0 Byte
+1E
21024 "Sukiyaki" Food Strap Ownership 0 Byte
+1F
21025 "Sashimi" Food Strap Ownership 0 Byte
+20
21026 "Suhi Boat" Food Strap Ownership 0 Byte
+21
21027 "Fruit Parfait" Food Strap Ownership 0 Byte
+22
21028 "Fruit Cheese" Food Strap Ownership 0 Byte
+23
21029 "Fruit Tofu" Food Strap Ownership 0 Byte
+24
21030 "Hot Pot" Food Strap Ownership 0 Byte
+25
21031 "Fish Hot Pot" Food Strap Ownership 0 Byte
+26
21032 "Sunfhish Skewers" Food Strap Ownership 0 Byte
+27
21033 "Miso Oden" Food Strap Ownership 0 Byte
+28
21034 "Mabo Curry" Food Strap Ownership 0 Byte
+29
21035 "Crunchy Riceball" Food Strap Ownership 0 Byte
+2A
21036 "Dry Sandwich" Food Strap Ownership 0 Byte
+2B
21037 "Squashed Burger" Food Strap Ownership 0 Byte
+2C
21038 "Burned Dog" Food Strap Ownership 0 Byte
+2D
21039 "Soggy Burrito" Food Strap Ownership 0 Byte
+2E
21040 "Half-baked Kebab" Food Strap Ownership 0 Byte
+2F
21041 "Dark Bowl" Food Strap Ownership 0 Byte
+30
21042 "Dark Pot" Food Strap Ownership 0 Byte
+31
21078 "Food Usage" 0 2 Bytes
[EEmem]+02C3DF0
21079 "Rice Balls" 0 2 Bytes
+0
21080 "Sandwich" 0 2 Bytes
+2
21081 "Hamburger" 0 2 Bytes
+4
21082 "Hotdog" 0 2 Bytes
+6
21083 "Burrito" 0 2 Bytes
+8
21084 "Kebab" 0 2 Bytes
+A
21085 "Inarizushi" 0 2 Bytes
+C
21086 "Pickled Vegetables" 0 2 Bytes
+E
21087 "Ochazuke" 0 2 Bytes
+10
21088 "Fried Rice" 0 2 Bytes
+12
21089 "Omelette Rice" 0 2 Bytes
+14
21090 "Curry Rice" 0 2 Bytes
+16
21091 "Omelette" 0 2 Bytes
+18
21092 "Paella" 0 2 Bytes
+1A
21093 "Oriental Rice" 0 2 Bytes
+1C
21094 "Muffin" 0 2 Bytes
+1E
21095 "Kimichi" 0 2 Bytes
+20
21096 "Meat Bun" 0 2 Bytes
+22
21097 "Loco Moco" 0 2 Bytes
+24
21098 "Beef Bowl" 0 2 Bytes
+26
21099 "Oyakodon" 0 2 Bytes
+28
21100 "Sezfood Bowl" 0 2 Bytes
+2A
21101 "Clam Chowder" 0 2 Bytes
+2C
21102 "Risotto" 0 2 Bytes
+2E
21103 "Beef Stroganoff" 0 2 Bytes
+30
21104 "Meat Sauce" 0 2 Bytes
+32
21105 "Gratin" 0 2 Bytes
+34
21106 "Spaghetti Gratin" 0 2 Bytes
+36
21107 "Hamburger Steak" 0 2 Bytes
+38
21108 "Steak" 0 2 Bytes
+3A
21109 "Okonomiyaki" 0 2 Bytes
+3C
21110 "Sukiyaki" 0 2 Bytes
+3E
21111 "Sashimi" 0 2 Bytes
+40
21112 "Suhi Boat" 0 2 Bytes
+42
21113 "Fruit Parfait" 0 2 Bytes
+44
21114 "Fruit Cheese" 0 2 Bytes
+46
21115 "Fruit Tofu" 0 2 Bytes
+48
21116 "Hot Pot" 0 2 Bytes
+4A
21117 "Fish Hot Pot" 0 2 Bytes
+4C
21118 "Sunfhish Skewers" 0 2 Bytes
+4E
21119 "Miso Oden" 0 2 Bytes
+50
21120 "Mabo Curry" 0 2 Bytes
+52
21121 "Crunchy Riceball" 0 2 Bytes
+54
21122 "Dry Sandwich" 0 2 Bytes
+56
21123 "Squashed Burger" 0 2 Bytes
+58
21124 "Burned Dog" 0 2 Bytes
+5A
21125 "Soggy Burrito" 0 2 Bytes
+5C
21126 "Half-baked Kebab" 0 2 Bytes
+5E
21127 "Dark Bowl" 0 2 Bytes
+60
21128 "Dark Pot" 0 2 Bytes
+62
21044 "Food Strap Slot" 1:Rice Balls 2:Sandwich 3:Hamburger 4:Hotdog 5:Burrito 6:Kebab 7:Inarizushi 8:Pickled Vegetables 9:Ochazuke 10:Fried Rice 11:Omelette Rice 12:Curry Rice 13:Omelette 14:Paella 15:Oriental Rice 16:Muffin 17:Kimichi 18:Meat Bun 19:Loco Moco 20:Beef Bowl 21:Oyakodon 22:Sezfood Bowl 23:Clam Chowder 24:Risotto 25:Beef Stroganoff 26:Meat Sauce 27:Gratin 28:Spaghetti Gratin 29:Hamburger Steak 30:Steak 31:Okonomiyaki 32:Sukiyaki 33:Sashimi 34:Suhi Boat 35:Fruit Parfait 36:Fruit Cheese 37:Fruit Tofu 38:Hot Pot 39:Fish Hot Pot 40:Sunfhish Skewers 41:Miso Oden 42:Mabo Curry 43:Crunchy Riceball 44:Dry Sandwich 45:Squashed Burger 46:Burned Dog 47:Soggy Burrito 48:Half-baked Kebab 49:Dark Bowl 50:Dark Pot 0 Byte
[EEmem]+02C3E62
21045 "1" Food Strap Slot 0 Byte
+0
21046 "2" Food Strap Slot 0 Byte
+2
21047 "3" Food Strap Slot 0 Byte
+4
21048 "4" Food Strap Slot 0 Byte
+6
21049 "5" Food Strap Slot 0 Byte
+8
21050 "6" Food Strap Slot 0 Byte
+A
21051 "7" Food Strap Slot 0 Byte
+C
21052 "8" Food Strap Slot 0 Byte
+E
21053 "9" Food Strap Slot 0 Byte
+10
21054 "10" Food Strap Slot 0 Byte
+12
21055 "11" Food Strap Slot 0 Byte
+14
21056 "12" Food Strap Slot 0 Byte
+16
21057 "13" Food Strap Slot 0 Byte
+18
21058 "14" Food Strap Slot 0 Byte
+1A
21059 "15" Food Strap Slot 0 Byte
+1C
21060 "16" Food Strap Slot 0 Byte
+1E
21061 "Food Strap Slot Enabled" 0:Disable 5:Enable 0 Byte
[EEmem]+02C3E63
21062 "1" Food Strap Slot Enabled 0 Byte
+0
21063 "2" Food Strap Slot Enabled 0 Byte
+2
21064 "3" Food Strap Slot Enabled 0 Byte
+4
21065 "4" Food Strap Slot Enabled 0 Byte
+6
21066 "5" Food Strap Slot Enabled 0 Byte
+8
21067 "6" Food Strap Slot Enabled 0 Byte
+A
21068 "7" Food Strap Slot Enabled 0 Byte
+C
21069 "8" Food Strap Slot Enabled 0 Byte
+E
21070 "9" Food Strap Slot Enabled 0 Byte
+10
21071 "10" Food Strap Slot Enabled 0 Byte
+12
21072 "11" Food Strap Slot Enabled 0 Byte
+14
21073 "12" Food Strap Slot Enabled 0 Byte
+16
21074 "13" Food Strap Slot Enabled 0 Byte
+18
21075 "14" Food Strap Slot Enabled 0 Byte
+1A
21076 "15" Food Strap Slot Enabled 0 Byte
+1C
21077 "16" Food Strap Slot Enabled 0 Byte
+1E
```

When selecting party members for the Ex-Dungeon you are only allowed to pick each member a certain amount of times, this allows you to increase the number of times.

Ex-Dungeon Party Selection Choice Remaining ``` 21143 "Ex Dungeon Party Choices Remaining" 0 Byte
[EEmem]+02FF02C
21141 "Stahn" 0 Byte
+0
21144 "Rutee" 0 Byte
+1
21145 "Philia" 0 Byte
+2
21146 "Woodrow" 0 Byte
+3
21147 "Leon" 0 Byte
+4
21148 "Mary" 0 Byte
+5
21149 "Chelsea" 0 Byte
+6
21150 "Johnny" 0 Byte
+7
21151 "Kongman" 0 Byte
+8
21152 "Lilith" 0 Byte
+9
```
CeruleanSky commented 3 weeks ago

Just wanted to let you know I finished the game and the previous comment has been edited to include all the codes I found useful. Feel free to add them on your next update any that you find helpful. Thanks again for the table. Now looking forward to Tales of Destiny 2 whenever Lumina Tales releases it.