Dragon's Lair Fans - Arcade Lifestyle

General Chat => Arcade Lifestyle => Topic started by: ajhippel on May 18, 2015, 03:20:43 PM

Title: Donkey Kong + Pauline - Dual-Version
Post by: ajhippel on May 18, 2015, 03:20:43 PM
a few weeks ago i found the donkey kong arcade pauline hack

http://www.multigame.com/dkp_arcade.html (http://www.multigame.com/dkp_arcade.html)  - http://www.multigame.com/dkp_arcade.html

and fell in love with that version.

first i want to mention here that all of the original arcade work belongs to Clay Cowgill. Without his work mine wouldn't be possible.
The original idea is from Mike Mika.. he should be mentioned and thanked as well!

after reading the information i found an interesting statement:

..."There's a lot of unused space in the Donkey Kong graphics ROMs. "...

here i thought - maybe there is enough free space to combine both graphics. i knew that there is more to do than just swap the grafic data.
i wanted to create a switchable version (to increase the woman-acceptance-factor) ;-)

i have the source-code of DK for my online project so i gave it a try.

first i downloaded the rom-patches for Pauline and made a original Pauline version.

then i downloaded turaco (it was not that easy to run that program on Win7 64bit) and extracted both graphic-images.

there i saw, that there is really enough free space to combine both versions.
DK has space for 128 Objects, but only 92 are filled with graphics.
that means 36 free spaces.

there are 29 changed objects for the Pauline-Edition - so it should work :)

after combining both graphics i started to modify the dk program.

the easiest way was a conversion-table for all 128 sprites (most of them will be unchanged).
e.g. when the program wants to show sprite #0 (mario), it should show pauline (sprite #53)


spritetable:
          defb #53,#54,#55,#56,#57,#58,#59,#07,#5a,#5b,#5c,#5d,#5e,#5f,#67,#68
          defb #69,#6a,#6b,#6c,#6d,#15,#16,#17,#18,#19,#1a,#1b,#1c,#1d,#1e,#1f
          defb #20,#21,#22,#23,#24,#25,#26,#27,#28,#29,#2a,#2b,#2c,#2d,#2e,#2f
          defb #30,#31,#32,#33,#34,#35,#36,#37,#38,#39,#3a,#3b,#3c,#3d,#3e,#3f
          defb #40,#41,#42,#43,#44,#45,#46,#47,#48,#49,#4a,#4b,#4c,#4d,#4e,#4f
          defb #50,#51,#52,#53,#54,#55,#56,#57,#58,#59,#5a,#5b,#5c,#5d,#5e,#5f
          defb #60,#61,#62,#63,#64,#65,#66,#67,#68,#69,#6a,#6b,#6c,#6d,#6e,#6f
          defb #70,#71,#72,#47,#71,#07,#76,#77,#6e,#6f,#70,#7b,#7c,#7d,#7e,#7f

the colors must be altered as well, so again - a table:

colortable:
          defb #ff,#ff,#ff,#ff,#ff,#ff,#ff,#0d,#ff,#ff,#ff,#ff,#ff,#ff,#ff,#ff
          defb #ff,#ff,#ff,#ff,#ff,#ff,#ff,#ff,#ff,#ff,#ff,#ff,#ff,#ff,#ff,#ff
          defb #ff,#ff,#ff,#ff,#ff,#ff,#ff,#ff,#ff,#ff,#ff,#ff,#ff,#ff,#ff,#ff
          defb #ff,#ff,#ff,#ff,#ff,#ff,#ff,#ff,#ff,#ff,#ff,#ff,#ff,#ff,#ff,#ff
          defb #ff,#ff,#ff,#ff,#ff,#ff,#ff,#08,#ff,#ff,#ff,#ff,#ff,#ff,#ff,#ff
          defb #ff,#ff,#ff,#09,#09,#09,#09,#09,#09,#09,#09,#09,#09,#09,#09,#09
          defb #ff,#ff,#ff,#ff,#0c,#09,#01,#09,#09,#02,#02,#02,#02,#02,#09,#09
          defb #09,#01,#ff,#ff,#ff,#ff,#ff,#ff,#ff,#ff,#ff,#ff,#ff,#ff,#ff,#ff

...and sometimes i had to convert it back again for math-operations:

spritebacktable:
          defb #00,#01,#02,#03,#04,#05,#06,#75,#08,#09,#0a,#0b,#0c,#0d,#0e,#0f
          defb #10,#11,#12,#13,#14,#15,#16,#17,#18,#19,#1a,#1b,#1c,#1d,#1e,#1f
          defb #20,#21,#22,#23,#24,#25,#26,#27,#28,#29,#2a,#2b,#2c,#2d,#2e,#2f
          defb #30,#31,#32,#33,#34,#35,#36,#37,#38,#39,#3a,#3b,#3c,#3d,#3e,#3f
          defb #40,#41,#42,#43,#44,#45,#46,#73,#48,#49,#4a,#4b,#4c,#4d,#4e,#4f
          defb #50,#51,#52,#00,#01,#02,#03,#04,#05,#06,#08,#09,#0a,#0b,#0c,#0d
          defb #60,#61,#62,#63,#64,#65,#66,#0e,#0f,#10,#11,#12,#13,#14,#78,#79
          defb #7a,#74,#72,#73,#74,#75,#76,#77,#78,#79,#7a,#7b,#7c,#7d,#7e,#7f

i don't want to get too technical here - there other small things i changed, e.g.:
mario (as hostage) is much smaller than pauline - so i lowered the "help"-text one line.

