yes, but cues on the site are relative ones, you'd have to calc absolute times from the track sizes and gaps or perhaps you can mount tracks with relative cue and redump from virtual drive to get new cue, would have to work i guess

i don't know about psp but, if these are cd tracks (for psx or such), extracted, like described in guide, buy 'copy /b' they basically should reassemble .bin/.img with only difference that audio is realigned to 0 offset and gaps reconstructed. it's like pure thing smile should work.

328

(43 replies, posted in General discussion)

pnkiller78 wrote:

It's funny, it's exactly 0x930 bytes, 1 sector... the amount of data that you have in your track it's one sector... even if my dump was made with a big negative offset drive, I tried playing with the offset correction on EAC, but no luck, the LiteOn drive can see any data after 0x14B40A0, in your dump the data end at 0x14B49D0; maybe it was manufactured that way, I don't know... the plextor drive even loose data before that position without sync errors.. in  the LiteOn if I increment the offset it 2 sectors it start to show sync errors.

i really don't know why does it happen this way but when doing offset corrected reading in EAC, it would often cut off more data than drive is capable to retrive. you could try to go to the last audio sector in IsoBuster and if it is still filled there, go one sectors beyond (or even further, until you compensate audio disposition). if this works out ok, you can save it with 'Extract From-To' command (will have to 'cancel' twice, it's ok). then you can extract or realign data in this file to cancel relative offset and it should be full last track then. only it's not safe, you would not get any warnings. when dumping with EAC, often only one drive would read last audio until the very end so i would do this to verify those last bytes on the other.

329

(0 replies, posted in General discussion)

'--gen 0' would say '0 bytes was successfully generated!' but file is 1 byte large instead

it's Vigi's guide big_smile

from old guide:

Including Track 02 pregap
In the step 'fixing the pregap' we removed the track02 pregap from the end of the data track.

We already determined length of the pregap. For instance, 2 seconds pregap was 352800 bytes. The amount of bytes that was determined now has to be added to the beginning of Track02.

We can do this by inserting the required amount of (empty) bytes with a hex editor or by using the psxt001z tool:

Open up command prompt, go to the folder of the track images. Make sure a recent version of psxt001z.exe (see the beginning of this guide for a link) is in the same folder. Use the following command:

psxt001z --gen pregap.bin SIZE

'SIZE' has to be replaced with the amount of bytes that was determined in the step 'fixing the pregap'. In most cases this amount will be 352800 (for a 2 sec gap), so this would give us the following command:

psxt001z --gen pregap.bin 352800


To add the pregap to Track02, use the following command:

copy /b pregap.bin+track02.bin newtrack02.bin



The file newtrack02.bin should now consist of pregap and audio track.

This is the Track02 file that we want to use for preservation.

Now we are almost ready, head on to the 'Final steps'.

332

(4 replies, posted in General discussion)

i think this must be the only one
- Fixed a crash on detecting gaps for silence on mixed mode CDs
all gaps still stay the same; still cuts .cue on audio->data; always .wav/WAVE in .cue

i've checked 8 games so far with this track structure (not all were super cd rom),  but none appears to have anything unusual. ther's always some bits set in R-W channels, but it's rather random, those must be errors i guess. then i dumped that neo-geo cd, i think you said they would have a moded subchannel, and clonecd would give a lot of warnings about INDEX change on data track, and it tagged .cue and .ccd accordingly and in .sub INDEX does change the same way. and then i remembered ccd would warn in a similar way when reading pce cds. but it turned out to be just a gaps, nothing more. it would warn of INDEX 0 of every gap when track type change. so i don't know, i'll keep checking .sub when i see 1st/last tracks are alike but so far nothing special.
-----------------------------------------------------
turborip doesn't seem to rip subchannel at all, i guess it would use it to detect gaps only. it gets audio with riff headers, and data in cooked mode by default, but can do raw reading. cuts out gaps. audio gets messed up with offsets. it doesn't do anything special with data tracks.
-----------------------------------------------------
in 7 cases from 8, 1st track=last(byte identical, comparing user data only)+00 @theend. this is about where transition area starts. and since gaps are marked in subchannel, i think it's what he intended to say. if he was using turborip, it's how it may appear, since gaps are cut and in program documentation it says that drive must read subchannel, but i'll still keep checking for a while, it's still interesting smile even though i don't hope to find anything unusual anymore.

no, no, i would not be able to do something to something like that smile, i meant something rather trivial just to get user data from raw tracks and scan existing .sub and such. from those CDs checked so far about half are SUPER CD ROM, if it is like he said, i think some pattern must manifest even on inperfect .subs, so ok well i'll let you know if anything comes up.

Vigi wrote:

[00:32] <Tolvatar> too bad, pce games has data in subchannels
[00:32] <Tolvatar> this dumps are not correct
[00:32] <Tolvatar> i think
[00:33] <Tolvatar> on super cd-rom games, the second track and the last one are similar, only a few bytes differ
[00:33] <Tolvatar> this bytes can be found on subchannels
[00:33] <Tolvatar> and manually change the gaps seems awful
[00:34] <Tolvatar> thanks anyway for the link

any thoughts on this?

i wish it would be true smile ...since there was no lc on jpn psx and all, it would be something. i actually dump subchannel twice but so far besides Q-ADDRESS=2 and messed up layout i haven't noticed anything unusual. i guess that would mean non zero RSTUVW channels. in that case it should be easy to scan throug. i'll write a program and give it a try.
about 1st and last track it's true they are very alike but since we read in raw and last track hasn't got those empty secotrs at the end it would not show in db, only sizes are close.
gaps - well, what can we do? EAC does not pick them up. and since those last 4 or 5 cds i've added yesterday i'm actually now 99% sure this is the right thing to do. along with everything i posted before ther's one more case when EAC would fail - it's when absolute time frame at the end of gap repeats twice - EAC would decrease it by a frame. and about those 02:74 gaps when Audio changes into Data - ther's always  75 empty audio sectors and 150 empty data (75 empty audio and something, some bytes to fill last sector with audio data). only difference with 3:00 second cds is that 1st empy audio sector is not set as a gap in subchannel. so it's like those cds were prepared for standart 3 second transition area but somewhere late in process it just didn't happen smile . only cds with ring imprint * R1? V have this, so i think it was a bug. this pretty much rules every oddity out i have seen so far to 3s audio-data; 2s data-audio; 0s audio-audio. with sole exception where audio-data gaps were 2s, but that's ok, i guess. so if i wasn't sure about this before, because 2:74 gaps seemed perfectly valid, now i think it's better to just go with 3:00.

336

(2 replies, posted in General discussion)

maybe cdmage can help. i guess there should not be any errors if it isn't protected.

337

(55 replies, posted in General discussion)

Snake wrote:

Really, the only thing we don't agree on is whether the audio offset is important. *Provided all the data is there*, I don't think it is - because the time between issuing the 'read' command and the drive actually playing the audio is going to vary WAY more than any audio offset anyway. Plus, if all the data is there, it can be corrected any way you like afterwards.

but, Snake, it's not just that. be it even 1 byte - you'll get different crc. and besides all cds have already an factory offset, sum that with drive offset, multiply with 4 and you will get the amount of bytes you'll miss. and the thing with Sega cds is that this factory offset can be huge so it's rather an exception if you get to align audio right and can get crcs to mach on some drives - but for this to happen on many drives it would have to be like a ...miracle smile
here, i did some more math:
name|offset(bytes)|silence(b)|difference(b) -you'll miss that on 0 offset drive
nostalgia|7800|1864|~6k
sangokushi 3|3880|1344|~2.5k
jangou w c|19|lucky
cosmic fantasy|7208|676|a lot
gambler j.|1823*4|1760|4x
...i just walked up directories sorted by serial skipping winning post... only 1 cd from 5 has little offset and a lot of silence, but if you don't belive you can teset by yourself - make the images with cdrwin and see if last byte in image is still data, it will often be.

338

(17 replies, posted in General discussion)

3.When I start the game from redump cue sheet using Kega's "load Sega CD image" function, the game boots fine. However, there is too much silence at the beginning of the audio track, except for track 02 (first audio track). For the other audio tracks, I estimate 2 secs additional silence, the length of the pregap.

yeah, it looks something is wrong with how emulator handles cue sheets. if you change gaps in cue it matters only for 2nd track. rest tracks will always play from the start of file, and ther's gaps from previous tracks at the start. they should have been mapped to the end of previous tracks.

wow, thank you very much! smile

i only have Japanese KOF96 for NeoGeo.

oh that would be great, even if for a short time while i get my pce cds done

ok, i resubmited everything +2 new cds but only crcs for data tracks should change
i'll keep checking every cd for that exact data sector number in gaps, not assuming 150 <- scrap that, let's do it perfect smile

342

(55 replies, posted in General discussion)

Yes, there has to be a standard. We propose the following one. Only do the checksum on the following audio data:
- starting at the first non-zero byte in the audio data section after the data track
- ending at the last non-zero byte in the audio data section before the end of the file

The positioning of this audio data block is different in the BIN files, depending on the audio offset of the drive. But, the checksum of the audio data block will be the same regardless of that audio offset.

often it won't, you'd miss audio at the start of the firs track or the end of the last. e.g. [T-76044] Winning Post (J) has audio data till the very last byte of last track. if drive shifts that data to outside even by 1 sample crc will differ. and even if there is silence at the both ends of audio data it does not always compensate offset, you're right - drive offsets are pretty small most of the time but cd write offset can be up to several sectors large positive or negarive, so if you're not compensating it, in half of cases it will add with drive offset and produce even larger error. for your described method to work audio data should be enclosed in silence (both start and end) of maximum cd+drive offset sum but it's not.
for example: Lunar [T-45014] (cdoffset=+2072)
@theend (7104 zero bytes)
((cdoffset+driveoffset)*4)-slilence =>  8288+4x(driveoffset)-7104  => driveoffset=-296 samples <|larger than that and you cut off audio
@thebeginning (no silence)
((cdoffset+driveoffset)*4)+slilence => ((2072+driveoffset)*4)+0 => driveoffset=-2072 <|smalller than that and audio run into data track
only drives having offsets within this range would get similar audio segment crcs

yes smile
on PCE this is how tracks change among different modes

...DATA|150 ED|150 EA | AUDIO...
              |  GAP  | 
   Track n            | Track n+1


...AUDIO|75 EA|150 ED | DATA...
        |    GAP      | 
   Track n            | Track n+1

---------------------------------
ED..empty data sectors (header+00+edc/ecc)
EA..empry audio sectors (all 00)

it takes a time for a drive to react on type change, so 2nd part of transition area
would at least partly end up like garbage, it depends on drive how much
so we would all see different kind of junk in these parts and get different crcs
on data->audio: part of audio sectors would get scrambled, like data so we would
replace it with correct empty audio sectors, just all 00 like, it's all perfect what we do here
on audio->data: part of data sectors won't get scrambled, like they should
and we replace whole area with empty audio sectors but part of them were data

the truth is, emulators don't need it and i think burners can't burn it
they would fill gaps with track descriptor blocks or just redefine content freely
maybe there is software, maybe, but i don't know...
so anyway if we keep it, that data part, it would be more true to original
but harder to accomplish and like ...completely useless, i guess big_smile

i've checked 12 CDs, and data part is always 150 frames. i guess it's no use to check it any further, the fate of this data is to get corrupted anyway but since CD specifications defines track type transition structure this way, we can generate 75 or 74 empty audio sectors (depending on gap) / 150 data. if you, guys, decide on this, i can resubmit CRCs for data tracks any time.

one more thing:
when audio track changes into data we would fill the whole gap, with 00. on data->audio as i understand now we did this only for audio part, so ther's always around 150 empty data sectors at the end of the data track as well. but on PCE sometimes, maybe always, this layout is true for audio->data transition, only in reverse order, so first come blank audio sectors then empty data (but with header and edc/ecc), both parts about the same size. should not we keep those empty data sectors? to keep transition area structure valid. they are hard to read sometimes and each drive i have would treat them differently, but even if it is possible to determine size of each area, i gess they could be generated.

ok, thank you very much!

oh, i see smile

but can you make a sugesstion, then? it's just that i thought about all of this and i guess there is no perfect way - machine would still make a wrong assumption at some circumstances, no matter how good algorithm is. so if they could make an interface to allow users to redefine gap layout in PerfectRip, this would solve a lot.

Vigi wrote:

We could always wait for the perfectrip successor and hope it will work on all drives

but i thought you're one of the developers, aren't you?

it's because we slice off pause and move it to the next track: larger pause=smaller first track. but full track size LBA to LBA (hence TOC as well) still stays true to original in both cases. but i guess you're right. maybe it was issue with hardware or software they used back then to master CDs. and so some CDs ended up with 2.74 pauses, some with 3.00, much like offsets on PSX.

gigadeath wrote:

And what about Human Sports Festival 2.74 data tracks pregap? That a 99,99999% 3.00 pregap misjudged by EAC.

i think 2.74 is valid. it looks intentional. 3s gap would count form 74 to 0 x3 so 75x3=225 frames. these 2.74 start with one frame delay and count from 73 so 75x2+74=224. and on same cd next gap (2s) goes from 74 as usual. though, maybe i fail to notice something. i would dump image with CloneCD or Alcohol and open .sub with Subcode Alayzer, maybe you can figure something out. it would be nice if all PCE 1st tracks are same size and maybe crc match more often smile