SUPER CUSTOM CUTSCENE TOPIC (THEY ACTUALLY WORK!)

Help Topics, Bug Reports, Feature Requests, etc.
User avatar
MyNameIsKooky
Rainbow Spirit Master
Posts: 9712
Joined: Mon Dec 01, 2008 10:18 pm

SUPER CUSTOM CUTSCENE TOPIC (THEY ACTUALLY WORK!)

Post by MyNameIsKooky » Fri Nov 26, 2010 3:56 pm

MOFI SPOILERS AHEAD!

(This topic is for discussing and researching the possibilities of custom cutscenes as well as creating them and finding out how the original cutscenes work to do so.)

So, I've been poking around the wg.exe of MOFI for a while now and I found the cutscene data as well as a first step to making custom cutscenes...

You can find the start of cutscene data at hex address $1F2B25... You'll find directories to various files. These are, in fact, what to load during the cutscenes. Here's the translation of all the cutscenes. I don't see any data about camera positions or thunder effects, but this is a start:

CUTSCENE #1 (STARTS AT $1F2B25)

Load 9.wlv
Play 7.ogg
"And so it came to pass that the Stinkers mounted an expedition to cross the waters and reach FIRE ISLAND."
"Surely, nothing could go wrong on this voyage?"
Load 10.wlv
"After the tempest... silence... and darkness."

CUTSCENE #1 END

CUTSCENE #2 (STARTS AT $1F2CB1)


Display endmap1.jpg
Display cloud.jpg
Display endmap2.jpg
Display endmap3.jpg
Play 6.ogg
"IS THIS THE END OF WONDERLAND?"
Play 7.ogg
"'Not if I have anything to do with it!!'"

CUTSCENE #2 END

CUTSCENE #3 (STARTS AT $1F2D91)


Display endmap3.jpg
"And so, the Stinkers embarked on another adventure to save Wonderland."
"An adventure that would take them to strange worlds far beyond the stars,"
"and all the way to the PLANET OF THE Z-BOTS."
"But that is another story for another day."
"THE END"
"Congratulations! You have completed WONDERLAND ADVENTURES MYSTERIES OF FIRE ISLAND"
"Thank you for playing!"

CUTSCENE #3 END

From what I've noticed, these are merely the order of commands; nothing related to camera pans or effects like thunder. They must be hidden somewhere else in wg.exe...

From what I've noticed so far, the things we can edit are the music and .wlv loadings. Maybe the "zoom-out on Wonderplanet" images if you have any ideas for that. By editing the .wlvs that are loaded as well we can change what is happening in the scenes (although the camera movements would probably stick to their defaults). It's a start, I suppose.
Last edited by MyNameIsKooky on Fri Nov 26, 2010 4:34 pm, edited 1 time in total.
User avatar
MyNameIsKooky
Rainbow Spirit Master
Posts: 9712
Joined: Mon Dec 01, 2008 10:18 pm

Post by MyNameIsKooky » Fri Nov 26, 2010 4:33 pm

I edited the .wlv cutscene #1 calls and IT WORKS!!! :D :D :D
You do not have the required permissions to view the files attached to this post.
User avatar
^_^
Rainbow SuperStar
Posts: 2390
Joined: Tue Feb 09, 2010 11:30 am

Post by ^_^ » Fri Nov 26, 2010 4:40 pm

OMGZ YOU ARE NOW CLOOPY #2
If you can look at my avatar for 19 minutes, without closing your eyes, you must be great.
User avatar
StinkerSquad01
Rainbow AllStar
Posts: 4251
Joined: Mon Aug 09, 2010 3:39 am

Post by StinkerSquad01 » Fri Nov 26, 2010 4:43 pm

AMAZING!
Now just get the text and you're done!
EDIT: OMG BEATEN IN TIME AGAIN!
User avatar
MyNameIsKooky
Rainbow Spirit Master
Posts: 9712
Joined: Mon Dec 01, 2008 10:18 pm

