quimkaos Posted February 27, 2013 Report Share Posted February 27, 2013 HiI'm using Linux (debian/Ubuntu variant) with dual monitor setup. I'm also running 0 A.D. 0.0.12.The game goes full screen and spans over the 2 monitors. for me this is unplayable. is there a way to set up the game in windowed mode or at least in a way that it goes full screen in only one screen? Quote Link to comment Share on other sites More sharing options...
leper Posted February 27, 2013 Report Share Posted February 27, 2013 You can run the game with -conf=windowed:true and use -xres=123 -yres=456 to set the resolution to something you like.Alternatively you can create a file named local.cfg in ~/.config/0ad/config/ and put something like this inside:windowed = truexres = 123yres =456(You do not need to set the resolution, you can just resize the window but I mentioned it here for completeness.) Quote Link to comment Share on other sites More sharing options...
quimkaos Posted February 27, 2013 Author Report Share Posted February 27, 2013 Thank youI added those lines to the existing file ~/.config/0ad/config/user.cfg and it works! Quote Link to comment Share on other sites More sharing options...
Yves Posted February 28, 2013 Report Share Posted February 28, 2013 user.cfg works too, but local.cfg allows you to have comments and it keeps the ordering of settings you specify (because the game doesn't write to this file). Quote Link to comment Share on other sites More sharing options...
luziferius Posted February 28, 2013 Report Share Posted February 28, 2013 (edited) you may also use windowed full screenthen the window manager just removes the borders, sets the window’s resolution to that of the monitor and puts it on top.for KWin (KDE 4) I know a way to always run 0ad in this mode(I use it and i’ts quite nice):http://www.wildfireg...98(I retranslate the options back to english, setting LC_ALL=C doesn’t help this case) create a local.cfg with windowed=true -> http://trac.wildfire...Manual_Settingsright click on the window title, select 'Advanced' -> 'Special settings for this programm'accept the infobox dialog with okgo to tab 'Size&Position'activate 'Fullscreen' -> in the dropdown to the right select 'Force' or maybe better 'Apply on Initialization'(second entry) -> set radio button to 'yes'maybe restart the gamethen the game uses KWin’s fullscreen mode(windowed fullscreen); you have fullscreen with an ungrabbed keyboard(and mouse!) .so hitting screen edges might toggle compositing effects, if you enabled such actions(I think there is one enabled by default for the upper left corner…)so you might need to enable other options too, (eg. block compositing)you can move the window between monitors by <ALT>+mouse drag’n’drop Edited February 28, 2013 by luziferius Quote Link to comment Share on other sites More sharing options...
quimkaos Posted March 1, 2013 Author Report Share Posted March 1, 2013 Tanks!Changing settings to user.confNot using KDE... Gnome 3.6 but it's ok. Just have to use keys (wasd or cursor + ctrl) to move arrownd. the activity detection zone on the borders of the window are too small, and mouse is not limited by the game window Quote Link to comment Share on other sites More sharing options...
historic_bruno Posted March 1, 2013 Report Share Posted March 1, 2013 I wonder what we can do about this, I'm not knowledgeable enough about SDL and X to know if/how we can provide better dual-monitor support. It would be great if the game could run full screen on one only as an option, or spread out across both. Quote Link to comment Share on other sites More sharing options...
quimkaos Posted March 1, 2013 Author Report Share Posted March 1, 2013 (edited) well, some games do full screen on only one screen, some go for both, so it's possible... Edited March 1, 2013 by quimkaos Quote Link to comment Share on other sites More sharing options...
historic_bruno Posted March 2, 2013 Report Share Posted March 2, 2013 well, some games do full screen on only one screen, some go for both, so it's possible...Do those games use SDL 1.2? Apparently there's an environment variable SDL_VIDEO_FULLSCREEN_DISPLAY you can set. It's mentioned here, I don't know much more about it than that. Quote Link to comment Share on other sites More sharing options...
quimkaos Posted March 2, 2013 Author Report Share Posted March 2, 2013 don't really know, :/for instance SuperTuxKart does do full screen on one monitor but disconnects the second monitor. Quote Link to comment Share on other sites More sharing options...
quimkaos Posted September 2, 2013 Author Report Share Posted September 2, 2013 I really love the game but I'll try it again when it's further developed... it's unplayable for me in single player since the AI seems to have auto resources and units, even in easy mode. Quote Link to comment Share on other sites More sharing options...
wraitii Posted September 2, 2013 Report Share Posted September 2, 2013 quimkaos: what makes you think that? Aegis doesn't. Quote Link to comment Share on other sites More sharing options...
quimkaos Posted September 2, 2013 Author Report Share Posted September 2, 2013 I'm using Aegis.in punjab1 and difficulty mode set to medium (default), after 5-10 min i'm getting overrun, over and over, with 4 times the units i can produce. The bot technology also seems to be at last stage. even in easy mode I need to be spawning military units like mad!in punjab2 and difficulty mode set to easy, after 5 min i already have the bot building town centres glued to my border...this was tested multiple times ... Quote Link to comment Share on other sites More sharing options...
wraitii Posted September 2, 2013 Report Share Posted September 2, 2013 Yes it is fairly strong for a beginner, but I can assure you it doesn't spawn unit. Check A14 again, the difficulty settings should be better (ie easy should be easier) and there will be a new sandbox mode where the AI won't attack. 1 Quote Link to comment Share on other sites More sharing options...
quimkaos Posted September 5, 2013 Author Report Share Posted September 5, 2013 (edited) now I’m lagging like hell after 150 units!@ Linux 64bits :: E8500@3.16 :: 4GB :: Nvidia Geforce 9600GT 1GB :: Nvidia Driver Version 313.30 Edited September 6, 2013 by quimkaos 1 Quote Link to comment Share on other sites More sharing options...
Lion.Kanzen Posted September 6, 2013 Report Share Posted September 6, 2013 which map?, which Ai? try with 150 units Random maps. Quote Link to comment Share on other sites More sharing options...
quimkaos Posted September 6, 2013 Author Report Share Posted September 6, 2013 i think it's one of the "old" maps... Cantabrian Highlands... thou i was playing in giant size and with 1 AI Quote Link to comment Share on other sites More sharing options...
Lion.Kanzen Posted September 6, 2013 Report Share Posted September 6, 2013 Gigantic size get low performance yet because the pathfinder. Quote Link to comment Share on other sites More sharing options...
quimkaos Posted September 6, 2013 Author Report Share Posted September 6, 2013 same with medium size Quote Link to comment Share on other sites More sharing options...
quimkaos Posted September 6, 2013 Author Report Share Posted September 6, 2013 Used the shift+F11 feature to create a log (profile) and attached it so it can be of useprofile.txt Quote Link to comment Share on other sites More sharing options...
historic_bruno Posted September 7, 2013 Report Share Posted September 7, 2013 Used the shift+F11 feature to create a log (profile) and attached it so it can be of useThat data doesn't look too unusual. ComputePath is a bit high, but probably what you're experiencing is intermittent lag (maybe every few frames) and simply wasn't captured there.What you could do is run profiler2, which has a web server built into the engine that streams profiling data locally to a tool that can be run in your web browser. It's not included in releases, but it's available in SVN: http://trac.wildfiregames.com/browser/ps/trunk/source/tools/profiler2 You need those three files, start the game and press F11 to enable the profiler, and open profiler2.html. I don't know if we have a tutorial yet for how to use it, but there are some details and screenshots here. When the game lags, you should be able to identify frames in the profiler2 tool that take a relatively long period of time, much longer than 15-20 ms. Those will be the cause of your lag. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.