Giter Club home page Giter Club logo

sbitools's Introduction

SBITools

SBITools v0.3.2 - http://kippykip.com

Description: This is a small set of conversion tools written in BlitzMax to reconstruct .SUB files using .SBI/.LSD files, and can even convert a full BIN/CUE/SBI emulator setup into a IMG/CCD/SUB setup which can be put into popular CD Burning programs such as CloneCD. This way, LibCrypt protected games dumped in other formats can still be burned as 1:1 copies on a real Sony PlayStation console again with the LibCrypt changes fully intact. NTSC versions of the same games don't use LibCrypt and may only have early modchip detection depending on the title. These tools are ONLY intended for PlayStation disc images, there's no telling how these tools would react to standard Mode 1 PC disc images.

Requirements: psxt001z, to be in the same directory as SBITools
It can be downloaded from: http://redump.org/download/psxt001z-0.21b1.7z
Source Code: https://github.com/Dremora/psxt001z
It's pre-included in the "Releases" section for SBITools
https://github.com/Kippykip/SBITools/releases

Arguments:

SBITools.exe -cue2ccd cuefile.cue

SBITools.exe -lsd2sub cuefile.cue subchannel.lsd

SBITools.exe -lsd2sbi subchannel.lsd

SBITools.exe -sbi2sub cuefile.cue subchannel.sbi

SBITools.exe -sbi2lsd subchannel.sbi

SBITools.exe -singletrack cuefile

Argument Definitions:

-cue2ccd: Converts a 'BIN/CUE/SBI|LSD' setup into a 'IMG/CCD/CUE/SUB' setup.
    This makes burning LibCrypt games easily possible with software such
    as CloneCD. SBI/LSD files are loaded from the same directory as the .CUE
    file under the same name.
-lsd2sub: Creates a patched .SUB subchannel with a .LSD file.
-lsd2sbi: Converts a .SBI subchannel patch to a .LSD subchannel patch.
-sbi2sub: Creates a patched .SUB subchannel with a .SBI file.
-sbi2lsd: Converts a .SBI subchannel patch to a .LSD subchannel patch.
    NOTE: This cannot perfectly reconstruct the missing CRC16 bytes!
-singletrack: Converts a seperate track BIN/CUE setup into a single track BIN/CUE setup.

Notes: .SBI files do not actually contain the CRC16 needed for some LibCrypt games, however since SBITools v0.2.1, the conversion functions recreate a CRC16 the same way Mednafen does by making a false CRC16 hash with "bitwise exclusive or", as LibCrypt only checks if it's the wrong hash in order to start the game. Every LibCrypt game I own that I've tested now works fine with SBITool's SBI functions.

While this is enough to start a LibCrypt game, if you're a purist like me and want the original CRC16 bytes anyway, definitely go for .LSD files instead. They're the superior format (and I'm not sure why they weren't the standard instead of .SBI) They can be found on http://redump.org/disc/DISCID#/lsd I've bundled them all on the releases page and in the repository.

Remember to ALWAYS test games converted with the -cue2ccd function on an emulator before you burn! I personally recommend using BizHawk (which uses Mednafen) and opening the converted game from the .CCD file. Do NOT run the game in BizHawk from a .CUE file! The LibCrypt copy protection will kick in if you do that!

Upcoming

  • Add a -cdd2cue function to reverse the process, just in case.
  • Maybe even remove the need for psxt001z too as it's only used for generating blank .SUB subchannels, although it is a very useful tool to have in combination with SBITools.

Version History

Version 0.3.2
    - Modified CUESheet code to detect and fix bad AUDIO indexes. As some ReDump.org PSX dumps contain a single index for some audio tracks.
Version 0.3.1
    - Fixed a bug where CD images would not be copied if it was in the same directory as SBITools.
    - CUE2CCD.BAT and SINGLETRACK.BAT drag and drop now works if the image was dragged from another drive letter.
    - Rewrote exporting code to better support images that have multiple MODE2/2352 tracks in a single image.
- Made it more clear when .SBI/.LSD patches were not found, showing the path to expect.
Version 0.3
    - BIN/CUE setups with seperated tracks are now fully supported!
    - Renamed -SBI & -LSD to -SBI2SUB & -LSD2SUB
    - Added -singletrack conversion command, -CUE2CCD uses this automatically if necessary.
    - Added drag and drop .BAT files for -SINGLETRACK and -CUE2CCD, since they will be used the most.
    - Added -SBI2LSD and -LSD2SBI conversion functions
    - -SBI2SUB & -LSD2SUB no longer export in subfolders (since it only exports 1 file anyways.)
    - SBITools now includes all known LibCrypt LSD patches in the "LSD Patches" directory
