'V-Max secondary checks'
Author:Lord Crass (guest: search)
Date: Wed, Apr 06th, 2011 @ 21:12 ( . )

Not yet. I only have access to a regular C128 with external drives (1541, 1541-II, 1571), not a C128D.


REPLY: [With No Quote] --- [With Quoted Text]

'V-Max secondary checks'
Author:Pete Rittwage (registered user: 558 posts )
Date: Sun, Apr 17th, 2011 @ 11:55 ( . )

I've linked this thread into the V-MAX! protection description on the site.

Lord Crass- if you ever want to compile your finding in article form, I'd be glad to augment/replace my original findings from 2005. You have gone deeper than I have into it, so you have better insight into the versioning.


REPLY: [With No Quote] --- [With Quoted Text]

'V-Max secondary checks'
Author:Lord Crass (guest: search)
Date: Sun, Apr 17th, 2011 @ 21:42 ( . )

I still need to disassemble and comment the loaders for V-Max versions 2, 3, and 4. V2 looks similar to V1 except for the actual sector read routine, while 3 is quite different.

Once this is done, I'll clean it all up and format it into something presentable.


REPLY: [With No Quote] --- [With Quoted Text]

'V-Max secondary checks'
Author:Fungus (registered user: 20 posts )
Date: Sun, Apr 24th, 2011 @ 07:54 ( . )

I have done the v-max 2.x load from three stooges, I would be glad to contribute it, it's very well commented.

Aside from that, what do I need to patch in v-max 2 (earlier) to make it function in vice 2.3. Specifically Side Arms I am trying to get to work again.


REPLY: [With No Quote] --- [With Quoted Text]

'V-Max secondary checks'
Author:Lord Crass (guest: search)
Date: Sun, Apr 24th, 2011 @ 23:40 ( . )

Sure, it'd be nice to see someone else's take on the code as I'm sure I've made some mistakes here and there (I used Sinbad as my base for V2). I still have to look at the C64 side of the code, although I'm pretty sure it's mostly the same as V1.

I'm almost done with V3 and V4. Some heavy use/abuse of the stack in that one, but a very nice DOS it is. Simple, elegant, and flexible.

Sidearms is checking the lengths of the sync marks on track 4 and again on track 6. The sync marks on those tracks need to be:

Header block sync: 2B FF FF FF FF FF
Data block sync: AF FF FF FF FF FF

I've disassembled and commented those earlier secondary protections for all titles that had them. Attached is the one for Sidearms. Since this same sync check is used frequently, it's only lightly commented in this particular disassembly. I've documented it more thoroughly on the Defender of the Crown version.

Attachments:
1303702686_sidearms-vmax1.txt


REPLY: [With No Quote] --- [With Quoted Text]

'V-Max secondary checks'
Author:Fungus (registered user: 20 posts )
Date: Wed, Apr 27th, 2011 @ 22:51 ( . )

Kewl thanks for that. Can you pass me your email? I'd rather not post some stuff in public. I don't know if there is any PM system here, I don't think there is... well anyways mine is fungusn0 at (no freaking spam from bots and trolls) gmail dot com.



REPLY: [With No Quote] --- [With Quoted Text]

'V-Max secondary checks'
Author:Fungus (registered user: 20 posts )
Date: Thu, Apr 28th, 2011 @ 00:44 ( . )

Ok I tried to patch sidearms s1, and it passes the track 4 check, but still fails on track 6. Can you tell me what I did wrong or why it still fails? I triple checked that all syncs are the right size, and I also checked to make sure the gap bytes were correct which it checks.

Attachments:
1303965891_sidearms_s1[capcom_1987](vmax2)patched.zip


REPLY: [With No Quote] --- [With Quoted Text]

'V-Max secondary checks'
Author:Lord Crass (guest: search)
Date: Thu, Apr 28th, 2011 @ 02:41 ( . )

The 17th sync mark was one byte too long. However, something else happened because after I fixed that, the sector checksum kept failing and it would load the track over and over.

This track has a different byte for the end of data block which also starts the next sync. It's a $7F. However, the protection passes if you use 7F FF FF FF FF as that header block sync mark and AF FF FF FF FF FF for the data block sync mark, so that's what I did since it meant changing fewer entries.

I've attached a fixed up image.

Attachments:
1303972861_sidearms_s1[capcom_1987](vmax2)-working.zip


REPLY: [With No Quote] --- [With Quoted Text]

'V-Max secondary checks'
Author:Lord Crass (guest: search)
Date: Thu, Apr 28th, 2011 @ 03:03 ( . )

Eh, don't use that last one. It doesn't work reliably. It was working for 3 or 4 loads in Vice 2.3 but then it failed. 2.3 has some timing issues I've noticed. But in 2.2 it fails consistently. A 39-bit sync mark is too short for this protection.

I've replaced all those $7F sync marks with the 2B FF FF FF FF FF version and it worked every time for me in Vice 2.2 and 2.3.

