Author Topic: Need some help pcb id  (Read 18061 times)

0 Members and 2 Guests are viewing this topic.

Offline Monstabonza

  • Senior Member
  • *
  • Posts: 237
    • Awards
« Last Edit: February 28, 2014, 08:39:59 pm by Monstabonza »
Dk PB 391800
Dk jr PB 42000
CK 481400 lvl 19-1
CK On CC 567100 KS

Twitch =
Member for 11 Years IGBY 2014 DKF Team Member CK Killscreener Blogger Twitch Streamer

Offline syscrusher

  • Elite Member
  • *
  • Posts: 308
    • Awards
Re: Need some help pcb id
« Reply #1 on: April 09, 2013, 05:02:28 pm »
Did you attach a picture or post a link?  I don't see said PCB.
Member for 11 Years DK Masters - Rank C Winner of a community event Former DKJR World Record Holder - MAME IGBY 2016 DKF Team Member IGBY 2015 DKF Team Member IGBY 2014 DKF Team Member 1M on DK, DKJR, and DK3 Difficulty 3 DK3 Repetitive Blue Screener Blogger DK 1M Point Scorer DKJR Killscreener CK Killscreener Former D2K World Record Holder Twitch Streamer DK Killscreener

Offline Monstabonza

  • Senior Member
  • *
  • Posts: 237
    • Awards
Re: Need some help pcb id
« Reply #2 on: April 09, 2013, 05:05:55 pm »
Had it set to private.
Should work now.
Dk PB 391800
Dk jr PB 42000
CK 481400 lvl 19-1
CK On CC 567100 KS

Twitch =
Member for 11 Years IGBY 2014 DKF Team Member CK Killscreener Blogger Twitch Streamer

Offline Monstabonza

  • Senior Member
  • *
  • Posts: 237
    • Awards
Re: Need some help pcb id
« Reply #3 on: April 09, 2013, 06:20:13 pm »
Dk PB 391800
Dk jr PB 42000
CK 481400 lvl 19-1
CK On CC 567100 KS

Twitch =
Member for 11 Years IGBY 2014 DKF Team Member CK Killscreener Blogger Twitch Streamer

Offline marinomitch13

  • Spring Jumper
  • *
  • Posts: 1806
    • How to Play DK
    • Awards
Re: Need some help pcb id
« Reply #4 on: April 09, 2013, 07:53:12 pm »
'Part 2'? Hmm... I wonder if this is what is considered to be CKjr?
"Thou hast made us for Thyself, and our heart is restless until it finds its rest in Thee." -Augustine, Confessions.
Member for 11 Years IGBY 2015 DKF Team Member DK Killscreener Blogger Twitch Streamer

Offline ChrisP

  • Spring Jumper
  • *
  • Posts: 1764
  • I'm going to jump next to your leg.
    • Donkey Blog
    • Awards
Re: Need some help pcb id
« Reply #5 on: April 09, 2013, 10:55:43 pm »
That PCB is a bootleg of Crazy Kong Part 2. That isn't from Falcon. Looks like "Leisur." As far as I know, that bootleg hasn't been MAMEd, but there are dozens of Crazy Kong bootlegs (which is funny, since Crazy Kong itself is a bootleg).

In any case (the bad news), you wouldn't be able to use that for TG competition. However (the good news), with that JAMMA conversion harness, it doesn't look like you'll have to have any particular hardware to run it. Any JAMMA cabinet will do.

Explanation of Part 1 and Part 2:

The original Crazy Kong (Part 1) has different colors and such than the one most of us are more familiar with for TG competition, which is actually Crazy Kong Part 2.

It's not really "Part 2" in the sense of being a sequel, it's just the original with some slight tweaks.

To make matters more confusing, the MAME ROM that used to be "ckong.zip", contained the Part 2 game, but in newer versions of MAME (since 139, long after Wolf 106 which is the one TG uses), the name of the zip file referring to that version was changed to "ckongpt2.zip", and "ckong.zip" is now Part 1.
http://donkeykongblog.blogspot.com

4 Quarters :-* - 800K Avg. Per Qtr. :o - No Restarts 8) - No Proof :'(

7/26/2013   Coin 35,946   710,800   18-1
7/28/2013   Coin 35,947   903,700   22-1
8/16/2013   Coin 35,948   694,100   17-6
8/17/2013   Coin 35,949   893,100   22-1

3,201,700: the $1 World Record?
Member for 11 Years DKJR Killscreener DK Masters - Rank D IGBY 2016 DKF Team Member IGBY 2015 DKF Team Member IGBY 2014 DKF Team Member Blogger Twitch Streamer DK Killscreener CK Killscreener

Offline JNugent

  • Senior Member
  • *
  • Posts: 239
  • Just a guy who likes to play games.
    • Awards
Re: Need some help pcb id
« Reply #6 on: April 09, 2013, 11:10:09 pm »
Should Crazy Kong be referred to as a "bootleg", when it was actually licensed by Nintendo for overseas use?  I think probably "a clone developed by Falcon and licensed by Nintendo for non-US markets" would be better.  Not that I'm making an issue of it...  ;)  Okay, back to the topic.

