AndroidModLoader icon indicating copy to clipboard operation
AndroidModLoader copied to clipboard

v1.0.x (future update plans and discussions)

Open XMDS opened this issue 2 years ago • 19 comments

"x", I am not sure about the specific AML update time and content that should be updated, nor what content should be added in which version, some still need to be discussed. Anyone can discuss here

XMDS avatar Nov 21 '22 03:11 XMDS

AML may be compatible with more Android games. But first about the update direction of the GTA series of games:

  1. Support GTA3 VC SA LCS CW. Whether we write plugins for other GTA games or not, we should provide users with the function of so loader, and release apk that supports AML.

  2. Add full game version judgment (I'm writing it). In contrast, judging the app name, package name, and package version code only through the jni function cannot determine the game version stably. Because the app can be modified, we should detect the game's so library (such as libGTASA.so), determine the file size of the specific version of the .so library, the length of the library in memory, and a certain memory address detection to achieve a complete Version judgment of the GTA series of games.

  3. Add support for arm64-bit GTA games. In any case, as I said in point 1, it is necessary to provide so loader

XMDS avatar Nov 21 '22 03:11 XMDS

try to add AML to minecraft bedrock android, it would take a lot of time but it's worth it

EpiclyRaspberry avatar Nov 21 '22 04:11 EpiclyRaspberry

Please add a guide on how to create a plugin and use AML on other games too.

This should not be discussed here. No one here will provide a tutorial on how to create a plugin. You can learn C++ and then refer to other plugin examples, or ask people in the code channel on AML's Discord

XMDS avatar Nov 21 '22 08:11 XMDS

Real time shadows for all objects for sa android like in pc

Cjboiii avatar Nov 21 '22 08:11 Cjboiii

Real time shadows for all objects for sa android like in pc

This discussion is about updates to AML (itself), not any other game-specific plugins

XMDS avatar Nov 21 '22 08:11 XMDS

Real time shadows for all objects for sa android like in pc

This discussion is about updates to AML (itself), not any other game-specific plugins

Oh lol Then add img and txd support for aml like pc modloader

Cjboiii avatar Nov 21 '22 09:11 Cjboiii

Real time shadows for all objects for sa android like in pc

This discussion is about updates to AML (itself), not any other game-specific plugins

Oh lol Then add img and txd support for aml like pc modloader

modloader for mobile gta sa was developed and I have the original code from the author, but the problem here is that there is not enough knowledge to finish this creation...

Vladik01-11 avatar Nov 21 '22 12:11 Vladik01-11

add more availability in devices i already seen 5 people including me cant play AML we have the same device Vivoy20i/y20

clayhill97 avatar Nov 21 '22 15:11 clayhill97

Real time shadows for all objects for sa android like in pc

This discussion is about updates to AML (itself), not any other game-specific plugins

Oh lol Then add img and txd support for aml like pc modloader

modloader for mobile gta sa was developed and I have the original code from the author, but the problem here is that there is not enough knowledge to finish this creation...

You can give it to me in discord

RusJJ avatar Nov 21 '22 16:11 RusJJ

Real time shadows for all objects for sa android like in pc

This discussion is about updates to AML (itself), not any other game-specific plugins

Oh lol Then add img and txd support for aml like pc modloader

modloader for mobile gta sa was developed and I have the original code from the author, but the problem here is that there is not enough knowledge to finish this creation...

Really?

Cjboiii avatar Nov 23 '22 03:11 Cjboiii

modloader for mobile gta sa was developed and I have the original code from the author, but the problem here is that there is not enough knowledge to finish this creation...

You can give it to me in discord

I can give it to you, but it is designed for version 1.08 and the addresses are appropriate + to this, the author developed his client, on which modloader was made

Vladik01-11 avatar Nov 28 '22 08:11 Vladik01-11

If it is a source code - do it

RusJJ avatar Nov 28 '22 16:11 RusJJ

@RusJJ What do you think? Updates on hooks. Anyway, AML provides AML classes (IAML), which provide some basic hook functions, which come from the ARMPatch project, but we should update the hook functions to provide users with more easy-to-use and more powerful functions. But the aml class cannot contain all hook functions, fundamentally, we should update the ARMPatch project or reimplement it. For the AML class, we only need to provide the most basic functions, not all of them.

XMDS avatar Nov 29 '22 11:11 XMDS

For example?

RusJJ avatar Nov 29 '22 11:11 RusJJ

For example?

For example, implement the hook of any address position in the function, and read and write the value of any register. When I sent you a private chat, I showed an example.

In addition, there are instructions to replace B/BL/BLX. As I said before, I have achieved a breakthrough in the range limit of branch instructions (you can replace a BL instruction to jump to any address, they have no range limit).

static void TrampolinesRedirectCall(eInstructionSet sourceInstructionSet, uintptr_t addr, void* func, void** orig_func, InstructionType CallType);
static void TrampolinesRedirectJump(eInstructionSet sourceInstructionSet, uintptr_t addr, void* func, void** orig_func);

In addition, there is a complete arm64 hook function. It is very important for unity3d mobile games, because they are almost all 64-bit games

XMDS avatar Nov 29 '22 11:11 XMDS

Like I said, I could update the ARMPatch project and should even reimplement it. However, the aml class of the AML project should not include all of them. AML itself only needs to provide basic hook functions, not all of them, because some implementations require additional code. Just need to remind users to use the ARMPatch project.

XMDS avatar Nov 29 '22 11:11 XMDS

In addition, the Cydia Substrate inline hook project has a serious bug. In arm mode, when we hook the same function multiple times, the MSHookFunction function is only valid for the first hook, and it cannot take effect multiple times in arm mode. Only thumb mode is perfect. But I fixed the bug of this ancient project, we should recompile the static library .a

XMDS avatar Nov 29 '22 11:11 XMDS

Add to the Android source engine, such as hl2sb

stephen-cusi avatar Mar 25 '23 00:03 stephen-cusi

No real reason to do that for an "open source" engine

RusJJ avatar Apr 04 '23 11:04 RusJJ