Attachments:
1303974172_sidearms_s1[capcom_1987](vmax2)-reliable.zip


REPLY: [With No Quote] --- [With Quoted Text]

'V-Max secondary checks'
Author:Fungus (registered user: 20 posts )
Date: Thu, Apr 28th, 2011 @ 10:36 ( . )

Thanks much! will you shoot me an email so I can pass that disasm work on v-max v2 also? =]



REPLY: [With No Quote] --- [With Quoted Text]

'V-Max secondary checks'
Author:Lord Crass (guest: search)
Date: Thu, Apr 28th, 2011 @ 11:30 ( . )

I sent you an email the other day, but if you didn't get it, my address is lordcrass {at} hotmail dot com.


REPLY: [With No Quote] --- [With Quoted Text]

'V-Max secondary checks'
Author:Fungus (registered user: 20 posts )
Date: Thu, May 12th, 2011 @ 23:46 ( . )

Can someone redump side 2 of this game? It has some errors. Unable to find some block headers on tracks 25 and 29, and maybe more.

I can provide a tool to check if it works.


REPLY: [With No Quote] --- [With Quoted Text]

'V-Max secondary checks'
Author:Fungus (registered user: 20 posts )
Date: Fri, May 13th, 2011 @ 16:22 ( . )

Never mind previous post, I just made an error in my tools, disk images are working fine.


REPLY: [With No Quote] --- [With Quoted Text]

'V-Max secondary checks'
Author:hyper active (registered user: 296 posts )
Date: Thu, Jan 17th, 2013 @ 01:40 ( . )

Good Evening
Today I finally got ice hockey up and running on my 128d with internal drive by converting the flux stream to g64 with dtc, then writing the long tracks from the g64. You'll need a maverick speed controller fitted to your drive or a way of slowing down the drive motor without too much jitter and flutter to remaster these big tracks, or else the tracks will become mangled. If this happens, you'll often get mixed results. My 1541 seems to be a bit more forgiving than my c128d when the game checks the tracks, on the latter machine, the head would thrash and shake like mad.


REPLY: [With No Quote] --- [With Quoted Text]

'V-Max secondary checks'
Author:Hyperactive (guest: search)
Date: Tue, Oct 22nd, 2013 @ 01:16 ( . )

That was a band aid solution to convert the tracks from KF to g64 then write back the long tracks with nibwrite, but it worked. Now I have a Kryoflux device, which does all the hard work for you. Oh well, it's been a fun protection to play with. You have to hand it to Harald though, he really was on top of his game with his anti-piracy system. We had to overcome not 1, not 2, not even 3, but 4 obstacles in order to copy the game
The loader code on track 20, the check for extra drive ram, the short and long tracks, and the sync check on track 12.
Of course, no game stayed uncrackable for long, but I'm guessing it kept the hackers and crackers busy for long enough for Cinemaware to rake in a decent amount of money.


REPLY: [With No Quote] --- [With Quoted Text]

'V-Max secondary checks'
Author:hyper active (registered user: 296 posts )
Date: Thu, Dec 21st, 2017 @ 18:00 ( . )

On Infiltrator II mission 1, the following edits must be made to pass the sync length check
track 21: Header block sync: 2B FF FF FF FF FF
Data block sync: AF FF FF FF FF.

track 13: Header block sync: 2B FF FF FF FF FF
Data block sync: AF FF FF FF FF FF.
(Same as superstar Ice Hockey).
Curiously, nibtools v587 is the only version that is able to capture track 21 correctly, but none of the versions I have can successfully capture the right number of syncs for track 13.


REPLY: [With No Quote] --- [With Quoted Text]

'V-Max secondary checks'
Author:hyper active (registered user: 296 posts )
Date: Tue, Dec 26th, 2017 @ 00:32 ( . )

Whoops, sorry, MY MISTAKE, Both the header block and data block for track 13 should be AF FF FF FF FF


REPLY: [With No Quote] --- [With Quoted Text]

'V-Max secondary checks'
Author:Pete Rittwage (registered user: 558 posts )
Date: Wed, May 23rd, 2018 @ 13:45 ( . )

On 12/21/2017 @ 18:00, hyper active wrote :
On Infiltrator II mission 1, the following edits must be made to pass the sync length check
: track 21: Header block sync: 2B FF FF FF FF FF
: Data block sync: AF FF FF FF FF.
:
: track 13: Header block sync: 2B FF FF FF FF FF
: Data block sync: AF FF FF FF FF FF.
: (Same as superstar Ice Hockey).
: Curiously, nibtools v587 is the only version that is able to capture track 21 correctly, but none of the versions I have can successfully capture the right number of syncs for track 13.
--



Interesting, I will have to see why...


REPLY: [With No Quote] --- [With Quoted Text]


--- 0 Users Online --- 0 Recent Unique Posters

Q589=1653057074 - Threads: / 1653057074