shijimasoft / cia-unix

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

Issue extracting ctrtool, had to download zip manually #16

Closed mroemore closed 3 months ago

mroemore commented 6 months ago

This happened on WSL Ubuntu. Here is the uname -a output: 5.15.146.1-microsoft-standard-WSL2 #1 SMP Thu Jan 11 04:09:03 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux. running dltools.sh gave the following error:

Screenshot 2024-03-11 101540

I was able to fix the issue by downloading the zip file myself using wget: wget https://github.com/3DSGuy/Project_CTR/releases/download/ctrtool-v1.2.0/ctrtool-v1.2.0-ubuntu_x86_64.zip, then re-running the shell script. Having looked at the shell script, my wget command looked identical to the one in the script, so I'm not really sure why this happened.

shijimasoft commented 6 months ago

Hello! Could you share the echo $OSTYPE output please?

mroemore commented 6 months ago

Sure thing, the output of that is just linux-gnu. Running lsb_release -a gives me this: image

mroemore commented 6 months ago

For what it's worth, the python3 version of the script was able to download and extract no problem.

mroemore commented 6 months ago

No string before that, but I don't think it's an issue with system detection per se, because unzip seems to think the file has downloaded.

I'm wondering if I just got unlucky, I have a bad internet connection so maybe the zip got corrupted while downloading.

shijimasoft commented 6 months ago

I need to investigate more, I was not able to reproduce the issue. Please try to update all linux packages with sudo apt upgrade and sudo apt update

shijimasoft commented 4 months ago

I was able to reproduce the first problem (inherent to the mv command) installing the correct WSL version and I just tried to fix the dependencies script, please let me know if it works now. Thank you :)

shijimasoft commented 3 months ago

I'm considering the issue closed, please if the problem persist reopen the issue and tag me. Thank you :)