Author Topic: Test request - cutscenes  (Read 4263 times)

0 Members and 1 Guest are viewing this topic.

Offline RandomTiger

  • Senior Member
  • 211
Test request - cutscenes
Cant get in contact with our head of QA so Im throwing this one open to all:

I need the build in my sig (updated when I posted this thread) to be tested for two things relating to cutscenes:

1. The background should clear properly in D3D and OGL
2. As you progress * through the campaign movies you have seen should be added to the techroom cutscene list.

* You have to play through the campaign, you cant just use a pilot file that is already past that point.

 

Offline RandomTiger

  • Senior Member
  • 211
Test request - cutscenes
Oh comeone, someone give me some help here.

 

Offline Stunaep

  • Thread Necrotech.... we bring the dead to life!
  • 210
Test request - cutscenes
I was going to play through LM3 anyway, for testing purposes. So I'll do, just give me a day of so.
"Post-counts are like digital penises. That's why I don't like Shrike playing with mine." - an0n
Bah. You're an admin, you've had practice at this spanking business. - Odyssey

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Test request - cutscenes
I'm going to give this a try in a bit. The first one should be easy to test. :)
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline Admiral Nelson

  • Resurrecter of Campaigns
  • 211
  • The GTA expects that every man will do his duty.
Test request - cutscenes
Hi Random Tiger,
The intro cutscene does play correctly for me in this build, where it was all messed up before. I haven't played through the campaign at all to see if movies are added correctly.
Win 2000 SP4
Radeon 9800 Pro

HTH,
Thanks for the build!
If a man consults whether he is to fight, when he has the power in his own hands, it is certain that his opinion is against fighting.

 

Offline RandomTiger

  • Senior Member
  • 211
Test request - cutscenes
Its the second one that really needs the testing.
Thanks for you time though. :)

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Test request - cutscenes
I gave it a try using an edited version of the campaign file (I removed the training missions and made it jump straight from mission 1 to the mission with Bosch's Monologue.

Absolutely no difference. Wouldn't add the movie, wouldn't play intro from the techroom.

I then tried making a new pilot. Still no difference.

The movie playing code itself seems okay though. It flashes up the desktop a couple of time when playing the intro on start up. When I skiped to the monologue mission it played it faultlessly.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Test request - cutscenes
ADDENDUM : Hope RT didn't see my earlier post and go off to correct the code cause there isn't anything wrong with it :)

The problem is not in the code itself. The problem is as follows. Although FS2_open looks for intro.avi on startup and plays it correctly it can't add it to the techroom properly because the cutscene.tbl tells it to look for intro.mve.

Since it can't find this it can't add the movie to the techroom.

The in-game cutscenes are slightly more complicated because you need to use an edited campaign file that tells FS2_open to play mono1.avi instead of mono1.mve.  Unlike with the intro FS2_open won't play the other standard cutscenes without the names being changed in the campaign file. Fortunately someone included the one I made in the media.vp so I doubt anyone has run into that problem :)

The solution to both problems is to edit the cutscene table and replace .mve with .avi

As soon as you do that the cutscenes should start to work. If you're feeling lazy I've done it for you. I've also included the edited campaign file I used for testing. With it you don't need to play through the main campaign again just to test this. It starts at mission 1. Simply hit alt-J though and it will take you to the first cutscene. You can get the file here

If you use the files in that download testing RT's code should take no more than 5 minutes to do so you've got no excuse not to now.

NB
I haven't tested the end-of-game cutscenes yet. These are a special case. They are only triggered when the campaign file is called freespace2.fc2 and the special SEXP is triggered. I have no idea what FS2_open will do when it comes across that. I don't even know if they ever worked in FS2_open at all.

RT while I'm here can I request a tiny featurette? At the moment FS2  only looks for files in the main FS2 folder. Would it be possible to make it also look in the -mod folder first? That way campaigns could have their own custom intros without having to interfere with each other.
 Actually why not just make the code look in the -mod folder first for all movies? :D
« Last Edit: March 28, 2004, 05:49:02 pm by 340 »
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
Test request - cutscenes
why don't we make aa small hack were it changes mve to avi when it reads the table.
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Test request - cutscenes
I had heard that someone had already done that so I tested it. Still not done :)

That said the cutscene.tbl is less than 1k in size and if it's in the media.vp (which I imagine anyone with the movies is probably going to get first) I really can't see this causing a problem. The only potential problem I can see is with the ending cutscenes. But in those cases the filename is hardcoded anyway.
« Last Edit: March 28, 2004, 06:31:37 pm by 340 »
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline RandomTiger

  • Senior Member
  • 211
If you just call the movies .mve should be fine.

 

Offline RandomTiger

  • Senior Member
  • 211
Thanks for your efforts karajorma, will think about this more when I have time.

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Why not just strip off the extension in movie_play() and add back what you want?  Then you can support more than one codec as well.  Since it's much easier to make (and play) mpegs in Linux than any other video format supporting it might be beneficial in the future.

edit: that was stupid...

Anyway, remove the extension and add a new one to search for just like bmpman does.  Search for the file with cf_find_file_location() and it will return the full path to the file if found.  If not found then try another extension and so on.  This also gives the  benefit of having the movies in any location that the game can search.  Linux/OSX uses two roots so searching both is done automatically and you get to search the cdrom drive as well.  Just a thought.
« Last Edit: March 29, 2004, 02:05:50 am by 1252 »

 

Offline RandomTiger

  • Senior Member
  • 211
If thats a solution feel free to implement it

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Sounds like a good idea to me. I'm assuming that this system would also give preference to a movie in the -mod folder over one in the main FS2_Open folder.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Preference is whatever CFILE uses so yes, it would search mod folders first.  This also means that you don't have to put the movies in the root of the game folder and movies can be in "data/movies" again and CFILE will find them.  Almost done coding this so I'll test it out in a little while.

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
Cool.  Thanks, taylor. :)

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Done, tested, revised, tested again.  Works.

Are there any formats that I should add besides avi and mpg?  For now it will look for avi first and then mpg.  Should I add mve as well even though it's not going to work?  I removed the double movie_play() call for the intro movie since it will actually play twice now.  There will no longer be a need for the modified campaign file either.  I can go ahead and commit this tonight if there aren't any objections.

 
Matroska (.mkv) and .ogm.  Especially .mkv if you really like completely open-sourced container formats ;)

 

Offline jdjtcagle

  • 211
  • Already told you people too much!
EDIT: nevermind
:D
"Brings a tear of nostalgia to my eye" -Flipside
------------------------------------------
I'm an Apostolic Christian (Acts: 2:38)
------------------------------------------
Official Interplay Freespace Stories
Predator
Hammer Of Light - Omen of Darkness
Freefall in Darkness
A Thousand Years