Giter Site home page Giter Site logo

yourkalamity / lazy-dsi-file-downloader-archive Goto Github PK

View Code? Open in Web Editor NEW
79.0 4.0 6.0 27.95 MB

Automatically downloads, extracts and places files used for DSi modding

License: GNU General Public License v3.0

Python 100.00%
twilight-menu sd-card memory-pit extracts hacktoberfest dsi nintendo-ds nintendo

lazy-dsi-file-downloader-archive's Introduction

Lazy DSi file downloader (for dsi.cfw.guide)

Lazy DSi File Downloader has been deprecated, please follow the manual setup guide instead here

a screenshot of the program

Automatically downloads

  • Memory Pit
  • TWiLight Menu ++
  • dumpTool
  • Unlaunch
    • Additional homebrew and places them in the correct folders on the SD card ready for use with the dsi.cfw.guide.

Requirements:

  • An SD card

Windows

  • Windows 7+ needed to run the executable

macOS

  • macOS 10.14+ (Mojave) needed to run the executable

Python3 (Linux, macOS, Windows)

  • At least Python 3.5 with the Tkinter library

Credits

lazy-dsi-file-downloader-archive's People

Contributors

lifehackerhansol avatar rossolson avatar snbeast avatar thewesker avatar yourkalamity avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

lazy-dsi-file-downloader-archive's Issues

[BUG] - 7-zip not installed error

When I attempt to setup a SD card with the windows executable it says "7-Zip not found" even though I have 7-zip installed however it is not in the windows directory it is instead on my Desktop.

image

I am unable to move 7-zip to the windows directory.

[BUG] - PyInstaller Windows executable leads to DLL error with Py7zr

Current master branch with Py7zr (as an alternative to including 7z executables) throws an error after compiling and running.

Traceback (most recent call last): File "main.py", line 28, in <module> File "PyInstaller\loader\pyimod03_importers.py", line 540, in exec_module File "py7zr\__init__.py", line 49, in <module> File "PyInstaller\loader\pyimod03_importers.py", line 540, in exec_module File "py7zr\py7zr.py", line 41, in <module> File "PyInstaller\loader\pyimod03_importers.py", line 540, in exec_module File "py7zr\archiveinfo.py", line 35, in <module> File "PyInstaller\loader\pyimod03_importers.py", line 540, in exec_module File "py7zr\compressor.py", line 32, in <module> File "PyInstaller\loader\pyimod03_importers.py", line 540, in exec_module File "ppmd\__init__.py", line 41, in <module> ImportError: DLL load failed while importing _ppmd: %1 is not a valid Win32 application. [20012] Failed to execute script main

To Reproduce

  1. Clone repo
  2. Install PyInstaller
  3. Run pyinstaller --onefile --add-data "certifi;certifi" --add-data "requests;requests" --add-data "urllib3;urllib3" --add-data "lazy.ico;." --add-data "chardet;chardet" --icon "lazy.ico" --console --name "lazy-dsi-file-downloader-master-Windows" main.py
  4. Run the created executable

Expected behavior
Application should launch like normal

Desktop (please complete the following information):

  • OS: Windows 10
  • May require testing on other platforms

[BUG] - stuck at hiyacfw

Describe the bug
the downloader gets stuck at "hiyaCFW.7z downloaded".

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
to download files to the sd card

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Windows 10
  • Python version [if using Python]

Additional context
Add any other context about the problem here.

Doesn't account for missing trailing slash

I'm running the python script through Linux, and when selecting the folder of extraction, if there's no trailing '/' in the text box then it will freeze up halfway through because it attempts to extract to /media/user/sddumpTool.nds instead of /media/user/sd/dumpTool.nds

Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.8/threading.py", line 870, in run
    self._target(*self._args, **self._kwargs)
  File "main.py", line 232, in start
    downloadLocation = downloadFile(getLatestGitHub('zoogie/dumpTool', 0), directory)
  File "main.py", line 41, in downloadFile
    open(downloadLocation, 'wb').write(r.content)
PermissionError: [Errno 13] Permission denied: '/media/rilesmcgiles/3332-6630dumpTool.nds

Virus warning

Windows automatically removing the file. Got it to virustotal and 7 scanners reported it was a virus.

[BUG] -

Describe the bug
Following the instructions to run it on Linux Fedora 36, when it opens, the contents are bigger than the window, not resizeable using/dragging the cursor.

To Reproduce
Steps to reproduce the behavior:
1.- Extract all files in lazy-dsi-file-downloader-v3.2.3-Python3.zip
2.- Run:
pip install -r requirements.txt
Run using Python3.8 or higher :
Linux / macOS : python3 main.py

Expected behavior
The GUI and its contents should be entirely inside the window

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • Fedora 36
  • Python 3

Captura desde 2023-02-24 00-27-02

[BUG] - Unlaunch Attribute Error

Describe the bug
When downloading unlaunch it gives an attribute error

To Reproduce
Steps to reproduce the behavior:

  1. Download Unlaunch
  2. Attribute Error

