Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

restructuring: reformat patterns file #517

Open
SmileyAG opened this issue Mar 28, 2024 · 0 comments
Open

restructuring: reformat patterns file #517

SmileyAG opened this issue Mar 28, 2024 · 0 comments
Assignees

Comments

@SmileyAG
Copy link
Collaborator

PATTERNS(LoadAndDecryptHwDLL,
	"HL-NGHL", "8B 0D ?? ?? ?? ?? 53 56 33 DB 8B 01 57 53 68 ?? ?? ?? ?? FF 74 24 18 FF 50 28 8B 0D ?? ?? ?? ?? 8B F0 6A 02 53 8B 01 56 FF 50 30 8B 0D",
	"HL-WON", "8B 44 24 04 53 56 57 68 ?? ?? ?? ?? 50 E8 ?? ?? ?? ?? 8B F0 6A 02 6A 00 56 E8 ?? ?? ?? ?? 56 E8 ?? ?? ?? ?? 56 8B F8 E8"
);

Looks much nicer to read and takes up less space than how it is done now:

PATTERNS(LoadAndDecryptHwDLL,
	"HL-NGHL",
	"8B 0D ?? ?? ?? ?? 53 56 33 DB 8B 01 57 53 68 ?? ?? ?? ?? FF 74 24 18 FF 50 28 8B 0D ?? ?? ?? ?? 8B F0 6A 02 53 8B 01 56 FF 50 30 8B 0D",
	"HL-WON", 
	"8B 44 24 04 53 56 57 68 ?? ?? ?? ?? 50 E8 ?? ?? ?? ?? 8B F0 6A 02 6A 00 56 E8 ?? ?? ?? ?? 56 E8 ?? ?? ?? ?? 56 8B F8 E8"
);

Names of the games are not so long in most cases, and in some cases they can be shortened in fact, so it will actually be more pleasing to the eye and it’s simply more convenient to combine the name of the game and the pattern in one line

@SmileyAG SmileyAG self-assigned this Mar 28, 2024
@SmileyAG SmileyAG changed the title Reformat patterns file restructuring: reformat patterns file Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant