Closed godfuzz3r closed 7 years ago
Are you sure you cloned recursively?
What is the content of /home/pi/P4wnP1/duckencoder/resources ?
Forget the last comment... wrong project
How did you produce this error?
I did this:
Clone duckencoder: git clone https://github.com/mame82/duckencoder.py.git
In duckencoder directory create duck-payload: echo "STRING test" > test.duck
Run the script: python duckencoder.py -i test.duck -o test.bin -l us
Got a problem: Language file /resources/us.properties doesn't exist or isn't readable
cd resources
ls -l -rwxr-xr-x 1 lafa lafa 4560 авг 27 23:03 be.properties -rwxr-xr-x 1 lafa lafa 3494 авг 27 23:03 br.properties -rwxr-xr-x 1 lafa lafa 5756 авг 27 23:03 ca.properties -rwxr-xr-x 1 lafa lafa 7291 авг 27 23:03 ch.properties -rwxr-xr-x 1 lafa lafa 7070 авг 27 23:03 de.properties -rwxr-xr-x 1 lafa lafa 8704 авг 27 23:03 dk.properties -rwxr-xr-x 1 lafa lafa 4108 авг 27 23:03 es.properties -rwxr-xr-x 1 lafa lafa 3331 авг 27 23:03 fi.properties -rwxr-xr-x 1 lafa lafa 4825 авг 27 23:03 fr.properties -rwxr-xr-x 1 lafa lafa 4664 авг 27 23:03 gb.properties -rwxr-xr-x 1 lafa lafa 4424 авг 27 23:03 hr.properties -rwxr-xr-x 1 lafa lafa 3927 авг 27 23:03 it.properties -rwxr-xr-x 1 lafa lafa 2377 авг 27 23:03 keyboard.properties -rwxr-xr-x 1 lafa lafa 8778 авг 27 23:03 no.properties -rwxr-xr-x 1 lafa lafa 4857 авг 27 23:03 pt.properties -rwxr-xr-x 1 lafa lafa 7068 авг 27 23:03 ru.properties -rwxr-xr-x 1 lafa lafa 4473 авг 27 23:03 si.properties -rwxr-xr-x 1 lafa lafa 8459 авг 27 23:03 sv.properties -rwxr-xr-x 1 lafa lafa 3993 авг 27 23:03 tr.properties -rwxr-xr-x 1 lafa lafa 3860 авг 27 23:03 us.properties
Sorry for the long-time answer
Can see the issue, needs to be fixed.
Quick and dirry solution: run duckencoder from a different directory, like cd ..
python ./duckencoder.py -i ./duckencoder.py/test.duck -o test.bin -l us
Hope this works meanwhile, need some time to revisit this project and solve the issues (incorrect working dir detection in this case)
Excuse the late reply, should be fixed
Language file /resources/us.properties doesn't exist or isn't readable How to solve this problem?