royale-proxy / cr-patcher Goto Github PK
View Code? Open in Web Editor NEWA small utility to patch and sign the Clash Royale APK
A small utility to patch and sign the Clash Royale APK
What might the problem be if rebuilding of the .apk fails ??
Patching keys ...
Patching URLs ...
Verifying keys ...
Verifying URLs ...
Backing up original APK ...
Rewriting android manifest /home/pi/python_games/cor_proxy/cr-patcher/com.supercell.clashroyale-1.8.1/AndroidManifest.xml
Building APK ...
ERROR: Failed to build com.supercell.clashroyale-1.8.1 (W: /tmp/brut_util_Jar_1820504874564873883.tmp: 1: /tmp/brut_util_Jar_1820504874564873883.tmp: Syntax error: word unexpected (expecting ")")
and my 2nd question.
Why at all is patching the APK neccessary?
If I modify the Hosts and redirect game.clashroyale to my proxy IP - isn`t this enougth?
So is patching only to change the URL - or is it manditory to get the proxy working?
I've downloaded the Android SDK (SDK only, without the IDE and such), but there is no file called zipalign. Also the folder hierarchy used in the readme to show where the file should be doesn't match what I have.
Can I just download it without the suite somehow? Or do I need to download an older version or something?
C:\Users\no\Desktop\cr-patcher-master>"C:\Users\Omrtha\AppData\Local\Programs\Python\Python36-32\python.exe" patcher.py --json 1.9.2
Getting config ...
Checking environment ...
client.keystore does not exist. Would you like to create it? (y/n): y
Traceback (most recent call last):
File "patcher.py", line 137, in
result = subprocess.run([config['paths']['keytool'], '-genkey', '-keystore', KEYSTORE_PATH, '-storepass', config['keystore']['storepass'], '-alias', config['keystore']['key']['alias'], '-keypass', config['keystore']['key']['keypass'], '-dname', dname, '-keyalg', 'RSA', '-keysize', '2048', '-validity', '10000'], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
File "C:\Users\no\AppData\Local\Programs\Python\Python36-32\lib\subprocess.py", line 403, in run
with Popen(*popenargs, **kwargs) as process:
File "C:\Users\no\AppData\Local\Programs\Python\Python36-32\lib\subprocess.py", line 707, in init
restore_signals, start_new_session)
File "C:\Users\no\AppData\Local\Programs\Python\Python36-32\lib\subprocess.py", line 990, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified
Help me out,
thanks
Unless you don't need to re-compress them?
That has WAY too many dependencies, please at least make some packages of it with the Java tools included
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.