[MOD] Better way to disable intro movies

Sevo

Leaf on the Wind
Joined
Nov 26, 2005
Messages
511
Location
Chicago, IL
Stuie et al. in another thread discussed ways to diable the intro movies. Most of their methods required deletion or changing of original movie files. I found a nice way to do it, though as someone else pointed out SimCutie actually beat me to this fix; I just didn't read the posts very closely...:wallbash:)

Anyway, the gist of the fix was this:

(For those of you looking for the bottom line, simply cut to the end of this post--I've attached a copy of the file, you can just d/l it and copy it over).

The file CvIntroMovieScreen.py under /assets/python/screens/ controls the introductory movies. About 15 lines in there is a function called "interfaceScreen". the lines you're looking for are these:

Code:
class CvIntroMovieScreen:
	"Intro Movie Screen"
	bMovieState = 0
	def interfaceScreen (self):

                self.currentMovie = "ART_DEF_MOVIE_2K_INTRO"
                self.X_SCREEN = 0...blah blah blah...

The first declares the class, the "def interfaceScreen(self):" line is defining the function we're interested in. This function shows the opening movies. Sooo...we just insert a little "return" command and it'll bounce right back and take you straight to the menu. The disabled function looks like this:

Code:
class CvIntroMovieScreen:
	"Intro Movie Screen"
	bMovieState = 0
	def interfaceScreen (self):

                return

                self.currentMovie = "ART_DEF_MOVIE_2K_INTRO"
                self.X_SCREEN = 0...blah blah blah

(Make sure the return is tabbed exactly the same as the lines below). Voila! The game now boots directly to the main menu; no clicks, no blue flashes, no problem.

The adjusted file is attached below. You can copy into your /Custom assets/python/screens/ directory and it'll do away with the intros.

[
 

Attachments

Well done. A much cleaner and more logical way to approach this problem!!! No other solution is even viable ... truly thr way to go :tup:

EDIT: Tested and works PERFECTLY.
 
I put the code down manually exactly as you did (since I wasn't able to goto the link) and I get an error during boot that says:

"Failed to load python module CvEventInterface."

The movies don't load just like you said, but instead of clicking them away I have to do that for this error. Any idea what the problem might be?

Btw, I saved over my original CvIntroMovieScreen.py file...is there anyway you can link me to your code to see maybe I screwed it up somehow?
 
Nials said:
*Bump*

This is probably still the most clean way to disable the intro movies :)
That's true if you only want to diasble the intro movie. If you want to disable all in-game movies you should open CivilizationIV.ini and change this line:

; Set to 1 for no in-game movies
NoMovies = 0
to this:

; Set to 1 for no in-game movies
NoMovies = 1
Might be somewhat offtopic but if people bumpthis topic after 2 months to just say how 'clean' it is I don't think anyone cares.
 
Thanks for sharing that tweak even though I already knew about it. I like to keep wonder movies around still, it's just the intro that tends to be annoying for me.

Hyronymus said:
Might be somewhat offtopic but if people bumpthis topic after 2 months to just say how 'clean' it is I don't think anyone cares.

Neither do I.

I bumped it because it is still relevant for people who seek to disable the intro movies in an easy and fairly doable way.
 
Wonder movies kept a-synchronical on my system, even with 1.52, so I decided to 'kill' all movies.
 
Might be somewhat offtopic but if people bumpthis topic after 2 months to just say how 'clean' it is I don't think anyone cares.

Well I care, it makes it much nicer to quickly get into the game to test something, without disabling all the movies.


~Abyss
 
Back
Top Bottom