Version 0.2.1
    - SBI Patching functions were modified to now work with every game.
    - Cleaned up a tiny bit of code in CRC16.bmx
Version 0.2
    - .SUB patch functions now also add the CD Audio track data to the subchannel. 
      Although this change now requires you to specify a .CUE file instead of a Binary file for -SBI and -LSD functions. SUB files are now exported to the \SUB directory
      in these functions too.
    - The -SBI function now recreates some of the CRC16 bytes required for handful of games,
      although still not 100% compatible.
    - Command line functions are no longer case sensitive. (oops)
    - Added -cue2ccd, which allows you to do a full burnable conversion.
Version 0.1
    - Initial release

SBI File Format Specifications

*HEADER*
[4 BYTES] SUB\0

*CONTINUOUS*
[1 BYTE] Minutes (In HEX -> Text)
[1 BYTE] Seconds (In HEX -> Text)
[1 BYTE] Frames (In HEX -> Text)
[1 BYTE] Dummy byte, always a 01 (according to psxt001z source)
[10 BYTES] QSUB Data

Example:
S   B   I   NUL MIN SEC FRA DUM [              QSUB                  ]
53  42  49  00  03  08  05  01  41  01  01  07  06  05  00  23  08  05

I'm unsure why they didn't include the modified CRC16 bytes in SBI, as it's extremely important.

LSD File Format Specifications

*CONTINUOUS*
[1 BYTE] Minutes (In HEX -> Text)
[1 BYTE] Seconds (In HEX -> Text)
[1 BYTE] Frames (In HEX -> Text)
[10 BYTES] QSUB Data
[2 BYTES] CRC-16

Example:
MIN SEC FRA [                 QSUB               ]  [CRC16]
03  08  05  41  01  01  07  06  05  00  23  08  05  38  39

LibCrypt failed check, causes and effects

Here's a list of what LibCrypt'ed games will do to the player when it realises the SubChannel data isn't correct. Obviously these aren't all the LibCrypted games (check on Redump.org for that), these are just games I've personally tested and some I've been told about. Look out for these effects when testing games modified with SBITools on an accurate PSX emulator such as BizHawk. (Run from .CCD)

Ape Escape (PAL)
Main menu navigation will be completely disabled, making you unable to start the game.

Crash Team Racing (PAL)
Game will hang once at the end of the loading screen (for the level itself).

Legacy of Kain: Soul Reaver (PAL)
The game will hang when you're introduced with the combat tutorial when the camera pans to show the enemies.

Lucky Luke: Western Fever (PAL)
The game stops when you get to the Mexican guy blocking the bridge, he just won't move from there, ever. Even when you complete the quest. The game also has anti-cracking protection where the game will block a path with a fallen tree + maybe more.

MediEvil (PAL)
Will have a disc error icon upon loading The Hilltop Mausoleum. Interesting to note this was actually the FIRST game to use LibCrypt.

MediEvil 2 (PAL)
Will also have the same disc error icon as above, except upon loading Kensington.

PGA European Tour Golf (PAL)
In the third hole of the first tournament or by selecting some holes, the game will get stuck in "demo" mode (and will not you play anything).

Resident Evil 3: Nemesis (PAL)
Will hang at the "Game contains violence and gore" screen.

Spyro 3: Year of the Dragon (PAL)
Interesting case for this one, the game will eventually randomly delete eggs, reset progress with unlocked characters, remove sheep in boss battles, change the language and even tell you off for playing a "hacked copy" + more. Interesting to note that the game also detected early LibCrypt knockout PPF patches back when the game was first released as it had checksum checks throughout the game, which caused the same effects above. The US platinum release only has anti mod detection (not libcrypt) and will do the above effects if it realises it's been modified. The original US release appears to not have any protection.

This is Football (PAL)
Hangs on the loading screen going ingame.

V-Rally: Championship Edition 2 (PAL)
The game will endlessly load on the heartbeat loading screen (with no disc activity).

Wip3out (PAL)
The game will freeze when passing the finish line.

PAL Games known with LibCrypt Protection

Actua Ice Hockey 2 (Europe)
Anstoss - Premier Manager (Germany)
Ape Escape (Europe)
Ape Escape (France)
Ape Escape (Germany)
Ape Escape (Italy)
Ape Escape - La Invasion de los Monos (Spain)
Asterix - Mega Madness (Europe) (En,Fr,De,Es,It,Nl)
Barbie - Aventure Equestre (France)
Barbie - Race & Ride (Europe)
Barbie - Race & Ride (Germany)
Barbie - Race & Ride (Italy)
Barbie - Race & Ride (Spain)
Barbie - Sports Extreme (France)
Barbie - Super Sport (Germany)
Barbie - Super Sports (Europe)
Barbie - Super Sports (Italy)
Barbie - Super Sports (Spain)
BDFL Manager 2001 (Germany)
BDFL Manager 2002 (Germany)
Canal+ Premier Manager (Europe) (Fr,Es,It)
Crash Bash (Europe) (En,Fr,De,Es,It)
CTR - Crash Team Racing (Europe) (En,Fr,De,Es,It,Nl) (EDC)
CTR - Crash Team Racing (Europe) (En,Fr,De,Es,It,Nl) (No EDC)
Dino Crisis (Europe)
Dino Crisis (France)
Dino Crisis (Germany)
Dino Crisis (Italy)
Dino Crisis (Spain)
Disney Fais Ton Histoire! - Mulan (France)
Disney Libro Animato Creativo - Mulan (Italy)
Disney Tarzan (France)
Disney Tarzan (Spain)
Disney's 102 Dalmatians - Puppies to the Rescue (Europe) (Fr,De,Es,It,Nl)
Disney's 102 Dalmatians - Puppies to the Rescue (Europe)
Disney's Aventura Interactiva - Mulan (Spain)
Disney's Story Studio - Mulan (Europe)
Disney's Tarzan (Europe)
Disney's Tarzan (Netherlands)
Disney's Tarzan (Sweden)
Disney's Verhalenstudio - Mulan (Netherlands)
Disneys Interaktive Abenteuer - Mulan (Germany)
Disneys Tarzan (Germany)
Disneys Tarzan (Italy)
EA Sports Superbike 2000 (Europe) (En,Fr,De,Es,It,Sv)
Eagle One - Harrier Attack (Europe) (En,Fr,De,Es,It)
Esto es Futbol (Spain)
F.A. Premier League Football Manager 2001, The (Europe)
F1 2000 (Europe) (En,Fr,De,Nl)
F1 2000 (Italy)
Final Fantasy IX (Europe) (Disc 1)
Final Fantasy IX (Europe) (Disc 2)
Final Fantasy IX (Europe) (Disc 3)
Final Fantasy IX (Europe) (Disc 4)
Final Fantasy IX (France) (Disc 1)
Final Fantasy IX (France) (Disc 2)
Final Fantasy IX (France) (Disc 3)
Final Fantasy IX (France) (Disc 4)
Final Fantasy IX (Germany) (Disc 1)
Final Fantasy IX (Germany) (Disc 2)
Final Fantasy IX (Germany) (Disc 3)
Final Fantasy IX (Germany) (Disc 4)
Final Fantasy IX (Italy) (Disc 1)
Final Fantasy IX (Italy) (Disc 2)
Final Fantasy IX (Italy) (Disc 3)
Final Fantasy IX (Italy) (Disc 4)
Final Fantasy IX (Spain) (Disc 1)
Final Fantasy IX (Spain) (Disc 2)
Final Fantasy IX (Spain) (Disc 3)
Final Fantasy IX (Spain) (Disc 4)
Final Fantasy VIII (Europe, Australia) (Disc 1)
Final Fantasy VIII (Europe, Australia) (Disc 2)
Final Fantasy VIII (Europe, Australia) (Disc 3)
Final Fantasy VIII (Europe, Australia) (Disc 4)
Final Fantasy VIII (France) (Disc 1)
Final Fantasy VIII (France) (Disc 2)
Final Fantasy VIII (France) (Disc 3)
Final Fantasy VIII (France) (Disc 4)
Final Fantasy VIII (Germany) (Disc 1)
Final Fantasy VIII (Germany) (Disc 2)
Final Fantasy VIII (Germany) (Disc 3)
Final Fantasy VIII (Germany) (Disc 4)
Final Fantasy VIII (Italy) (Disc 1)
Final Fantasy VIII (Italy) (Disc 2)
Final Fantasy VIII (Italy) (Disc 3)
Final Fantasy VIII (Italy) (Disc 4)
Final Fantasy VIII (Spain) (Disc 1)
Final Fantasy VIII (Spain) (Disc 2)
Final Fantasy VIII (Spain) (Disc 3)
Final Fantasy VIII (Spain) (Disc 4)
Football Manager Campionato 2001 (Italy)
Formula One 99 (Europe) (En,Es,Fi)
Formula One 99 (Europe) (En,Fr,De,It)
Frontschweine (Germany)
Fussball Live (Germany)
Fussball Manager 2001 (Germany)
Galerians (Europe) (Disc 1)
Galerians (Europe) (Disc 2)
Galerians (Europe) (Disc 3)
Galerians (France) (Disc 1)
Galerians (France) (Disc 2)
Galerians (France) (Disc 3)
Galerians (Germany) (Disc 1)
Galerians (Germany) (Disc 2)
Galerians (Germany) (Disc 3)
Gekido - Urban Fighters (Europe) (En,Fr,De,Es,It)
Hogs of War (Europe)
Italian Job, The (Europe)
Italian Job, The (Germany)
Jackie Chan Stuntmaster (Europe)
Le Mans 24 Hours (Europe) (En,Fr,De,Es,It,Pt)
Legacy of Kain - Soul Reaver (Europe)
Legacy of Kain - Soul Reaver (France)
Legacy of Kain - Soul Reaver (Germany)
Legacy of Kain - Soul Reaver (Italy)
Legacy of Kain - Soul Reaver (Spain)
Les Cochons de Guerre (France)
LMA Manager 2001 (Europe)
LMA Manager 2002 (Europe)
Lucky Luke - Western Fever (Europe) (En,Fr,De,Es,It,Nl)
MediEvil (Europe)
MediEvil (France)
MediEvil (Germany)
MediEvil (Italy)
MediEvil (Spain)
MediEvil 2 (Europe) (En,Fr,De)
MediEvil 2 (Europe) (Es,It,Pt)
MediEvil 2 (Russia)
Men in Black - The Series - Crashdown (Europe)
Men in Black - The Series - Crashdown (France)
Men in Black - The Series - Crashdown (Germany)
Men in Black - The Series - Crashdown (Italy)
Men in Black - The Series - Crashdown (Spain)
Michelin Rally Masters - Race of Champions (Europe) (En,De,Sv)
Michelin Rally Masters - Race of Champions (Europe) (Fr,Es,It)
Mike Tyson Boxing (Europe) (En,Fr,De,Es,It)
Mission - Impossible (Europe) (En,Fr,De,Es,It)
MoHo (Europe) (En,Fr,De,Es,It)
Monde des Bleus, Le - Le jeu officiel de l'equipe de France (France)
N-Gen Racing (Europe) (En,Fr,De,Es,It)
Need for Speed - Porsche 2000 (Europe) (En,De,Sv)
Need for Speed - Porsche 2000 (Europe) (Fr,Es,It)
Parasite Eve II (Europe) (Disc 1)
Parasite Eve II (Europe) (Disc 2)
Parasite Eve II (France) (Disc 1)
Parasite Eve II (France) (Disc 2)
Parasite Eve II (Germany) (Disc 1)
Parasite Eve II (Germany) (Disc 2)
Parasite Eve II (Italy) (Disc 1)
Parasite Eve II (Italy) (Disc 2)
Parasite Eve II (Spain) (Disc 1)
Parasite Eve II (Spain) (Disc 2)
PGA European Tour Golf (Europe) (En,De)
Premier Manager 2000 (Europe)
Prince Naseem Boxing (Europe) (En,Fr,De,Es,It)
Radikal Bikers (Europe) (En,Fr,De,Es,It)
RC Revenge (Europe) (En,Fr,De,Es)
Resident Evil 3 - Nemesis (Europe)
Resident Evil 3 - Nemesis (France)
Resident Evil 3 - Nemesis (Germany)
Resident Evil 3 - Nemesis (Ireland)
Resident Evil 3 - Nemesis (Italy)
Resident Evil 3 - Nemesis (Spain)
Ronaldo V-Football (Europe) (De,Es,It,Pt)
Ronaldo V-Football (Europe) (En,Fr,Nl,Sv)
SaGa Frontier 2 (Europe)
SaGa Frontier 2 (France)
SaGa Frontier 2 (Germany)
SnoCross Championship Racing (Europe) (En,Fr,De,Es,It)
Space Debris (Europe)
Space Debris (France)
Space Debris (Germany)
Space Debris (Italy)
Speed Freaks (Europe)
Spyro - Year of the Dragon (Europe) (En,Fr,De,Es,It) (v1.0)
Spyro - Year of the Dragon (Europe) (En,Fr,De,Es,It) (v1.1)
Spyro 2 - Gateway to Glimmer (Europe) (En,Fr,De,Es,It)
Sydney 2000 (Europe)
Sydney 2000 (France)
Sydney 2000 (Germany)
Sydney 2000 (Spain)
TechnoMage - De Terugkeer der Eeuwigheid (Netherlands)
TechnoMage - Die Rueckkehr der Ewigkeit (Germany)
TechnoMage - En Quete de L'Eternite (France)
TechnoMage - Return of Eternity (Europe)
Theme Park World (Europe) (En,Fr,De,Es,It,Nl,Sv)
This Is Football (Europe) (Fr,Nl)
This Is Football (Europe)
This Is Football (Italy)
TOCA World Touring Cars (Europe) (En,Fr,De)
TOCA World Touring Cars (Europe) (Es,It)
UEFA Euro 2000 (Europe)
UEFA Euro 2000 (France)
UEFA Euro 2000 (Germany)
UEFA Euro 2000 (Italy)
UEFA Striker (Europe) (En,Fr,De,Es,It,Nl)
Urban Chaos (Europe) (En,Es,It)
Urban Chaos (Germany)
V-Rally - Championship Edition 2 (Europe) (En,Fr,De)
Vagrant Story (Europe)
Vagrant Story (France)
Vagrant Story (Germany)
Walt Disney World Quest - Magical Racing Tour (Europe) (En,Fr,De,Es,It,Nl,Sv,No,Da)
Wip3out (Europe) (En,Fr,De,Es,It)

