Page 2 of 2

Posted: Wed Apr 11, 2007 12:16 pm
by Jawa_Killer
ok now.....i just write what i think ;):

i know now how to get my bink movie in the right format....OK
my lua searches now the movie.....OK

my game says it can't find the segment....so then the problem is the connection between the movie files and the game.......in this case it is the shell.lvl right? my shell.lvl only has 1 kb and some numbers and letters in it about 4 lines.......do you think if i add all scripts and textures in my "new" shell file it could work if i replace the old one (in that case yours zerted ;) ;)) with the new one? i don't want to screw anything up so.....does it make sense?

Posted: Wed Apr 11, 2007 4:50 pm
by MasterSkywalker
You don't need a new shell, everything works fine with Zerted's Shell (atleast it does for me), but searching throught the Shell LUA's can be intresting, and the thought that we might need a new Shell also crossed my mind!

The fact that it says that your LUA can't find your moviefile is bad, this means your video didn't get munged, or It simply doesn't find it.

Also, it doesn't matter how big your Shell is, the size of your ingame.mvs is what matters!

EDIT:
Ow, about the SWBF1 Flythrough video tutorial, thats what I based myself off, and the settings used there are pretty much the ones I've used (except video resolution).

- Soul

Posted: Wed Apr 11, 2007 5:01 pm
by Jawa_Killer
does the video resolution matter? my ingame.mvs has 1.6mb (as big as the video file) i think it has to do with the shell_movies.mcfg........as there we have to set the new segment......can you maybe send me shortly the way how you got it working? because i know how to get a correct .mvs and the line in the lua......but the way between seems not to work..

Posted: Wed Apr 11, 2007 5:22 pm
by Teancum
I never could get movies to work. Certain assets don't want to be loaded from an addon level's side. (like ingame.lvl)

Posted: Wed Apr 11, 2007 8:45 pm
by [RDH]Zerted
I am also getting that error (my movie is named cusmovie):
Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\GameMovie.cpp(399)
Unable to find open movie segment cusmovie
but when I try to use ScriptCB_OpenMovie() to open it, I get
Message Severity: 3
C:\Battlefront2\main\RedEngineFL\Memory\RedMemory.cpp(561)
attempted to allocate from invalid heap -1

Message Severity: 3
C:\Battlefront2\main\RedEngineFL\Memory\RedMemory.cpp(538)
Allocating 79 bytes failed - no free blocks left in Heap -1 ()
which crashes the game.

Edit: getting closer:
Message Severity: 2
C:\Battlefront2\main\RedEngineFL\movie\RedMovie.cpp(669)
Segment 0x05fc6b2a does not exist in movie 0x436ddf48
Edit 2: Got a custom named movie playing ingame, but I replaced ingame.mvs to do it. Almost there...

Progress Checklist:
create a .bik move -check
munge .bik to .mvs -check
read it from the lua -check
play the movie ingame -check
don't replace ingame.mvs -failed

Posted: Thu Apr 12, 2007 2:40 am
by Jawa_Killer
very nice zerted :)

so what command do you use for your lua? and now it means it's not possible without replacing the ingame.mvs? maybe with a specifig level shell? i'm not that good in scripting but i can imagine that it must work.....xD

Posted: Thu Apr 12, 2007 4:52 am
by Redline
Which all video format use the Editor ? Goes Avi?

Posted: Thu Apr 12, 2007 5:00 am
by Jawa_Killer
no u need the bink converter then you can convert ANY files to .bink (the big button called BINK IT)......then you must munge the file to .mvs

Posted: Thu Apr 12, 2007 6:07 am
by Redline
Ok thx , i will be search the converter with google. :)