Join us at the Oolite Anniversary Party -- London, 7th July 2024, 1pm
More details in this thread.

SGI IRIX

Information, contacts and source code for ports to Linux, Windows, etc.

Moderators: winston, another_commander

User avatar
Spooky
Dangerous
Dangerous
Posts: 108
Joined: Sun Feb 12, 2006 5:05 pm
Location: Portsmouth, UK
Contact:

Post by Spooky »

It's probably not environment - it's probably a missing (and almost certainly empty) directory
All of the GNUstep files are there because if I set up the link from the oolite-deps/GNUstep to /usr/GNUstep then it works absoluetly fine even on machines that have never had GNUstep installed.

I've adjusted the install script to check for the existence of a /usr/GNUstep and if not to make the link and I've got 2 other people playing around with it now. I'm sure we'll suss something out :wink:

My SDL_timer issue was unlucky coincidence and the framerate drop had nothing to do with the changes (and more to do with me being a retard). I also now know that the timer code I have to change is NSTimer.m and NSTimer.h in the GNUstep source. I really don't know a single bit of objc so this is something I'm gonna have to spend some time on, I'm thinking maybe next week.

I had my first chance to actually play today and I have to say that all you chaps have done an excellent job. I'm very impressed with the AI too, I'm pretty sure I saw pirates and police stop wailing on each other and engage a thargoid together... I almost wet myself with joy :D

I've got a few other unixey boxes kicking round that I'm going try and build some self contained packages for... FreeBSD 5.x, Solaris 10, NetBSD 3.0. Hopefully GNUstep will be a little more co-operative on those platforms. :)

Thanks winston for all you help, it's greatly appreciated. I can provide the bodgy IRIX standalone if you'd like, unless you would rather wait until I get it completely sorted?
Spooky
www.int13h.com
Evil Genius

The most merciful thing in all the world is the inability of the human mind to correlate all of its contents.
User avatar
Rxke
Retired Assassin
Retired Assassin
Posts: 1757
Joined: Thu Aug 12, 2004 4:54 pm
Location: Belgium

Post by Rxke »

Spooky wrote:
I've got a few other unixey boxes kicking round that I'm going try and build some self contained packages for... FreeBSD 5.x, Solaris 10, NetBSD 3.0. Hopefully GNUstep will be a little more co-operative on those platforms. :)
That's great, will make lots of people happy if you succeed!
If I were you, I'd ask for Giles to put you up at Berilios, and put the builds there, if successful.
User avatar
winston
Pirate
Pirate
Posts: 731
Joined: Mon Sep 27, 2004 10:21 pm
Location: Port St. Mary, Isle of Man
Contact:

Post by winston »

Or you can ask me, too - I'm looking for someone who can do things like maintain an amd64 Linux autopackage, and any other OS tarball installers are VERY welcome, such as the *BSDs (I can put these up on the berlios project page downloads).
User avatar
winston
Pirate
Pirate
Posts: 731
Joined: Mon Sep 27, 2004 10:21 pm
Location: Port St. Mary, Isle of Man
Contact:

Post by winston »

Spooky wrote:
I had my first chance to actually play today and I have to say that all you chaps have done an excellent job. I'm very impressed with the AI too, I'm pretty sure I saw pirates and police stop wailing on each other and engage a thargoid together...
I have been in some *epic* battles, police, pirates, traders - all in a giant fight (traders/police vs pirates naturally) with other interlopers joining in as they arrive on the scene. Cargo canisters and new Fugitive ratings being earned. They are just too good to energy bomb (although a Q-bomb in the middle of the pack is sometimes entertaining!)
User avatar
Spooky
Dangerous
Dangerous
Posts: 108
Joined: Sun Feb 12, 2006 5:05 pm
Location: Portsmouth, UK
Contact:

Post by Spooky »

http://www.btinternet.com/~spooky_int13 ... 6.5.tar.gz

This is the 1.62-3 standalone package for IRIX 6.5 MIPS3. No warranty implied or supplied :wink:

