New Movies Tutorial

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Jawa_Killer
Brigadier General
Brigadier General
Posts: 629
Joined: Thu Jun 23, 2005 6:06 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post 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?
MasterSkywalker
Major
Major
Posts: 501
Joined: Mon Apr 17, 2006 1:44 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post 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
Jawa_Killer
Brigadier General
Brigadier General
Posts: 629
Joined: Thu Jun 23, 2005 6:06 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post 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..
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Post 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)
User avatar
[RDH]Zerted
Gametoast Staff
Gametoast Staff
Posts: 2982
Joined: Sun Feb 26, 2006 7:36 am
Projects :: Bos Wars AI - a RTS game
Games I'm Playing :: SWBF2 and Bos Wars
xbox live or psn: No gamertag set
Location: USA
Contact:

Post 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
Jawa_Killer
Brigadier General
Brigadier General
Posts: 629
Joined: Thu Jun 23, 2005 6:06 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post 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
Redline
2nd Lieutenant
2nd Lieutenant
Posts: 396
Joined: Tue Jan 16, 2007 4:22 pm
Projects :: Space to Ground [reworking]
Games I'm Playing :: Different Games
xbox live or psn: No gamertag set
Location: The left side of the moon
Contact:

Post by Redline »

Which all video format use the Editor ? Goes Avi?
Jawa_Killer
Brigadier General
Brigadier General
Posts: 629
Joined: Thu Jun 23, 2005 6:06 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post 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
Redline
2nd Lieutenant
2nd Lieutenant
Posts: 396
Joined: Tue Jan 16, 2007 4:22 pm
Projects :: Space to Ground [reworking]
Games I'm Playing :: Different Games
xbox live or psn: No gamertag set
Location: The left side of the moon
Contact:

Post by Redline »

Ok thx , i will be search the converter with google. :)
Post Reply