How to add a Movie?
Moderator: Moderators
-
thelegend
- Sith

- Posts: 1433
- Joined: Thu Jan 23, 2014 6:01 am
- Projects :: Star Wars - Battlefront III Legacy
- xbox live or psn: El_Fabricio#
- Location: Right behind you :)
How to add a Movie?
Hello Gametoast,
i have a small question. For my map I want to add a movie. I want to replace the 501st legion intro with my intro. But where I add the movie file (.avi)?
i have a small question. For my map I want to add a movie. I want to replace the 501st legion intro with my intro. But where I add the movie file (.avi)?
-
Marth8880
- Resistance Leader
- Posts: 5042
- Joined: Tue Feb 09, 2010 8:43 pm
- Projects :: DI2 + Psychosis
- xbox live or psn: Marth8880
- Location: Edinburgh, UK
- Contact:
- Anakin
- Master of the Force

- Posts: 4817
- Joined: Sat Sep 19, 2009 11:37 am
- Projects :: RC Side Mod - Remastered - SWBF3 Legacy
- Location: Mos Espa (germany)
Re: How to add a Movie?
is it also possible with this method to replace the whole Menu Background with a video??
-
Marth8880
- Resistance Leader
- Posts: 5042
- Joined: Tue Feb 09, 2010 8:43 pm
- Projects :: DI2 + Psychosis
- xbox live or psn: Marth8880
- Location: Edinburgh, UK
- Contact:
Re: How to add a Movie?
Technically yes, considering the console versions have such a background, but I don't think anybody's figure it out yet. You could probably try e-mailing psych0fred about it. Yes, he still replies.
- [RDH]Zerted
- Gametoast Staff

- Posts: 2982
- Joined: Sun Feb 26, 2006 7:36 am
- Projects :: Bos Wars AI - a RTS game
- xbox live or psn: No gamertag set
- Location: USA
- Contact:
Re: How to add a Movie?
In terms of switching to full screen movie backgrounds, we figured that out a long time ago.
Here's part of a custom GC script that'll allow you to full-screen a specific movie. I didn't tested it, so it might have minor typos. Note: It only works on movies played through ifelem_shellscreen_fn_StartMovie()
Files of Interest
ifs_era_handler.lua (in SWBF2 v1.3patch RecoveredSource.7z)
ifs_elem_shellscreen.lua (in Common\Scripts)
Here's part of a custom GC script that'll allow you to full-screen a specific movie. I didn't tested it, so it might have minor typos. Note: It only works on movies played through ifelem_shellscreen_fn_StartMovie()
Code: Select all
if Anakin_ifelem_shellscreen_fnStartMovie ~= nil then
print('ERROR: Fullscreen movie script has been loaded twice or someone else forgot to rename "Anakin_ifelem_shellscreen_fnStartMovie" to start with their own username')
else
if ifelem_shellscreen_fnStartMovie == nil then
print("ERROR: Fullscreen movie script has been loaded too early. ifelem_shellscreen_fnStartMovie() doesn't exist yet")
else
Anakin_ifelem_shellscreen_fnStartMovie = ifelem_shellscreen_fnStartMovie
ifelem_shellscreen_fnStartMovie = function(movieName, loop, nextMovieName, fullscreen, ...) --the exact "..." characters are required for unpack() to work
if movieName == "anakinsMovie" then --TODO change anakinsMovie to the name of whichever move you want full screened in the shell
fullscreen = 1
end
return Anakin_ifelem_shellscreen_fnStartMovie(movieName, loop, nextMovieName, fullscreen, unpack(arg)) --if this line doesn't work change "arg" to "args"
end
end
end
-- use "fullscreen = nil" if you want to unfull-screen a movie
-- use "fullscreen = 2" if you want the movie to be fully visible in widescreen with bars on either side
---- specifically 2 causes:
------ local right, bottom, b, w = ScriptCB_GetScreenInfo()
------ left = right * (1 - 1/w) * 0.5
------ top = bottom * (1 - 1/w) * 0.5
------ width = right/w
------ height = bottom/w
---- verses 1 which causes:
------ local right, bottom, b, w = ScriptCB_GetScreenInfo()
------ left = 0
------ top = 0
------ width = right - left
------ height = bottom - topifs_era_handler.lua (in SWBF2 v1.3patch RecoveredSource.7z)
ifs_elem_shellscreen.lua (in Common\Scripts)
-
thelegend
- Sith