Tomorrow afternoon I should have finished FreeBSD 5.X, FreeBSD 6.X and NetBSD i386 3.0 packages.
Spooky
www.int13h.com
Evil Genius

The most merciful thing in all the world is the inability of the human mind to correlate all of its contents.
User avatar
johnsmith
Deadly
Deadly
Posts: 141
Joined: Fri Sep 22, 2006 10:32 am
Location: Teance
Contact:

Post by johnsmith »

Right on commander!

I'm having a few problems resizing windows. After maximizing, I have a window which goes off the bottom of the screen by a long way. Is there a plist which sets screen size that I can tweak?

SGI o2, 256M RAM, 300Mhz R5k, IRIX 6.5.26

Be great to get this running on my SGI as well as the Mac. Think the Mac is a little faster though. I'm trying to develop OXPs and the console debug is really handy.
User avatar
Spooky
Dangerous
Dangerous
Posts: 108
Joined: Sun Feb 12, 2006 5:05 pm
Location: Portsmouth, UK
Contact:

Post by Spooky »

Hey JohnSmith.

First of all make sure you are running the latest build. This is currently available from ftp://ftp.alioth.net/oolite/oolite-1.65 ... 6.5.tar.gz.

Secondly, I assuming you're using F12 to toggle fullscreen mode? On every version I've used on every platform F12 works to maximum but pressing it again doesn't restore the window. It seems to just force it out of fullscreen mode leaving the window with strange dimensions. If you use the menu option for fullscreen then it behaves as expected. There is evidently something amiss in the SDL window/context code. I'm pretty sure it's been mentioned and may well be on the todo list. Either way I'll try and have a peek sometime this week.

Your O2's CRM graphics whilst having excellent texture support is slightly underpowered on pixel fill rate and polygon pushing power. This means even a modest Mac will easily outstrip it on performance but (and many will no doubt disagree) there's no denying it's a nicer development environment.... (eeek, I'm in trouble now! Luckily no-one every reads in here :D).

Thanks for using the package!

Spoo.
Spooky
www.int13h.com
Evil Genius

The most merciful thing in all the world is the inability of the human mind to correlate all of its contents.
User avatar
johnsmith
Deadly
Deadly
Posts: 141
Joined: Fri Sep 22, 2006 10:32 am
Location: Teance
Contact:

Post by johnsmith »

I created a new Irix account and tried to do an install of the latest version in the home directory. Error follows:

Code: Select all