Post by MyNameIsKooky » Fri Nov 26, 2010 4:43 pm

I already have the text. :wink:

EDIT: Just realized Cutscene #1 puts a blue screening across the .wlv. I'm guessing it's for the ocean that was in the original cutscene.
Last edited by MyNameIsKooky on Fri Nov 26, 2010 4:44 pm, edited 1 time in total.
User avatar
Blast!10
Rainbow Star
Posts: 1739
Joined: Thu Nov 02, 2006 7:26 pm
Location: New Hampshire

Post by Blast!10 » Fri Nov 26, 2010 4:44 pm

You, sir, are made of win. 8)
User avatar
MyNameIsKooky
Rainbow Spirit Master
Posts: 9712
Joined: Mon Dec 01, 2008 10:18 pm

Post by MyNameIsKooky » Fri Nov 26, 2010 5:07 pm

Here's an example for custom cutscenes that I made (mediafire isn't working for me for some reason): http://localhostr.com/files/AInvJiJ/Cus ... xample.zip

To play it, follow these steps:

1. Create a copy of your MOFI demo folder and name it MOFI Custom Cutscene Example.
2. Replace the original wg.exe with the one from the zip
3. Replace the 1.wlv and 1.dia in the Data\Adventures\Hub folder with the ones from the zip
4. Rename "localsaveoff.txt" to "localsaveon.txt"
5. Play!
User avatar
Qloof234
Rainbow AllStar
Posts: 4193
Joined: Wed Oct 03, 2007 10:33 pm
Location: Canada

Post by Qloof234 » Fri Nov 26, 2010 6:24 pm

Image
Image
User avatar
epicdude15
Rainbow Master
Posts: 879
Joined: Sat Nov 20, 2010 2:58 am

Post by epicdude15 » Fri Nov 26, 2010 7:50 pm

the guy clapping above he looks kind of scary if you look at him for a while
User avatar
~xpr'd~
Rainbow Star
Posts: 1357
Joined: Tue May 12, 2009 9:43 pm
Location: New York
Contact:

Post by ~xpr'd~ » Fri Nov 26, 2010 8:18 pm

This better?
You do not have the required permissions to view the files attached to this post.
Image
she/her | Sayori#2285
User avatar
DEEMAN223344
Rainbow MegaStar
Posts: 3145
Joined: Tue Dec 04, 2007 8:07 pm

Post by DEEMAN223344 » Fri Nov 26, 2010 8:27 pm

The adderss you gave doesn't go to the cutscene. However it shows some strange information:
"You don't want to do this. Trust me. You REALLY don't want to do this. Stop now, before it is too late! Too late. Now you've done it. CONGRATULATIONS!!! You have unlocked a secret passage. Nothing happens. This is a very strange item."
User avatar
MyNameIsKooky
Rainbow Spirit Master
Posts: 9712
Joined: Mon Dec 01, 2008 10:18 pm

Post by MyNameIsKooky » Fri Nov 26, 2010 8:36 pm

DEEMAN223344 wrote:The adderss you gave doesn't go to the cutscene. However it shows some strange information:
"You don't want to do this. Trust me. You REALLY don't want to do this. Stop now, before it is too late! Too late. Now you've done it. CONGRATULATIONS!!! You have unlocked a secret passage. Nothing happens. This is a very strange item."
YOU went to the wrong address, of course. I gave more than one address, so try those.

And everyone who completed MOFI with all 128 stars knows what that means.
User avatar
StinkerSquad01
Rainbow AllStar
Posts: 4251
Joined: Mon Aug 09, 2010 3:39 am

Post by StinkerSquad01 » Fri Nov 26, 2010 8:56 pm

Ooooh I remember it's the *SHOT*
Nevermind....
Emerald141
Rainbow AllStar
Posts: 4548
Joined: Fri Dec 26, 2008 4:56 pm

Post by Emerald141 » Fri Nov 26, 2010 9:20 pm

Last edited by Emerald141 on Fri Sep 02, 2022 1:25 am, edited 1 time in total.
User avatar
MyNameIsKooky
Rainbow Spirit Master
Posts: 9712
Joined: Mon Dec 01, 2008 10:18 pm

Post by MyNameIsKooky » Fri Nov 26, 2010 9:50 pm

Emerald141 wrote:Any way to change the text in there without being illegal?
Make sure the text has the same amount of characters as the original text.
User avatar
Guppy Star
Rainbow Master
Posts: 919
Joined: Sat Oct 16, 2010 7:20 am

Post by Guppy Star » Sat Nov 27, 2010 4:59 am

Kooky, how did you manage to edit a MOFI hub level and bring it in your first picture of this forum?
HAPPY TO HELP!!!

My HubProject:Go
My Adventures:Go
User avatar
^_^
Rainbow SuperStar
Posts: 2390
Joined: Tue Feb 09, 2010 11:30 am

Post by ^_^ » Sat Nov 27, 2010 8:09 am

Converter.
It can convert for both sides.
If you can look at my avatar for 19 minutes, without closing your eyes, you must be great.
User avatar
Guppy Star
Rainbow Master
Posts: 919
Joined: Sat Oct 16, 2010 7:20 am

Post by Guppy Star » Sat Nov 27, 2010 8:25 am

^_^ wrote:Converter.
It can convert for both sides.
That's what I was asking in another forum. Go to
http://www.pcpuzzle.com/forum/viewtopic.php?t=21838
HAPPY TO HELP!!!

My HubProject:Go
My Adventures:Go
User avatar
^_^
Rainbow SuperStar
Posts: 2390
Joined: Tue Feb 09, 2010 11:30 am

Post by ^_^ » Sat Nov 27, 2010 9:29 am

Then why do you ask it here and there, and want me to answer it there?
If you can look at my avatar for 19 minutes, without closing your eyes, you must be great.
User avatar
StinkerSquad01
Rainbow AllStar
Posts: 4251
Joined: Mon Aug 09, 2010 3:39 am

Post by StinkerSquad01 » Sat Nov 27, 2010 4:04 pm

Why would it be illegal if you had the text longer or shorter than it was?
:? :? :?
User avatar
MyNameIsKooky
Rainbow Spirit Master
Posts: 9712
Joined: Mon Dec 01, 2008 10:18 pm

Post by MyNameIsKooky » Sat Nov 27, 2010 5:55 pm

StinkerSquad01 wrote:Why would it be illegal if you had the text longer or shorter than it was?
:? :? :?
I think Emerald was referring to an error.
User avatar
Guppy Star
Rainbow Master
Posts: 919
Joined: Sat Oct 16, 2010 7:20 am

Post by Guppy Star » Sun Nov 28, 2010 7:00 am

Kooky, Are you making a cut scene for WA LR?
HAPPY TO HELP!!!

My HubProject:Go
My Adventures:Go
User avatar
MyNameIsKooky
Rainbow Spirit Master
Posts: 9712
Joined: Mon Dec 01, 2008 10:18 pm

Post by MyNameIsKooky » Sun Nov 28, 2010 3:40 pm

Possibly in a later demo.
User avatar
^_^
Rainbow SuperStar
Posts: 2390
Joined: Tue Feb 09, 2010 11:30 am

Post by ^_^ » Sun Nov 28, 2010 3:42 pm

Someone should make a Wa movie. :D
If you can look at my avatar for 19 minutes, without closing your eyes, you must be great.
User avatar
MyNameIsKooky
Rainbow Spirit Master
Posts: 9712
Joined: Mon Dec 01, 2008 10:18 pm

Post by MyNameIsKooky » Sun Nov 28, 2010 4:02 pm

^_^ wrote:Someone should make a Wa movie. :D
That's impossible right now. You can only use the length of text and cutscene length available, which in MOFI isn't very long.
User avatar
MyNameIsKooky
Rainbow Spirit Master
Posts: 9712
Joined: Mon Dec 01, 2008 10:18 pm

Post by MyNameIsKooky » Fri Dec 24, 2010 7:22 pm

DP.

I have found a possible way to locate the camera data of the first MOFI cutscene. It involves mostly guesswork and trial and error, but I don't have any better ideas. Here are the obvious units of the camera for the cutscene:

-Positions (x,y,z)
-Angles (points towards (x,y,z))
-Speeds(?)

There is not really a way to locate the speed of the camera in wg.exe. However, we can find the position and angles. For positions, we can modify the cutscene .wlvs with a supposedly blank map. Place walls of different Xtrudes. Keep playing the cutscene and modifying the .wlv so that the endpoints of the camera movement hit the tops of two walls. With that, we can guess at the endpoints, which would have the coordinates of (Wall X position,Wall Y position,Wall XTrude). Finding the camera angle would be in a similar manner, except we'd have to try to find the point where the camera constantly points at.

Once we have the coordinates, we can open up wg.exe and look for the Hexadecimal values of the coordinates. We just might find something...

Now, for something else related to cutscenes...

We can call the steady movements and camera panning between two points an "event". The first cutscene of MOFI contains four events total, one for the overview of the boat site and the other three for the thunder zooms over the Stinker crew. The starts and ends of an event could call on a particular function, like lightning or the fading from or to black. Events are considered separate from each other, so the camera may "jump" from one event from the next.

Are you following me? Do you get it?? Because I don't!
User avatar
Technos72
Rainbow MegaStar
Posts: 3227
Joined: Thu Nov 26, 2009 12:20 am
Location: Usa
Contact:

Post by Technos72 » Fri Dec 24, 2010 7:28 pm

Good job! If I can make these cutscenes, I'll have to wait until I do another hub project. I don't have any idea where to put a cutscene in WA: The Magical Tests
User avatar
^_^
Rainbow SuperStar
Posts: 2390
Joined: Tue Feb 09, 2010 11:30 am

Post by ^_^ » Fri Dec 24, 2010 7:28 pm

MyNameIsKooky wrote:
^_^ wrote:Someone should make a Wa movie. :D
That's impossible right now. You can only use the length of text and cutscene length available, which in MOFI isn't very long.
But...
cutscene: jump to level
talk to stinker for next chapter: Next cutscene
and so on until movie ends.
then the stinker says credits and game ends.
If you can look at my avatar for 19 minutes, without closing your eyes, you must be great.
User avatar
MyNameIsKooky
Rainbow Spirit Master
Posts: 9712
Joined: Mon Dec 01, 2008 10:18 pm

Post by MyNameIsKooky » Fri Dec 24, 2010 7:31 pm

^_^ wrote:
MyNameIsKooky wrote:
^_^ wrote:Someone should make a Wa movie. :D
That's impossible right now. You can only use the length of text and cutscene length available, which in MOFI isn't very long.
But...
cutscene: jump to level
talk to stinker for next chapter: Next cutscene
and so on until movie ends.
then the stinker says credits and game ends.
It's not that easy. The CMDs only support 3 cutscenes, which are all short and have hard-coded functions. You can't add anything either, otherwise the game would blow up.
User avatar
DEEMAN223344
Rainbow MegaStar
Posts: 3145
Joined: Tue Dec 04, 2007 8:07 pm

Post by DEEMAN223344 » Sun Jan 02, 2011 3:01 am

Working on posting a video of a custom cutscene right now.
My favorite part is

Code: Select all

"You have completed [I won't spoil the name I used. Watch the video to find out.]
Thank you for dying!!!" 
:lol: :twisted: :P :shock: :lol: :lol: :wink: :o
EDIT: http://www.youtube.com/watch?v=Crg7_JZQsn0
Edited by DEEMAN: added link. Isn't that obvious? And I'm not a mod, so this isn't necessary.
Post Reply