CloneCD PSX LibCrypt Ripping guide

In order to rip LibCrypt protected drives, you need a CD drive that's able to read subchannels in the first place.

Step 1: Open up CloneCD and click on Read to Image file
Read to Image file

Step 2: Click on the drive you want to use to rip.
Copy from CD-Reader to Image file\

Step 3: Right click in an empty space and select New Rename it to anything you like, I just name mine PS1.
New Profile

Step 4: Right click on your new profile and select Edit Make sure Read SubChannel Data from Data Tracks is checked, and uncheck Regenerate Data Sectors.
Data Read Settings
On the Audio Read Settings tab, change your Audio Extraction Quality is set to Best (Slowest) Optionally you can also set Read Speed Audio to something slow to ensure accuracy.
Audio Read Settings
If you want to make sure you have a perfect rip, on the Error Handling tab, check Abort on Read Error. CloneCD will stop the rip if it finds any bad sectors (basically physical damage) on the disc.

Step 5: Change the path to where you would like to save, and you can optionally tick Create "Cue-Sheet". I personally check this option so I can always easily hand convert a .IMG/.CUE setup into a more common .BIN/.CUE setup if I really need to. You can easily do so by renaming the .IMG extension to .BIN (identical format), then editing the .CUE file in a text editor to change the path to the newly renamed .BIN file.
Note! - It's a bad idea to do this to LibCrypt protected games, as a BIN/CUE setup cannot read .SUB subchannel files! Making any LibCrypt protected game trigger it's protection!
Select Image Path

