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 


Replace xmm0 with custom values?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
alesyt0h
Newbie cheater
Reputation: 0

Joined: 12 Aug 2015
Posts: 19

PostPosted: Sun Jul 31, 2016 2:06 am    Post subject: Replace xmm0 with custom values? Reply with quote

How I can add the values I want to this xmm0?

Code:
xmm0:50.04 - 165.31 - 523.25 - 523.25


I need to write 150.00 in the first value, 216.00 in the second, and 233.00 in the third and fourth value.

Tried with movq xmm0,(float)150.00 but doesnt work.

What can I do?
Back to top
View user's profile Send private message
cooleko
Grandmaster Cheater
Reputation: 11

Joined: 04 May 2016
Posts: 717

PostPosted: Sun Jul 31, 2016 2:22 am    Post subject: Reply with quote

Its called packed fp format

http://www.cheatengine.org/forum/viewtopic.php?p=5407721&sid=94c3049aa5862ed3c9cd695dabe6a25a
Back to top
View user's profile Send private message
alesyt0h
Newbie cheater
Reputation: 0

Joined: 12 Aug 2015
Posts: 19

PostPosted: Sun Jul 31, 2016 3:06 am    Post subject: Reply with quote

I dont understand nothing Sad Im very newbie on this.

Tried this but is crashing..
Code:
mov eax,MyValues //eax is empty for me
movaps xmm0,[eax]

MyValues:
dd (float)150.0
dd (float)216.0
dd (float)233.0
dd (float)233.0


still I dont get it how I can add 4 different values inside eax, I thought that I should have to use shufps for move one value to xmm0 each time
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Sun Jul 31, 2016 7:54 am    Post subject: Reply with quote

Use MOVUPS instead of MOVAPS.
Back to top
View user's profile Send private message
alesyt0h
Newbie cheater
Reputation: 0

Joined: 12 Aug 2015
Posts: 19

PostPosted: Sun Jul 31, 2016 9:58 am    Post subject: Reply with quote

ty for answer but is doing nothing...

just the mov eax,MyValues is crashing the game, and if I look at the injection on memory view it shows: mov eax,31890013 which 31890013 is float 0


So... how to add my values to xmm??
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Sun Jul 31, 2016 10:04 am    Post subject: Reply with quote

alesyt0h-
You don't want to listen. You disregard what advice I gave in the other thread about this issue and you're insistent on doing things the way that you believe to be right, but you really don't understand what you're doing.
Back to top
View user's profile Send private message
alesyt0h
Newbie cheater
Reputation: 0

Joined: 12 Aug 2015
Posts: 19

PostPosted: Sun Jul 31, 2016 10:34 am    Post subject: Reply with quote

of course I don't understand, for that I'm asking..

You adviced me to check if I can teleport through objects, I said I can.

I'm insistent thinking about its xmm registers? for this moment yes because I can see there a lot of coordinates on xmm registers all the time.

You did a question some time ago http://forum.cheatengine.org/viewtopic.php?t=573983 looking at my post is quite similar..
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Sun Jul 31, 2016 10:53 am    Post subject: Reply with quote

If you're crashing with just that one instruction then the game requires EAX to equal something else.
You can't just change its value and then leave it. You need to restore it.
Otherwise, you're not rewriting the original code with your injection.
Without seeing the code, there's nothing we can do other than tell you that you screwed it up.
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Sun Jul 31, 2016 11:14 am    Post subject: Reply with quote

alesyt0h-
There's little point in trying to explain things to you at this point. You only pay attention to what you want to, believing that you already know what the problem is, so you just ignore everything else unless it relates to things that you think are important. You ask for help, then disregard it because you think the problem is something else. It's insanity (and frustrating).
Back to top
View user's profile Send private message
alesyt0h
Newbie cheater
Reputation: 0

Joined: 12 Aug 2015
Posts: 19

PostPosted: Sun Jul 31, 2016 11:44 am    Post subject: Reply with quote

Zanzer wrote:
If you're crashing with just that one instruction then the game requires EAX to equal something else.
You can't just change its value and then leave it. You need to restore it.
Otherwise, you're not rewriting the original code with your injection.
Without seeing the code, there's nothing we can do other than tell you that you screwed it up.


Thanks, I tried to push eax and then restore it with pop and at least is writing only 1 value into xmm0

++METHOS wrote:
alesyt0h-
There's little point in trying to explain things to you at this point. You only pay attention to what you want to, believing that you already know what the problem is, so you just ignore everything else unless it relates to things that you think are important. You ask for help, then disregard it because you think the problem is something else. It's insanity (and frustrating).


I've started on assembly just a week ago, I've read tutorials, watched videos on youtube, so my knowledge at this point is limited.

Is not true that I only pay attention to what I think it's important, I cannot do that If I want achieve my goal and I always try to pay attention to all, that's only what you think about me, and I never do that intentionally, every post I make I tried it before doing the few things that I know how to do, for hours.

I would understand your point if this thread was called Teleport not working v2, but it's not, it's just a thread on how to manipulate xmm registers, for whatever the reason.
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Sun Jul 31, 2016 12:13 pm    Post subject: Reply with quote

alesyt0h wrote:
I would understand your point if this thread was called Teleport not working v2, but it's not, it's just a thread on how to manipulate xmm registers, for whatever the reason.
-It's the same thing! You're trying to manipulate your coordinate values, are you not?
Back to top
View user's profile Send private message
alesyt0h
Newbie cheater
Reputation: 0

Joined: 12 Aug 2015
Posts: 19

PostPosted: Sun Jul 31, 2016 12:36 pm    Post subject: Reply with quote

Yes, but are different threads and it's not the question on this thread.. on this one I'm asking specifically about xmm registers.

You said on your previous post to I have to be sure that I have the right address. I did, tested it several, several times on all the ways I know.
Also to check what is writing to my address, and I think I know it it's a movlps [ebx+38],xmm0 for y coord, the other two are using xmm0 as source. Also did the noping and the result was that I cannot move

I'm listening to your advices, this is just a thread of a question that I think is the lead im following by doing the exactly thing you advice me to do
++METHOS wrote:
Checking to see what is 'accessing' the coordinate values if/when you teleport back might also get you the correct area of code to analyze.
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Sun Jul 31, 2016 1:29 pm    Post subject: Reply with quote

You're missing the part where I told you to verify data checks. Changing your coordinate value is not working like it should. You need to figure out why that is happening and fix it. This whole nonsense about trying to manipulate the xmm0 register is pointless if there is a check in place that will overwrite it anyway.
Back to top
View user's profile Send private message
STN
I post too much
Reputation: 43

Joined: 09 Nov 2005
Posts: 2676

PostPosted: Sun Jul 31, 2016 3:41 pm    Post subject: Reply with quote

Which game is it?
_________________
Cheat Requests/Tables- Fearless Cheat Engine
https://fearlessrevolution.com
Back to top
View user's profile Send private message
alesyt0h
Newbie cheater
Reputation: 0

Joined: 12 Aug 2015
Posts: 19

PostPosted: Sun Jul 31, 2016 5:06 pm    Post subject: Reply with quote

Didn't thought about that possible overwrite function, now that is more clear than before, makes more sense for me now, ++METHOS. Thanks for it, I will try to figure it out where that check is coming from.
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
Page 1 of 1

 
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