2007-01-02 14:26:00.988 oolite[31346] Disallowed time zone name `GMT0BST-1,M3.5.0/1,M10.5.0/2'.
2007-01-02 14:26:00.990 oolite[31346] Using time zone with absolute offset 0.
2007-01-02 14:26:00.986 oolite[31346] File NSUserDefaults.m: 549. In [NSUserDefaults +standardUserDefaults] Improper installation: No language locale found
2007-01-02 14:26:00.994 oolite[31346] initialising SDL
2007-01-02 14:26:01.055 oolite[31346] init: numSticks=0
2007-01-02 14:26:01.057 oolite[31346] CREATING MODE LIST
2007-01-02 14:26:01.371 oolite[31346] drawRect calling initialiseGLWithSize
2007-01-02 14:26:01.373 oolite[31346] Creating a new surface of 800 x 600
2007-01-02 14:26:01.395 oolite[31346] no universe, clearning surface
2007-01-02 14:26:01.399 oolite[31346] File NSBundle.m: 920. In [NSBundle -initWithPath:] NSBundle -initWithPath: requires absolute path names, given './Resources/oolite'
2007-01-02 14:26:01.411 oolite[31346] ---> searching paths:
("/usr/people/test/Oolite/oolite.app/./Resources/oolite/Contents/Resources", "/usr/people/test/Oolite/oolite.app/./Resources/AddOns", "/usr/people/test/Library/Application Support/Oolite/AddOns", "/usr/people/test/.Oolite/AddOns")
2007-01-02 14:26:01.426 oolite[31346] DEBUG ** no cache exists - yet **
./oolite: Uncaught exception NSInvalidArgumentException, reason: Tried to add nil value for key 'CFBundleVersion' to dictionary

Erk. It looks like Oolite died with an error. When making an error
report, please copy + paste the log above into the report.

(Press Ctrl-C to continue)
Funny, because my other build works fine. Frame rate is between 4 and 12 per second though!
User avatar
Spooky
Dangerous
Dangerous
Posts: 108
Joined: Sun Feb 12, 2006 5:05 pm
Location: Portsmouth, UK
Contact:

Post by Spooky »

Hmmm,

That's very odd. Can you please edit the oolite script in your home directory and in between the lines -

Code: Select all

cd $OOLITE_ROOT/$TOPLEVEL/oolite.app
./oolite
can you put

Code: Select all

env
ldd oolite
Then run the script and paste the output here.

Thanks,
Spooky
www.int13h.com
Evil Genius

The most merciful thing in all the world is the inability of the human mind to correlate all of its contents.
User avatar
johnsmith
Deadly
Deadly
Posts: 141
Joined: Fri Sep 22, 2006 10:32 am
Location: Teance
Contact:

Post by johnsmith »

Code: Select all

2007-01-03 12:10:33.383 oolite[32697] Disallowed time zone name `GMT0BST-1,M3.5.0/1,M10.5.0/2'.
2007-01-03 12:10:33.384 oolite[32697] Using time zone with absolute offset 0.
2007-01-03 12:10:33.381 oolite[32697] File NSUserDefaults.m: 549. In [NSUserDefaults +standardUserDefaults] Improper installation: No language locale found
2007-01-03 12:10:33.388 oolite[32697] initialising SDL
2007-01-03 12:10:33.495 oolite[32697] init: numSticks=0
2007-01-03 12:10:33.497 oolite[32697] CREATING MODE LIST
2007-01-03 12:10:33.989 oolite[32697] drawRect calling initialiseGLWithSize
2007-01-03 12:10:33.990 oolite[32697] Creating a new surface of 800 x 600
2007-01-03 12:10:34.059 oolite[32697] no universe, clearning surface
2007-01-03 12:10:34.063 oolite[32697] File NSBundle.m: 920. In [NSBundle -initWithPath:] NSBundle -initWithPath: requires absolute path names, given './Resources/oolite'
2007-01-03 12:10:34.094 oolite[32697] ---> searching paths:
("/usr/people/test/Oolite/oolite.app/./Resources/oolite/Contents/Resources", "/usr/people/test/Oolite/oolite.app/./Resources/AddOns", "/usr/people/test/Library/Application Support/Oolite/AddOns", "/usr/people/test/.Oolite/AddOns")
2007-01-03 12:10:34.105 oolite[32697] DEBUG ** no cache exists - yet **
./oolite: Uncaught exception NSInvalidArgumentException, reason: Tried to add nil value for key 'CFBundleVersion' to dictionary



_=/sbin/env
GNUSTEP_HOST=mips-sgi-irix6.5
LANG=en_GB.ISO8859-15
PATH=/usr/sbin:/usr/bsd:/sbin:/usr/bin:/usr/bin/X11:
NOMSGLABEL=1
OOLITE_ROOT=/usr/people/test
WEBBROWSER=/usr/bin/X11/netscape
BOOKVIEWER=/usr/sbin/infosearch -books
GNUSTEP_NETWORK_ROOT=/usr/people/test/Oolite/oolite-deps/GNUstep/Local
WINDOWID=50331655
MAILBOXPROG=/usr/bin/X11/MediaMail -gui
TOPLEVEL=Oolite
XUSERFILESEARCHPATH=/usr/people/test/.desktop-scaramanga/%N:/usr/people/test/%N:/usr/people/test/.desktop-scaramanga/0.0/%N
LOGNAME=test
MAIL=/usr/mail/test
_RLD_ROOT=/usr/people/test/Oolite/oolite-deps/lib:/usr
HOSTNAME=scaramanga
GNUSTEP_FLATTENED=yes
GNUSTEP_SYSTEM_ROOT=/usr/people/test/Oolite/oolite-deps/GNUstep/System
USER=test
GNUSTEP_LOCAL_ROOT=/usr/people/test/Oolite/oolite-deps/GNUstep/Local
SHLVL=2
MSGVERB=text:action
LASTLOGIN=Last login: Tue Jan 2 14:20:36 GMT 2007 on :0
GNUSTEP_HOST_VENDOR=sgi
DISPLAY=:0.0
SHELL=/usr/gnu/bin/bash
CONSOLE=1
HOSTTYPE=mips
GNUSTEP_USER_ROOT=/usr/people/test/Oolite/oolite-deps/GNUstep
OSTYPE=irix6.5_ALPHA_1274560436
HOME=/usr/people/test
GNUSTEP_HOST_CPU=mips
PSVIEWER=/usr/bin/X11/showps
GNUSTEP_PATHLIST=/usr/people/test/Oolite/oolite-deps/GNUstep:/usr/people/test/Oolite/oolite-deps/GNUstep/Local:/usr/people/test/Oolite/oolite-deps/GNUstep/System
LD_LIBRARY_PATH=/usr/people/test/Oolite/oolite-deps/lib
TERM=iris-ansi
WEBEDITOR=/usr/sbin/CosmoCreate
IMGVIEWER=/usr/sbin/imgview
PWD=/usr/people/test/Oolite/oolite.app
GNUSTEP_ROOT=/usr/people/test/Oolite/oolite-deps/GNUstep
GNUSTEP_HOST_OS=irix6.5
TZ=GMT0BST-1,M3.5.0/1,M10.5.0/2
MACHTYPE=mips-sgi-irix6.5_ALPHA_1274560436
WINEDITOR=/usr/sbin/nedit
NOMSGSEVERITY=1
	libGLU.so  =>	 /usr/lib32/libGLU.so	
	libGL.so  =>	 /usr/lib32/libGL.so	
	libSDL-1.2.so.1  =>	 /usr/people/test/Oolite/oolite-deps/lib/libSDL-1.2.so.1	
	libpthread.so  =>	 /usr/lib32/libpthread.so	
	libSDL_mixer-1.2.so.1  =>	 /usr/people/test/Oolite/oolite-deps/lib/libSDL_mixer-1.2.so.1	
	libSDL_image-1.2.so.1  =>	 /usr/people/test/Oolite/oolite-deps/lib/libSDL_image-1.2.so.1	
	libgnustep-base.so.1.11  =>	 /usr/people/test/Oolite/oolite-deps/lib/libgnustep-base.so.1.11	
	libm.so  =>	 /usr/lib32/libm.so	
	libc.so.1  =>	 /usr/lib32/libc.so.1	
	libC.so.2  =>	 /usr/lib32/libC.so.2	
	libGLcore.so  =>	 /usr/lib32/libGLcore.so	
	libXsgivc.so  =>	 /usr/lib32/libXsgivc.so	
	libXext.so  =>	 /usr/lib32/libXext.so	
	libX11.so.1  =>	 /usr/lib32/libX11.so.1	
	libaudio.so  =>	 /usr/lib32/libaudio.so	
	libvorbisfile.so.4  =>	 /usr/people/test/Oolite/oolite-deps/lib/libvorbisfile.so.4	
	libvorbis.so.1  =>	 /usr/people/test/Oolite/oolite-deps/lib/libvorbis.so.1	
	libogg.so.1  =>	 /usr/people/test/Oolite/oolite-deps/lib/libogg.so.1	
	libjpeg.so  =>	 /usr/people/test/Oolite/oolite-deps/lib/libjpeg.so	
	libpng.so.4  =>	 /usr/people/test/Oolite/oolite-deps/lib/libpng.so.4	
	libz.so  =>	 /usr/lib32/libz.so	
	libxml2.so.3  =>	 /usr/people/test/Oolite/oolite-deps/lib/libxml2.so.3	
	libvice.so  =>	 /usr/lib32/libvice.so	
	libdmedia.so  =>	 /usr/lib32/libdmedia.so	
	libmutex.so  =>	 /usr/lib32/libmutex.so	
Post Reply