Jump to content

[MOD REQUEST] Forbidden Knowledge as Intro Mod


CDVR

Recommended Posts

Hi, i'm new here. I don't know if this is the right place and the right form for this topic. I have no idea of moding and that kind of things, but I try the most mods you guys share here. Awesome job you do here.
I wonder if some one can make a mod that adds the Forbidden Knowledge trailer as intro video for the game (Before the main screen with the menu apears). I know its a stupid mod request but I allways thought it should be there. It is the perfect intro for the game but it is not in the game...

 

Sorry for my bad english and thank you very much.
 

Link to comment
Share on other sites

  • Developer

Hi, i'm new here. I don't know if this is the right place and the right form for this topic. I have no idea of moding and that kind of things, but I try the most mods you guys share here. Awesome job you do here.

I wonder if some one can make a mod that adds the Forbidden Knowledge trailer as intro video for the game (Before the main screen with the menu apears). I know its a stupid mod request but I allways thought it should be there. It is the perfect intro for the game but it is not in the game...

 

Sorry for my bad english and thank you very much.

 

 

Unfortunately the engine doesn't currently have support for playing movies so it wouldn't be possible to add the trailer as a mod.

Link to comment
Share on other sites

Unfortunately the engine doesn't currently have support for playing movies so it wouldn't be possible to add the trailer as a mod.

Ouch! Right after posting the topic I said to my self: Maybe the game don't allow to play movies... Just asking, my knowledge about this things are VERY basic. Thank yo for your answer!

Link to comment
Share on other sites

That would be silly. And also, awesome. I'd actually like to see it happen. Either that, or some way to hack it in.

The video would be massive in that format. Probably in the hundreds of megabytes. And it'd be quite hard to get it looking reasonably well. ;P

Link to comment
Share on other sites

The video would be massive in that format. Probably in the hundreds of megabytes. And it'd be quite hard to get it looking reasonably well. ;P

 

It would be better to use a widget  to load images frame by frame it would still be large I imagine not to mention be somewhat difficult though doable.

Link to comment
Share on other sites

That would be silly. And also, awesome. I'd actually like to see it happen. Either that, or some way to hack it in.

 

 

The video would be massive in that format. Probably in the hundreds of megabytes. And it'd be quite hard to get it looking reasonably well. ;P

 

A script that takes each frame and ammends it to a spriter scml file would do the job. :highly_amused:

 

Although, again, that's a silly amount of work.

 

4rh72.jpg

Link to comment
Share on other sites

A script that takes each frame and ammends it to a spriter scml file would do the job. :highly_amused:

 

Although, again, that's a silly amount of work.

 

4rh72.jpg

And the sound to an fsb bank. And then generate the Lua code syncing the two.

Whyyy are we discussing this? Everyone agrees it's completely impractical but the topic lives on. ;P

Link to comment
Share on other sites

And the sound to an fsb bank. And then generate the Lua code syncing the two.

Whyyy are we discussing this? Everyone agrees it's completely impractical but the topic lives on. ;P

Well, the OP is more than welcome to do all the necessary steps. There's no reason not to tell him how, and while tedious, it is doable.

 

Other than that OP, I hope you either a) find a willing coder or b) go through the effort yourself. There are tutorials that walk you through custom sounds / custom animations, so all that's left is breaking up the frames and rebuilding them in spriter, and converting the audio track into fsb, and then putting that to use in lua.

 

I just don't see enough reason to go through all of that. The video can very easily be viewed normally at the player's leisure.

 

:D

Link to comment
Share on other sites

Well, the OP is more than welcome to do all the necessary steps. There's no reason not to tell him how, and while tedious, it is doable.

 

Other than that OP, I hope you either a) find a willing coder or b) go through the effort yourself. There are tutorials that walk you through custom sounds / custom animations, so all that's left is breaking up the frames and rebuilding them in spriter, and converting the audio track into fsb, and then putting that to use in lua.

 

I just don't see enough reason to go through all of that. The video can very easily be viewed normally at the player's leisure.

 

:grin:

Or he could just make the game open the URL to the youtube video. ;P

Link to comment
Share on other sites

The video would be massive in that format. Probably in the hundreds of megabytes. And it'd be quite hard to get it looking reasonably well. ;P

An animated movie at full HD resolution in that format could even take gigabytes...

 

The film animation files I've ended up with are so massive - because that's literally what we have to do - turn each frame of the thing we animated into a fully rendered frame of the movie, then convert that into a video.

In college, we had TERABYTES of drive space, and the teachers would constantly yell at us for filling it, and ask us to delete anything that wasn't needed.

 

Like, two seconds of looping test animation at pretty low quality settings was taking up a good half-gig.

If you want to work with movies, you gotta have a lot of disk space.

Link to comment
Share on other sites

An animated movie at full HD resolution in that format could even take gigabytes...

 

