English

Go Back   Champions of Regnum > English > Technical Support

Technical Support Questions about game technical support to the users of the community

Reply
 
Thread Tools Display Modes
Old 04-10-2014, 01:05 AM   #41
Evangeline
Master
 
Evangeline's Avatar
 
Join Date: Aug 2008
Location: Wonderland
Posts: 308
Evangeline is an unknown quantity at this point
Default

Quote:
Originally Posted by Zarakaye View Post
Yes since my first post i am always unable to play

Fedora 20 from gnome-shell thanks NGD

I play to Regnum since 2007 …

NGD team ask to know which is OS but At first post they are already this information

About libpng see below


Trace are put here
try this :3

Quote:
yum update
i got fedora and gnome shell no issues with adwaita default theme
__________________
Evangeline

Last edited by Evangeline; 04-10-2014 at 01:20 AM.
Evangeline no ha iniciado sesión   Reply With Quote
Old 08-13-2014, 03:06 AM   #42
_Enio_
Marquis
 
_Enio_'s Avatar
 
Join Date: Aug 2007
Location: Germany
Posts: 1,843
_Enio_ will become famous soon enough
Default

So, same issue here on arch - no real solution yet? I dont want to mess with my themes just because of ro, there must be another solution.

Edit: No luck with lxde nor icewm, rolauncher still tries to load the Adwaita gtk2 theme stuff where it segfaults. Is that duplicate read correct there?
Code:
open("/usr/share/themes/Adwaita/gtk-2.0/Entry/entry-border-fill.png", O_RDONLY) = 12
fstat(12, {st_mode=S_IFREG|0644, st_size=179, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f23f2395000
read(12, "\211PNG\r\n\32\n\0\0\0\rIHDR\0\0\0\4\0\0\0\30\10\6\0\0\0\335\345\\"..., 4096) = 179
read(12, "", 4096)                      = 0
lseek(12, 0, SEEK_SET)                  = 0
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x40} ---
+++ killed by SIGSEGV +++
Id welcome a rolauncher x86_64 with debug symbols.
__________________
Fix the Marksman subclass: Suggestion

Last edited by _Enio_; 08-13-2014 at 04:25 AM.
_Enio_ no ha iniciado sesión   Reply With Quote
Old 08-13-2014, 04:31 AM   #43
Lebeau
Banned
 
Lebeau's Avatar
 
Join Date: Oct 2011
Location: 'B-F-Egypt', Virginia, U.S.A. (please pity & forgive us poor american fools!).
Posts: 605
Lebeau is on a distinguished road
Lightbulb

Hi Enio.

I don't rightly like to do so, but the only way I can play CoR on Linux box now is thru Valve's STEAM service. Have u tried this approach yet? I have no idea what add-on(s) they have made use of to address the gtk-library incompatibility issues, but the launcher does work (at least for me & several others I've talked with). Has anyone looked under the hood so to speak & isolated what they have specifically added? If so, & if it can be stripped out, I (& others) can dispense with STEAM altogether & just make use of this add-on.

Lebeau no ha iniciado sesión   Reply With Quote
Old 08-13-2014, 04:34 AM   #44
_Enio_
Marquis
 
_Enio_'s Avatar
 
Join Date: Aug 2007
Location: Germany
Posts: 1,843
_Enio_ will become famous soon enough
Default

Quote:
Originally Posted by Lebeau View Post
Hi Enio.

I don't rightly like to do so, but the only way I can play CoR on Linux box now is thru Valve's STEAM service. Have u tried this approach yet? I have no idea what add-on(s) they have made use of to address the gtk-library incompatibility issues, but the launcher does work. Has anyone looked under the hood & isolated what they have specifically added? If so, & if it can be stripped out, I (& others) can't dispense with STEAM altogether & just make use of this add-on.

I dont want steam on my machine. I now just renamed the folder of the active theme and.. funny enough, it works.
__________________
Fix the Marksman subclass: Suggestion
_Enio_ no ha iniciado sesión   Reply With Quote
Old 08-13-2014, 04:40 AM   #45
Lebeau
Banned
 
Lebeau's Avatar
 
Join Date: Oct 2011
Location: 'B-F-Egypt', Virginia, U.S.A. (please pity & forgive us poor american fools!).
Posts: 605
Lebeau is on a distinguished road
Thumbs up

Quote:
Originally Posted by _Enio_ View Post
I dont want steam on my machine. I now just renamed the folder of the active theme and.. funny enough, it works.
I really don't blame u at all for this very valid position (I'm exceedingly leary of STEAM meself, but have no other working alternative atm) ... & gratz btw, welcome back to the nut(s-&-bolts-goat)house! Enjoy!

Lebeau no ha iniciado sesión   Reply With Quote
Old 08-13-2014, 06:06 AM   #46
_Enio_
Marquis
 
_Enio_'s Avatar
 
Join Date: Aug 2007
Location: Germany
Posts: 1,843
_Enio_ will become famous soon enough
Default

Quote:
Originally Posted by Lebeau View Post
[...] gratz btw, welcome back to the nut(s-&-bolts-goat)house! Enjoy!

Thank you!

I wan to put some update on what workaround i chose.

Problem i found: some parts in rolauncher is incompatible with gtk-2.0 themes/theme engine/whatever (i.e. the language dropdown menu).
Disabling themes by renaming the themes folder showed it working - but that needs root privileges, so thats a no go. The env GTK2_RC_FILES=<path to modified gtkrc> trick however did not work either, even with disabled themes via dconf editor. It would still somehow find out that the default theme (and icons n mouse stuff) is Adwaita and try to look for that theme.

strace however showed that it would look for it FIRST in my home folder under ~/.themes/<theme name>/... sooo i ended up putting an empty dummy theme there and rename that one in my launcher script.

Code:
[enio@archdesk regnum]$ cat start.sh 
#!/bin/bash

mv /home/enio/.themes/Adwaita/gtk-2.0/gtkrc_ /home/enio/.themes/Adwaita/gtk-2.0/gtkrc;  \
/home/enio/regnum/rolauncher ; \
mv /home/enio/.themes/Adwaita/gtk-2.0/gtkrc /home/enio/.themes/Adwaita/gtk-2.0/gtkrc_
The gtkrc file just contains "# dummy" as reminder, can be empty i think.

Now when i launch this, it "activates" the empty dummy theme in my home folder, after rolauncher exits it "disables" it. Not very elegant but it works. Somewhat fits to RO *hides*

You might need to change paths and Theme names..

Edit: Easiest to find relevant spot in strace output is to search for ".themes" + get strace output by launching "strace -o strace.log ./rolauncher" in ro folder. + empty theme might bug your mouse alignment when playing windowed mode. You could also just modify theme by checking with strace which files produce the segfault and then removing them from theme and hope it still works.
__________________
Fix the Marksman subclass: Suggestion

Last edited by _Enio_; 08-13-2014 at 06:50 AM.
_Enio_ no ha iniciado sesión   Reply With Quote
Old 12-28-2014, 09:22 PM   #47
ragici
Pledge
 
Join Date: Mar 2008
Posts: 1
ragici is on a distinguished road
Default

Hello,

OK, I had exactly the same problem as described by theme originator (Zarakaye) on my newly installed laptop with openSUSE 13.2 (KDE).

Changing the default GTK theme to Raleigh solved it (Configure Desktop -> Application Appearance -> GTK -> Select a GTK2 Theme).

What I've found out, once I fixed it, is that, actually, the source of segfault was the window with request for authorization code sent to my mail. The window came up because I installed and started the game on a new laptop, so it detected a new installation on a new computer using the old login data.
ragici no ha iniciado sesión   Reply With Quote
Old 02-15-2015, 10:52 AM   #48
Zarakaye
Apprentice
 
Zarakaye's Avatar
 
Join Date: Dec 2007
Location: FRANCE
Posts: 93
Zarakaye is on a distinguished road
Default

Thank you _Enio_

I put my script

Code:
#!/usr/bin/env bash

declare gtkrc_dir="${HOME}/.themes/Adwaita/gtk-2.0/"
declare gtkrc_ori="${gtkrc_dir}/gtkrc"
declare gtkrc_new="${gtkrc_dir}/gtkrc_"
declare -i pid=0

if [[ ! -e "${gtkrc_dir}" ]]; then
    mkdir -p "${gtkrc_dir}"
fi

if [[ ! -e "${gtkrc_new}" ]]; then
    echo "# dummy" > "${gtkrc_new}"
fi

if [[ -e "${gtkrc_ori}" ]]; then
  mv "${gtkrc_ori}" "${gtkrc_ori}".bak
fi

cp "${gtkrc_new}" "${gtkrc_ori}"

${PWD}/rolauncher &
pid=$!

wait $pid
mv "${gtkrc_ori}".bak "${gtkrc_ori}"

Last edited by Zarakaye; 02-22-2015 at 12:52 AM. Reason: update code
Zarakaye no ha iniciado sesión   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:11 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2021, vBulletin Solutions, Inc.
NGD Studios 2002-2016 © All rights reserved