Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Trying to hack dynasty warriors 3/questions
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
M4RCUS M4XIMUS
Newbie cheater
Reputation: 0

Joined: 15 Jul 2013
Posts: 11

PostPosted: Mon Jul 15, 2013 8:51 pm    Post subject: Trying to hack dynasty warriors 3/questions Reply with quote

Hello all, new person here, glad to be here.

I will first of all mention that I am rather a beginner to the cheat engine but do have somewhat a great interest in the program and its many functions.

Being a fan of the older dynasty warriors games I have been wanting to do certain hacks on the dynasty warriors 3 game through the pcsx2 emulator. Some of the things I would like to do are replace the AI generals with a certain character I wish(both normal generals and lieutenants), possibly replace the player character with a lieutenant(non-playable character) and finally alter your armies default overall morale.

I reckon the last one would be the easiest to achieve out of all the three as it most likely involves just searching for a value that is related to the generals address that you are looking for unless it changes??

For the character model/voice switching to minimize crashes - In this game I would say most of the characters would be the same height apart from some such as Lubu and Guan yu. It's important to take into consideration for this game jump speed, movesets.

So far I have succeeded in doing simple things such as giving myself 1000ko's through searches. Also by doing string searches for my character or an AI characters name I have replaced the characters name with the name I have desired.

For example I changed Liu Bei's name in the cheat engine to a non-playable characters name (Zhu Jun).

What happens is in mid-battle instead of the normal "Liu Bei has begun battle with <x>" it will say "Zhu Jun has begun battle with <x>". However, all that I've noticed has changed when I have done the string change is if playing as Liu bei the name Zhu Jun will appear, no changes to the characters voice, moveset, model, nothing. Also, the name Zhu Jun also will appear on the conditions if Liu Bei happens to be the commander on that battle. Zhu Jun will also appear on the speech dialogues.

However, enabling the life bar in game with L2 which also displays the characters name still remains as Liu Bei.

I have been using the dissect data/structures option with the addresses that held the characters string and what I have noticed is it will display the characters name in order of selection on the characters selection screen in game, however, there are two lines below each characters string name which displays a byte value of 0 and a 4 byte value of 0.

Sorry if I went on in a ramble, but if there could even be any sort of advice to get somewhere near to accomplishing any of these it would be great. I am a beginner, so I am sorry if I've been sounding confusing.

Thanks
Back to top
View user's profile Send private message
M4RCUS M4XIMUS
Newbie cheater
Reputation: 0

Joined: 15 Jul 2013
Posts: 11

PostPosted: Wed Jul 17, 2013 7:49 pm    Post subject: Reply with quote

bump
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Wed Jul 17, 2013 8:22 pm    Post subject: Reply with quote

I'd forget about the first two. If your game is anything like the newer releases, I believe adding KO's directly increased moral - if not, it should be fairly easy, either way.
Back to top
View user's profile Send private message
M4RCUS M4XIMUS
Newbie cheater
Reputation: 0

Joined: 15 Jul 2013
Posts: 11

PostPosted: Thu Jul 18, 2013 12:21 pm    Post subject: Reply with quote

No, in this particular series of the game 50 ko's don't always increase the morale of the officer you are under. Rarely they do. However the typical 1000 Ko full morale is in the 3rd.

I've been able to find easily the musou bar with cheat engine, however when I go to change the value it changes for a split second and then switches back to what it was. I am assuming this is something to do with values being stored somewhere else?

Yes, I would reckon finding and changing the morale for your officers/enemy officers would be easy enough as it would probably be a simple value between search between 1 and 8. However sifting out the other addresses I suppose would be tricky.
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Thu Jul 18, 2013 1:31 pm    Post subject: Reply with quote

I published a trainer for Dynasty Warriors 6, but I don't remember how the musou was handled. I used a script in my table. If I recall, there were multiple addresses that handled musou, but only one was required. Nonetheless, if you change the value, and it immediately flickers back to its previous value, then you do not have the correct address.
Back to top
View user's profile Send private message
M4RCUS M4XIMUS
Newbie cheater
Reputation: 0