Step 6: Wait for it to finish ripping and if there's no bad sectors, you should have a working dump! You can test to see if your LibCrypt dump works by launching an accurate PlayStation emulator (I use BizHawk) and opening the .CCD file in the emulator.
Opening the .CDD dump
Test whether the LibCrypt protection is triggered, if it isn't then Congrats! You have made a successful LibCrypt Dump!
Resident Evil 3 Title Screen

If you intentionally want to trigger the LibCrypt protection, you can do so by opening the .CUE file instead of the .CCD which is an easy way for testing.
Opening the .CUE dump
LibCrypt Copy Protection in Action

CloneCD PSX LibCrypt Burning guide

To burn LibCrypt games successfully, you will need to have a CD burner that supports either RAW-DAO-16 or RAW-SAO-16. You can check for so in Step 3.

Step 1: Select Write from ImageFile
Write from ImageFile

Step 2: Open the file via the .CCD file, and leave Delete after a successful write unchecked of course.
Opening the .CCD file
MAKE ABSOLUTELY SURE YOU DO NOT BURN FROM A .CUE FILE!
Doing so WILL trigger the LibCrypt copy protection! Only open it from the .CCD file! Also make absolutely sure that there's a .SUB file under the same name and located in the same folder like so:
SUB file
If there's no .SUB, or if you burn from the .CUE file then the LibCrypt copy protection will trigger and you'll burn a coaster!

Step 3: Be sure to note what your CD Burner supports. Most nowadays support both RAW-DAO and RAW-SAO.
RAW Modes
To change it, right click on the CD drive you want to burn from, and click on Settings ...
Drive Settings
And depending what your drive supports above, select either RAW DAO or RAW SAO. If your drive supports both modes, then just use RAW DAO.
Write Mode
Whatever you do, do NOT select RAW SAO+SUB or plain SAO, it will trigger the LibCrypt protection and you'll burn a coaster instead!

Step 4: Change the write speed as low as you can go, the Sony PlayStation reads at 2X so it's a good idea to write at that speed. I usually burn at 4X as it reads just fine. However most drives can only burn as slow as 16X nowadays, for the most part this works just fine but definitely don't go above that. Otherwise the PlayStation will have trouble reading the disc and will skip on FMVs.

