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 


Difficult Value Type

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Silhouette
Cheater
Reputation: 0

Joined: 19 Oct 2009
Posts: 40
Location: Elsewhere

PostPosted: Sat Oct 31, 2009 10:53 pm    Post subject: Difficult Value Type Reply with quote

Hey,


I've been trying to figure out a way to work with the 2-Byte value type. See, I'm a bit of a retro-gamer, and all of my retro-games use 2-byte values. To start, I can't change the value of a 2-byte address to anything over 255. I've already been told why this is, but I'd like to know how I can work around it. Also, I'm wondering if pointers work any differently with 2-byte values, beacuse I can't seem to land a working pointer. Maybe this is because pointers are 4-byte values? I don't know. Could someone please fill me in here? I'm not just after the solution, I want to know WHY it works, too.

_________________
"The sun that cloudy April day, struck the world, and made it May."
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

Joined: 09 May 2003
Posts: 25778
Location: The netherlands

PostPosted: Sun Nov 01, 2009 5:42 am    Post subject: Reply with quote

I think you mean 1 byte, 2 byte has a limit of 65535

if the game still doesn't see it higher than 255, then it's actually a 1 byte value inside the game itself, unless...

is it a game running inside an emulator ? And if so, what system is it emulating ?
What you can try is changing the 1 byte address before the address you found, and change that. So if your address was 12345678 you'd change address 12345677 to a different value. (1 byte long)


and yes, normal pointers are useless. If it's a 16-bit game it's using segment selectors and offsets instead of a virtual address
addressing address 50000 would be stored as 5000 : 0000 (or 4fff:0010, or any other segment type notation)

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
Silhouette
Cheater
Reputation: 0

Joined: 19 Oct 2009
Posts: 40
Location: Elsewhere

PostPosted: Mon Nov 02, 2009 6:58 pm    Post subject: Reply with quote

Hey, sorry I took so long replying, something came up. Yes I am using an emulator, it's called "Fusion". Fusion is emulating the Sega Genesis system. Also, you said that I could change the address just before my 1 Byte address. What number system would I input the value in? Decimal, Hexadecimal, Binary? And what value type would this new address be?
_________________
"The sun that cloudy April day, struck the world, and made it May."
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine 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