Skip to content

Commit

Permalink
Did some improvements, Version bump to 0.9
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerrit Pannek committed Nov 13, 2017
1 parent f62ea48 commit 03e00b2
Show file tree
Hide file tree
Showing 6 changed files with 256 additions and 237 deletions.
7 changes: 7 additions & 0 deletions Changelog.txt → CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,10 @@ Version 0.8
- (Fixed) Filenames including spaces/special characters
- (Improved) Tool-detection in burncdi & mksdiso
- (Improved) Much minor stuff..

Version 0.9
- (Improved) A lot of code / Error-Catching / Output / ...
- (Changed) CDI/ISOs are now extracted to /tmp/mksdio_USERNAME_XXXXX
- (Changed) Output-File will be written in current working directory, if no filename is given
- (Fixed) Error when only one Session in CDI
- (Fixed) Error when 1ST_READ can't be found using "dd"
Empty file modified COPYRIGHT
100755 → 100644
Empty file.
22 changes: 17 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,32 @@ default:
@echo " package | Build debian Package"
@echo " install | install to /usr/local/bin"
@echo " clean | cleanup package build directory"
exit 0
exit 0

package:
mkdir -p $(BUILD_DIR)/usr/bin $(BUILD_DIR)/etc/mksdiso $(BUILD_DIR)/DEBIAN
mkdir -p $(BUILD_DIR)/usr/bin $(BUILD_DIR)/usr/share/mksdiso $(BUILD_DIR)/DEBIAN
cp debian/control $(BUILD_DIR)/DEBIAN/
cp bin/* $(BUILD_DIR)/usr/bin/
cp -r mksdiso/* $(BUILD_DIR)/etc/mksdiso/
sed -i 's/^DATADIR=.*/DATADIR=\/etc\/mksdiso/' $(BUILD_DIR)/usr/bin/mksdiso
cp -r mksdiso/* $(BUILD_DIR)/usr/share/mksdiso/
sed -i 's/^DATADIR=.*/DATADIR=\/usr\/share\/mksdiso/' $(BUILD_DIR)/usr/bin/mksdiso
sed -i 's/^Version:.*/Version:\ $(VERSION)/' $(BUILD_DIR)/DEBIAN/control
dpkg-deb --build $(BUILD_DIR)

# Local install, modifes mksdiso-data-path to /usr/local/share/mksdiso
install:
cp -r bin/* /usr/local/bin/
cp -r mksdiso ~/.mksdiso
sed -i 's/^DATADIR=.*/DATADIR=\/usr\/local\/share\/mksdiso/' /usr/local/bin/mksdiso
mkdir -p /usr/local/share || true
cp -r mksdiso /usr/local/share/

uninstall:
rm -r /usr/local/share/mksdiso || true
rm /usr/local/bin/mksdiso || true
rm /usr/local/bin/cdirip || true
rm /usr/local/bin/isofix || true
rm /usr/local/bin/binhack32 || true
rm /usr/local/bin/burncdi || true
rm /usr/local/bin/scramble || true

clean:
rm -r build/
67 changes: 0 additions & 67 deletions README

This file was deleted.

81 changes: 81 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
# mksdiso - Verison: 0.9
## General
This toolkit is a collection of free tools & scripts (for Linux), that can be used to create SDISO-Files which can run using Dreamshell on a Sega Dreamcast. Or burn a CDI-Image to disc.

mksdiso itself can be called the "SDISO Multimaker" for Linux.
To burn CDI-Images on Linux, there is also a included script called "burncdi".

This Git-Repository includes:
- binhack32 (IP.BIN/BOOT.BIN SB Hacker - 32bit BINHACK Clone by FamilyGuy 2010)
- isofix (ISO LBA fixer 1.3 - (C) 2001 by DeXT)
- scramble ("scrambler" for 1ST_READ.BIN)
- cdirip (Ver. 0.6.2 - (C) 2001 by DeXT - Hacked for Linux by me 2012)
- burncdi (Script for burning CDI-Files using Linux - By milksheik & me)
- mksdiso (Script to convert a Dir/CDI/ISO to Dreamshell SD-ISO format)


## Dependencies
- 7zip (for ISO extraction without need of root)
- genisoimage or mkisofs (to repack ISOs)
- wodim or cdrecord (optional for mksdiso, used for burning CDI-Files using burncdi)

### For Ubuntu/Debian:
```
$ sudo apt-get install p7zip wodim genisoimage
```

## Installation
### On Ubuntu/Debian
1. Download latest .deb-file from [Releases](https://github.com/Nold360/mksdiso/releases)
2. Install deb
```
$ sudo dpkg -i mksdiso-*-all.deb
```
3. Install dependencies
```
$ sudo apt-get -f install
```

On any other Distribution:
---------------------------------
0. Clone git repo:
```
$ git clone https://github.com/Nold360/mksdiso
$ cd mksdiso
```

1. Copy scripts & binaries into $PATH:
```
$ sudo cp ./bin/* /usr/local/bin/
```

2. Copy mksdiso folder, including required files into your home:
```
$ cp -r mksdiso ~/.mksdiso
```

4. Run mksdiso
5. Have fun! :)


## Usage
Convert (Katana) myImage.cdi to SDISO:
```
$ mksdiso -k myImage.cdi
```
Convert (Homebrew) myImage.cdi to SDISO:
```
$ mksdiso -h myImage.cdi
```
Convert (Katana) ISO to SDISO:
```
$ mksdiso -k myImage.iso
```
Pack Homebrew-Folder into SDISO:
```
$ mksdiso -h myFolder/ myGreatApp.iso
```

## Misc
Sources for all the binarys are also included.
Thanks to the creators of all these tools.
Loading

0 comments on commit 03e00b2

Please sign in to comment.