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

Appearance settings

unkcs/mini-plugin-sdk-android

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
86 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mini-plugin-sdk-android

ENG: I'm making an plugin sdk for gta sa android, I don't need it to be the same, I just want gta sa android modders to be able to program in a decent way.

There is still a lot left to do, as I am only one person, I hope someone can help.

And no, I didn't do something like copy all the sdk plugin files and just edit them (this is not a good way, as several structs on mobile contain different sizes, changed/removed values, etc.), I'm using a gta database sa 2.00 (it will only work in this version, maybe in 2.10 too?) which is well documented, but obviously we cannot trust 100% in ida databases, so I was careful and analyzed some things beforehand, such as function input and output parameters and others things.

to compile the cpp files that are in game_sa, put this in your Android.mk:

FILE_LIST := $(wildcard $(LOCAL_PATH)/game_sa/*.cpp)
LOCAL_SRC_FILES += $(patsubst $(LOCAL_PATH)/%, %, $(FILE_LIST))
LOCAL_CFLAGS += -O2 -mfloat-abi=softfp -DNDEBUG -std=c++17

PT: Estou fazendo um plugin sdk para o gta sa android, não preciso que seja igual, apenas quero que os modders do gta sa android consigam programar de maneira decente.

Ainda falta muita coisa, pois sou apenas uma pessoa, espero que alguém possa ajudar.

E não, eu não fiz algo como copiar todos os arquivos do plugin sdk e apenas editar eles(isso não é uma boa forma, pois diversas structs no mobile contém tamanhos diferentes, valores trocados/tirados, etc), estou utilizando uma idb do gta sa 2.00(funcionará apenas nessa versão, talvez na 2.10 tambem?) que está bem documentada, mas obviamente não podemos confiar 100% em databases do ida, então tomei cuidado e analisei algumas coisas antes, como parametros de entrada e saida de funções e outras coisas.

para compilar os arquivos cpp que estão em game_sa, coloque isso em seu Android.mk:

FILE_LIST := $(wildcard $(LOCAL_PATH)/game_sa/*.cpp)
LOCAL_SRC_FILES += $(patsubst $(LOCAL_PATH)/%, %, $(FILE_LIST))
LOCAL_CFLAGS += -O2 -mfloat-abi=softfp -DNDEBUG -std=c++17

thanks plugin sdk(https://github.com/DK22Pac/plugin-sdk/tree/ce73538cb2d354349cf297370a81a98ac83bff97)

About

This is still far from complete, I'm just one person. thanks plugin sdk(https://github.com/DK22Pac/plugin-sdk/tree/ce73538cb2d354349cf297370a81a98ac83bff97)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.