Page 2 of 2

Re: Custom Movies Research (FAQ)

Posted: Mon Nov 26, 2012 4:17 pm
by GAB
I'm not sure if he's back or not. I just contacted him via e-mail.

Re: Custom Movies Research (FAQ)

Posted: Fri Jan 31, 2014 6:29 am
by [RDH]Zerted
:sleep: I wish I knew GAB's post existed over the summer. I would have had time to give movies another look. If you guys post on any of my old research topics or any new info comes out on areas I was working in please send me a PM. I don't have time to watch the forums and stay on top of SWBF2 anymore. At the moment I'm trying to get a thesis approved for a RTS AI.

Anyway, I think thanks to swbfgamers Psych0fred posted an old SWBF1 test map: Datanabproto.zip. It has some movie related files in it that are worth a look to anyone researching moves. I'm not sure if it has anything new, but at least it's an example instead of just the SWBF1 movie docs. Or maybe SWBF1 has lots of examples and I don't recall reviewing them.

Related swbfgamers threads:
http://www.swbfgamers.com/index.php?topic=7067.0
http://www.swbfgamers.com/index.php?topic=6677.0

Re: Custom Movies Research (FAQ)

Posted: Wed Jul 15, 2015 3:23 am
by AceMastermind
All the shipped bik movies separated and named:
Crawl
Shell
Training
Ingame[1]
Ingame[2]
Ingame[3]

I broke up Ingame.mvs into 3 archives because of the size. You'll need RAD Video Tools to watch them.

I'm having no luck trying to get movies working completely from projects in the addon folder with vanilla SWBF2 (1.1)
The closest i've come was getting these type errors:
Message Severity: 2
C:\Battlefront2\main\RedEngineFL\movie\RedMovie.cpp(669)
Segment 0x66e6fad5 does not exist in movie 0x985c8f54

There must be something simple we're just not seeing.

Re: Custom Movies Research (FAQ)

Posted: Wed Jul 15, 2015 10:11 am
by [RDH]Zerted
It could simply be broken for mod maps. Does your movie code work if you run your map as a shell map? Are you willing to post all the steps you've done or do they match what others have tried?

Re: Movies Research (FAQ) - Preview Videos

Posted: Thu Jul 16, 2015 11:43 pm
by AceMastermind
Your guide in the first post for Steps For Replacing ingame.mvs works fine when using existing names. If you want to try a custom .bik file name (segment) then you'll also need to edit ingame_movies.mcfg in data_ABC\Common\mission and add a new MovieProperties() block.

I wanted to see how far I could customize the naming so I opened mission.req and changed this part:

Code: Select all

ucft
{
    REQN
    {
        "config"
        "ingame_movies"	
    }
to this:

Code: Select all

ucft
{
    REQN
    {
        "config"
        "somename_movies"	
    }
I went into data_ABC\Common\mission and created a new file named somename_movies.mcfg and copied this into it:

Code: Select all

MovieProperties()
{
     Name("abcmon01"); //called from LUA
     FadeInTime(0.0);
     FadeOutTime(0.0);
	  Movie("ingame"); //mvs file or hard coded label?
     SegmentList()
     {
        Segment("abcmon01", 1.0, 0); //bik video
     }
}
Added this to my ABCc_con.lua at the bottom of ScriptPostLoad:

Code: Select all

ScriptCB_PlayInGameMovie("ingame.mvs", "abcmon01")
The mvs file is named ingame. My movie property in the mcfg file was named abcmon01

Munged and it still worked, the movie played at the beginning of the level. That was as far as my customization went.

Changing the name of the ingame.mvs to anything else breaks the whole thing.
Placing the ingame.mvs anywhere but GameData\DATA\_LVL_PC\MOVIES wouldn't work.
I tried to get the mvs location read from addon by trying these:

Code: Select all

ScriptCB_PlayInGameMovie("..\..\..\Addon\ABC\data\_LVL_PC\Movies\ingame.mvs", "abcmon01")
ScriptCB_PlayInGameMovie("dc:Movies\\ingame.mvs", "abcmon01")
to no avail.

There are no file names stored in the mvs file. I don't know if the game knows which movie to play is by order or some kind of crc thing.

ingame.mvs is mentioned in the BattlefrontII.exe at 0x3C05F4

I'm interested in this from Zerted's 2nd post

Code: Select all

ScriptCB_SetDCMap(movieFile)
I think i'll play around with that and see what happens.

Re: Custom Movies Research (FAQ)

Posted: Wed Nov 17, 2021 8:49 am
by TemueraBeatsBaker501
Heads up I downloaded these files and plan to AI enhance. These are probably the rawest versions of these videos I can get. If they're interlaced I'll deinterlace.

Re: Custom Movies Research (FAQ)

Posted: Thu Dec 02, 2021 4:28 am
by TemueraBeatsBaker501
Man these look gorgeous deinterlaced and upscaled. Will post a link here when done and post a link to this thread in vid description.

Re: Custom Movies Research (FAQ)

Posted: Fri Dec 03, 2021 1:49 am
by TemueraBeatsBaker501