Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
The main server is currently down. We are running on a backup server, so editing and search functionality are temporarily disabled. Please check back in a few hours.

Sky3DS DiskWriter Python Clone 3DS: Difference between revisions

From GameBrew
No edit summary
No edit summary
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Infobox-3DS-Homebrews
{{Infobox 3DS Homebrews
| title = sky3ds diskwriter python clone linux
|title=sky3ds.py
| image = https://dlhb.gamebrew.org/3dshomebrew/sky3dsdiskwriterpython.jpg|250px
|image=3dspc.png
| type = PC Utilities
|description=Sky3DS DiskWriter Python Clone (for Linux and OSX).
| version=2015
|author=lukas_2511
| lastupdated = 2015/01/04
|lastupdated=2015/01/04
| licence = Mixed
|type=ROM Managers and Patchers
| author = lukas_2511
|version=2015
| website = https://gbatemp.net/threads/sky3ds-diskwriter-python-clone-for-linux-osx.377700/
|license=Mixed
| download = https://dlhb.gamebrew.org/3dshomebrew/sky3dsdiskwriterpython.rar
|download=https://dlhb.gamebrew.org/3dshomebrews/sky3ds.py.zip
| source = https://github.com/lukas2511/sky3ds.py
|website=https://gbatemp.net/threads/sky3ds-diskwriter-python-clone-for-linux-osx.377700
|source=https://github.com/lukas2511/sky3ds.py
}}
}}
<youtube>cKMX1lHQO08</youtube>
This is a Python cli clone of Sky3DS DiskWriter, written for Linux and OSX machines.


Hey there,
Note that there may be some flaws so use with caution.


I'm currently working on a Python version of DiskWriter to be able to use it on Linux and OSX machines.
==User guide==
This requires Python 3 to use, and it depends on [https://github.com/coagulant/progressbar-python3 python-progressbar] and the appdirs package.


Not sure if anyone attempted this before, I wasn't able to find much information on how DiskWriter stores data to the sd-card, so I had to figure out most by just looking at hexdumps of my sd-card.
See also [https://gbatemp.net/threads/sky3ds-diskwriter-python-clone-for-linux-osx.377700/post-5612828 this guide by fspaniol].


The tool is actually already working. Under OSX it can't detect the disksize (yet), but I am working on that. If you know how to do things in python you can hardcode the size and this tool will work!
===Switches===
{| class="wikitable" style="width: 800px;"
|-
!style="width: 20%;"|Short
!style="width: 30%;"|Long
!style="width: 50%;"|Description
|-
| -h||--help||Show help message
|-
| -d sdcard||--disk sdcard||Path to Sky3DS sdcard (e.g. /dev/mmcblk0)
|-
| -l||--list||List roms on sdcard
|-
| -w rom.3ds||--write rom.3ds||Write rom to sdcard
|-
| -b rom.3ds||--backup rom.3ds||Backup rom from sdcard
|-
| -r #slot||--remove #slot||Remove game in specified slot
|-
| -W save.sav||--write-savegame save.sav||Write savegame backup to sdcard
|-
| -B save.sav||--backup-savegame save.sav||Backup savegame from sdcard
|-
| -s #slot||--slot #slot||Slot (required for --backup and --backup-savegame)
|-
| -f||--format||Format sdcard
|-
| -c||--confirm-format||Confirm format sdcard
|-
| -u||--update||Update title database (game titles, not template.txt)
|-
|}


Things I still want to improve: 3dz unique-id import (instead of using the data from template.txt), unique-id re-import on savegame import. Both should be relatively easy, I just didn't really need those features yet, so I didn't do that work.
Slot IDs may be retrieved with the --list option. Keep in mind that Slot IDs may change after deleting a game.
 
==External links==
* GitHub - https://github.com/lukas2511/sky3ds.py
* GBAtemp - https://gbatemp.net/threads/sky3ds-diskwriter-python-clone-for-linux-osx.377700

Latest revision as of 13:50, 6 July 2024

sky3ds.py
General
Authorlukas_2511
TypeROM Managers and Patchers
Version2015
LicenseMixed
Last Updated2015/01/04
Links
Download
Website
Source

This is a Python cli clone of Sky3DS DiskWriter, written for Linux and OSX machines.

Note that there may be some flaws so use with caution.

User guide

This requires Python 3 to use, and it depends on python-progressbar and the appdirs package.

See also this guide by fspaniol.

Switches

Short Long Description
-h --help Show help message
-d sdcard --disk sdcard Path to Sky3DS sdcard (e.g. /dev/mmcblk0)
-l --list List roms on sdcard
-w rom.3ds --write rom.3ds Write rom to sdcard
-b rom.3ds --backup rom.3ds Backup rom from sdcard
-r #slot --remove #slot Remove game in specified slot
-W save.sav --write-savegame save.sav Write savegame backup to sdcard
-B save.sav --backup-savegame save.sav Backup savegame from sdcard
-s #slot --slot #slot Slot (required for --backup and --backup-savegame)
-f --format Format sdcard
-c --confirm-format Confirm format sdcard
-u --update Update title database (game titles, not template.txt)

Slot IDs may be retrieved with the --list option. Keep in mind that Slot IDs may change after deleting a game.

External links

Contents

Advertising: