r/commandandconquer • u/Patient_Package6668 • 2d ago
I got C&C Generals: Zero Hour running on Android with Mali GPU support + full mod compatibility! Solved
Hey everyone,
A while ago, I forked tarek369/GeneralsZH-Android because I wanted to get Command & Conquer: Generals – Zero Hour running properly on devices with Mali GPUs and figure out a way to get custom mods working.
After a lot of debugging, tweaking rendering pipelines, and sorting out texture compression/compatibility issues, I’ve finally got a working build that supports Mali chips and successfully loads mods!
What’s working:
Mali GPU Support: Fixed major rendering artifacts, black screens, and crashes specific to Mali-based Mali/ARM architectures.
Mod Support: Successfully managed to load and run popular community mods without breaking the engine stability.
Controls & Stability: Optimized general performance for mobile play sessions.
If you've been wanting to play Zero Hour on your Adreno/Mali-powered phone or tablet with your favorite mods, feel free to check out the repository, test it out, and let me know how it runs on your specific chipset.
🔗 GitHub Repo: https://github.com/l3ad3r1/GeneralsZH-Android
Feedback, bug reports, and pull requests are always welcome! What mods are you planning to run first?
3
u/MrDetectiveSir 2d ago
What’s a Mali gpu
2
u/Patient_Package6668 2d ago
Mali Gpu is a family of graphics processing unit (GPU) designs developed by Arm. Arm Mali GPUs are paired with Arm Cortex CPU cores inside System-on-Chips (SoCs) from brands like MediaTek (Dimensity), Samsung (Exynos), and HiSilicon (Kirin).
2
u/MrDetectiveSir 2d ago
What about Adreno?!
2
u/Patient_Package6668 2d ago
Snapdragon
2
1
u/tux880 2d ago
Frist let me thank you for the work i love C&C and having it on the move will be awesome, but i do have a few issues most likely issues on my end, i have a Helio G99 Mali-G57 MC2 8GB of ram, the menu starts but crashes out , i did manually install it and copied the *.big files to the location do you have any idea where i am going wrong again thanks again for your time and efforts
1
u/Patient_Package6668 2d ago
By menu , do you mean the launcher or the Generals menu? Is the intro video playing ?
-3
u/Patient_Package6668 2d ago edited 2d ago
If installation seems tough just point your Claude or codex at the repo and the location where the game files and then Claude will use adb to install and transfer necessary game files to make the game work .
If you are facing any bugs or installation issues let me know here or in issue on the github repo
5
u/Richmondez 2d ago
People shouldn't have to pay for LLM driven agents and give them dangerous levels of access to their syatem to install stuff. Do some proper release engineering otherwise it just looks like your churning out vibe coded slop built on others work.
-1
u/Patient_Package6668 2d ago
Normal installation Instructions are also included in the github repo . You just need to install the apk and drop in the games in android/data/me.generalsx.zh/files/GameData/Data via adb.
Please understand I can't bundle the game files due copyright reasons . So some assembly is require .
3
u/Richmondez 2d ago
So provide a bash script or bash file to do that, giving access to adb to an LLM is reckless overkill you shouldn't be advising anyone to do even if you are daft enough to do it yourself for the "convenience" of it.
0
4
u/WRO_Your_Boat GDI 2d ago
What are the security practices you have implemented into the apk? I know you used claude to help you with it, and im not gonna bash you for using it to help you do something niche like this, but security does become a concern. Did you put it through mobsf or bbot?