Joined: 15 Jul 2013
Posts: 11

PostPosted: Fri Jul 19, 2013 1:58 pm    Post subject: Reply with quote

I was thinking about changing the morale of the officers I wish on the battle screen before the battle starts. I was wondering what method would be the quickest to find the addresses that hold the officers' morale? What would you recommend if you don't mind?

I'd guess it would give me the same hassle as the musou bar where it changes for a split second and then goes back to what it was previously. I assume this is to do with a separate addresses holding the data for rendering the images that display the musou bar and the morale on the battle screen(the gold *'s) that has to match with the given value?

Just my speculation on this issue, as I said I am rather a beginner but this does sound like something that is definately achievable.

If there is an advanced user reading this - for swapping the generals in game(for example Zhao Yun to Zhang Fei) what would it likely involve?
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Fri Jul 19, 2013 2:55 pm    Post subject: Reply with quote

M4RCUS M4XIMUS wrote:
I was thinking about changing the morale of the officers I wish on the battle screen before the battle starts. I was wondering what method would be the quickest to find the addresses that hold the officers' morale? What would you recommend if you don't mind?
-It all depends on how the morale is handled. Since I have never played DW3, I can only guess. If morale is relative to kill count, I would start there. Personally, I never messed with the morale bit, because it was moot. When you can teleport across the map and kill the leader with one swing, all in a matter of about 5 seconds, it no longer becomes an issue. However, if you are insistent on increasing officer morale, I would start by finding out how it increases. Once you have figured that out, you can search for an unknown value of all types, then search for increased/decreased value until you find the correct address. Do a pointer scan or inject code and you're done. If the officers/generals have their own morale value, and/or if the addresses change each time and are assigned to different officers etc., then you will need to inject code at an instruction that hopefully handles all of the morale addresses. If you find one, you may also need to filter out all of the enemy addresses.

M4RCUS M4XIMUS wrote:
I'd guess it would give me the same hassle as the musou bar where it changes for a split second and then goes back to what it was previously.
-I personally believe that this is happening because you do not have the proper address. I have never used the emulator in question, however, if it's not too time-consuming to set up, you can send me the files or a link, if you like, and I can take a look at it, personally.

