Page 1 of 1

Various odd issues

Posted: 11 Oct 2007, 23:06
by AF
I installed 0.75b2 from source as described in the wiki since I'm on a 64bit system and thus the deb files wont work.

1) My spring is always in windowed mode

This is regardless of whatever my settings files/Settings++ says. Whatsmore when I put the window at max resolution the trees get garbled, and the higher the resolution the mroe garbled trees I get. As I zoom out they get more and more garbled.

2) ctrl key

I have to do ctrl+double press 1 to create a group and vice versa double press to select one, and I cant use ctrl + mouse wheel or any other key combo involving ctrl.

3) Scroll wheel

The shift from Vista to ubuntu has made my scroll wheel zoom at least 5x slower. Its annoying taking 30 seconds zooming out to view the map when I used to be able todo it in 3-4 seconds.

4) sudo scons versus scons

I made the mistake of typing sudo scons and now I can't execute scons without file permission errors. There's no clean up commands I'm aware of and there's no uninstall method either. Bad enough as it is I needed tot est what I'd built so now I have various spring files dotted across my system with root ownership, preventing my spring menu launcher from working.

5) Widget selector and the eyes widget

My first proper game under Linux had all the above problems crippling my game play, but what really annoyed me was spending the first 5 minutes trying to turn off the googly eyes widget with the flashing text that new users get when they first turn on Lua UI.

The widget drew itself on top of the widget selector, obscuring all the options and making it much harder for me to find the eyes widget in a scrolling menu of 30 or so widgets.

Re: Various odd issues

Posted: 11 Oct 2007, 23:22
by Tobi
1) Compiled in debug mode maybe?

4) Maybe something like

Code: Select all

sudo find . -user root
in the directory where you did the sudo scons and then, if you are happy with the file list it gives, change ownership of all the files:

Code: Select all

sudo find . -user root -exec chown user:group '{}' \;
Make sure to fill in user and group to your own user and group name.

Posted: 11 Oct 2007, 23:54
by Auswaschbar
1.
Awkward trees are a common problem in windowed mode. Goes away when turning on fullscreen.
Also, try running spring with "-f"

3.
Maybe its because of this:

Code: Select all

#ifdef _WIN32
#define DEFAULT_MOUSE_SCALE 0.01f
#else
#define DEFAULT_MOUSE_SCALE 0.003f
#endif
I have no clue why this code is there...

4.
Try "sudo rm -r ./build/rts" in the builddirectory. Unfortunately you have to "scons configure && scons" again

5.
+1 for removing these widgets

Posted: 11 Oct 2007, 23:59
by koshi
3) there should be a line

Code: Select all

ScrollWheelSpeed=25
(default value) in your .springrc . Fiddling with that could help.
Settings++ doesn't have a slider for that atm, but I'll add it in my version once I get it to build on windows.

Posted: 12 Oct 2007, 00:07
by Tobi
1)
I skipped over the trees part in my first post, but trees should work fine in windowed mode as long as you keep the Spring window on top and on screen during loading. (if any part of the window is obscured during the tree generation step the trees may look garbled)

Posted: 12 Oct 2007, 12:13
by CautionToTheWind
AF, there must be a bunch of root owned files in your spring source after a sudo scons. Assuming your linux username is "af" and your spring source is in "src", do this:

sudo chown -R af:af src

It will change the ownership of all files back to you. -R makes it recursive on subfolders.

Posted: 12 Oct 2007, 13:08
by AF
What does the -f option mean?

I've gotten it to do scons without a need for sudo scons but the last hurdle in that story is the sudo scons install.

I've pointed out the error with the eyes widget displaying ontop of the widget selector in #lua

I've fixed my issue with fullscreen and trees, and modified .springrc to fix the scroll wheel.

---------------

hmm I've just ran a test of spring while writing this post and it crashed. But when it crashed the screen just froze. I could still do capslock/numlock etc I could alt+tab into the other programs and my only way of escaping spring was to press the reset button on my tower. erm?

Posted: 12 Oct 2007, 13:45
by Relative
You could just restart the xserver if spring crashs it. Ctrl+Atl+Backspace

Posted: 12 Oct 2007, 18:14
by AF
There's a bug in the current proprietry nvidia drivers which means that the OS outputs no video signal unless the X server is running. pressing ctrl+alt+backspace brings up a black screen with no visible indication of what's happening followed a few seconds later with a 'no signal' message from my monitor. What's more to get rid of the black screen you have to press a power button and wait to boot up again as you cant use a key combo to return to the desktop.

Posted: 13 Oct 2007, 00:03
by LordMatt
What driver version is that? There is a bug that affects the start up and shut down screens so they do that, but that can be fixed.

Posted: 13 Oct 2007, 00:05
by AF
yah I tried to fix it by adding vga=775 to the end of my grub entry and it brought back the splash screen. Its smaller and in the upper left corner though and so is the shut-down logo, which is now in funky colours.

Posted: 13 Oct 2007, 00:18
by LordMatt
Well, you need to find the right vga=for your monitor. I got the correct one and my splash screens look normal.