shijimasoft / cia-unix

Decrypt CIA/3DS roms in UNIX environments (Linux and macOS)
Apache License 2.0
101 stars 12 forks source link

[SETTING ERROR] Argument "-rsf" is required #3

Closed lokxii closed 2 years ago

lokxii commented 2 years ago

When I tried to run inside a directory containing a cia file, I got this error message [SETTING ERROR] Argument "-rsf" is required log:

2022-08-01 15:40:36 UTC

Partitions extracted

btw I patched cia-unix.cr to use python3 instead of python2.7 does that matter?

shijimasoft commented 2 years ago

I tried with a newer version of python3, but the script doesn’t seem to work. Please retry with python2.7 and let me know if it works, thank you 😊

lokxii commented 2 years ago

The reason I used python3 is because python2.7 cannot find pycrypto. Also, the error seems to be caused by not passing -rsf flag to makerom. Is there a way to let python2.7 find the module?

lokxii commented 2 years ago

I am now trying to set up the environment in a container with python2.7 only. See if it works

lokxii commented 2 years ago
Screenshot 2022-08-02 at 10 08 45 AM

I have reverted all changes and still not workiing

lokxii commented 2 years ago

I did some more research and installed the correct pip for python2.7 to install pycrypto again. Now your script works! Thank You!

shijimasoft commented 2 years ago

I should update the README with more detailed instructions on how to install PyCrypto. Thanks for opening issue!