CDVR Posted November 12, 2013 Share Posted November 12, 2013 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 More sharing options...
Developer Cheerio Posted November 12, 2013 Developer Share Posted November 12, 2013 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 More sharing options...
CDVR Posted November 12, 2013 Author Share Posted November 12, 2013 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 More sharing options...
ARamblingSpider Posted November 12, 2013 Share Posted November 12, 2013 Yeah..it would be neat if there was a mod that did this, it would be skippable of course. Perhaps we can hope in the future that this will be possible. Link to comment Share on other sites More sharing options...
debugman18 Posted November 12, 2013 Share Posted November 12, 2013 Unfortunately the engine doesn't currently have support for playing movies so it wouldn't be possible to add the trailer as a mod.Someone could rip it apart frame by frame and turn it into an animation. xD Although, that'd be silly. Link to comment Share on other sites More sharing options...
Silentdarkness1 Posted November 13, 2013 Share Posted November 13, 2013 Someone could rip it apart frame by frame and turn it into an animation. xD Although, that'd be silly.That would be silly. And also, awesome. I'd actually like to see it happen. Either that, or some way to hack it in. Link to comment Share on other sites More sharing options...
simplex Posted November 13, 2013 Share Posted November 13, 2013 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 More sharing options...
Nycidian Posted November 13, 2013 Share Posted November 13, 2013 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 More sharing options...
debugman18 Posted November 13, 2013 Share Posted November 13, 2013 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. Although, again, that's a silly amount of work. Link to comment Share on other sites More sharing options...
simplex Posted November 13, 2013 Share Posted November 13, 2013 A script that takes each frame and ammends it to a spriter scml file would do the job. Although, again, that's a silly amount of work. 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 More sharing options...
debugman18 Posted November 13, 2013 Share Posted November 13, 2013 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. ;PWell, 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. Link to comment Share on other sites More sharing options...
simplex Posted November 13, 2013 Share Posted November 13, 2013 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. Or he could just make the game open the URL to the youtube video. ;P Link to comment Share on other sites More sharing options...
TheDanaAddams Posted November 13, 2013 Share Posted November 13, 2013 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. ;PAn 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 More sharing options...
simplex Posted November 13, 2013 Share Posted November 13, 2013 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 More sharing options...
TheDanaAddams Posted November 13, 2013 Share Posted November 13, 2013 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 More sharing options...
simplex Posted November 13, 2013 Share Posted November 13, 2013 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? Link to comment Share on other sites More sharing options...
debugman18 Posted November 15, 2013 Share Posted November 15, 2013 @simplexCheck out mainscreen.lua. Link to comment Share on other sites More sharing options...
Malacath Posted November 15, 2013 Share Posted November 15, 2013 @simplexCheck out mainscreen.lua. 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 More sharing options...
simplex Posted November 15, 2013 Share Posted November 15, 2013 @simplexCheck out mainscreen.lua. 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;PBut 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 More sharing options...
Silentdarkness1 Posted November 15, 2013 Share Posted November 15, 2013 ;PBut whyyyy that PS4 test?! And whyyyy wasn't the video included?We should run some tests to see if it can play anything......If this means what I think it means....hmmm... Link to comment Share on other sites More sharing options...
debugman18 Posted November 15, 2013 Share Posted November 15, 2013 ;PBut 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 = trueYup. Link to comment Share on other sites More sharing options...
simplex Posted November 15, 2013 Share Posted November 15, 2013 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 More sharing options...
debugman18 Posted November 15, 2013 Share Posted November 15, 2013 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. ;POh 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 More sharing options...
simplex Posted November 15, 2013 Share Posted November 15, 2013 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.luaMODS_ENABLED = PLATFORM ~= "PS4" and PLATFORM ~= "NACL" Link to comment Share on other sites More sharing options...
Developer Cheerio Posted November 15, 2013 Developer Share Posted November 15, 2013 Sorry guys. There's still no movie support on the PC. On the ps4 you just tell it to play a movie and it handles it for you. I know the lua is there but there's nothing running engine side if you're not on the ps4. Link to comment Share on other sites More sharing options...
Recommended Posts
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.