| View previous topic :: View next topic |
| Author |
Message |
Church481516 Cheater
Reputation: 0
Joined: 18 May 2011 Posts: 44
|
Posted: Thu May 19, 2011 5:13 pm Post subject: The Witcher 2 Pointers |
|
|
I'm working on a table for The Witcher 2 using pointers and am having some problems.
For example I can find the address for health. In one run through:
I can attach the debugger (VEHDebugger) and find what is writing to that address, get the opcodes, and the offset which I need for the pointer:
| Code: | 00408350 - fld dword ptr [eax[
00408352 - move eax, [ebp+08]
>>00408354 - fstp dword ptr [eax]
00408357 - pop ebp
00408358 - ret 0008
The value of the pointer needed to find this address is probably 3AD8A008 |
In this case I find an offset of 0.
I can search for addresses that contain the hex value of my health address to find my first level pointer candidates and I come up with 4-11 addresses. I can manually add those pointers to my table for further testing but here's where I run into trouble.
My next step is to see what writes to these pointer addresses but nothing writes to any of these pointers so I'm at an impasse.
Can anyone point out where I'm going wrong or point me in a different direction?
Over here: forum[dot]cheatengine.org/viewtopic[dot]php?t=536704&postdays=0&postorder=asc&start=0 some users have already created a table with pointers for the skidrow and GoG versions of the game. Would it be easier to use these tables to search for pointers in the Steam version? Can someone tell me how to do that or point me towards a resource that can help me out?
|
|
| Back to top |
|
 |
mgr.inz.Player I post too much
Reputation: 222
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Thu May 19, 2011 5:45 pm Post subject: |
|
|
Find health address. Add to table. Right click on it, choose "pointer scan".
Settings - see attachment (refresh page f5), of course address to find will be different.
Click ok,
save file,
wait.
After that you must "rescan" (how to do this - search forum). Or better, give saved file to other person which has the same game version, then that person rescan this for you.
The "rescan" gives better results (more stable multilevel pointers) when you: start game again, kill character, restart OS, etc.
I think offsets should be the same and base different.
_________________
Last edited by mgr.inz.Player on Mon Nov 14, 2011 4:15 pm; edited 1 time in total |
|
| Back to top |
|
 |
Church481516 Cheater
Reputation: 0
Joined: 18 May 2011 Posts: 44
|
Posted: Thu May 19, 2011 6:16 pm Post subject: |
|
|
Wow, thanks for the reply.
I just tried it for health and sieved it down to one address which is working for me after a few loads and a restart. I'll get the others and post it on the other Witcher 2 thread in case anyone needs the Steam table.
Really thanks again for spreading the knowhow.
|
|
| Back to top |
|
 |
mgr.inz.Player I post too much
Reputation: 222
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Thu May 19, 2011 6:18 pm Post subject: |
|
|
I find more time to explain rescan. Here it goes:
When first scanning is complete, restart your game or PC. Find again health address. Add to table, right click, "Pointer scan".
Copy to clipboard "address to find" (health address).
Hit CANCEL, then from menu File -> Open, choose previously saved file.
From menu "pointer scanner" -> "Rescan memory ....". Paste address, rescan, save file, (you can overwrite file).
BTW. When first scan gives you only one result you are lucky. When you get ZERO, you aren't - uncheck "pointers must end with ...."
EDIT. Can you send that pointerscan file or cheat table file (as attachment)? If you do, I can make trainer within 10 minutes.
too late, I'm going to sleep.
_________________
|
|
| Back to top |
|
 |
Church481516 Cheater
Reputation: 0
Joined: 18 May 2011 Posts: 44
|
Posted: Thu May 19, 2011 10:40 pm Post subject: |
|
|
Here's a limited version of the table. It only has the vitality, vigor, experience, and talent addresses. I'll add the others as I go.
To that end can I ask how you found the capacity address in the first place? Am I searching for the max storage amount value, 250, as a float? How can I find that if I can't change it?
| Description: |
|
 Download |
| Filename: |
The Witcher 2 - v1.0.6050.43457.ct |
| Filesize: |
1.43 KB |
| Downloaded: |
5574 Time(s) |
|
|
| Back to top |
|
 |
mgr.inz.Player I post too much
Reputation: 222
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Fri May 20, 2011 5:49 am Post subject: |
|
|
Try it. I'm not sure about capacity.
edit:
attachment got deleted after CE serer crash.
_________________
Last edited by mgr.inz.Player on Mon Nov 14, 2011 4:13 pm; edited 2 times in total |
|
| Back to top |
|
 |
megakoresh Advanced Cheater
Reputation: 0
Joined: 14 Mar 2010 Posts: 94 Location: Teabag Party
|
Posted: Fri May 20, 2011 9:30 am Post subject: |
|
|
This thing works like charm! ThanX .inz!
Needed those freaking orens too much, but I am not very good with CE yet.
_________________
Rest in peace, or rest in pieces!
POOTIS! |
|
| Back to top |
|
 |
mgr.inz.Player I post too much
Reputation: 222
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Fri May 20, 2011 9:54 am Post subject: |
|
|
| megakoresh wrote: | This thing works like charm! ThanX .inz!
Needed those freaking orens too much, but I am not very good with CE yet. |
I sent you PM, you didn't response.
"All options work for STEAM version? Maximum Capacity works ?"
_________________
|
|
| Back to top |
|
 |
Yezhik Cheater
Reputation: 2
Joined: 03 May 2011 Posts: 49 Location: NYC
|
Posted: Fri May 20, 2011 10:07 am Post subject: |
|
|
| So the weight thing really worked, but I had to reload the game cuz of a bug, and now I get a whole bunch of ?'s instead of the address. tried reloading the game , and the cheat engine, didnt work, help?
|
|
| Back to top |
|
 |
mgr.inz.Player I post too much
Reputation: 222
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Fri May 20, 2011 10:10 am Post subject: |
|
|
Well, this is STEAM. Game automatically updates few times a week. Church481516 must search it (pointers) again.
_________________
|
|
| Back to top |
|
 |
Church481516 Cheater
Reputation: 0
Joined: 18 May 2011 Posts: 44
|
Posted: Fri May 20, 2011 12:04 pm Post subject: |
|
|
| mgr.inz.Player wrote: | | Try it. I'm not sure about capacity. |
I haven't played it today or checked the ct you provided but I will this evening around 9pm GMT-5.
| mgr.inz.Player wrote: | | Well, this is STEAM. Game automatically updates few times a week. Church481516 must search it (pointers) again. |
Steam (according to the website) hasn't updated the game yet. So if the pointers stopped working then there is another issue...
|
|
| Back to top |
|
 |
mgr.inz.Player I post too much
Reputation: 222
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Fri May 20, 2011 2:21 pm Post subject: |
|
|
| Church481516 wrote: | | Steam (according to the website) hasn't updated the game yet. |
that's my point.
_________________
|
|
| Back to top |
|
 |
Church481516 Cheater
Reputation: 0
Joined: 18 May 2011 Posts: 44
|
Posted: Fri May 20, 2011 4:52 pm Post subject: |
|
|
Your full table works great for me. I didn't realize that all the pointers would start at the same address. Dumb. Thanks again.
And the game hasn't been updated on Steam yet.
|
|
| Back to top |
|
 |
|