TurboRip v1.42: The PC Engine/TG-16 CD ISO/WAV/CUE Ripper [2019]!

Started by NightWolve, 04/19/2006, 06:49 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

NightWolve

Updated: ?/??/2019!
Version: 1.42

:bonkthis: Windows 95/98/ME/NT4/2K/XP/Vista/7/8/10 tested/approved! :bonkthis:

The Demo Shots:

IMG
IMG
IMG
IMG
IMG

The Introduction:

Quote
 
   I got the idea for this program some time after working on my translation
   project for "Ys IV: The Dawn of Ys" and releasing the first patch. It was
   based on many factors, one of them being that a project member was planning
   on creating English dubs for the Japanese audio tracks used in the game. Now
   to replace those audio tracks with English replacements, one would need to
   rip their Ys IV disc in a special way. The required image format is what's
   referred to as ISO/WAV/CUE. In this format, unlike formats such as CDRWIN's
   BIN/CUE, Nero's NRG, or Alcohol 120%'s MDS, etc., every track file is ripped
   to a separate file when dealing with a mixed mode CD (which is what all
   PC Engine/TG-16 CDs are). This has many advantages, since audio tracks are
   ripped to wave files, they can individually be compressed by special audio
   compression programs to greatly reduce the storage space required.

   So anyway, the purpose of this program is to rip/extract any PC Engine/TG-16
   CD-ROM that you might have directly into an ISO/WAV/CUE image format. It
   will guarantee the same size of every track file across all CD-ROM devices
   because it will enforce the PRE/POST-GAP rules for transitions between track
   types, something even GoldenHawk's CDRWIN program will not do, nor any other
   professional software of that nature. I wanted a perfect extraction of every
   track so every ISO and WAV file will come out to be the same size on every
   machine out there. So eliminating size inconsistencies in ripping results is
   another reason why I felt this program needed to exist.

   While this program is intended for use with PC Engine/TG-16 discs, it can
   also detect and rip MODE2/2352 discs such as CD-I/PlayStation ones. So it is
   a general purpose command-line ripping program for various discs. But here's
   the neat thing that makes it unique to PC Engine/TG-16 discs: This program
   is compiled with a TOC Database of all PC Engine/TG-16 discs, so when you
   insert an original PC Engine/TG-16 disc, it'll detect and verify its
   authenticity and use the default title stored within to name the track
   files. You'll see what I mean after you try the program and it correctly
   names the image based on the disc you inserted.

   So, what else can TurboRip do for you? It can produce an ISO/MP3 image
   archive that is ready for use on Sony's PSP portable system with the PCEP
   emulator or even X-BOX's Hugo-X emulator. If you have an audio CD, you can
   just use the /mp3 parameter, set the bitrate and a few other controls, and
   it'll rip just audio tracks. It should be faster than anything commercial
   software has to offer for audio extraction to boot! I also added support for
   the Monkey's Audio codec for lossless image backups too. If the initial
   release of this application is well received by the community, I will add
   support for more audio codecs such as OGG, and possibly FLAC.

   Well, good luck, and do lemme know how this program works out for you!

   - NightWolve
The Features/Version History/Change Log (really):

