This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Game cinematics transparent

Tags: None
(comma "," separated)
Yippee38
Registered Member
Posts
9
Karma
0
OS

Game cinematics transparent

Thu Oct 08, 2009 11:24 pm
Hi,

I'm new here, and I'm new to using KDE. I'm running KDE 4.2 on openSUSE 11.1 (64-bit). I use this system for gaming, and I have a lot of old, linux native games that I'm trying to get working. Right now I'm having trouble with Kohan: Immortal Sovereigns. The problem is that when the game starts, all cinematics are transparent. I can see them, and they appear to work fine, but I'd like them to be opaque, while retaining the transparency stuff that's part of KDE 4.x.

I've been searching here and on the net for about an hour and a half, and haven't found anything to help me with this.

Is there some kind of (command line) option I can use when launching the game? Or possibly some way to prevent transparency on non-KDE apps?

Thanks,
Yippee38
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Game cinematics transparent

Thu Oct 08, 2009 11:52 pm
Right click on the Window Decoration > Opacity > 100%.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
Yippee38
Registered Member
Posts
9
Karma
0
OS

Re: Game cinematics transparent

Fri Oct 09, 2009 12:37 am
I ran the game in windowed mode and did as you suggested. The opacity was already set to 100%.

BTW, the game itself is fine. It's just the movies.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Game cinematics transparent

Fri Oct 09, 2009 10:42 am
Do the cinematics appear if you disable Desktop Effects by pressing Ctrl + Alt + F12?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
Yippee38
Registered Member
Posts
9
Karma
0
OS

Re: Game cinematics transparent

Fri Oct 09, 2009 4:28 pm
Is that a joke, like "hit Alt+F4"? :D

When I hit Ctrl + Alt + F12, I go to a new console just like if I were to hit Ctrl + Alt + F2.

Ah. I did a quick search and found that it is Alt + Shift + F12. That's more like it.

Yes. That fixes the problem. Now I just need a way to do that every time I launch the game, the re-enable it when I close the game. (Or an actual fix to the problem would be cool too.)
User avatar
neverendingo
Administrator
Posts
2136
Karma
17
OS

Re: Game cinematics transparent

Fri Oct 09, 2009 4:43 pm
I guess you can script that.

the dbus command for toggling Compositing should be
Code: Select all
qdbus org.kde.kwin /KWin org.kde.KWin.toggleCompositing

(Compositing not working here right now, so i can't test)


New to KDE Software? - get help from Userbase or ask questions on the Forums
Communicate.
Image
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Game cinematics transparent

Fri Oct 09, 2009 10:57 pm
Oops. Wrong key combo. Its Ctrl + Shift + F12


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
dpalacio
Registered Member
Posts
240
Karma
2
OS

Re: Game cinematics transparent

Sat Oct 10, 2009 1:51 am
Actually, it is Alt+Shift+F12 :P


connect(post, SIGNAL(readSignature()), qapp, SLOT(quit()));
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Game cinematics transparent

Sat Oct 10, 2009 9:12 am
* bcooksley really should look up the keypress next time.....


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
Yippee38
Registered Member
Posts
9
Karma
0
OS

Re: Game cinematics transparent

Sat Oct 10, 2009 5:05 pm
neverendingo wrote:guess you can script that.

the dbus command for toggling Compositing should be

Code: Select all
qdbus org.kde.kwin /KWin org.kde.KWin.toggleCompositing


(Compositing not working here right now, so i can't test)


Ok. I tried that (not that have any idea what it is or what it is doing), but it didn't work. Here's my script:
Code: Select all
#!/bin/bash

    qdbus org.kde.kwin /KWin org.kde.KWin.toggleCompositing
    LD_LIBRARY_PATH=/usr/i386-glibc21-linux/lib:$LD_LIBRARY_PATH /usr/local/games/kohan/kohan
Yippee38
Registered Member
Posts
9
Karma
0
OS

Re: Game cinematics transparent

Sat Oct 10, 2009 6:28 pm
hmmm. New information. I have the same problem in Gnome.
Yippee38
Registered Member
Posts
9
Karma
0
OS

Re: Game cinematics transparent

Sun Oct 11, 2009 5:11 pm
Does anybody have any other suggestions of what I could try? I know this isn't a KDE specific problem, but I don't know where else to ask about this. I suppose I'll try over on the GNOME community too though if I have to.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Game cinematics transparent

Mon Oct 12, 2009 8:03 am
Unfortunately I do not know why this occurs, however it may be worth ensuring that if the Game has any plugins / etc, that they have all required libraries available. This can be done using the "ldd" utility.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot], rblackwell