Added check to not use files under 128KiB

This commit is contained in:
Uttarayan Mondal
2021-01-30 14:33:06 +05:30
parent b7f1173824
commit 59f0f213f4
2 changed files with 27 additions and 1 deletions

View File

@@ -1,6 +1,7 @@
## Drastic to MelonDS
This script will convert the dsv save from drastic emulator to a melonDS save file
This also works for desmume to MelonDS save files since desmume also seems to add padding to the end of the file.
### Usage
@@ -17,6 +18,16 @@ optional arguments:
-f, --force Overwrite the output file if it exists
```
### Install
Add it to a folder in your $PATH
```bash
install -Dm755 dr2mds.py ~/.local/bin/dr2mds
```
_For windows users just run the script from the folder_
### How to use
You need python 3 installed.
@@ -33,7 +44,7 @@ You can also specify the output like
./dr2mds.py "Pokemon Black.dsv" -o "PKMN.sav"
```
### How does this works ?
### How does this work ?
MelonDS determines the type of save using exact byte count in the save file