QuoteVersion 1.42 (X/XX/2019):

 + Update: The basic /normalize feature was revisited and improved. The main
   loop for processing a WAVE file was rewritten in pure x86 Assembly, the
   volume multiplier precision was increased from a 4-byte float variable to
   an 8-byte double, switched to faster float-to-int rounding, and even more
   speed was achieved by skipping zero/null/silent 16-bit samples (an obvious
   no-brainer, previously every 16-bits of a WAVE were read/written blindly).

 + Bug fix: The /xbox option produced a CUE file with wrong MP3 filenames...
   Thanks to pceslayer @ PCEngine-FX.com forums for the bug report!
   (The CUE format is matched to the old cddissect app by Xport which most
   XBOX PCE emulators expect I figure, so that's what I used for reference.)

 + Bug fix: Compatibility improvements. More CD/DVD devices under Win7++ work!
   Some Windows® 7 versions can't read CD data sectors using SPTI that lack an
   an ISO9660 file system like all previous NT versions and the security level
   varies... It's confusing, but I had to rewrite the function that reads data
   sectors to try using the normal method of building a SCSI command packet
   with the SCSI_READ10 (0x28) opcode first, and if that fails, try the
   Microsoft SPTI method to let the OS mostly handle it. The prescribed SPTI
   ReadFile() method is no longer enforced as other Windows® 7 builds required
   AND it stopped working on PC Engine game CDs as they have no file system...

   The other issue is the CD device rejecting opcode 0x28 to read data sectors.
   As a result, I increased compatibility by adding the MMC1 0xBE opcode as a
   3rd option when the other 2 fail! That newer opcode is used for reading
   sectors raw, but by setting the appropriate flag in the command packet, it
   will return only the "cooked" user data just as the READ10 opcode does.
   Anyway, thanks to Chris Covell again for another bug report!

 + Bug fix: A 64-bit version of Windows® creates a separate registry view for a
   32-bit app under the "Wow6432Node" key that prevented the "AllocateCDRoms=1"
   string from being properly set. Thanks to ImgBurn for this tip/info! If that
   registry value can be set, it may allow CD/DVD reading to occur under User
   Rights, but you need to merge a .reg file with the contents below:

   e.g. "CDReadRightsNT.reg"

     [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
     
"AllocateCDRoms"="1"

   Note: Following investigation of virustotal.com and false virus flagging, I
   no longer compile TurboRip to set this HKLM registry value to reduce 1 false
   virus report, so I include 2 .reg files to do it yourself...

 + Bug: CTRL+BREAK/C not working 100% correctly (still fixing this...).


 Version 1.41 (10/15/2016):

 + Update: New parameter option: /auto which simply scans all drives for the
   first game CD detected in the TOC database and rips it without prompt! ^_^
   Try: "/auto /turbo" for max, automatic ripping of the first Turbo CD found.

 + Update: New parameter option: /normalize which will auto-normalize/amplify
   wave files afer ripping them. Given low preamp levels in some CDs making 'em
   very hard to play loudly on your sound system, this will be useful to some!

 + Update: I switched to the TOC CDDB checksum standard for identifying game
   discs. This reduced TurboRip's size by 200KB, and allowed me to use the much
   quicker binary search algorithm to find a CD title whereas before I used a
   basic linear search. This also prepares TurboRip for a future upgrade, to
   look up the CDDB ID at www.freedb.org to conveniently title music discs.

 + Update: Alignment of 64KB SCSI buffer. Alignmask of CD/DVD drive processed.
   Switched from dynamic memory allocation to static - this more guarantees no
   memory fragmentation or trouble. I noticed more general stability this way!

 + Update: Error messages are now printed in red for fun, also some yellow is
   used for status/info messages. :)

 + Update: MNKyDeth has an original copy of "Dungeon Master - Theron's Quest"
   that wasn't in the PCE/TG-16 TOC database, so it appears another factory
   pressing was discovered. I added it under its catalog/reference #TGXCD1041.

 + Update: Full [re]testing on Windows® 95/98/ME/NT4/2000/XP/Vista/7/8/10 was
   performed to 100% verify TurboRip's compatibility, no assumptions this time!

 + Update: TurboRip now automatically centers its working CMD window.

 + Bug fix: Fixed total epic failure for Windows® 7 that required major rewrite!
   TurboRip is now officially certified for Windows® 7 support even though I
   said it was prior to this release without actually testing it on!!! :)
 
   *Better trapping of SPTI errors after SCSI command packet sent.
   *Using prescribed SPTI method for raw read of audio sectors - Win7 required!
   *Using prescribed SPTI ReadFile method for data sector reads, the ONLY Win7
    permissible way for MODE1 sectors due to security/policing of SCSI reads!
   *Win7 security changes led to this!
   Audio sectors - check!!!
   Data sectors - check!!!
 
   Thanks to johnnykonami for the bug report which also led me to do complete
   genuine Windows® platform tests and find/fix the bug for NT 4.0 as well.

 + Bug fix: Setting thread priority to 'highest' on Windows® 95/98/ME caused
   buggy input handling at the Command Prompt, sometimes even crashes! It took
   hours of testing on Windows® 95 to figure this out, removed one unneeded
   line of code to fix... Quite pesky...

 + Bug fix: Getting a SPTI CD/DVD drive handle on Windows® NT 4.0 (SP6) failed!
   Now works both with User or Administrator Rights! Why bother making sure it
   can work all the way back to such old Windows versions ?? Just because! :)
   I started my software developer career on Windows® NT4 Workstations and it's
   just nice to know that TurboRip can work on them. It lets me know the code
   is simple enough and most appropriately makes use of the Windows API as well
   as handle some of its quirks where one or two lines of code or flags can
   make or break software between different OS versions.

 + Bug fix: Wrongly displayed US TurboGrafx CD type for Japanese PC Engine CDs.
   This may have actually caused crashes for some people. Bug Report: It did!
   tbone3969 @ PCEngineFX.com reported crashing on his Windows 10 machine which
   was subsequently solved by this fix! :)


