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 


[Python] Mono Phrase Finder

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
sandsmaster
Newbie cheater
Reputation: 1

Joined: 21 Jan 2021
Posts: 24

PostPosted: Fri Oct 01, 2021 10:27 pm    Post subject: [Python] Mono Phrase Finder Reply with quote

Hello everyone!

I made a script to search and dump mono classes with properties, that contain a word you are looking for and feel decided I'll share it with you.
If you're dealing with Mono, it can probably save you some time. I'll write below how to use it in detail, but if you're used to mono, the pictures
should be enough for you.

Rar file link: https://mega.nz/file/CehllQAY#-DZUGRWUYOc6vGytJvrn3dRhmUOoGi0SwfWZKt6VPxU. I can also paste the python code, if you want.

The script requires Python to be installed on your PC, so if you don't have it now's the time to get it.

So here's how to use it:

    Let's say I want to find money in "Garbage". I go to the "Mono_phrases.txt" and type a few words on separate rows and save the file.

    Now go to the folder "Mono_files" and place all the mono files you want to search through. It's important they end with capital .txt extension (.TXT)

    Next I open a cmd and type in "cd" and the directory to the "Mono_phrases.txt". Press Enter. Here you'll need Python installed.
    Type in:
    Code:
    py tryout.py
    and the script should run.

    Now you can go to the dumps folder and see all the Matches, that the script found.


And that's pretty much it. I hope it will help you out a lot.

I'd be happy to hear some feedback from everyone.
Cheers!

Edit: I wasn't sure where to post this script, so sorry if it's the wrong thread. If it's not right, let me know. Smile



MonoFinderDirResized.png
 Description:
MonoFinder's directory
 Filesize:  213.69 KB
 Viewed:  2372 Time(s)

MonoFinderDirResized.png



_________________
I don't post too much. yet.
Back to top
View user's profile Send private message Send e-mail  
LeFiXER
Grandmaster Cheater Supreme
Reputation: 20

Joined: 02 Sep 2011
Posts: 1066
Location: 0x90

PostPosted: Sat Oct 02, 2021 5:06 am    Post subject: Reply with quote

I welcome new things but I'm unsure for what purpose this is used for. I noticed that you stated it's important for TXT to be capitalised, may I ask why?
Back to top
View user's profile Send private message  
sandsmaster
Newbie cheater
Reputation: 1

Joined: 21 Jan 2021
Posts: 24

PostPosted: Sat Oct 02, 2021 10:06 am    Post subject: Reply with quote

Sure. I noticed that mono files are saved from cheat engine with capital .txt for some reason, so I decide to just make the script look for any files with extension .TXT. It's just a bonus check, to not read normal txt files, if any get in the folder by mistake.

The use is not that great tbh, but the idea is to be able to get the class of the match, you're looking for a bit easier. E.g. say you're looking for health. The script will say, find the class Player and write it above the result. Also if there are more than 1 matches, like

Code:

Player
     AddHealth()
     DecreaseHealth()


The code will return both under the same class (see the pic).
Or if only the class name contains a match, the code will return just the class. The namespace is always on the first row (like Assembly-CSharp).

The best explanation is when you put a file in the input folder and see what the result is, though, so you can go ahead and place a mono dissect in the folder. The code is in there too, so you can check it out if you're interested.

Hope it does help out with debugging, pretty much.
Cheers!



DumpShot.png
 Description:
 Filesize:  205.37 KB
 Viewed:  2314 Time(s)

DumpShot.png



_________________
I don't post too much. yet.
Back to top
View user's profile Send private message Send e-mail  
LeFiXER
Grandmaster Cheater Supreme
Reputation: 20

Joined: 02 Sep 2011
Posts: 1066
Location: 0x90

PostPosted: Sat Oct 02, 2021 10:38 am    Post subject: Reply with quote

sandsmaster wrote:
The use is not that great tbh, but the idea is to be able to get the class of the match, you're looking for a bit easier. E.g. say you're looking for health.


Forgive me if I came across as rude because my lack of understanding on the topic. Thank you for explaining that. I can see that it definitely would serve a purpose. Thank you for sharing it!
Back to top
View user's profile Send private message  
sandsmaster
Newbie cheater
Reputation: 1

Joined: 21 Jan 2021
Posts: 24

PostPosted: Sun Oct 03, 2021 6:32 am    Post subject: This post has 1 review(s) Reply with quote

No worries. You didn't look rude, you was just asking. Plus the first explanation wasn't really good, so I get the confusion.

I'm happy to share it with the CE community though. This might make hacking Unity games a bit easier and less boring. I hope it works as good for you as it does for me.

Cheers!

_________________
I don't post too much. yet.
Back to top
View user's profile Send private message Send e-mail  
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