need help making a trainer

Memory scanning, code injection, debugger internals and other gamemodding related discussion
Post Reply
User avatar
salmercker
What is cheating?
What is cheating?
Posts: 1
Joined: Wed Jul 22, 2020 12:46 am
Reputation: 0

need help making a trainer

Post by salmercker »

Hello there I'm making a trainer for a old sega game using retroarch emulator. The game is Dark Wizard. Found all the values i want, all the pointers etc. which I already have in my trainer. However, how would i go about adding a list of items that can be added to the characters inventory, I have a list of over 500 items and have all the addresses to put them on. but not sure how to go about adding that into the trainer.

I got them all into the CE. got the addresses for each item for each character. 40 characters plus leader and 2 sub leaders. Plus got all the spells for everyone also. I have them all working in my ct file. However no clue how to implement this into the trainer. Cause that would be ALOT of hotkeys to setup.

For example here is the Character 2 slot item list.

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
  <CheatEntries>
    <CheatEntry>
      <ID>284</ID>
      <Description>"Char 2 Items"</Description>
      <Options moManualExpandCollapse="1"/>
      <LastState Value="" RealAddress="00000000"/>
      <GroupHeader>1</GroupHeader>
      <CheatEntries>
        <CheatEntry>
          <ID>285</ID>
          <Description>"Char 2 Item1"</Description>
          <DropDownList ReadOnly="1" DescriptionOnly="1">
 00:Short Sword
02:Shinobi Knife
03:Assassin Sword
04:Long Sword
05:Scimitar
06:Broad Sword
07:Great Sword
08:Dragon Sword
09:Sultis Sword
10:traeger
11:Black Sword
12:Silver Sword
13:Slayer
14:Fire Saber
15:Spear
16:Pilum
17:Javalin
18:Glaive
19:Lance
20:Pike
21:Power Spear
22:Partisan
23:Trident
24:Short Bow
25:LG Bow
26:Rap Bow
27:LT XBow
28:Xbow
29:GT Bow
30:Arbalest
31:Elven Bow
32:Wind Shot
33:Stone Axe
34:Hatchet
35:Battle Axe
36:Swift Axe
37:War Axe
38:Halberd
39:Mad Axe
40:Gold Axe
41:Silver Axe
42:Gold Plated Axe
43:Silver Plated Axe
44:Scepter
45:Mace
46:War Mace
47:Maul
48:Flail
49:Morning Star
50:Holy Mace
51:Hobbit Rod
52:Crystal Mace
56:Priests Staff
01:Staff
53:Susan's Staff
54:Wizards Staff
55:Power Staff
57:Sorcerors Staff
58:Living Power Staff
59:Judgement Stick
60:Cloth Armor
61:Leather Armor
62:Heavy Leather Armor
63:Chain Mail
64:Ring Mail
65:Plate Mail
66:Splint Mail
67:Mage Armor
68:Plate Armor
69:Dragon Armor
70:Armor Of Retrinution
71:Gaia Armor
72:Hero Armor
73:Robe
74:Leather Robe
75:Barbarian Robe
76:Holy Cloth
77:Mysterious Robe
78:Angels Robe
79:Holy Robe
80:Priests Robe
81:Ninja Costume
82:Wood Shield
83:Leather Shield
84:Small Shield
85:Large Shield
86:Soldiers Shield
87:Kite Shield
88:Mages Shield
89:Mirror Shield
90:Shadow Shield
91:Ninja Gauntlet
100:Herb
101:Balm
102:Salve
103:Silver Leaf
104:Power Potion
105:Super Power Potion
106:Ston-Skin Potion
107:Steel-Skin Potion
108:Speed Potion
109:Haste Potion
110:Holy Dust
111:Amulet
112:Magic Stone
113:Evil Claw
114:Holy Water
115:Goddess' Teardrops
116:Mirror Of Darkness
117:Eye Of Darkness
118:Goat ?
119:Medusas Head
120:Gorgons Tail
121:Holy Drink
122:Crows Cloak
123:Cursed Ring
124:Athenas Orb
125:Blood Candle
126:Mermans Ship
127:Funeral Bell
128:Marathons Shoes
129:Demon Chime
130:Healing Ring
131:SandCloak Of Dreams
132:Talisman
133:Sharktan Talisman
134:Dragons Ring
135:Flying Robe
136:Flying Saddle
137:Goblet Of Solma
138:Blue Crystal
139:Elf-In-A-Bottle
140:Elf Tears
141:Jewel Of Light
142:Mermaids Harp
143:Fog Chime
144:Fire Staff
145:Water Necklace
146:Water Mirror
147:Grannys Letter
148:Wind Drops
149:Tea
150:Bowl
151:Leather Water Skin
152:Sun Stone
153:Moon Stone
154:Package
155:Old Scroll
156:Statue Of Vulcan
157:Staff Of Light
158:Letter Of Introduction
159:Exorcism Crystal
160:Bracelet
161:Medicine
162:Sinorgs Medicine
163:Kids Shoes
164:Isams Medicine
165:Rosebud Fruit
166:Poison Frog
167:Diar Pot
168:Rest Pot
169:spg Moss
170:Mem Pot
171:Wooden Bowl
172:Magic Water
173:Magic Bracelet
174:Cham Staff
175:Jewelery
176:Kats Ring
177:Mage Ring
178:Bell Don
179:Lav Don
180:Doz Med
181:True Mirror
182:Pine Oil
183:Elf Shoes
184:Elf Mirror
185:Elf Ring
186:Sharktan Whip
187:Repulsion Talisman
188:Attraction Talisman
189:Water Spider
190:Fan Letter
191:Gun Powder
192:Ghost Sythe
193:Hero Sheild
194:Rusty Weapon
195:Deamon Seal
Ok wasn't expecting it to give the list of items with it, but that should give you an ideal of what I'm talking about.
Because it gave the entire item list, thank god i didn't add all 6 item slots, i only posted 1 item slot.

AddictedToCodes
Cheater
Cheater
Posts: 48
Joined: Mon Oct 19, 2020 9:12 pm
Reputation: 2

Re: need help making a trainer

Post by AddictedToCodes »

Try to look how other trainers which change ID of weapon work like. Example is Minecraft Dungeons trainers (which I used to change weapon in inventory).

Arlimin
Noobzor
Noobzor
Posts: 5
Joined: Fri Oct 02, 2020 12:52 am
Reputation: 0

Re: need help making a trainer

Post by Arlimin »

salmercker is there a way i could get a copy of what you have figured out. ive been looking for a table for DW but cant find one cuz its very old. or maybe let me know how to find the money mana etc. thank you for your time.

Post Reply

Who is online

Users browsing this forum: Raffine52