Version 1.40 (8/7/2015 - 8/19/2015):

 + Uses the Native NT SCSI Library for NT/2K/XP/Vista/7/8/10 platforms! No more
   dependency on an ASPI DLL and none of the problems associated with it!!!

 + Certified, tested, approved for use all the way back to Windows 98SE for the
   "retro" in you, as well as all the way to the present with the new arrival
   of Windows 10!!!! Even I find it hard to believe it works in all of them!!!

 + Improved skipping of unreadable data sectors near postgap area transition.
   If you had trouble reading some PC Engine/TG-16 discs, this should help.

 + Major Command Prompt interface enhancement: TurboRip can now be fully run by
   double-clicking it anywhere in Windows Explorer! The user no longer has to
   first open a Command Prompt window and then CD to the folder where it is
   located in order to enter parameters! User will be prompted for parameters
   if none were detected when TurboRip is executed/double-clicked!! A troll on
   the Ancient Land of Ys forums once barked, "How do you use this F#!K1NG!
   PROGRAM?!?!?!?!" having never encountered command-line programs before and
   not knowing how to first open a Command Prompt before using it... Short of
   a future Windows GUI version, this enhancement solves that issue! Of course
   you can't fix stupid nor those who couldn't bother to read instructions...

 + By request, the TOC CD-ROM data of NEC PC-FX videogames (50 out of 80) were
   added to coincide with the release of the "Tyoushin Heiki Zeroigar" English
   fan translation patch on 8/8/2015!! Only games such as Zeroigar (a shooter)
   were added that "OBEY" the standard mixed-mode CD-ROM rules which can
   accurately be ripped by TurboRip (The next version will have all 80!).

 + Added CD-TEXT support! Some music audio discs can have track file names and
   other info such as artist, composer, genre, etc. burned into the "Lead-in"
   area of the disc. Unfortunately, it's rare to find discs using this feature
   because it arrived towards the end of the CD format's life, but I thought
   I'd add support for it nonetheless! You still have CDDB of course. (You can
   think of this feature as CDDB BTW, but that the album data/info is actually
   burned into the disc so you don't need a program to do a CDDB look-up over
   the Internet to obtain it.)

 + Added CD-EXTRA support! If your music audio disc carries an "Enhanced CD"
   label, then it's really a multi-session disc that comes in three possible
   forms, both with audio tracks and a MODE2 data track that can include music
   videos, interviews with the band, whatever, etc. So, I've added support for
   ripping the one format that I know of for now. I happen to have some of
   these discs, so I wanted to make TurboRip work with them. Unlike with
   CD-TEXT, music audio discs such as these are more common.

 + Various performance enhancements in interface, behavior, coding were made to
   really make this app as great as it should be!! However, index/gap detection
   by reading the "Q" subchannel failed to make it in this version. Stay tuned!

 + To reduce the size of TurboRip, all third-party components for MP3 (LAME)
   and APE are now zipped within TurboRip and extracted/unzipped on demand.

 + When using the /APE parameter for perfect CD backups, support files are now
   extracted to easily decompress APE files back to WAVE when needed! Simply
   double-clicking the "APE_TO_WAVE.bat" batch file will do the trick!

 + The default 3.9.9.0 (2004) Monkey's Audio (APE) codec no longer requires the
   Unicode layer to work on Windows 98SE, so TurboRip fully works with both its
   APE and MP3 codecs on a clean install of all Windows flavors!!! :)

 + Bug fix: I noticed on Windows XP that as TurboRip read sectors from a CD/DVD
   drive connected via USB or FireWire, it could actually lose the connection!!
   This could happen consistently when you ALT+TAB'ed to switch to another app!
   I found the solution was to raise the Process Priority of TurboRip to HIGH!
   Normally, disc burning software will raise the Process Priority to HIGH as
   well when *burning* a disc which makes sense, and so with all that, I now
   ALWAYS set TurboRip's priority to HIGH to avoid the bug with external drives
   AND speed up the ripping time - it might as well live up to its name!! :)

 + Bug fix: Fixed a drive selection bug in Windows 98SE when selecting a drive
   number from the prompt menu.

 + Fixed issue that caused "Linda ³ (J)" to be excluded from the TOC database.
   Squaresoft74's use of the fancy superscript "3" was the culprit...

 + If all CD tracks are audio, it's a music CD (not videogame!) so messages
   like "Note: No videogame CD-ROM was detected." were eliminated.

 + The track file-naming style was changed to put the track # (01-99) first.
   This is better for sorting and viewing the CD image file set I think.

 + TurboRip no longer installs its own ASPI layer for Win9X/ME, it instead just
   relies on the default Adaptec ASPI layer. Compatibility is still maintained!

 + TurboRip sets the TOP_MOST flag 'on' of the Command Prompt window so it can
   never be hidden behind other windows until it is closed or minimized.

 + Bug fix: Fixed a minor bug that caused the /name parameter to be overwritten
   when the last parameter specified was /useaspi or if any other text was
   mistakenly typed at the Command Prompt.


 Version 1.00 (4/19/2006):

 + Integration with the PC Engine/TG-16 TOC database so as to detect a valid,
   original PC Engine/TG-16 disc if inserted, and warn you if not.

 + Can detect CD/DVD devices connected to your system via Firewire/USB!

 + Independent executable that provides its own copy of components if missing.
   You'll only ever need the executable and not have to worry about other
   missing dependent files as they'll be extracted on demand.

 + As of this release, LAME MP3 Library version 1.32 [Engine 3.98] (2/19/2006)
   was compiled with the executable for all your MP3 encoding needs. If you have
   a better/newer DLL, you can always replace LAME_ENC.DLL in the same folder
   as the executable and it'll use that instead.

 + As of this release, MAC APE Library version 3.9.9.0 (2004) was compiled
   with the executable for all your APE encoding needs. If you have a
   better/newer DLL, you can always replace MACDll.dll in the same folder as
   the executable and it'll use that instead. MAC=Monkey's Audio Codec is
   lossless audio encoder. Use this if you want a perfect backup of your CD!

 + Can rip your disc directly into an ISO/MP3 format that is usable by PCEP
   (a PC Engine/TG-16 emulator for Sony's portable PSP system) or HUGO-X (a
   PC Engine/TG-16 emulator for Microsoft's X-BOX console system).

 + Generates a default reliable CUE file for use with Daemon Tools or any CDRW
   burning software that supports CDRWIN's CUE format.

 + Generates a TOC dump in PCEP usable format.

 + Support for three data track modes (MODE1/2048, MODE1/2352, & MODE2/2352).
   That means you could rip a game disc from other systems such as Sega CD,
   NeoGeo CD, PlayStation, etc. PlayStation games can only be ripped in RAW
   mode so your drive must support reading RAW sectors.

 + Code is highly optimized. The default VC++ runtime engine is not used.
   Instead, I use a small custom runtime engine I prefer to compile with that
   results in a much smaller and quicker executable, along with the fact that I
   sacrifice ANSI portability by calling Windows APIs directly for speed gains.

 + I would argue TurboRip is probably faster than any audio ripper out there
   when used to rip a regular audio disc. Many of the libraries commercial
   software use are quite bloated while TurboRip was written with the bare
   minimum of what's needed to read from a MMC-Capable device. Their advantage
   of course is more compatibility with specific drives, etc. and support for
   Jitter Correction if your drive isn't "CD-DA Stream Accurate." TurboRip
   being command-line and not having to deal with controlling a Windows GUI
   also provides a speed advantage.

 + Accurate track file sizes with 9X% of PCE/TG-16 CD-ROMs, ensuring consistency
   in ripping results.
The Download: Latest TurboRip.zip (v1.42)

Backup: https://www.ysutopia.net/software/TurboRip.zip

>Sneak forward to a WIP BETA/RC candidate release here<

Fully works now on Microsoft Windows 95/98/ME/NT/2K/XP/Vista/7/8/10 believe it or not!!!! :)

The Feedback Thread: https://www.ysutopia.net/forums/index.php?topic=69.0

>> For Windows VISTA or 7 and up Users, Download BETA Version <<

No need for that broken BETA anymore I'm happy to say! Version 1.42 and forward works on damn near every Windows version Microsoft ever released! :)