Step 5: Create a new profile (or edit the existing PS1 profile if you followed the CloneCD PSX LibCrypt Ripping guide)
Edit a profile

And be absolutely sure to check Don't Repair SubChannel Data! If you don't then CloneCD will ruin the LibCrypt SubChannel by repairing it which of course will result in the copy protection being triggered where you'll end up with a coaster. Sony's LibCrypt copy protection works by corrupting certain parts of the SubChannel in the first place, it checks whether they're modified or not, and if it isn't modified exactly, then it will trigger the protection.
TL;DR: check this box.
Don't repair SubChannel data
Click OK in this menu and click OK on the main screen with this edited profile selected and it'll begin burning.

Step 6: After the disc is burned, try it in a modded Sony PlayStation and hope for the best, cross fingers! If it works then HOORAY!
A burned copy of MediEvil protected level running on a real Sony PlayStation

If it doesn't work, you can try changing between RAW DAO and RAW SAO (if your drive supports both), also be sure you followed all the above instructions exactly. If it still doesn't work, check in an emulator such as BizHawk to make sure the .CCD/.SUB setup you're burning even works in the first place. If the protection triggers in the emulator, then there's your problem.
LibCrypt protection in action
If that's not the problem and you're still burning coasters, then I'm sorry to say but your CD Burner is not burning the SubChannels exactly the same way they were ripped. You will have to try it on another CD burner. Based on personal experience, I find the HP LightScribe CD burners burn Sony PlayStation games really well.

If you manage to get one of these, then you have a completely different problem.
Anti-Modchip screen
In order to fix this, you will have to upgrade the modchip in your Sony PlayStation to one with stealth capabilities.

The MultiMode 3 (MM3) is the best choice in my opinion, as it supports every PlayStation model out there EXCEPT the PAL PSone Slim. If you have one of those, you'll need a ONEChip instead. If you need a guide on how to wire and even make your own modchip, I've got another git with modchip HEX files and diagrams
Alternatively, there is a DIY open source modchip that uses an Arduino. The project is called PSNee and is on github as well.

Additional Credits and Sources:

qnorsten: For creating a script to grab all .LSD files from ReDump.org
LoStraniero91, krHACKen: For explaining some LibCrypt cause and effects.
dizzzy: For general assistance/important emulator advice.
themabus: SBI Format and XOR information on a forum thread.
Mednafen: Workaround for using SBI files without the original CRC16 bytes, and CRC16 function.
Dremora: Explanation and whereabouts of .LSD files, creator of psxt001z
And everyone else at the ReDump team!
PSX RAW-DAO/RAW-SAO Information

Support:

I really do hope you enjoy SBITools as much as I did making it! If you support the work I've put in, and want me to see more of these type of projects, you can support me with donations. I'd gladly appreciate it! OH BOI

KO-FI!!!:
http://ko-fi.com/kippykip

Patreon http://patreon.com/Kippykip

sbitools's People

Contributors

cgarz avatar kippykip 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

sbitools's Issues

[Request] Script to download .lsd files from Redump.org

As Redump.org don't offer an easy way to download all the .lsd files in their database the way that they offer for .sbi files, can you please share the script by qnorsten that you mentioned in the README can download all the .lsd files from Redump.org

CUE files not correctly generated when using -singletrack function

I was trying to convert to singletrack the game "Breath of Fire IV (USA)" from latest Redump set. It contains:

Breath of Fire IV (USA) (Track 1).bin
Breath of Fire IV (USA) (Track 2).bin
Breath of Fire IV (USA).cue

Cue file content:

FILE "Breath of Fire IV (USA) (Track 1).bin" BINARY
TRACK 01 MODE2/2352
INDEX 01 00:00:00
FILE "Breath of Fire IV (USA) (Track 2).bin" BINARY
TRACK 02 MODE2/2352
INDEX 01 00:00:00

Drag and drop "Breath of Fire IV (USA).cue" to "singletrack.bat" generates the files:

Breath of Fire IV (USA).bin
Breath of Fire IV (USA).cue

Resulting cue file content:

FILE "Breath of Fire IV (USA).bin" BINARY
TRACK 1 MODE2/2352
INDEX 1 00:00:00
INDEX 1 61:00:63

The resulting Cue file format is not valid, track 2 is missing, and does not load in many programs (CDMage for example). They give error in index statement.

The more correct format to output such a CUE file would be:

FILE "Breath of Fire IV (USA).bin" BINARY
TRACK 01 MODE2/2352
INDEX 01 00:00:00
TRACK 02 MODE2/2352
INDEX 01 60:58:63

Best regards.

Newbie here! Can't launch sbitools