567,200 - Crazy Kong (MAME) - ended on L=21 rivets
555,000 - Donkey Kong (MAME)
Member for 11 Years Twitch Streamer Blogger

Offline Monstabonza

  • Senior Member
  • *
  • Posts: 237
    • Awards
Re: Need some help pcb id
« Reply #7 on: April 09, 2013, 11:57:24 pm »
I was allways under the impression that part 1 had no licence and was green, and that part II had licence and was normal colours.
that's what got me confused.
I hope I win it so I can see how it goes. I guess ill have to look into maming it aswell.

P.S.  I fixed the links
« Last Edit: April 10, 2013, 12:00:13 am by Monstabonza »
Dk PB 391800
Dk jr PB 42000
CK 481400 lvl 19-1
CK On CC 567100 KS

Twitch =
Member for 11 Years IGBY 2014 DKF Team Member CK Killscreener Blogger Twitch Streamer

Offline ChrisP

  • Spring Jumper
  • *
  • Posts: 1764
  • I'm going to jump next to your leg.
    • Donkey Blog
    • Awards
Re: Need some help pcb id
« Reply #8 on: April 10, 2013, 12:49:22 am »
Yes, Part 1 is green, Part 2 is "earth tones."

This particular Part 2 bootleg is green, but it's different-green than normal Part 1 green.
http://donkeykongblog.blogspot.com

4 Quarters :-* - 800K Avg. Per Qtr. :o - No Restarts 8) - No Proof :'(

7/26/2013   Coin 35,946   710,800   18-1
7/28/2013   Coin 35,947   903,700   22-1
8/16/2013   Coin 35,948   694,100   17-6
8/17/2013   Coin 35,949   893,100   22-1

3,201,700: the $1 World Record?
Member for 11 Years DKJR Killscreener DK Masters - Rank D IGBY 2016 DKF Team Member IGBY 2015 DKF Team Member IGBY 2014 DKF Team Member Blogger Twitch Streamer DK Killscreener CK Killscreener

Offline Monstabonza

  • Senior Member
  • *
  • Posts: 237
    • Awards
« Last Edit: February 28, 2014, 08:51:52 pm by Monstabonza »
Dk PB 391800
Dk jr PB 42000
CK 481400 lvl 19-1
CK On CC 567100 KS

Twitch =
Member for 11 Years IGBY 2014 DKF Team Member CK Killscreener Blogger Twitch Streamer

Offline Monstabonza

  • Senior Member
  • *
  • Posts: 237
    • Awards
Re: Need some help pcb id
« Reply #10 on: May 08, 2014, 09:13:45 pm »
Ok here are the pics of the top of the top PCB,
in order, Whole PCB,

 


3 pics of parts with extra wiring, and extra roms??






z80




DIPS




Bottom of top PCB,




Top of bottom pcb




Bottom of bottom PCB



Thats about it hope there not huge pics
Dk PB 391800
Dk jr PB 42000
CK 481400 lvl 19-1
CK On CC 567100 KS

Twitch =
Member for 11 Years IGBY 2014 DKF Team Member CK Killscreener Blogger Twitch Streamer

Offline Monstabonza

  • Senior Member
  • *
  • Posts: 237
    • Awards
Re: Need some help pcb id
« Reply #11 on: May 22, 2014, 05:46:22 pm »
Ok, it works   Kreygasm

The picture is upside down but I can fix that at some stage.
So far I know the jump through the floor on lvl 1 works.
It says how high can you try.
You can't jump if the bottom 2 girders on the rivet stage.
The kong pictures on the cut screen change colour for each board.
It has the falcon splash screen.
That's about it so far I haven't gone to lvl 2 yet but ll probably do that over the weekend


Anything else I should look for?
Dk PB 391800
Dk jr PB 42000
CK 481400 lvl 19-1
CK On CC 567100 KS

Twitch =
Member for 11 Years IGBY 2014 DKF Team Member CK Killscreener Blogger Twitch Streamer

Offline Monstabonza

  • Senior Member
  • *
  • Posts: 237
    • Awards
Re: Need some help pcb id
« Reply #12 on: May 24, 2014, 08:43:40 am »
So I swapped the plug on the chassis and bam the picture is right way up.
So onto playing the game.
When i first started playing it I played one game and it seemed normal, played to lvl 7 then died on springs
by climbing the second last ladder and got hit by a spring? not sure how but thats what seemed to happen.
after that i decided to stream with my sub optimal web cam, its blury but ill get another one soon and any suggestions are welcome. so i did this and came back and noticed the game had frozen,
I rebooted it and set up the stream.
http://www.twitch.tv/monstabonza/b/531698937
so from here you can watch if you like at first it seemed normal then weird things started happening, at around 10min
I noticed that the girders above hammers were vanishing or becoming other things when hammers were taken. Then on the next pie stage, funny things started happening with kong, as the game goes on the pie factories get weirder and weirder. 23:11 in the video is a prime example.