(Some past history on issues with old versions is below just for reference - https://www.ysutopia.net/forums/index.php?topic=69.msg3668#msg3668)




Alright, I'm making this a general post cause it'll be the same in mine and the MagicEngine forum. Feel free to leave feedback here and lemme know how it's working for you preferably with original CD-ROMs. If you have ideas for improvements/enhancements or find bugs, do lemme know! Keep on ripping! :)

Tracker URLs to other forums I posted this to check for feedback:

http://forums.magicengine.com/en/viewtopic.php?t=1560
https://www.ysutopia.net/forums/index.php?topic=69.0

NightWolve

If anybody has a Sony PSP, try out the /PSP option to create an ISO/MP3/TOC archive for use with the PCEP emulator on that portable. That's something I can't test out, but last I checked, David Shadoff reported it works out fine for him. For reference, this is the thread that inspired my adding PSP support. You can see what you normally had to go through to get it to work from that...

Anyway, if you know of other PCE/TG-16 forums/communities, please spread the word! I'd like as many as possible getting their hands on this.



EDIT: Hey, bit of history here, but that person in the thread I linked above was @Bernie actually! I got him all set up playing an image of Dracula X on his Sony PSP and then wound up adding the /PSP option to make it easy for everybody else to rip an image for the Sony PSP's emulator preferences. He is credited in the ReadMe for the feedback and interaction that led to all that. :) I recall that he donated $10 bucks to me for that help as well way back then! ;)

TurboXray


PCEngineFX

Moved to the proper forum....

I have a PSP but I'm running on the latest firmware...haven't looked to see if there is a way to run PCEP on it yet but can try this when I get back home.
// Aaron Nanto | The Ultimate Resource for NEC Console Information!
Papa PCEFX 1997-2020 [Retired]
IMG
IMG

SignOfZeta

Oh man, you have no idea how happy I am to see this!

Hopefully I'll be able to actually figure out how to use it...
IMG

NightWolve

Finally, another response. Well, lemme know how it goes for you.

grahf

Unfortunatly i have been unable to get this to work. Ive tried a total of 3 drives, with the same result. It will rip the first audio track, and dumps back to the command prompt. Any ideas?

rolins

Quote from: "grahf"Unfortunatly i have been unable to get this to work. Ive tried a total of 3 drives, with the same result. It will rip the first audio track, and dumps back to the command prompt. Any ideas?

I'm having the same problem on my end. I'm using a combo drive on my laptop, it's a Toshiba SD-R2512. It'll rip the first track and then quit. I have tried changing aspi drivers but no luck. Still the same result.

NightWolve

Is there no error message, it just finishes? Also, does the TOC listing show more than one track? One more thing, tell me what happens if you add this extra parameter: "/track=2" - that's to rip just one specified track. The result of using that parameter might be useful in troubleshooting, other than that, I'm not sure what's wrong. Oh, and uh is the one audio track correctly dumped/playable in an audio player, etc.?

EDIT:

P.S. Screenshots of mostly everything after you pick your CD/DVD drive would be helpful too.

Odonadon

Night - I've used it a few times and it's worked flawlessly everytime for me.  This is definetely one of the coolest and most useful tools for anyone who rocks emulation on their XBox, or anything else for that matter.

OD

grahf

NightWolve, I was just about to take a few screenshots for you, and try the /track=2 parameter. BUT, it just worked flawlessly for me. I have no idea what i may have changed that could have effected it. I dont think anything. Im super happy its working now, since its such a great utility. I wish i could have helped you with a potential bug though, since a few people are still having this problem im sure.

Rollins, its up to you to take some screenshots now.

rolins

I just flashed my DVD combo drive with the latest firmware. Seems to be able to rip all my CD-ROM games without problems now (they're all original by the way). All except Nexzr. The program rips the game if I use /track=3, but it just gives me errors if it's trying to rip track-2. It's strange, I double checked my disc and it's 100% original with no scratches, I bought it practically brand new.

Prompt screen
/tr25lp.jpg

Turborip with default settings trying to rip Nexzr
/tr01zb.jpg

Turborip /track=2
/tr13xz.jpg

grahf

I dont have a copy of that to try myself... maybe someone else here can post their results?

Its funny, i cant think of any reason mine works now. I hardly even use the computer. No windows updates, no hardware changes, nothing. Well except for installing and removing the other drive i tried (which also didnt work).

I gotta say it again NightWolve, GREAT utility. Vobbo, the author of the free HU6280 PC Engine emulator, has been writing a version for the GP2X linux homebrew console ( http://gp2x.co.uk ). He just added ISO support a few days ago. No cd-audio support yet, but he has been updating it at an incredible speed. Check it out.  
I still prefer my region modded Turbo Express for portable hucard gaming, but this is a GREAT portable SCD option.

NightWolve

Thanks for the feedback guys. I wish I knew what fixed this particular problem because I'm having it as well. My YAMAHA drive used to be able to read the entire data track, even the last few sectors, but not anymore. However, a workaround has been in place, it's just that I didn't cover the particular read error a few drives are returning.

Anyway, the background to the problem is that you basically have "gaps" that are either unburned/unreadable sectors or burned null sectors when you have a track type transition with mixed-mode CDs such as PCE ones. When you transition from a data track to an audio track, 2 seconds of unburned/unreadable sectors are left behind at the end of the data track. That's referred to as a postgap. Now some drives, mine included, when you try to read the last few valid sectors before the unreadable postgap sectors officially begin, they fail as if you were trying to read in the postgap region. That's the problem that you guys were having and why it would fail right at 99% of track 2. Your CD lens can't get the last few sectors that should be valid right before where the invalid postgap sectors begin. If you try to read the first postgap sector or anywhere in its region, you will correctly get an error, but the drive is supposed to be able to read the last valid data sector before the invalid postgap sector begins. However, this seems to vary with drives with some failing too early AND changes in your system somehow affect this. I know my drive used to work fine, but stopped for some reason.

Now, my solution has been to trap certain conditions. If a read error is returned, I check if the current track is a data track and if there only 27+5 sectors left from completely reading the whole track (We're at 99% of completion). Previously, I only accounted for two read errors because those were the only ones my drives returned. They are: "No Seek Complete" or "Illegal mode for this track". However, somebody else, before you guys a few days ago, posted that they were getting a "Unrecovered read error." So I decided to now account for that error which should compensate for the problem should you ever encounter it again.

Anyway, rolins, since you're still having the problem, I'm pm'ing you a link to a slightly updated copy. It should work for Nexzr. You'll see a message about 'unreadable data sectors near postgap area' like this (with the last track at the bottom):

2006 Method:
IMG
2018 Method:
IMG

So yeah, when I get around to releasing an updated version (1.01) to the public, it'll include this fix among some other improvements I've been thinking about.

Glad you all like the program BTW. I wish I had the knowledge to have created it back when the NEC scene was kicking off its image sharing days. Would've saved a whole bunch of grief.

grahf: Funny thing about that emulator author. I frequently like to check all referrer links recorded by my server and/or website software. TurboRip was linked to in a thread on that author's forum and so that's how I already happen to have learned about his work. No interest since I don't have this GP2X thingy, but that's nice for those that do.

rolins

Thanks, NightWolve. I got your PM and that update you sent me works on Nexzr now. I still get that "unrecovered read error..." after track 2, but it still continues the rip the other tracks.

I spent the entire morning playing thru my ISO/WAV of Nexzr trying to find a hiccup, but so far I've found none.

PCEngineFX

NightWolve,

I'm going to start using this fairly soon, so will let you know how it goes.  Thank you so much for creating the app.
// Aaron Nanto | The Ultimate Resource for NEC Console Information!
Papa PCEFX 1997-2020 [Retired]
IMG
IMG

NightWolve

Quote from: "rolins"Thanks, NightWolve. I got your PM and that update you sent me works on Nexzr now. I still get that "unrecovered read error..." after track 2, but it still continues the rip the other tracks.

I spent the entire morning playing thru my ISO/WAV of Nexzr trying to find a hiccup, but so far I've found none.

Hm, you should've just seen the "Notice: Unreadable data sector(s) near postgap area were replaced with zeroes." I think you mean that message, right? Also, you might try setting the readretry to 99 with this extra parameter "/readretry=99" for this. If not, your CD/DVD device simply refuses to do it. You'll get the same unreadable sector problem with any CDRW software.

Quote from: "Pcenginefx"NightWolve,

I'm going to start using this fairly soon, so will let you know how it goes.  Thank you so much for creating the app.

np

PCEngineFX

NightWolve,

All of the links/images are dead and I can't get to http://nick.serveblog.net.  It is about 10:15PM PST 7/10/06.
// Aaron Nanto | The Ultimate Resource for NEC Console Information!
Papa PCEFX 1997-2020 [Retired]
IMG
IMG

NightWolve

The site should be back as of now... No-IP likes deleting your free DNS registrations if you don't log in from time to time, at least, that's how it should work. I did do that recently to prevent this, before I terminated my ISP like 2 weeks ago, but it appears deletion occured anyway... So, I noticed the problem and I restored my DNS registrations today from a computer at my old university. Alright, back to searching for an ISP.

P.S. Next version of TurboRip will have significant improvements.

+Multi-session support so as to correctly rip CD-EXTRA music audio discs.
+CD-TEXT support.
+Correct detection of Indexes (INDEX 00, 01, 02, etc.) which will increase compatibility with game discs from other systems (NeoGeo CD probably, if Squaresoft74 is correct). TurboRip is currently hardcoded with PREGAP 03:00 & PREGAP 02:00 for track type transitions which is based on the assumption of a PC-Engine/TG-16 disc. Of course, not all discs are gonna obey those transition rules, but it turns out you can correctly detect Indexes by reading the Q-subchannel information of a sector, to be technical. Anyway, this will make TurboRip more like CDRWIN with its subcode analysis feature. I can appreciate CloneCD a little more now with its separate ripping of all the subchannel data into a separate .sub file. It's a far better program for duplicating a disc.

Other than that, some minor bug fixes and the like such as the one discussed here plus some code optimizations. Anyway, later.

OldRover

NightWolve, let me know if you need a mirror for the program.
Turbo Badass Rank: Janne (6 of 12 clears)
Conquered so far: Sinistron, Violent Soldier, Tatsujin, Super Raiden, Shape Shifter, Rayxanber II

NightWolve

No problem. Thanks. If you like, I'd prefer if you use the actual link cause I have a download counter going and I wanna have a handle on the userbase out there that's being created, etc. I just have to be careful and get online when I can from my friend's or university till I get another ISP.

SignOfZeta

OK, so I used Turborip to extract a game, and I have a question or two.

If I want to substitute the music tracks, what happens if they aren't the exact size of the originals when I go to write the disc? Will it just cut them off, or will it not burning correctly? If they are all longer, will it be OK as long as the total running time fits on the CD? If they have to be the exact size, how exact to they need to be? Can it be down to the second, or do I need to edit them to the exact frame/sample/whatever?

Also, the cue file doesn't seem like it has very much information in it. For all the audio tracks it just says, "INDEX 01 00:00:00". Is that normal? I see the .toc file is much more specific, but I'm pretty sure my CD software will ignore the .toc file.

Thanks in advance for your help!
IMG

TurboXray

Quote from: "SignOfZeta"OK, so I used Turborip to extract a game, and I have a question or two.

If I want to substitute the music tracks, what happens if they aren't the exact size of the originals when I go to write the disc? Will it just cut them off, or will it not burning correctly? If they are all longer, will it be OK as long as the total running time fits on the CD? If they have to be the exact size, how exact to they need to be? Can it be down to the second, or do I need to edit them to the exact frame/sample/whatever?

Also, the cue file doesn't seem like it has very much information in it. For all the audio tracks it just says, "INDEX 01 00:00:00". Is that normal? I see the .toc file is much more specific, but I'm pretty sure my CD software will ignore the .toc file.

Thanks in advance for your help!

 Check out Necstacy (http://necstasy.emunova.net) for a utility called TocFixer (check the 'news' section). This will resize the tracks to the proper size/length. So you can modify them or change the track to something entirely different - just make sure the replace track is close to the same length of the original track by 2 seconds or TocFixer will complain, etc. If you do some cool remixes, you should post a video them
on youtube.

 As for the cue sheet - it should be fine.There shouldn't be any pre-gap for audio tracks that follow a previous audio track. You can mount the cue with Alcohol 120% or Daemon tools for use with emulators or burn it with Nero for use with your real system.

NightWolve

Quote from: SignOfZeta on 10/30/2006, 09:55 PMIf I want to substitute the music tracks, what happens if they aren't the exact size of the originals when I go to write the disc? Will it just cut them off, or will it not burning correctly? If they are all longer, will it be OK as long as the total running time fits on the CD? If they have to be the exact size, how exact to they need to be? Can it be down to the second, or do I need to edit them to the exact frame/sample/whatever?
For most PCE/TG-16 games, the wave file must be exactly the same size as the original. You can replace them with whatever you want, BUT, you must make sure they come out to be the same exact bytes in size as the original. If you don't, the game will have problems. Many programmers hardcoded sector offsets to be used when it comes time to play an audio track, so if any of the wave files change in size and you burn a new disc, every audio track will get a new sector offset. This is bad... If you reduced in size say the 3rd audio track, every track file thereafter will have a lower offset. So when the game attempts to play any of those tracks, they'll begin playing some time later within the track, and not at the beginning. You get the idea.

Now, there are games like Ys IV where the game code was written to always fetch the sector offset (or rather, the LBA) directly from the TOC of the disc. For those games, you can resize the wave files and will not have any problems. But I don't know how many of them there are.

So basically, for most games, the answer is that resizing the wave files will cause problems such as lip syncing issues, music not starting correctly, crashes even, etc. But, there are some games where you can get away with it, as I mentioned, like Ys IV. You'll have to run tests on the particular game you're working on to see if it'll work...

Also, as was already pointed out, you can use my TocFixer tool to enforce the correct wave sizes after you make your replacements (assuming the music you use was made to be about the same length as the original). You can get it from my site as well, here:

ysutopia.net/?ind=downloads&op=entry_view&iden=4

QuoteAlso, the cue file doesn't seem like it has very much information in it. For all the audio tracks it just says, "INDEX 01 00:00:00". Is that normal?
That's normal.

QuoteI see the .toc file is much more specific, but I'm pretty sure my CD software will ignore the .toc file.
The TOC file is in a format recognizable by the emulator PCEP for Sony's PSP system. That's mainly what you'll need it for (when using the /PCEP option), if not for TOC reference. If you're a casual gamer and not into any of the techy detail stuff, yeah, you can ignore it.

Squaresoft74

Quote from: TurboXray on 10/30/2006, 11:08 PMCheck out Necstacy (http://necstasy.emunova.net)
It's NecstaSy !!  #-o  :wink:
As for the url it will soon change to http://www.necstasy.net so you can start updating your bookmarks / links.
IMG

SignOfZeta

OK, my little project turned out...really well, IMO.

Whole LoT of Metal~The Lords of Thunder Remix

Please seed, yadda yadda....
IMG

TurboXray

Quote from: Squaresoft74 on 11/08/2006, 02:17 PM
Quote from: TurboXray on 10/30/2006, 11:08 PMCheck out Necstacy (http://necstasy.emunova.net)
It's NecstaSy !!  #-o  :wink:
As for the url it will soon change to http://www.necstasy.net so you can start updating your bookmarks / links.
Doh!

 Cool, I'll update my links.

Oli_lar

This is a great program - worked like a treat on this laptop. Wouldn't work on my other laptop though, although thats probably because it uses an external hard drive. Cheers!

NightWolve

I haven't wanted to publicize this too much, but if you're on Vista and really want to run TurboRip, I released an early build that works for it.

ysutopia.net/forums/?topic=69.msg3668#msg3668

You can find it attached to that post. Basically, if you're not on Vista, stick with the current version, but if you are and really would like to have a working copy, you can get that.

*waves to all*

Good to see this place still kicking!

Turbo D

Thanks man, I grabbed a copy for my vista machine! 8)
Quote from: MissaFX on 01/06/2008, 12:10 PMMy idea of gaming is a couple of friends over, a couple of drinks, a couple of medical-handrolled-game-enhancing-cigs and a glowing box you all worship.
IMG IMG
IMG

NecroPhile

Quote from: NightWolve on 08/16/2009, 12:56 AM*waves to all*

Good to see this place still kicking!
*waves back*

Good to see that you're still kicking around.  Thanks for the update.  :)
Ultimate Forum Bully/Thief/Saboteur/Clone Warrior! BURN IN HELL NECROPHUCK!!!

esteban

Quote from: guest on 08/17/2009, 10:09 AMGood to see that you're still kicking around.
Speak for yourself, Necro.  :shock:



Quote from: NightWolve on 08/16/2009, 12:56 AM*waves to all*
A hearty 'hi!' and 'wuzzup?!' from all of us :)
IMGIMG IMG  |  IMG  |  IMG IMG

NecroPhile

Ultimate Forum Bully/Thief/Saboteur/Clone Warrior! BURN IN HELL NECROPHUCK!!!

NightWolve

Quote from: guest on 08/17/2009, 10:09 AM*waves back*

Good to see that you're still kicking around.  Thanks for the update.  :)
Yeah, still around but in limited capacity. =\ I had to cut down on my online time so that meant giving up on a few message boards I frequented... I'd sometimes do quick visits over the years, but not much else. Missed out on some drama, eh? I noticed deleted accounts of longtime regulars.
 
Anyhow, Arjak had asked me about a fix for the Vista problem so that's what prompted the new Turborip release (of course I had to eventually post an update about it here, the only really successful NEC board that I know of, aside from MagicEngine's).

Thing is, I haven't touched the rest of the source code in the last 2 years and I wanted to finish the subcode issue before doing another release. So, as usual, despite what I wrote in the ReadMe, don't use it with discs other than PC Engine/TG-16... It's not trustworthy.

NightWolve

Hey guys, I just went live with a new version of TurboRip v1.40 that fixed/improved several things and added new TOCs for the NEC PC-FX to coincide with the release of the Zeroigar English fan translation patch by elmer and SamIAm!! Hoping to see feedback from people with original CD-ROMs of PCE or PCFX games!

What's trippy for me is after I got it working on Windows 98SE, I went to my Winbook 7" tablet that I just upgraded to Windows 10, plugged in my USB hub, a DVD drive connected via USB, brought TurboRip over on a USB memory stick, started it, and with a Xak III CD-ROM, I always able to rip it however I wanted, ISO/WAV/CUE, or encoded to MP3 just to listen to the audio tracks, or even in ISO/APE/CUE for archival/backup purposes! :) Same behavior on Win98SE to WinVista and on to Win10, etc.! Just hard to believe it could be coded universal enough and work on all Windows flavors, past, and right up to the present! And it's coded in "C" and some Intel x86 Assembly like real men used to code, not in some slow ass Java crap!!! :P

This will be the universal download link: https://www.ysutopia.net/get.php?id=TurboRip

And here's a look at the changelog:

QuoteVersion 1.40 (8/8/2015):

 + Uses the Native NT SCSI Library for NT/2K/XP/Vista/7/8/10 platforms! No more
   dependency on an ASPI DLL and none of the problems associated with it!!!

 + Certified, tested, approved for use all the way back to Windows 98SE for the
   "retro" in you, as well as all the way to the present with the new arrival
   of Windows 10!!!! Even I find it hard to believe it works in all of them!!!

 + Improved skipping of unreadable data sectors near postgap area transition.
   If you had trouble reading some PC Engine/TG-16 discs, this should help.

 + Major Command Prompt interface enhancement: TurboRip can now be fully run by
   double-clicking it anywhere in Windows Explorer! The user no longer has to
   first open a Command Prompt window and then CD to the folder where it is
   located in order to enter parameters! User will be prompted for parameters
   if none were detected when TurboRip is executed/double-clicked!! A troll on
   the Ancient Land of Ys forums once barked, "How do you use this F#!K1NG!
   PROGRAM?!?!?!?!" having never encountered command-line programs before and
   not knowing how to first open a Command Prompt before using it... Short of
   a future Windows GUI version, this enhancement solves that issue! Of course
   you can't fix stupid nor those who couldn't bother to read instructions...

 + By request, the TOC CD-ROM data of NEC PC-FX videogames (50 out of 80) were
   added to coincide with the release of the "Tyoushin Heiki Zeroigar" English
   fan translation patch on 8/8/2015!! Only games such as Zeroigar (a shooter)
   were added that "OBEY" the standard mixed-mode CD-ROM rules which can
   accurately be ripped by TurboRip (The next version will have all 80!).

 + Added CD-TEXT support! Some music audio discs can have track file names and
   other info such as artist, composer, genre, etc. burned into the "Lead-in"
   area of the disc. Unfortunately, it's rare to find discs using this feature
   because it arrived towards the end of the CD format's life, but I thought
   I'd add support for it nonetheless! You still have CDDB of course. (You can
   think of this feature as CDDB BTW, but that the album data/info is actually
   burned into the disc so you don't need a program to do a CDDB look-up over
   the Internet to obtain it.)

 + Added CD-EXTRA support! If your music audio disc carries an "Enhanced CD"
   label, then it's really a multi-session disc that comes in three possible
   forms, both with audio tracks and a MODE2 data track that can include music
   videos, interviews with the band, whatever, etc. So, I've added support for
   ripping the one format that I know of for now. I happen to have some of
   these discs, so I wanted to make TurboRip work with them. Unlike with
   CD-TEXT, music audio discs such as these are more common.

 + Various performance enhancements in interface, behavior, coding were made to
   really make this app as great as it should be!! However, index/gap detection
   by reading the "Q" subchannel failed to make it in this version. Stay tuned!

 + To reduce the size of TurboRip, all third-party components for MP3 (LAME)
   and APE are now zipped within TurboRip and extracted/unzipped on demand.

 + When using the /APE parameter for perfect CD backups, support files are now
   extracted to easily decompress APE files back to WAVE when needed! Simply
   double-clicking the "APE_TO_WAVE.bat" batch file will do the trick!

 + The default 3.9.9.0 (2004) Monkey's Audio (APE) codec no longer requires the
   Unicode layer to work on Windows 98SE, so TurboRip fully works with both its
   APE and MP3 codecs on a clean install of all Windows flavors!!! :)

 + Bug fix: I noticed on Windows XP that as TurboRip read sectors from a CD/DVD
   drive connected via USB or FireWire, it could actually lose the connection!!
   This could happen consistently when you ALT+TAB'ed to switch to another app!
   I found the solution was to raise the Process Priority of TurboRip to HIGH!
   Normally, disc burning software will raise the Process Priority to HIGH as
   well when *burning* a disc which makes sense, and so with all that, I now
   ALWAYS set TurboRip's priority to HIGH to avoid the bug with external drives
   AND speed up the ripping time - it might as well live up to its name!! :)

 + Bug fix: Fixed a drive selection bug in Windows 98SE when selecting a drive
   number from the prompt menu.

 + Fixed issue that caused "Linda ³ (J)" to be excluded from the TOC database.
   Squaresoft74's use of the fancy superscript "3" was the culprit...

 + If all CD tracks are audio, it's a music CD (not videogame!) so messages
   like "Note: No videogame CD-ROM was detected." were eliminated.

 + The track file-naming style was changed to put the track # (01-99) first.
   This is better for sorting and viewing the CD image file set I think.

 + TurboRip no longer installs its own ASPI layer for Win9X/ME, it instead just
   relies on the default Adaptec ASPI layer. Compatibility is still maintained!

 + TurboRip sets the TOP_MOST flag 'on' of the Command Prompt window so it can
   never be hidden behind other windows until it is closed or minimized.

 + Bug fix: Fixed a minor bug that caused the /name parameter to be overwritten
   when the last parameter specified was /useaspi or if any other text was
   mistakenly typed at the Command Prompt.

Psycho Punch

Asm? Post a sample of your code, I'm intrigued with your choice.
This Toxic Turbo Troll & Clone Warrior calls himself "Burning Fight!!" on Neo-Geo.com
For a good time, reach out to: aleffrenan94@gmail.com or punchballmariobros@gmail.com
Like DildoKobold, dildos are provided free of charge, no need to bring your own! :lol:
He also ran scripts to steal/clone this forum which blew up the error logs!
I had to delete THOUSANDS of error log entries cause of this nutcase!
how_to_spell_ys_sign_origin_ver.webp

LostFlunky


SephirothTNH

Yeah thanks for this.  I've used it a lot throughout the years.  On everything from old PC games to Saturn.  Truly a great piece of software.

esadajr

Gaming since 1985

Dicer


elmer

Quote from: Dicer on 08/07/2015, 11:19 PMThe Dicer's Birthday update, sweet...
Hahaha ... don't you try to steal someone else's present!  :wink:

It's NightWolve's generous Birthday present for Zeroigar ... exactly 18 years old tomorrow (or right now, in Japan)!

NightWolve

Thanks guys, and glad it has been useful in the past as well!! I would love to finish the "Q" Subcode stuff, make one last finished command-line version for everybody that still loves DOS-style software, freeze the code base for that, and then move on to a full Windows GUI version with everything that I've learned! Most people are just not meant for command-line software... ;)

BTW, anybody that already downloaded it, do so again with the same link for a slight update! I made quick little tweaks just now, a) I retitle the Command Prompt window to what I want ("TurboRip Version 1.40 (Aug 7 2015)") and b) I set the window's TOP_MOST flag on so it can never be hidden behind other windows until it is closed or minimized, etc.

DeshDildo

Awesome!  Thanks again Nightwolve.  I can't tell you how helpful your utilities have been in my short time I've had Obey.
"You CAN'T prove Nulltard/DoxPhile caused ANY harm/damage/sabotage to PCEFX!! You have NO evidence he poached ANY members for his own failed PC Engine forum/site or was a conniving destructive saboteur! ZERO, ZIP, NADA!!! Nulltard did nothing wrong!"

esteban

IMGIMG IMG  |  IMG  |  IMG IMG

SuperPlay

Great stuff :-) thanks again for your continued work on this great tool.

NightWolve

Well, heh, another silent update... Delete the zip and download it again if you want it up-to-date:

https://www.ysutopia.net/get.php?id=TurboRip

Updates: 50 NEC PC-FX TOCs are now included - this just means if you have an original PC-FX CD-ROM, TurboRip will name the track files properly if you use it; it's a convenience, that's it!

There are only 80 games in total that were released for the PC-FX. The 30 others I excluded have multiple data tracks and with TurboRip not able to process the Q Subcode/subchannel data for proper index detection, I don't want to add them just yet, only with the next version when I finally handle that aspect of CD-ROM sector analysis and am able to properly reflect it in the CUE files that are produced...

So anyway, what happened is Squaresoft74 emailed me last night which I saw today giving me all of his TOC and CUE files of everything he has! His website ( http://www.necstasy.net/ ) forces you to research a TOC or CUE file one by one, he doesn't have a download link to all files in one zip file somewhere, so it was too tedious for me to check all PC-FX TOC files of games to include, so I just added Zeroigar, the RPG Miraculum, the other fan translation one Pia Carrot, so like only 10 of them in all went into the TurboRip 1.4 of yesterday... So yeah, download it again, and find that it now has 50 PC-FX TOCs, plus the 500 or so for PCE/TG-16 its always had of course. ;)

This would be the list of the ones included:
QuoteAkazukin Cha Cha [FXNHE630]
All Japan Female Pro Wrestle - Queen of Queens [FXNHE503] - Disc A
All Japan Female Pro Wrestle - Queen of Queens [FXNHE503] - Disc B
Anime Freak FX Vol.1 [FXNHE510]
Anime Freak FX Vol.2 - Sample Disc [No Serial]
Anime Freak FX Vol.2 [FXNHE513]
Anime Freak FX Vol.3 [FXNHE621]
Anime Freak FX Vol.4 [FXNHE636]
Anime Freak FX Vol.5 [FXNHE738] - Disc 1
Anime Freak FX Vol.5 [FXNHE738] - Disc 2
Anime Freak FX Vol.6 [FXNHE845] - Disc 1
Anime Freak FX Vol.6 [FXNHE845] - Disc 2
Battle Heat [FXHUD401] (J).txt
Blue Breaker [FXNHE622]
Blue Breaker [FXNHE622] (J).txt
Blue Chicago Blues [FXNHE512] - Disc A
Blue Chicago Blues [FXNHE512] - Disc B
Boundary Gate Daughter of Kingdom [FXNHE620]
Chip Can Kick! [FXNHE626]
Cocktail Pack - Pia Carrot he Youkoso [FXNKT702]
Cutey Honey FX [FXNHE511]
Deep Blue Fleet [FXNHE504]
Der Langrisser FX [FXNHE618]
Dragon Knight IV [FXNAV603]
Farland Story FX [FXNHE628]
Fire Woman Matoi-Gumi [FXNHE634] (J).txt
First Kiss Monogatari [FXHNX801]
Ginga Ojousama Densetsu Yuna FX - Kanashimi no Selene [FXHUD506]
Kishin Douji Zenki FX [FXHUD505]
Kokuu Hyouryuu Nirgends [FXNHE625]
Last Imperial Prince [FXNHE635] - Disc B
Lunatic Dawn [FXNHE509]
Mahjong Gokuu Tenjiku [FXNHE402]
Megami Paradise II [FXNHE623]
Minimum Nanonic [FXNHE631]
Miraculum - The Last Revelation [FXNHE617]
Nnyuu [GANHE001A]  - Disc 1
Nnyuu [GANHE001B]  - Disc 2
Pia Carrot he Youkoso [FXNKT701] (J).txt
Return to Zork [FXNHE505]
Ruruli Ra Rura [FXNHE627]
Shanghai - The Great Wall [FXNHE507]
Sotsugyou II - Neo Generation FX [FXNHE401]
Team Innocent [FXHUD402] (J).txt
Tenchi Muyo FX [FXNIC601] - Disc A
Tenchi Muyo FX [FXNIC601] - Disc B
Tonari no Princess Rolfee [FXNHE741]
Tyoushin Heiki Zeroigar [FXNHE624]
Zoku Hatukoi Monogatari [FXNHE629] - Disc A
Zoku Hatukoi Monogatari [FXNHE629] - Disc B

esteban

ASIDE: I didn't know that Squaresoft74 = necstasy.com!

If I did, I forgot it long ago.

RESUME...
IMGIMG IMG  |  IMG  |  IMG IMG

PCEngineFX

// Aaron Nanto | The Ultimate Resource for NEC Console Information!
Papa PCEFX 1997-2020 [Retired]
IMG
IMG

NightWolve


TurboXray

I just used this today (new version). Big thanks NW for this app! Much appreciated.