Hi there,
I'm trying to launch sbitools.exe but the prompt says that it is not a known command.
Can someone explain to me step by step what to do to make it work ?
Thanks a lot

Batch converting files from CUE to CCD

I have found SBITools very helpful for converting redump quality images into CCD format for ODEs.

However converting an entire repository of 700+ CD ROM images into CCD format is a bit cumbersome to perform by hand.

Can you implement support for batch image processing in cue2ccd?

SBITools cannot process certain cue files

The following cue file is declared invalid in SBITools. similar cue files also have problems. Common thread appears to be a single binary with multiple indexes

CATALOG 0000000000000
FILE "Dark Legend (USA) (Track 01).bin" BINARY
TRACK 01 MODE1/2352
INDEX 01 00:00:00
FILE "Dark Legend (USA) (Track 02).bin" BINARY
TRACK 02 AUDIO
INDEX 00 00:00:00
INDEX 01 00:01:74
FILE "Dark Legend (USA) (Track 03).bin" BINARY
TRACK 03 AUDIO
INDEX 00 00:00:00
INDEX 01 00:02:00
FILE "Dark Legend (USA) (Track 04).bin" BINARY
TRACK 04 AUDIO
INDEX 00 00:00:00
INDEX 01 00:02:00
FILE "Dark Legend (USA) (Track 05).bin" BINARY
TRACK 05 AUDIO
INDEX 00 00:00:00
INDEX 01 00:02:00
FILE "Dark Legend (USA) (Track 06).bin" BINARY
TRACK 06 AUDIO
INDEX 00 00:00:00
INDEX 01 00:02:00
FILE "Dark Legend (USA) (Track 07).bin" BINARY
TRACK 07 AUDIO
INDEX 00 00:00:00
INDEX 01 00:02:00
FILE "Dark Legend (USA) (Track 08).bin" BINARY
TRACK 08 AUDIO
INDEX 00 00:00:00
INDEX 01 00:02:00
FILE "Dark Legend (USA) (Track 09).bin" BINARY
TRACK 09 AUDIO
INDEX 00 00:00:00
INDEX 01 00:02:00
FILE "Dark Legend (USA) (Track 10).bin" BINARY
TRACK 10 AUDIO
INDEX 00 00:00:00
INDEX 01 00:02:00
FILE "Dark Legend (USA) (Track 11).bin" BINARY
TRACK 11 AUDIO
INDEX 00 00:00:00
INDEX 01 00:02:00
FILE "Dark Legend (USA) (Track 12).bin" BINARY
TRACK 12 AUDIO
INDEX 00 00:00:00
INDEX 01 00:02:00
FILE "Dark Legend (USA) (Track 13).bin" BINARY
TRACK 13 AUDIO
INDEX 00 00:00:00
INDEX 01 00:02:00
FILE "Dark Legend (USA) (Track 14).bin" BINARY
TRACK 14 AUDIO
INDEX 00 00:00:00
INDEX 01 00:02:00
FILE "Dark Legend (USA) (Track 15).bin" BINARY
TRACK 15 AUDIO
INDEX 00 00:00:00
INDEX 01 00:02:00
FILE "Dark Legend (USA) (Track 16).bin" BINARY
TRACK 16 AUDIO
INDEX 00 00:00:00
INDEX 01 00:02:00
FILE "Dark Legend (USA) (Track 17).bin" BINARY
TRACK 17 AUDIO
INDEX 00 00:00:00
INDEX 01 00:02:00
FILE "Dark Legend (USA) (Track 18).bin" BINARY
TRACK 18 AUDIO
INDEX 00 00:00:00
INDEX 01 00:02:00
FILE "Dark Legend (USA) (Track 19).bin" BINARY
TRACK 19 AUDIO
INDEX 00 00:00:00
INDEX 01 00:02:00
FILE "Dark Legend (USA) (Track 20).bin" BINARY
TRACK 20 AUDIO
INDEX 00 00:00:00
INDEX 01 00:02:00
FILE "Dark Legend (USA) (Track 21).bin" BINARY
TRACK 21 AUDIO
INDEX 00 00:00:00
INDEX 01 00:02:00
FILE "Dark Legend (USA) (Track 22).bin" BINARY
TRACK 22 AUDIO
INDEX 00 00:00:00
INDEX 01 00:02:00
FILE "Dark Legend (USA) (Track 23).bin" BINARY
TRACK 23 AUDIO
INDEX 00 00:00:00
INDEX 01 00:02:00
FILE "Dark Legend (USA) (Track 24).bin" BINARY
TRACK 24 AUDIO
INDEX 00 00:00:00
INDEX 01 00:02:00
FILE "Dark Legend (USA) (Track 25).bin" BINARY
TRACK 25 AUDIO
INDEX 00 00:00:00
INDEX 01 00:02:00
FILE "Dark Legend (USA) (Track 26).bin" BINARY
TRACK 26 AUDIO
INDEX 00 00:00:00
INDEX 01 00:02:00
FILE "Dark Legend (USA) (Track 27).bin" BINARY
TRACK 27 AUDIO
INDEX 00 00:00:00
INDEX 01 00:02:00
INDEX 02 00:10:17