and finally i put a "switch" that all those changes can be switched "on" and "off".

hardware-modifications:
* change 5 of 6 graphic-eproms
* and a savekit with the new program

here are some screenshots:
Title: Re: Donkey Kong + Pauline - Dual-Version
Post by: ajhippel on May 18, 2015, 03:23:59 PM
four days ago i made a switchable version of d2k - Pauline returns.

further information will follow...

Title: Re: Donkey Kong + Pauline - Dual-Version
Post by: ajhippel on May 18, 2015, 03:26:18 PM
more pix
Title: Re: Donkey Kong + Pauline - Dual-Version
Post by: Thwocker on May 18, 2015, 03:26:32 PM
The Wizzard strikes again!   :o
Title: Re: Donkey Kong + Pauline - Dual-Version
Post by: anunaki on May 18, 2015, 03:29:41 PM
Hell yeah. This is amazing Jochen.

Biggup big time for this one :spaceace: :spaceace:

Title: Re: Donkey Kong + Pauline - Dual-Version
Post by: Wurstkopp on May 18, 2015, 03:42:16 PM
Lol, great idea!! :lol:
Title: Re: Donkey Kong + Pauline - Dual-Version
Post by: Etienne MacGyver on May 18, 2015, 04:33:51 PM
Fantastic !

(http://www.allgraphics123.com/ag/01/7294/7294.jpg)
Title: Re: Donkey Kong + Pauline - Dual-Version
Post by: Q*ris on May 18, 2015, 04:49:26 PM
I confirm what Magic Jochen wrote above.
It works 300% and it's awesome!
Title: Re: Donkey Kong + Pauline - Dual-Version
Post by: ckong on May 18, 2015, 06:50:17 PM
Wow, I love it.  :spaceace:
Title: Re: Donkey Kong + Pauline - Dual-Version
Post by: DarthNuno on May 18, 2015, 08:16:56 PM
Pauline  :-* :-* :-*

 :spaceace: :spaceace: :spaceace:
Title: Re: Donkey Kong + Pauline - Dual-Version
Post by: level42 on May 18, 2015, 08:26:04 PM
You deserve the arcade emancipation award 2015 buddy !!

Awesome work !

One stupid question: doesn't the conversion table referecing eat up (some) processors time ?
Title: Re: Donkey Kong + Pauline - Dual-Version
Post by: ajhippel on May 18, 2015, 09:06:33 PM
You deserve the arcade emancipation award 2015 buddy !!

Awesome work !

One stupid question: doesn't the conversion table referecing eat up (some) processors time ?

yes it does use some cpu time but it does not affect any timing.

the whole game is nmi-irq based

it means, the main game program runs every nmi interrupt (about 60hz)...

so if a sprite is set about 50 clockcylcles later than the "original" - it can not be recognized.

Title: Re: Donkey Kong + Pauline - Dual-Version
Post by: gyruss on May 18, 2015, 09:12:13 PM
hahaha, this is great!  :spaceace: :spaceace: :spaceace:
Title: Re: Donkey Kong + Pauline - Dual-Version
Post by: level42 on May 18, 2015, 09:30:47 PM
You deserve the arcade emancipation award 2015 buddy !!

Awesome work !

One stupid question: doesn't the conversion table referecing eat up (some) processors time ?

yes it does use some cpu time but it does not affect any timing.

the whole game is nmi-irq based

it means, the main game program runs every nmi interrupt (about 60hz)...

so if a sprite is set about 50 clockcylcles later than the "original" - it can not be recognized.



Hah, tell that to the Hi-Score guys  ;D ;D ;D ;D ;D ;D

No I understand. And Pauline version is not Hi-Score material anyway.......or is it ? ;)
Title: Re: Donkey Kong + Pauline - Dual-Version
Post by: Franzy21 on May 18, 2015, 09:36:08 PM
Awesome work!!
I wish I could play with it.
 ;D
Title: Re: Donkey Kong + Pauline - Dual-Version
Post by: Tyrem on May 18, 2015, 10:44:41 PM
Awesome work!!
I wish I could play with it.
 ;D

that should not be a major problem. i just installed our new savekits in mario bros., popeye and eagle. we need to get in touch with the pauline and dk2 guy though.
Title: Re: Donkey Kong + Pauline - Dual-Version
Post by: level42 on May 18, 2015, 11:36:56 PM
Mmmmmmmmmmmmmmm, would be fun to have this at Eurocade  ;D ;D ;D ;D ;D
Title: Re: Donkey Kong + Pauline - Dual-Version
Post by: Tyrem on May 19, 2015, 07:19:59 AM
Mmmmmmmmmmmmmmm, would be fun to have this at Eurocade  ;D ;D ;D ;D ;D

no problem. :) we have two dedicated DKs running this then.
Title: Re: Donkey Kong + Pauline - Dual-Version
Post by: anunaki on May 19, 2015, 08:15:10 AM
I bring my dk andre and this could be in there. I asked jochen already
Title: Re: Donkey Kong + Pauline - Dual-Version
Post by: Tyrem on May 19, 2015, 08:23:24 AM
I bring my dk andre and this could be in there. I asked jochen already

best news is that you will appear in our highscore internet-table as well. :)
Title: Re: Donkey Kong + Pauline - Dual-Version
Post by: level42 on May 19, 2015, 03:53:14 PM
 :spaceace: :spaceace: :spaceace:


And it just so happens that we actually got internet at the clubhouse recently.....Yeah really !

before that we didnt even have a phone :)