The film animation files I've ended up with are so massive - because that's literally what we have to do - turn each frame of the thing we animated into a fully rendered frame of the movie, then convert that into a video.

In college, we had TERABYTES of drive space, and the teachers would constantly yell at us for filling it, and ask us to delete anything that wasn't needed.

 

Like, two seconds of looping test animation at pretty low quality settings was taking up a good half-gig.

If you want to work with movies, you gotta have a lot of disk space.

Well, the Forbidden Knowledge video is 1:39 long, and its highest resolution is 720p. I think by compressing the frames it'd be possible to keep it under the gigs. Not sure about it, though.

Link to comment
Share on other sites

Well, the Forbidden Knowledge video is 1:39 long, and its highest resolution is 720p. I think by compressing the frames it'd be possible to keep it under the gigs. Not sure about it, though.

99 seconds at film-standard 24fps (the lowest framerate. It's entirely possible the video was made at NTSC TV-standard 30fps) we have 2,376 frames.

At a fairly conservative half-megabyte per HD frame, you've got over a gig of images.

 

A lot of images go into making a movie!

Link to comment
Share on other sites

99 seconds at film-standard 24fps (the lowest framerate. It's entirely possible the video was made at NTSC TV-standard 30fps) we have 2,376 frames.

At a fairly conservative half-megabyte per HD frame, you've got over a gig of images.

 

A lot of images go into making a movie!

You're right, especially since we'd be limited to DXT compression. The smallest frame size we'd get would be 460.8KB, with DXT1 compression. So it'd take roughly 1.1GB.

But what is a gig if not ten hundreds of megs? :rolleyes:

Link to comment
Share on other sites

@simplex

Check out mainscreen.lua. :razz:

I know I'm not simplex, but are you talking about this?

if PLATFORM == "PS4" and TheSim:ShouldPlayIntroMovie() then		TheFrontEnd:PushScreen( MovieDialog("movies/forbidden_knowledge.mp4", function() TheFrontEnd:GetSound():PlaySound("dontstarve/music/music_FE","FEMusic") end ) )        self.music_playing = true
Link to comment
Share on other sites

@simplex

Check out mainscreen.lua. :razz:

 

I know I'm not simplex, but are you talking about this?

if PLATFORM == "PS4" and TheSim:ShouldPlayIntroMovie() then		TheFrontEnd:PushScreen( MovieDialog("movies/forbidden_knowledge.mp4", function() TheFrontEnd:GetSound():PlaySound("dontstarve/music/music_FE","FEMusic") end ) )        self.music_playing = true

;P

But whyyyy that PS4 test?! And whyyyy wasn't the video included?

We should run some tests to see if it can play anything.

Link to comment
Share on other sites

 

;P

But whyyyy that PS4 test?! And whyyyy wasn't the video included?

We should run some tests to see if it can play anything.

Well, changing PS4 to NACL, and dropping an MP4 with the intended filename yields no error. It just locks up.

 

 

I know I'm not simplex, but are you talking about this?

if PLATFORM == "PS4" and TheSim:ShouldPlayIntroMovie() then		TheFrontEnd:PushScreen( MovieDialog("movies/forbidden_knowledge.mp4", function() TheFrontEnd:GetSound():PlaySound("dontstarve/music/music_FE","FEMusic") end ) )        self.music_playing = true

Yup. :p

Link to comment
Share on other sites

Well, changing PS4 to NACL, and dropping an MP4 with the intended filename yields no error. It just locks up.

NACL? Why are you playing on Chrome?

But well, we don't know if the video has to be somewhat specific (such as having specific dimensions), or even if the PC engine supports that at all. ;P

Link to comment
Share on other sites

NACL? Why are you playing on Chrome?

But well, we don't know if the video has to be somewhat specific (such as having specific dimensions), or even if the PC engine supports that at all. ;P

Oh man,  I'm not on Chrome. It was early and I wasn't thinking completely straight, it should've been OSX_STEAM.

 

Anyways, something was wrong somewhere because 4 files had to be verified. I only have edited modsettings.lua and mainscreen.lua. Weird.

 

With that said, nothing happens now (as in, nothing changes), which makes sense. Like you said, perhaps the engine for PC does not support it (yet?).

Link to comment
Share on other sites

Oh man,  I'm not on Chrome. It was early and I wasn't thinking completely straight, it should've been OSX_STEAM.

 

Anyways, something was wrong somewhere because 4 files had to be verified. I only have edited modsettings.lua and mainscreen.lua. Weird.

 

With that said, nothing happens now (as in, nothing changes), which makes sense. Like you said, perhaps the engine for PC does not support it (yet?).

Well, let's just hope the PC version will support video playback and the PS4 one will support modding.

worldgen_main.lua

MODS_ENABLED = PLATFORM ~= "PS4" and PLATFORM ~= "NACL"
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...