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 


Creating a Marvel Snap accessibility overlay

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
solistice
How do I cheat?
Reputation: 0

Joined: 07 Aug 2023
Posts: 1

PostPosted: Mon Aug 07, 2023 5:03 am    Post subject: Creating a Marvel Snap accessibility overlay Reply with quote

Disclaimer: I am not trying to change values in the game, just creating an accessibility overlay

So my little brother loves Marvel Snap. He has been playing it almost non-stop and is pretty good at it. However, he has troubles with his eye sight and it's getting worse every year. He can not play it on mobile, and even PC is becoming very tricky now. Since I am a software engineer, I decided to go look for some solutions. One idea I had was to use Cheat Engine to create a read-only tool that would read from memory all that happens, and I could make it into a voice-over describing to him what the current situation is. It's a cool project for me to get into memory stuff and ethical hacking, and I'm helping my brother continue to play the game that he loves. Anyways, enough backstory.

I started with the tutorials in Cheat Engine and that brought me pretty far already, but I am hitting some roadblocks. I'm not sure if you are familiar with the game itself, but basically it is a card game where you have 3 locations, each location can have at most 4 cards, and there are 6 turns each game. The goal is to have the highest power in 2 of the 3 locations.

I thought I would start off easy by finding the address for the power stored for my side of the 3 locations, and that went pretty good. I tracked it down in a game, stored it, but then I saw that it changes each game, and it wouldn't work anymore. I thought it might be something like restarting the game, so I created a pointermap, tried again for the same location and got another address. I created another pointermap for that one, did a pointer scan for the two and found some possible base address with offsets that would lead me to the power of the first location, even in a new game or after quitting and reopening the game.

That all worked well, but now I'm trying to read the information in the locations itself, and I have no idea how to start on this. I'm not sure if I should focus on the data structure where I found the power, or if I should find some way to figure out what array is changed whenever I place a card. I'm also not sure if placing the card actually happens when I move the card, or when the server plays out the round. Any pointers regarding all this, how to continue?
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4709

PostPosted: Mon Aug 07, 2023 10:46 am    Post subject: Reply with quote

Never played it, no idea what it is.

From briefly searching around, it seems to be made using unity. You can probably use CE's mono features to get a really good idea of how the game works.
Look at the top menu of the main CE window. There should be "mono" or something up there after you attach to the game. Activate mono features, dissect mono, and start looking around.
I'd use code injection after I find something suitable. You could use pointers if you can find a static base.

_________________
I don't know where I'm going, but I'll figure it out when I get there.
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