Expected behavior
Download Unlaunch

Screenshots
Searching for 7-Zip in the Windows registry...
7-Zip found!
Memory Pit Downloaded
TWiLight Menu ++ Downloaded

7-Zip 21.03 beta (x64) : Copyright (c) 1999-2021 Igor Pavlov : 2021-07-20

Scanning the drive for archives:
1 file, 52064138 bytes (50 MiB)

Extracting archive: C:\Users\Carlie\AppData\Local\Temp\7zOCE29121B\lazy-dsi-file
-downloader-tmp\TWiLightMenu.7z

Path = C:\Users\Carlie\AppData\Local\Temp\7zOCE29121B\lazy-dsi-file-downloader-t
mp\TWiLightMenu.7z
Type = 7z
Physical Size = 52064138
Headers Size = 9433
Method = LZMA2:24
Solid = +
Blocks = 1

Everything is Ok

Folders: 82
Files: 837
Size: 128389484
Compressed: 52064138
TWiLight Menu ++ Extracted to C:\Users\Carlie\AppData\Local\Temp\7zOCE29121B/laz
y-dsi-file-downloader-tmp/
TWiLight Menu ++ placed in G:/
DeadSkullzJr's Cheat Database downloaded
dumpTool downloaded
File not available, skipping...
Exception in thread Thread-1:
Traceback (most recent call last):
File "threading.py", line 916, in _bootstrap_inner
File "threading.py", line 864, in run
File "main.py", line 249, in start
File "main.py", line 91, in unzipper
File "zipfile.py", line 1131, in init
File "zipfile.py", line 1194, in _RealGetContents
File "zipfile.py", line 264, in _EndRecData
AttributeError: 'NoneType' object has no attribute 'seek'

Downloading Memory Pit
Memory Pit Downloaded
Downloading TWiLight Menu ++
TWiLight Menu ++ Downloaded
TWiLight Menu ++ Extracted
TWiLight Menu ++ placed on SD
Downloading DeadSkullzJr's Cheat database
DeadSkullzJr's Cheat Database downloaded
Downloading dumpTool
dumpTool Downloaded
Downloading Unlaunch

Desktop (please complete the following information):

  • OS: Windows 8
  • Python version [if using Python]

Additional context
Add any other context about the problem here.

[BUG] - 7za missing in the compiled macOS version

Describe the bug
When on macOS 7za from the Darwin folder is used. This works when using the python files, but does not when running the executable for macOS since there is no Darwin folder next to that file.

To Reproduce
Open the macOS release version on macOS. duh

Expected behavior
The compiled version should either include the 7za in itself (usually the case in macOS executables) or the .zip file the macOS release version comes in should include the Darwin/7za folder (probably easier for now). I have tested copying the Darwin folder next to the compiled version and that works.

Desktop (please complete the following information):

  • OS: macOS Big Sur 11.0.1

I know developing on macOS can be a pain. When you need help with testing fixes I am glad to help you out.

[BUG] - Stuck after "TWiLight Menu ++ Extracted"

Describe the bug
Program seems to be stuck after "TWiLight Menu ++ Extracted"

To Reproduce
Steps to reproduce the behavior:

  1. Open program (lazy-dsi-file-downloader-v3.2.2-Windows.exe)
  2. Click on 'Next', 'Next', 'Next'
  3. Select 'Click to select folder', (select where my SD card is), Click 'Start'
  4. Terminal message:
    Downloading Memory Pit
    Memory Pit Downloaded
    Downloading TWiLight Menu ++
    TWiLight Menu ++ Downloaded
    TWiLight Menu ++ Extracted

Nothing happens after this. Waited 10+ minutes. All buttons are grayed out.

Expected behavior
No idea but maybe the 'Finish' buttons lights up and work? No idea if all needed files have been downloaded.

Desktop (please complete the following information):

  • OS: Windows 10

Additional context
Tried with 2 different SD cards. Also tried with Run as Administrator.

[BUG] - Unlaunch download is not a zip file

Describe the bug
Unlaunch download or unzip fails

To Reproduce
Steps to reproduce the behavior:

  1. Run Lazy DSi File Downloader
  2. Tell it to include Unlaunch
  3. When it reaches Unlaunch download, "Exception in thread Thread-2" ending in "zipfile.BadZipFile: File is not a zip file"

Expected behavior
Unlaunch download is successful and puts files onto SD card

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows

[BUG] - IsADirectoryError

Describe the bug
Running the python version on macOS with python3 results in an error when downloading. The error states that lazy-dsi-file-downloader-tmp is a directory (which it is).

To Reproduce
Run python3 main.py on macOS

Desktop (please complete the following information):

  • OS: macOS Big Sur 11.0.1
  • Python version: 3.9.2

Additional context
I tried using the .dmg version, but that one has issues using Darwin/7za (FileNotFound). I figured I might aswell use the uncompiled version since that one has the file I needed included.

7-Zip not found

Hello,I've been trying to use this program and have encountered an issue with 7-Zip whis IS installed on my computer.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.