JACoders / OpenJK

Community effort to maintain and improve Jedi Academy (SP & MP) + Jedi Outcast (SP only) released by Raven Software
GNU General Public License v2.0
2.03k stars 614 forks source link

Intro Movies #404

Closed aronkihui closed 11 years ago

aronkihui commented 11 years ago

When I execute the app in OS X, OpenJk doesn't show the trademarks movie. I used the terminal for debugging but... when I opened it with the terminal... the trademarks movie started this time. This issue only happens when I execute the OpenJK binary by double cliking it... very strange O-O

ensiform commented 11 years ago

Is it just skipping to menu after splash?

If you have any commands on startup besides setting of cvars on the commandline it will skip the movie.

This is so you can do openjk +connect ip and go straight to connecting.

aronkihui commented 11 years ago

Well, I have a custom configuration in the cfg file of OpenJK.

ensiform commented 11 years ago

This only applies to startup via script/commandline or osx equivalent of shortcut with extra launch parameters.

Waiting for actual other mac user/devs to confirm both of your issues.

aronkihui commented 11 years ago

I tested executing the "alias" (osx equivalent of shorcut) without extra launch parameters, I guess. I tested executing the original compiled binary, the same issue happens.

ensiform commented 11 years ago

Well assuming the game does actually work fine afterwards/otherwise (getting to menu)? The game doesn't actually load any differently regardless of which path you take.

aronkihui commented 11 years ago

I'm Chilean, so my English is more or less poor but I can understand you. The games work great ^^ but I miss this so cool trademarks movie XD. There are a few other Mac user/dev it seems XD... I learned to compiling with Cmake in Linux, and the average of Mac users is very lazy for compiling code or using the terminal.

ensiform commented 11 years ago

Its because of OSX always forcing -psn* arguments on launched applications apparently.

aronkihui commented 11 years ago

But, others games powered by Quake III engine (I know, It is a free engine based in his code) show their movies as well in OSX. America McGee's Alice and Quake 3 Arena show their trademarks movies normally when start up.

ensiform commented 11 years ago

But they handle the arguments in the exact same way.

aronkihui commented 11 years ago

aaa ok, so, I must make a change in the code right?, to make OpenJK doesn't call the game with -psn* argument?

ensiform commented 11 years ago

Nobody is telling you, you need to. We will take care of it now that we know the reason its happening.

The problem is that SDL 1.x (ioq3 based engines) handled this internally and it seems that SDL2 does not, which we use.

ensiform commented 11 years ago

Fixed in 082e8a4 and ac45fc0.