Then  at about 35:30 the game resets on the first death, after this there is still some funny sprites on the screen.
The next game it also reset 49:30 on my first death.

After this I played a game through to lvl 12 or 13, and not a thing i could notice at all went wrong, Besides things being different colour and a few sounds missing and being different, i could not in anyway distinguish anything different from crazy kong part II from mame by Falcon.


Now about the Pcb, it is a Crazy Climber PCB by  Nichibutsu.
This game came out with with roms that were encrypted and had a module to read the information.
this was located where the z80 chip is on my board.
this module can be seen here http://www.crazykong.com/pcbs/A%20-%20F/CrazyClimber.pcb_mini.jpg

This is about the module

Info taken from http://www.arcadecollecting.com/crazy/cchack/
Quote
That block is a custom CPU module that decrypts the code ROMs. The good news is that someone smarter than myself figured out the encryption table and the details are in MAME's Crazy Climber driver source code. The bad news is that they only encrypted opcodes and not data. This means we can't just use MAME to dump out the decrypted code and burn a set of EPROMs and install them on the board. The only way MAME knows what values are supposed to be opcodes and which are supposed to be data is to actually run the code. What they do is create a memory region that's twice as big as the code ROMs and fill one half with the decrypted data and the other half with untouched data. When MAME runs the game, if it's executing an opcode, it reads from the decrypted region and if it's reading data, it reads from the untouched data. In order for us to do the same, we'd have to burn a set of EPROMs that are twice the size of the original and connect the "M1" pin of the Z80 CPU to the highest address pin of each EPROM. This works because when the CPU is executing an opcode, the M1 pin will be "low" and when it is reading data, it will be "high" (or the other way around, I forget), so you use that to switch between the upper and lower halves of the data in the EPROMs.

Well, I didn't much like the idea of running wires all over my PCB. But, the only way to get a correctly decrypted set of ROMs the same size of the original would be to somehow play through the game and monitor what gets used as what. You could modify MAME to create a log file indicating what values were used as what. However, you'd need to play through the entire game,trying to get every last byte to be read to be 100% sure you've got the two regions merged correctly. This is near impossible to do by just playing through the game, since there will be bits you will miss no matter how many times you play. I got into a bit of discussion on this topic with David Widel, who had been trying this technique with some other games and couldn't get more than about 93% of a game's ROMs identified with this method. I had some ideas of my own on how to get 100% identification, so he sent me his modified version of MAME and I went to work on my favorite encrypted game... Crazy Climber.

There are two types of data that a given byte can be. The first type is data associated with an opcode.
Here is an example of the first type:

CA C9 0B -- jp z,$0BC9

CA is the opcode (jp z or jump if zero) and C9 0B is the data (the address to jump to, 0BC9).

The second data type is data that is read in chunks, like text strings, level layouts, etc.

After playing through the game a couple times to get a good sampling to work with, and looking at all the places that weren't getting executed, I noticed that all of the second data type in Crazy Climber was enclosed with a header and footer that was the same every time...

C7 FB [DATA] C7 F3.

Bingo! That meant that I would be able to identify every single byte in the game without playing it at all. However, I was actually kinda having fun figuring out how to get all the code in the game to execute, so I went ahead and went through all the code using my newfound information to accurately target the areas I needed to get executed, setting breakpoints at key locations and figuring out the conditions that would be required to run that chunk of code. It took about 8 more hours of fiddling to get to 100% identification. Along the way, I found almost all the interesting bits of code and memory locations that I'd need to twiddle to make my mods to the game to fix the interface flaws I felt it had. (Check out the bottom of the page for some of the interesting areas I found.) So, the result of this is we now have decrypted code that is easy (realatively speaking) to modify to our (well, at least to my) liking. The EPROMs with encrypted code can be replaced with EPROMs containing non-encrypted code and the funny green block can be replaced with a standard Z80 CPU. Sounds grand, but there's one problem... the socket the green block plugs into is not a standard CPU socket. In order to run unencrypted code on an original PCB, you will need to make an adapter.


So im assuming something like that was done but without the adapter,
Now for my speculations on this,
Falcon released CK part II  mine says leisur , which i assume would be an easy hack being the same amount of characters
now in australia there is a company called Allied Leisure Industries.
Im going to go out on a limb and say someone there did it.
The question now becomes How they did it, Why they did it, and what id really like to know when they did it.

Again ill guess they maby they were going for a licence of the game?

Anyway thats a long enough post, If anyone has anything else to add feel free to chime in, especially if I have made any mistakes. 

Next step is probably send it to one of you guys the get the roms dumped and find out whats going on in there nd get it Mamed.

Nick
Dk PB 391800
Dk jr PB 42000
CK 481400 lvl 19-1
CK On CC 567100 KS

Twitch =
Member for 11 Years IGBY 2014 DKF Team Member CK Killscreener Blogger Twitch Streamer