- Posts: 1433
- Joined: Thu Jan 23, 2014 6:01 am
- Projects :: Star Wars - Battlefront III Legacy
- xbox live or psn: El_Fabricio#
- Location: Right behind you :)
Re: How to add a Movie?
I tried it to convert my .avi file to .bik but it doesnt work. I dont know why. Everytime If I start, and "bink" my file it stops.
I have searched for other to .bik converters but they dont convert them to bik.
I have searched for other to .bik converters but they dont convert them to bik.
-
Marth8880
- Resistance Leader
- Posts: 5042
- Joined: Tue Feb 09, 2010 8:43 pm
- Projects :: DI2 + Psychosis
- xbox live or psn: Marth8880
- Location: Edinburgh, UK
- Contact:
Re: How to add a Movie?
What are the exact steps you've taken to try to convert the .avi?
-
thelegend
- Sith

- Posts: 1433
- Joined: Thu Jan 23, 2014 6:01 am
- Projects :: Star Wars - Battlefront III Legacy
- xbox live or psn: El_Fabricio#
- Location: Right behind you :)
Re: How to add a Movie?
Ok. I have started the Radvideo.exe (hope this is the correct name) and choosed my .avi file. After that I pressed "bink it". A new window was shown up. After that I pressed Bink. It started a new window. After few seconds it stops and a window says: "radvideo.exe have to be closed"
-
Marth8880
- Resistance Leader
- Posts: 5042
- Joined: Tue Feb 09, 2010 8:43 pm
- Projects :: DI2 + Psychosis
- xbox live or psn: Marth8880
- Location: Edinburgh, UK
- Contact:
Re: How to add a Movie?
Try using the encoding parameters as listed in the text document "Add A Preivew Video.txt" located in GameData\addon\AAA-v1.3patch\docs\howtos. You'll probably want to change the set resolution to 640x480, though.
-
thelegend
- Sith

- Posts: 1433
- Joined: Thu Jan 23, 2014 6:01 am
- Projects :: Star Wars - Battlefront III Legacy
- xbox live or psn: El_Fabricio#
- Location: Right behind you :)
Re: How to add a Movie?
Hm..I tied it..but It doesn´t work.
I am going to reinstall the video tools and try it again.
I am going to reinstall the video tools and try it again.
- GAB
- 1st Lieutenant

- Posts: 431
- Joined: Sun Jul 03, 2011 8:56 pm
- Location: Somewhere around the world
- Contact:
Re: How to add a Movie?
I think it is worth mentioning that, although I have a post in the thread linked by Marth describing steps I took to attempt to make custom movies play before a mission, I've never managed to get past this error which prevented the movie from being played:
psych0fred said it was probably not being included in some req file, but even after checking things I never really managed to get rid of the error.
So if you come across my post expecting it to be a tutorial, keep in mind that it is not. If you're just looking for clues how to make it fully work, my post might help. Also, if you manage to make it work by following the method in the aforementioned thread or any other method that does not replace the retail ingame.lvl please let me know.
Code: Select all
Message Severity: 2
C:\Battlefront2\main\RedEngineFL\movie\RedMovie.cpp(669)
Segment 0x3936077a does not exist in movie 0x436ddf48So if you come across my post expecting it to be a tutorial, keep in mind that it is not. If you're just looking for clues how to make it fully work, my post might help. Also, if you manage to make it work by following the method in the aforementioned thread or any other method that does not replace the retail ingame.lvl please let me know.
