Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Change GTA San Andreas User Files to MTA San Andreas User Files #4354

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

Open
G-Moris wants to merge 14 commits into multitheftauto:master
base: master
Choose a base branch
Loading
from G-Moris:change_p_uf

Conversation

@G-Moris
Copy link
Contributor

@G-Moris G-Moris commented Aug 11, 2025
edited
Loading

This will help isolate files like gta_sa.set from other GTA:SA builds.
It may not be the most proper way to do this in the loader module, but it’s already too late to do it in the game_sa and multiplayer_sa modules.

blonter reacted with thumbs up emoji
Copy link
Member

botder commented Aug 11, 2025

That's like the worst place to do it. Early patching can be done in Client Core project, because the core initialization runs before the game's WinMain, even before static initialization.

Nico8340 reacted with thumbs up emoji

Copy link
Contributor Author

G-Moris commented Aug 11, 2025

That's like the worst place to do it. Early patching can be done in Client Core project, because the core initialization runs before the game's WinMain, even before static initialization.

Do you have any idea where can do this?

Copy link
Member

botder commented Aug 12, 2025

That's like the worst place to do it. Early patching can be done in Client Core project, because the core initialization runs before the game's WinMain, even before static initialization.

Do you have any idea where can do this?

void CCore::ApplyHooks() is currently the best place

G-Moris reacted with thumbs up emoji

Copy link
Contributor

nweb commented Aug 18, 2025

In current process it is better to use VirtualProtect (with sizeof(newDocumentPath)) and direct memcpy, or just replace first byte of string with 'M'.

G-Moris reacted with eyes emoji

@FileEX FileEX added the enhancement New feature or request label Aug 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

enhancement New feature or request

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /