123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|430|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> Blitz Max -> A long shot question

Fri, 01 Aug 2008, 09:47
9572AD
Anyone know a lot about Linux in relation to BlitzMax, and particularly the flavor of Linux pre-installed on an Asus EEE PC 2G Surf?

Riddle me this: Over at tcksoft.co.uk he has 2 games compiled for Linux - Duck Dash and Vector's Revenge. Duck Dash runs on the EEE right out of the gnuzip, easy peasy. Vector's Revenge, however, won't run, doesn't error, doesn't even appear to try to run - I don't see anything happening, anyway.
Is there something that needs to be added to the EEE distro of Linux to make all BMax games run, or is there something wrong with the Linux compile of Vector's Revenge, or is there something else entirely?

-=-=-
All the raw, animal magnetism of a rutabaga.
Fri, 01 Aug 2008, 09:51
Nolan
Do you have desktop effects on? Things like that tend to mess with certain games, although it's never certain whether turning them off will make the game run.

What 'flavor' is installed on the EEE? Ubuntu?

I've had good luck with Max on Ubuntu -- nearly everything I've tried so far seems to work.

-=-=-
nolandc.com
Fri, 01 Aug 2008, 12:25
mike_g
The eee comes shipped w/ Xandros; another Debian variant. I have eeeXUbuntu on mine, which is a distro that comes bundled w/ the wireless drivers and some configurations.

I havent tried using Blitz in Linux yet, but you could try running it under WINE.
Fri, 01 Aug 2008, 19:32
JL235
I still have the standard Xandros installed on my eee 900. If the print screen worked then I would show you as yes Vectors Revenge does work on my eee.

Have you tried running it from the terminal? It should print out the error there. Also are you running Xandros in simple or advanced mode? It does make a difference to some applications.
Sat, 02 Aug 2008, 06:44
mike_g
JL: You could install scrot and set a marcro that makes a screendump when you hit printscreen. Thats basically what I did. I hae short cuts for most common tasks, and it make life a lot easier with the fiddly eee controls.
Sat, 02 Aug 2008, 06:52
JL235
I have it set up in the control panel to use the print screen key for print screen. However it just doesn't work.
Sat, 02 Aug 2008, 07:02
mike_g
What does not work: shortcuts in general, or the screendump? Scrot is a different screencapture prog, and it works for me. I can even prove it




Sat, 02 Aug 2008, 08:23
JL235
After some investigation I've found it does work, just not when I am running Vectors Revenge in full screen.

But Mike I do add my own personalised macros and shortcuts too Linux. It's one of the few really cool features about it. Like if I press ctrl+alt+I it opens Opera and ctrl+alt+M opens Thunderbird. Alt+J and alt+K switch between desktops. I also changed the close screen behaviour so that it no longer puts the machine into standby and instead just turns the monitor off. Mine also automatically adjusts the lighting of the screen when I plug/unplug the power cord.

Although both of the latter two are probably available in Windows through the control panel as standard without the need to edit config files via the terminal.
Mon, 04 Aug 2008, 09:08
9572AD
My EEE is in the dead basic straight-from-box configuration, and I know Jack and shite about Linux - and Jack has left town.

I've seen pages with instructions on how to modify a Linux EEE to be able to sync and compile with BlitzMax, and I'll be doing that eventually.

Firstly, though, I want to get a handle on what the minimum possible changes that need to be made from the out-of-box configuration are in order to get BMax-compiled-for-Linux programs to work properly, as I thought there might be a market for EEE-friendly software.

I download the Vector's Revenge tar.gz, right click in the file manager, select...whichever the unzip selection is, then double click the executable. And I get zero reaction. So I want to know what needs to change to make it go.

-=-=-
All the raw, animal magnetism of a rutabaga.
Mon, 04 Aug 2008, 09:34
mike_g
You can always put XP on it. A friend of mine has it on his and it runs very well.
Mon, 04 Aug 2008, 09:38
9572AD
heheh, I've got one with XP as well. This one is intended to be my Linux development platform.

-=-=-
All the raw, animal magnetism of a rutabaga.
Mon, 04 Aug 2008, 09:39
mike_g
Lol, thats just being greedy
Mon, 04 Aug 2008, 11:18
9572AD
Aha! or, more accurately, Aha?

I've been told elsewhere that I may need to chmod the file to give it permission to execute. Now I just have to figure out how to do that to give it a try...

-=-=-
All the raw, animal magnetism of a rutabaga.
Mon, 04 Aug 2008, 11:46
mike_g
IIRC its:

Not on a linux machine atm to test it.
Mon, 04 Aug 2008, 11:55
9572AD
Already was set as executable, so that wasn't it. *sigh*

JL (or anyone), how do you run it from the terminal? Only commands I know so far are ls -l and chmod

-=-=-
All the raw, animal magnetism of a rutabaga.
Mon, 04 Aug 2008, 12:37
mike_g
You need to put a ./ before it. IE:

Or install it to /bin or /usr/bin
Mon, 04 Aug 2008, 17:37
JL235
Another guess as to the problem, the Xandros distro on the surf models and on the 900 is slightly different, so that might be why it runs on mine and not yours.
Tue, 05 Aug 2008, 02:30
9572AD
Ok, I doubt this will mean anything to anyone, but, runnning Vector's Revenge from the terminal I get:

X Error of failed request: GLXBadDrawable
Major opcode of failed request: 158 (GLX)
Minor opcode of failed request: 11 (X_GLXSwapBuffers)
Serial number of failed request: 37
Current serial number in output stream: 37
*** glibc detected *** free(): invalid pointer: 0x08718a34 ***
Aborted


Could this have something to do with setting the video mode? I had another game (not compiled in BMax) crash out because it tried and failed to set an 800x600 video mode while the screen on the Surf is only 800x480; completely different string of errors, of course.

Is there a way to force them to run windowed? That might 'fix' the problem...not that they'd be real playable, but...

-=-=-
All the raw, animal magnetism of a rutabaga.
Tue, 05 Aug 2008, 05:40
JL235
My eee has a resolution of 1024x600, so yeah maybe that's the problem. However the surf's video card can support larger resolutions, it's just the screen that doesn't. There is an app by Asus that allows you to have a larger resolution that extends beyond the screens borders.
Tue, 05 Aug 2008, 06:07
9572AD
Where would I find it? I've trawled around Asus' poorly constructed sites and found nil having to do with video aside from a WinXP driver.

-=-=-
All the raw, animal magnetism of a rutabaga.
Tue, 05 Aug 2008, 06:25
JL235
If it really is by Asus then it should be in the package manager. Other then that, no idea. I've never used it.