Improper cue file generated when Track 2 is MODE2 instead of AUDIO

I've run across a possible issue with handling of cue files for a very small number of PSX games, while prepping my collection for use with both emulators and PS-IO.

Using the game Constructor (Europe) as an example, the ReDump cue is:

FILE "Constructor (Europe) (En,Fr,De,Es) (Track 1).bin" BINARY
TRACK 01 MODE2/2352
INDEX 01 00:00:00
FILE "Constructor (Europe) (En,Fr,De,Es) (Track 2).bin" BINARY
TRACK 02 MODE2/2352
INDEX 00 00:00:00
INDEX 01 00:02:00

Using something like binmerge against the ReDump split files creates a bin file that matches the Total CRC on the ReDump page, and produces this cuesheet:

FILE "Constructor (Europe).bin" BINARY
TRACK 01 MODE2/2352
INDEX 01 00:00:00
TRACK 02 MODE2/2352
INDEX 00 18:07:34
INDEX 01 18:09:34

Using SBITools against the ReDump split files creates a img file that matches the Total CRC on the ReDump page, however it produces this cuesheet instead:

FILE "Constructor (Europe).img" BINARY
TRACK 1 MODE2/2352
INDEX 1 00:00:00
TRACK 2 MODE2/2352
INDEX 0 18:07:34
TRACK 2 MODE2/2352
INDEX 1 18:07:34

So far, I've noted this behavior in:
Constructor (EU)
Perfect Assassin (EU)
Street Fighter Alpha 2 (EU)
Street Fighter Collection (Disc 2) (EU)

CUE file: Add "Track mode" line to the Track 1 when that it's DATA

This utility became very useful for converting the Sega Saturn's BIN/CUE images to CCD/IMG/SUB/CUE to properly use with the Saturn's ODE emulator Fenrir-ODE (loading games through SDCard and over Network with the Wifi WIP). The only downbreak it's about the created CUE file. The information of the "TRACK MODE" at the first track (data track MODE1/2352) it's not declared. The workaround it's manually opening the created CUE file with some text editor and adding the kind for the TRACK 1. Details below:

Command:

sbitools.exe -cue2ccd "Alien Triology (USA).cue"

Behavior:
The cue file it's generated like bellow:

FILE "Alien Trilogy (USA).img" BINARY
    INDEX 1 00:00:00
  TRACK 2 AUDIO
    INDEX 0 11:58:50
    INDEX 1 12:00:50
...

Expected:

FILE "Alien Trilogy (USA).img" BINARY
    TRACK 1 MODE1/2352
    INDEX 1 00:00:00
  TRACK 2 AUDIO
    INDEX 0 11:58:50
    INDEX 1 12:00:50
...

Regards

EXCEPTION_ACCESS_VIOLATION [SLES-02352]

Received the below error using the CUE2CCD batch on South Park Rally [SLES-02352]

CUE sheet matches the one on ReDUMP.org: http://redump.org/disc/29574/

Running this through SINGLETRACK in advance, the generated CUE sheet has:
TRACK 45 AUDIO INDEX 0 45:03:61 INDEX 1 45:05:61 INDEX 1 45:14:23 TRACK 47 AUDIO INDEX 0 45:20:01 INDEX 1 45:22:01

I suspect the problem is with the cue sheet rather than SBITools, but I'm just looking to confirm that.

Untitled

Exception_Access_Violation error

I got regular Exception_Access_Violation errors while running SBITools on large group of folders. These exceptions would stop the batch processing until clicked, slowing down the process. I wasn't able to detect any issues with the conversions that were stopped by this error though.

Error loading subchannel

I can't create a .ccd file because everytime this message appears. Tested on Win 7 and 10 with/without Admin.
Log:
SBITools v0.3.1 - http://kippykip.com
Exporting to: 'CCD\Spyro.SUB'.
Creating CCD file
Writing CCD headers
Writing CCD Entries
Writing TRACK info
Done writing CCD!
Copying image (This will take a moment)
Creating modified CUE
Done writing CUE!
Generating blank .SUB with psxt001z
LibCrypt patch 'Spyro.lsd' was found! Patching subchannel...
Error loading subchannel!Drücken Sie eine beliebige Taste . . .

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.