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

max payne load remover #26

Open
MadMax070 opened this issue Jun 22, 2019 · 3 comments
Open

max payne load remover #26

MadMax070 opened this issue Jun 22, 2019 · 3 comments

Comments

@MadMax070
Copy link

sorry for my english
This script doesn't work for me. Can it be because I live in Russia, and I can only use the Russian version of this game which has another app id?

@Sermax666
Copy link

Sermax666 commented Jul 17, 2019

@MadMax070
Вот рабочий скрипт. Пользуйся)
да да да. Он похож, но там сместилась строка и код теперь рабочий

state("maxpayne")
{
	// unknown/default version
}

state("maxpayne", "Steam")
{
	int loading : 0x4A6400, 0x80, 0xB4;
	int comic : "e2mfc.dll", 0x651DC;
}

init
{
	version = "Steam";
	switch (modules.First().ModuleMemorySize)
	{
		case 6377472: // Steam (DRM)
		case 6025216: // Steam (Steamless)
			
			break;
	}
}

isLoading
{
	if (version != "")
		return current.loading > 0 && current.comic == 0;
}

@zoton2
Copy link
Owner

zoton2 commented Jul 18, 2019

Sorry for no response, been very busy with other things. If the load remover works without a version specified (or in this case, it's being overridden to be Steam all of the time) I could put a fix into the current script, if someone could supply me the "ModuleMemorySize" for the Russian version.

@Sermax666
Copy link

@zoton2
I have a Russian version of the game in Steam and this corrected script works. But I put the English localization, the Russian localization is very bad. Impossible to listen...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants