How can i run lugaru in windowed mode ?
-
- Posts: 57
- Joined: Fri Oct 10, 2008 3:38 pm
How can i run lugaru in windowed mode ?
hey guys.
I am just wandering how can i play Lugaru in windowed mode ? My Monitor is just too wide and the screen doesen't look so good on fullscreen..
I am just wandering how can i play Lugaru in windowed mode ? My Monitor is just too wide and the screen doesen't look so good on fullscreen..
Re: How can i run lugaru in windowed mode ?
Unfortunately, it is impossible to play in a windowed mode, I believe. Corrections?
Re: How can i run lugaru in windowed mode ?
try running the windows version in Linux under Wine with an emulated desktop
-
- official Wolfire heckler
- Posts: 2193
- Joined: Sun Aug 28, 2005 11:19 pm
- Location: Hamburg City
- Contact:
Re: How can i run lugaru in windowed mode ?
You can't run Lugaru in a window unless you start it in a virtual desktop (that's why wine works).
As for the aspect ratio, you should be able to change the screen geometry with the tools your driver has. NVidia for example lets you change the geometry of the screen for resolutions via the display settings tool (or at least they used to, can't check unfortunately because there's no Windows here).
As for the aspect ratio, you should be able to change the screen geometry with the tools your driver has. NVidia for example lets you change the geometry of the screen for resolutions via the display settings tool (or at least they used to, can't check unfortunately because there's no Windows here).
-
- Posts: 1119
- Joined: Tue Apr 22, 2008 2:16 am
- Location: Western Finland
Re: How can i run lugaru in windowed mode ?
LIES!
YOU ALL LIES!
Just play lugaru in the safe mode, that is windowed, no other differences compared to the normal version.
YOU ALL LIES!
Just play lugaru in the safe mode, that is windowed, no other differences compared to the normal version.
Re: How can i run lugaru in windowed mode ?
And how to do you get into this "safe" mode of yours?
-
- Posts: 57
- Joined: Fri Oct 10, 2008 3:38 pm
Re: How can i run lugaru in windowed mode ?
When i run it in safe it crashes..anywayz. will have to play it full screen then :/
Re: How can i run lugaru in windowed mode ?
(holy thread necro - sorry in advance).
I just bought Lugaru and was surprised to find out it can't be played in windowed mode (at least on Linux). I came up with the following solution:
(1) pop up a terminal window and cd to the directory where you installed Lugaru
(2) touch fakesdl.c
(3) vim fakesdl.c (replace vim with your favorite text editor)
(4) copy-paste the code below:
(5) compile by running: gcc -m32 -fPIC -DPIC -shared -o fakesdl.so fakesdl.c
(6) run Lugaru like so: LD_PRELOAD=./fakesdl.so ./lugaru
(7) ????
(8) enjoy window mode
I just bought Lugaru and was surprised to find out it can't be played in windowed mode (at least on Linux). I came up with the following solution:
(1) pop up a terminal window and cd to the directory where you installed Lugaru
(2) touch fakesdl.c
(3) vim fakesdl.c (replace vim with your favorite text editor)
(4) copy-paste the code below:
Code: Select all
#include <stdlib.h>
#include <stdio.h>
#include <stdint.h>
#include <dlfcn.h>
#define SDL_FULLSCREEN 0x80000000
typedef void * ( *cf_t )( int, int, int, uint32_t );
static cf_t ptr;
static void __attribute__(( constructor )) _f_init( void )
{
void *h = dlopen( "./libSDL-1.2.so.0", RTLD_NOW );
if ( !h ) {
printf( "Could not open libsdl: %s\n", dlerror() );
exit( 1 );
}
ptr = ( cf_t )dlsym( h, "SDL_SetVideoMode" );
}
void *SDL_SetVideoMode( int w, int h, int bpp, uint32_t flags )
{
printf( "NO FULLSCREEN !!1\n" );
return ptr( w, h, bpp, ( flags & ~SDL_FULLSCREEN ) );
}
(6) run Lugaru like so: LD_PRELOAD=./fakesdl.so ./lugaru
(7) ????
(8) enjoy window mode
Re: How can i run lugaru in windowed mode ?
This is plossible in linux with Xnest.
Re: How can i run lugaru in windowed mode ?
wait... i am pressing alt+enter to make lugaru go windowed, both windows and linux for me (gotten via the bundle)
or by adding "-windowed" on the command line (for those who know what that is)
or by adding "-windowed" on the command line (for those who know what that is)