M4RCUS M4XIMUS wrote:
I assume this is to do with a separate addresses holding the data for rendering the images that display the musou bar and the morale on the battle screen(the gold *'s) that has to match with the given value?
-I really can't say without taking a look, since I have never played this game.

M4RCUS M4XIMUS wrote:
Just my speculation on this issue, as I said I am rather a beginner but this does sound like something that is definately achievable.
-If you're referring to the musou bar, then yes, it is definitely achievable.

M4RCUS M4XIMUS wrote:
If there is an advanced user reading this - for swapping the generals in game(for example Zhao Yun to Zhang Fei) what would it likely involve?
-No offense taken. Seriously, it is beyond my current abilities.

It really depends on the game. Most, if not all, of the games in the Dynasty Warriors series follow a story that is specific to the main character (depending on who you choose). That being the case, it will more than likely be a major undertaking getting characters to swap out...as you will not only have names, graphics, audio files, cut-scenes and the actual character structures to swap out, but if your game is anything like the newer games, even weapons that are acquired during battle may have to be changed - as they are specific to the character that you choose. There is really no way of knowing without thoroughly examining the code - which could take a very, very long time. If I were going to attempt this (which I wouldn't), I would start by trying to find where the character structures are loaded, and manipulating those values. As far as being able to change characters out during game play (after the load/pre-loading phases), I really don't know if that would even be possible; it may require a major restructuring of code to avoid freezing/crashing.
Back to top
View user's profile Send private message
M4RCUS M4XIMUS
Newbie cheater
Reputation: 0

Joined: 15 Jul 2013
Posts: 11

PostPosted: Fri Jul 19, 2013 5:27 pm    Post subject: Reply with quote

No offense was meant at all. I was just reaching out to anyone who would consider themselves an expert on cheatengine for an idea for those more difficult hacks I mentioned.

Something I should also mention is that this game was made in 2001. So if that makes things any easier that would be great.

Well this game is a lot more simplistic than the more recent releases of dynasty warriors. There is none of this "rage mode" or whatever it is called that the new games have. There is no weapon weight or speed, it is simply your 1st, 2nd, 3rd and 4th weapon with its attributes. Elements are in this game too for the weapons, but only for 4th and 5th weapons. 5th weapons are only available with DW3 xtreme legends.

I know that I can easily give my own army full morale with the 1000ko hack on the cheat engine but I would like to set them to a more reasonable morale so it doesn't feel as if I am cheating as much.

If you are interested though in getting the Playstation 2 emulator just google pcsx2 and go to the full installer and download. For whatever reason I am not allowed to post urls.

Just simply click on the download button for the full installer package option.

This is probably against the rules on this forum but if it is allowed also I could give you a torrent link to the game itself, an image file that is 2.10GB.

Unfortunately, for however your CPU processes this game as it is ran on the emulator this is one of the games that you can play on the emulator that will require a rather powerful processor. I personally have an AMD phenom hex core running at 2.80GHz and it runs at a decent speed with the emulators graphics settings configured to my liking.
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Fri Jul 19, 2013 6:43 pm    Post subject: Reply with quote

Personally, I don't know why you even bother with this old game. The graphics are so horrendous, it hurts my eyes just looking at them.

EDIT:
Scripts removed.


Last edited by ++METHOS on Fri Jul 19, 2013 9:27 pm; edited 3 times in total
Back to top
View user's profile Send private message
M4RCUS M4XIMUS
Newbie cheater
Reputation: 0

Joined: 15 Jul 2013
Posts: 11

PostPosted: Fri Jul 19, 2013 9:02 pm    Post subject: Reply with quote

I know that the graphics are pretty terrible, but I think having played this game so much that it suits the cartoonish like characters. I am more of a gameplay person too.
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Fri Jul 19, 2013 9:17 pm    Post subject: Reply with quote

It seems creating a simple script is not going to work for this game. At first, I had three scripts working for health, infinite musou and full musou. I tested these scripts with different characters, but the instruction locations were changing after each restart. I have spent the last hour or so trying to incorporate AOB for these scripts. I had the scripts working...until I restarted the emulator. It's quite strange, really. I have to attribute it to the fact that it is being emulated, and the code is also shifting for each player.

That being said, however, I did manage to find the health address and musou address. You will have to search for these values for every character in the game, unless you can figure out a way to make the AOB stick. Maybe there is a trick that I have yet to learn.

Nonetheless, to find the health and/or musou, simply search for a byte type value. When you find them, change the values to hex FF.
Back to top
View user's profile Send private message
M4RCUS M4XIMUS
Newbie cheater
Reputation: 0

Joined: 15 Jul 2013
Posts: 11

PostPosted: Fri Jul 19, 2013 9:23 pm    Post subject: Reply with quote

will you be able to find the morale addresses for each allied officer on a certain stage?
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Fri Jul 19, 2013 9:26 pm    Post subject: Reply with quote

To be honest, I probably could...but I really have no interest in doing so. If you have any questions about how to do it yourself...or about anything else, just ask - I will be glad to help.
Back to top
View user's profile Send private message
M4RCUS M4XIMUS
Newbie cheater
Reputation: 0

Joined: 15 Jul 2013
Posts: 11

PostPosted: Fri Jul 19, 2013 10:09 pm    Post subject: Reply with quote

I'm wondering why the value I must type in has to be in hex?
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Fri Jul 19, 2013 10:36 pm    Post subject: Reply with quote

Which value? If for health/musou, it doesn't.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites