Copy COPYLOCK TFX game 1.44 IBM pc KEYDISK

All questions regarding the dumping of media go here.
gatesbillou
Posts: 17
Joined: Sat Feb 08, 2014 9:58 pm

Copy COPYLOCK TFX game 1.44 IBM pc KEYDISK

Post by gatesbillou » Sat Dec 27, 2014 5:15 pm

hello,
I am trying to duplicate the first floppy (keydisk) of the game "TFX". It seems to be COPYLOCK protection but I can't duplicate it.
I used board rev D and DTC version 2.5 with 1.44 floppy drive SONY MPF920 (NOT new floppy but formated floppy (without error)).

Here is what I tryed :

DTC -c2 (read calibation mode maximum track)

and

DTC -fmygame -i0 (copy stream in preservation format in file "mygame")

and

dtc -fmygame -w (Write "files" to floppy)

DTC seems to write each file (stream) but when I try to read it with my usb external 3.5 floppy reader I see nothing... (error, unformated floppy)

Before , I would like to thanks mr.vince and IFW for your great work, we a so many to appreciate what you do.
Thanks a lot .

User avatar
mr.vince
Posts: 2116
Joined: Tue Oct 05, 2010 5:48 pm

Re: Copy COPYLOCK TFX game 1.44 IBM pc KEYDISK

Post by mr.vince » Sat Dec 27, 2014 10:18 pm

Is the disk index-aligned?

gatesbillou
Posts: 17
Joined: Sat Feb 08, 2014 9:58 pm

Re: Copy COPYLOCK TFX game 1.44 IBM pc KEYDISK

Post by gatesbillou » Sun Dec 28, 2014 10:56 am

Hello,
I don't know how to see if disk is index aligned.

Here is what I see : Image
Image

Files are here (20.7Mo RAR format ): https://mega.co.nz/#!At0DzQoS!rTaTznV2R ... qTCkdewFm8
CRC : 6F7FD221
MD5 : 750E15F5614D31B63E6BE7C79472BBBA

If disk is not index aligned stream copy is impossible ? is it possible to duplicate it with IPF ?
Thanks.

User avatar
IFW
Posts: 3079
Joined: Mon Nov 08, 2010 2:42 pm

Re: Copy COPYLOCK TFX game 1.44 IBM pc KEYDISK

Post by IFW » Sun Dec 28, 2014 2:30 pm

I'll check and get back to you.

BarryB
Posts: 282
Joined: Thu Aug 02, 2012 8:15 pm

Re: Copy COPYLOCK TFX game 1.44 IBM pc KEYDISK

Post by BarryB » Sun Dec 28, 2014 8:36 pm

I dumped this quite a while ago as well as Lemmings 2 Tribes, both have copylock so you can look at them too!

Would creating an IMG file and writing it back to floppy work if you then just wrote the RAW stream of Track 0 with DTC?

User avatar
IFW
Posts: 3079
Joined: Mon Nov 08, 2010 2:42 pm

Re: Copy COPYLOCK TFX game 1.44 IBM pc KEYDISK

Post by IFW » Sun Dec 28, 2014 9:02 pm

As I said, I better check the contents first :)
Right now busy with the Linux etc. releases though.

User avatar
mr.vince
Posts: 2116
Joined: Tue Oct 05, 2010 5:48 pm

Re: Copy COPYLOCK TFX game 1.44 IBM pc KEYDISK

Post by mr.vince » Tue Dec 30, 2014 9:44 am

gatesbillou wrote: If disk is not index aligned stream copy is impossible ? is it possible to duplicate it with IPF ?
1. Yes. We don't know (basically) what's on the disk. So you either copy from index, or you try some analysis and guess where the write splice is. So far in the version released we support index to index. If the write splice is elsewhere, this creates a second write splice inside data (=broken clone).

2. Yes, IPFs can handle whatever you script, but so far we only support DD.

gatesbillou
Posts: 17
Joined: Sat Feb 08, 2014 9:58 pm

Re: Copy COPYLOCK TFX game 1.44 IBM pc KEYDISK

Post by gatesbillou » Tue Dec 30, 2014 12:05 pm

Hello,

With this protection it seems I need a perfect clone ( :?: ).
You said I have to analysis and guess where the write splice is , my questions are :

1) Is there a tutorial or a little exemple about how to find that , because I am newbie and wold like to understand a little better this protection.
2) If there a plan to implement this kind of write in futur version (If possible) ?
3) If it is too hard to duplicate (or impossible) should I use HxC Floppy Emulator or something ELSE ?

Thanks a lot.

User avatar
mr.vince
Posts: 2116
Joined: Tue Oct 05, 2010 5:48 pm

Re: Copy COPYLOCK TFX game 1.44 IBM pc KEYDISK

Post by mr.vince » Tue Dec 30, 2014 3:16 pm

1. I would assume, if it's a PC based protection, that there's some tricky dicky with the data bits vs. clock bits. The latter get stripped by the floppy controller in the PC, but a specifically malformed sector can actually give the option to switch. Either way, only hard to reproduce on consumer hardware, not a challenge at all with a device like KryoFlux.
2. Yes, but as I said... the "magic" is to find the write splice. You are looking at a PC disk, some other chap might have a C64 disk, and another user might have an 8" disk with some other alien format. All have a write splice, but all look very different due to different encoding. So we decided not to release something that does not meet our expectations. It's planned for a future release. In the meantime, if you're sneaky, just identify the write splice by hand and create a little tool that will rotate the track data and move the write splice where it's supposed to be... right before the index.
3. An emulator device is always nice, but depends on what you prefer. I'd load the image in an emulator. ;)

gatesbillou
Posts: 17
Joined: Sat Feb 08, 2014 9:58 pm

Re: Copy COPYLOCK TFX game 1.44 IBM pc KEYDISK

Post by gatesbillou » Tue Dec 30, 2014 4:59 pm

Ok, I tryed emulator but have a little problem when converting format (I think).
(my ref : viewtopic.php?f=3&t=765&start=0)

Convert STREAM to PFI :

>pfi track00.0.raw disk1.pfi // Result disk1.pfi (58.2Mo)
https://mega.co.nz/#!M08WnA6I!THJmiTnTq ... KGeZa5Yraw

>pfi disk1.pfi -l

TRACK 0/0: DATA=441812 CLK=24027428 LEN=24010747 IDX=6 RPM=300.2084
TRACK 0/1: DATA=486848 CLK=24027428 LEN=24010505 IDX=6 RPM=300.2114
.. CUT ...
TRACK 72/0: DATA=441065 CLK=24027428 LEN=24012391 IDX=6 RPM=300.1879
TRACK 72/1: DATA=405527 CLK=24027428 LEN=24012516 IDX=6 RPM=300.1863


>pfi disk1.pfi -p analyse
Track 0/0: MFM 1202 KH
Track 0/1: MFM 1206 KH
Track 1/0: MFM 987 KHz
Track 1/1: MFM 986 KHz
Track 2/0: MFM 988 KHz

Convert PFI to PRI :

>pfi disk1.pfi -R 1 -r 1000000 -p decode pri disk1.pri // result disk1pri (1.74Mo)
https://mega.co.nz/#!lw13BbpK!MXBvO0Q7Z ... mVI5suiI48

Convert PRI to PSI :

>pri disk1.pri -p decode mfm disk1.psi
https://mega.co.nz/#!4111WQaa!4_5xH_0H9 ... A3UMcpfPfg

When I mount floppy file in PCE emulator I can read floppy but when i launch file i have floppy error. :roll:

Image

Post Reply