Karateka of Persia?

Are you creating new levels/mods for DOS or did you finish your work? Tell us here!

Moderator: English Moderator Team

User avatar
Norbert
The Prince of Persia
The Prince of Persia
Posts: 2922
Joined: April 9th, 2009, 10:58 pm
Contact:

Re: Karateka of Persia?

Postby Norbert » March 18th, 2017, 9:47 pm

endriuw wrote:mods 0000020 and especially 0000122


For 0000020, the basic shapes are unchanged. The protagonist is sheathing his sword in an alternative manner, but when he's doing so you can see the (body) alignment hops around randomly: look at his feet during this animation. And 0000122 also leaves all basic shapes and animations in-tact. Changing colors of (basically unchanged) shapes is not a problem.

endriuw
Sheikh
Sheikh
Posts: 22
Joined: February 21st, 2017, 5:51 pm

Re: Karateka of Persia?

Postby endriuw » March 18th, 2017, 9:50 pm

Many thanks for everything Norbert :)

David
The Prince of Persia
The Prince of Persia
Posts: 1310
Joined: December 11th, 2008, 9:48 pm
Location: Hungary

Re: Karateka of Persia?

Postby David » March 19th, 2017, 9:58 am

Norbert wrote:Attached are some of the frames. Just screenshots for now.
Not cut out or transparent yet, nor using the precise colors yet.

If someone is interested: I figured out the format of Karateka (DOS) DAT files (in 2011).
I can post the images and the extractor if someone wants. Done. (and/or write a specification into the wiki)

Here are the images together with the extractor:
Karateka_images.zip
(58.17 KiB) Downloaded 7 times


Norbert wrote:Made it to that freaking gate twice, and it killed me twice, even though I was inching forward towards it.

If I recall correctly, you have to kick it first so that it closes without killing you. Then you have to run under it quickly before it closes again.
(For some reason it won't close on your opponents. Unfair! Maybe they have a passcard? :) )

endriuw wrote:I noticed that, even if karateka is way more "primitive" than PoP1,
they have still some similarities, like the way the kid runs, the fact
that if he is hit when he is not in a "combat" position he will die
immediately, ecc.

And don't forget the triangle-shaped hitpoints.
Or the "dynamic guards" who didn't appear again until PoP2.
And that bird is probably just as annoying as the flying heads? :)

endriuw
Sheikh
Sheikh
Posts: 22
Joined: February 21st, 2017, 5:51 pm

Re: Karateka of Persia?

Postby endriuw » March 19th, 2017, 2:10 pm

Many thanks David! This topic is becoming very supportive for who may be interested in doing the mod at the end (including me!), it's becoming a very nice tutorial with all the explanations and many files provided! Thanks a lot, i like this community!

PS other things in common between Karateka and PoP1:

- The intro animation with the "Broderbund presents...", with the tale text
and with the "boss" holding the princess as prisoner....

- When I played PoP1 for the first time and I saw the gates, they
reminded me the gate in Karateka and I was scared they would kill
me!

- The way the karateka and the prince run....

- The position karateka has when dying (see res045 file among David's generated files):

- The "blowing up" symbol appearing on people's body when they get hit....

- etc. etc. etc.

endriuw
Sheikh
Sheikh
Posts: 22
Joined: February 21st, 2017, 5:51 pm

Re: Karateka of Persia?

Postby endriuw » March 20th, 2017, 4:31 pm

PS I got this after playing a little bit with the files automatically
generated by David's scripts.... I will start thinking more seriously
about this from April :-)

PS In the mod with ID 0000122 they also managed to edit the sword,
making a shorter one with a different shape... do you know how
they managed to do this? I would like to replace it with something
totally transparent and maybe the final part of karateka's foot...
Attachments
karateka_of_persia.png
res582.png
res582.png (455 Bytes) Viewed 62 times

endriuw
Sheikh
Sheikh
Posts: 22
Joined: February 21st, 2017, 5:51 pm

Re: Karateka of Persia?

Postby endriuw » March 20th, 2017, 5:57 pm

Great news! :-)

I am using Linux and I have found a great package called ImageMagick to
automatically modify all the files generated automatically using David's
scripts in order to adapt them to the PoP1 graphics!

More precisely (I have just tested it!), using the "convert" command I can
do the following things automatically.

1. Putting the head of karateka on each karateka body, by appending the
corresponding files and setting the gravity to "center" (unfortunately
the head of the karateka is in a separate file, this is why we need this
first step).

2. Transforming the "green" background color in all images into transparent,
and converting the images from BMP to PNG.

3. Resizing all the images such that the karateka has the same size as the
prince, then we don't need to make space measurements when he moves!

There is still a lot to do, like trying to make the karateka and the prince as
similar as possible, in order to reuse the prince image when climbing or
jumping, but it is already a first step...

Unfortunately I cannot start working on this before April, and my work will
be very slow because of all my commitments at work, but I hope to slowly
reach some results eventually....

endriuw
Sheikh
Sheikh
Posts: 22
Joined: February 21st, 2017, 5:51 pm

Re: Karateka of Persia?

Postby endriuw » March 21st, 2017, 4:24 pm

Hi everyone,

in PoP1, do you know exactly which files correspond to which moves ?

For example, which moves do correspond to running?

I guess the following files are involved:
res401.png, res402.png, ...., res413.png, res414.png

But how can I know in which order and if there is some loop?
(for example when the prince keeps running)

Is there any documentation about these moves somewhere on the web?

(for example about fighting, jumping, etc.)

Many thanks....

David
The Prince of Persia
The Prince of Persia
Posts: 1310
Joined: December 11th, 2008, 9:48 pm
Location: Hungary

Re: Karateka of Persia?

Postby David » March 25th, 2017, 11:06 am

endriuw wrote:PS In the mod with ID 0000122 they also managed to edit the sword,
making a shorter one with a different shape... do you know how
they managed to do this? I would like to replace it with something
totally transparent and maybe the final part of karateka's foot...

The images of the sword are in PRINCE.DAT.

endriuw wrote:in PoP1, do you know exactly which files correspond to which moves ?

See here: viewtopic.php?p=15726#p15726
The source of SDLPoP can also be useful.


Return to “New Levels and Mods For DOS”

Who is online

Users browsing this forum: No registered users and 2 guests