Short films between levels
Short films between levels
Can I change the look of the short films (I don't know how to name it better) between levels somehow? I mean those films where we see the princess waiting for the prince. I would like to put something completely different there.
Re: Short films between levels
(Sometimes they are called cutscenes.)
The location and format of the animations (sequence table) is known, but (currently) there is no easy way to edit them.
What do you want to put there, by the way?
The location and format of the animations (sequence table) is known, but (currently) there is no easy way to edit them.
What do you want to put there, by the way?
Re: Short films between levels
(Yeah, better )
Oh, ok, so I think I will abandon this idea.
Text, just like during the intro, when we read the story starting like "In the sultan's absence the grand vizier Jaffar...", You know. I would like it to be just a text on a background, no animations.
Oh, ok, so I think I will abandon this idea.
Text, just like during the intro, when we read the story starting like "In the sultan's absence the grand vizier Jaffar...", You know. I would like it to be just a text on a background, no animations.
Re: Short films between levels
Showing text might be easier than an animation.
Re: Short films between levels
Then could You explain me how to do that? I'm still not sure If I can do that, but let's see.
Last edited by Dark77 on August 17th, 2014, 12:02 pm, edited 1 time in total.
Re: Short films between levels
I didn't try to do it yet, but this is what I thought:
There is a procedure that displays some quotes. (See screenshots.)
It is used only in the demo version, so it could be rewritten to choose a text based on the current level.
Plus change the "show cutscene" call to point here instead.
The texts would be written in the exe in place of those texts. There are 740 bytes available for this purpose.
Update: I attached a modified exe to this post.
Of the 740 bytes, 32 are used for pointers, so there is (740-32)/16 = 44 bytes space for each text.
The texts start at offset 0x1CBFA.
There is a procedure that displays some quotes. (See screenshots.)
It is used only in the demo version, so it could be rewritten to choose a text based on the current level.
Plus change the "show cutscene" call to point here instead.
The texts would be written in the exe in place of those texts. There are 740 bytes available for this purpose.
Update: I attached a modified exe to this post.
Of the 740 bytes, 32 are used for pointers, so there is (740-32)/16 = 44 bytes space for each text.
The texts start at offset 0x1CBFA.
- Attachments
-
- PRINCE_with_texts_44.zip
- (69.84 KiB) Downloaded 198 times
Re: Short films between levels
Thank You so much.
But what if I also want to use CusPop? Is it possible to have an exe modified by CusPop and containing those texts?
But what if I also want to use CusPop? Is it possible to have an exe modified by CusPop and containing those texts?
Re: Short films between levels
First make sure that your exe is 1.0 unpacked.
Then you need to copy the modified parts from my exe to yours.
Those parts are:
1. 0x3D58 to 0x3D9B
2. 0x6153 to 0x6171
3. 0x1CBDA to 0x1CEBD
Then you need to copy the modified parts from my exe to yours.
Those parts are:
1. 0x3D58 to 0x3D9B
2. 0x6153 to 0x6171
3. 0x1CBDA to 0x1CEBD
Re: Short films between levels
Thank You very much for all Your help.
Re: Short films between levels
I tried to do this again, but it doesn't work anymore. It used to work three years ago, but now when I open the modified exe file, the game will freeze while displaying "Loading...". It happens for both my cuspop-generated exe with modified parts copied from the David's exe and for the David's file itself. Do you have any idea what may be the cause?
Re: Short films between levels
The original modified exe (from the zip above) works for me.Dark77 wrote:I tried to do this again, but it doesn't work anymore. It used to work three years ago, but now when I open the modified exe file, the game will freeze while displaying "Loading...". It happens for both my cuspop-generated exe with modified parts copied from the David's exe and for the David's file itself. Do you have any idea what may be the cause?
However, it seems there are some problems when moving between the intro and the game itself: I have to press a key too many times.
Re: Short films between levels
Strange, but now it does work for me again. Dunno what was the cause, but never mind.
I do notice the problems with skipping the intro too, though.
I do notice the problems with skipping the intro too, though.