royale-proxy / cr-proxy

A simple Clash Royale proxy, implementing the new encryption, built on top of Twisted in Python 3.5.
https://discord.gg/BuUtGPM
24 stars 7 forks source link

cr-patcher file not found error #6

Closed ghost closed 7 years ago

ghost commented 7 years ago

Hi,

I'm new here, and would like to know what is happening.

Output:

C:\Users\TJ\Documents\cr-patcher-master>python patcher.py 1.6.0 Getting config ... Checking environment ... Traceback (most recent call last): File "patcher.py", line 147, in <module> result = subprocess.run([config['paths']['keytool'], '-list', '-keystore', KEYSTORE_PATH, '-storepass', config['keystore']['storepass'], '-alias', config['keystore']['key']['alias']], stdout=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True) File "C:\Users\TJ\AppData\Local\Programs\Python\Python35\lib\subprocess.py", line 693, in run with Popen(*popenargs, **kwargs) as process: File "C:\Users\TJ\AppData\Local\Programs\Python\Python35\lib\subprocess.py", line 947, in __init__ restore_signals, start_new_session) File "C:\Users\TJ\AppData\Local\Programs\Python\Python35\lib\subprocess.py", line 1224, in _execute_child startupinfo) FileNotFoundError: [WinError 2] The system cannot find the file specified

Attached is my config.json file in a .txt format.

config.txt

What am I doing wrong?

Thanks,

TJ (PatmanDeuxMC)

srabouin commented 7 years ago

Probably the name of the apk file -- it should be com.supercell.clashroyale-1.x.x.apk

ghost commented 7 years ago

The file is named properly. I don't know what to do.

ghost commented 7 years ago

Bump :(

srabouin commented 7 years ago

You need to configure the path section, you're missing some stuff and make sure all is installed?

ghost commented 7 years ago

It is all installed... Just where DO I put Apktool and Zipalign?

srabouin commented 7 years ago

well mine looks like this: "paths": { "apktool": "/usr/local/bin/apktool", "dd": "/bin/dd", "keytool": "/usr/bin/keytool", "jarsigner": "/usr/bin/jarsigner", "zipalign": "/Users/xx/Library/Android/sdk/build-tools/23.0.3/zipalign" }

ghost commented 7 years ago

Ok, but where are the directories located?

EDIT: Like, /usr/bin and stuff like that?

srabouin commented 7 years ago

Well you installed the software, so you should know where you installed when you clicked next next next -- don't know where they go in Windows, but should be easy to figure out on your own.

ghost commented 7 years ago

I really don't know!

srabouin commented 7 years ago

I'll ask in the chat and see if someone is on windows

srabouin commented 7 years ago

https://discord.gg/jQazFBz is the chat maybe someone else can help you

ghost commented 7 years ago

K thanks