Skip to content

Commit

Permalink
Change OSB2 class to OSB, a leftover from migrating. Added difference…
Browse files Browse the repository at this point in the history
…s from original OSBExtract to README.
  • Loading branch information
biggestsonicfan committed Dec 3, 2022
1 parent 63833c8 commit d9cc885
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 20 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@ obj/
[Rr]elease*/
_ReSharper*/
[Tt]est[Rr]esult*
/.vs
2 changes: 1 addition & 1 deletion OSBExtract/MLT.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public static void Extract(string inFile, string outDir)
byte[] unknown_flag2 = reader.ReadBytes(4);
byte[] padding = reader.ReadBytes(20);
long startPos = reader.BaseStream.Position;
OSB2.Extract(startPos, inFile, outDir);
OSB.Extract(startPos, inFile, outDir);
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion OSBExtract/OSB.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using System.Linq;
using System.Text;

public static class OSB2
public static class OSB
{

public class fileIndex
Expand Down
2 changes: 1 addition & 1 deletion OSBExtract/OSBExtract.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ private static void CheckFile(string inFile)
{
Console.Write("Extracting {0}", fname);

OSB2.Extract(0, inFile, Path.Combine(dir, fnameWithoutExt));
OSB.Extract(0, inFile, Path.Combine(dir, fnameWithoutExt));

Console.WriteLine(" ... OK");
}
Expand Down
32 changes: 15 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,32 +1,30 @@
## OSBExtract

A fork from the original [OSBExtract](https://github.com/nickworonekin/OSBExtract) by [Nick Woronekin](https://github.com/nickworonekin)

A tool for extracting OSB archives from Dreamcast games. Can also extract OSBs from MLT files, and convert P04 and P16 files to WAV.

## Usage

`OSBExtract <file or directory>`

## Differences
-
- OSB files now have their data extracted in a dnyamic way.
- AMKR, NITS, PALP, EMUN, IPTC, RPCE, and ETTX metadata are successfully skipped during extraction.
- PCM class has been completely rewritten to allow customized attributes if needed.
- This will be useful in case OSB data is found to have different encodings, such as a different sample rate.

## Game Support List:

- Puyo Puyo~n - 100%
- Puyo Puyo~n - 100%

## Games With Issues:
- Most games
- Extracted audio isn't the correct speed
- Illbleed
- Seaman
- Some audio is handled incorrectly.
- Jet Set Radio
- Some audio is handled incorrectly.
- Most games
- Extracted audio isn't the correct speed
- Illbleed
- Seaman
- Some audio is handled incorrectly.
- Jet Set Radio
- Some audio is handled incorrectly.

## To Do:

- Figure out proper parsing of MLT header data
- Figure out unknown ADPCM flag meanings
- Possibly use [ADPCM by andyroodee](https://github.com/andyroodee/ADPCM) for conversion instead of builtin.
- See if possible enchancements/documentation exist to improve current codebase in the [OSBExtractJSR](https://github.com/LTSophia/OSBExtractJSR) fork.
- Figure out proper parsing of MLT header data
- Figure out unknown ADPCM flag meanings
- Possibly use [ADPCM by andyroodee](https://github.com/andyroodee/ADPCM) for conversion instead of builtin.

0 comments on commit d9cc885

Please sign in to comment.