SGI: Development

Can someone build a ResidualVM package? - Page 1

Hi,
I just found out, that ResidualVM seems to be buildable in IRIX if I see this link correctly:
https://github.com/residualvm/residualv ... dists/irix

Sadly I don't have a compiler here. Can someone build a pakage out of it?

With such a package, many old LucasArts 3D adventure games like Grim Fandango would work on our SGI machines!


Thanks in advance
:Octane2: SGI Octane 2 - Dual R12K 400 MHz - 250 0MB RAM - 73 GB HDD - vPro v12 - IRIX 6.5.30
:Indigo2IMP: SGI Indigo² - R10K 175 MHz - 320 MB RAM - 73 GB SCSI HDD - High Impact-AA + TRAM - IRIX 6.5.22f
:O2: SGI O2 - R5K 180 MHz - 96 MB RAM - 18 GB HDD - CRM - IRIX 6.5.30
Unfortunately.

Code: Select all

engines/grim/emi/sound/track.cpp: In member function `void Grim::SoundTrack::updatePosition()':
engines/grim/emi/sound/track.cpp:89: error: `isfinite' was not declared in this scope
engines/grim/emi/sound/track.cpp:89: warning: unused variable 'isfinite'
engines/grim/emi/sound/track.cpp: In member function `int Grim::SoundTrack::getEffectiveVolume()':
engines/grim/emi/sound/track.cpp:149: warning: converting to `int' from `float'
gmake: *** [engines/grim/emi/sound/track.o] Error 1
:Octane2: :320:
isfinite() is C99 and MIPSpro doesn't allow C99 features in C++.

The underlying primitives:

Code: Select all

extern int _isfinite(double);
extern int _isfinitef(float);
extern int _isfinitel(long double);

are in libm (I think, could be libc).

You just need the isfinite() macro, then:

Code: Select all

#define isfinite(x) \
(sizeof (x) == sizeof (float)                                            \
? _isfinitef (x)                                                         \
: sizeof (x) == sizeof (double)                                         \
? _isfinite (x) : _isfinitel (x))

(not tested, but you'll figure it out)
To accentuate the special identity of the IRIS 4D/70, Silicon Graphics' designers selected a new color palette. The machine's coating blends dark grey, raspberry and beige colors into a pleasing harmony. ( IRIS 4D/70 Superworkstation Technical Report )
May it work when building with GCC instead of MIPSpro?
:Octane2: SGI Octane 2 - Dual R12K 400 MHz - 250 0MB RAM - 73 GB HDD - vPro v12 - IRIX 6.5.30
:Indigo2IMP: SGI Indigo² - R10K 175 MHz - 320 MB RAM - 73 GB SCSI HDD - High Impact-AA + TRAM - IRIX 6.5.22f
:O2: SGI O2 - R5K 180 MHz - 96 MB RAM - 18 GB HDD - CRM - IRIX 6.5.30
I thought I tried it with gcc. I'll check later.
:Octane2: :320:
nongrato wrote: I thought I tried it with gcc. I'll check later.

yes, the error output you posted is gcc
r-a-c.de
While the current 0.2.0 release of ResidualVM should compile without problems (it does for me, anyway), it has a bug that makes Grim Fandango not work on IRIX.
This issue has been fixed for the next release. When that comes out I'll do an 'official' IRIX build that can be grabbed from the ResidualVM downloads page.
joostp wrote: While the current 0.2.0 release of ResidualVM should compile without problems (it does for me, anyway), it has a bug that makes Grim Fandango not work on IRIX.
This issue has been fixed for the next release. When that comes out I'll do an 'official' IRIX build that can be grabbed from the ResidualVM downloads page.
Great! Can't wait for it and play Grim Fandango on my Octane! Thanks! :)
:Octane2: SGI Octane 2 - Dual R12K 400 MHz - 250 0MB RAM - 73 GB HDD - vPro v12 - IRIX 6.5.30
:Indigo2IMP: SGI Indigo² - R10K 175 MHz - 320 MB RAM - 73 GB SCSI HDD - High Impact-AA + TRAM - IRIX 6.5.22f
:O2: SGI O2 - R5K 180 MHz - 96 MB RAM - 18 GB HDD - CRM - IRIX 6.5.30
ResidualVM 0.2.1 has been released now.

It would be good to know how well it works on your octane 2 (hardware and software renderer).
Thank you very very very much! :)

I will try it in the next days and give you informations about how it runs on my machine.
:Octane2: SGI Octane 2 - Dual R12K 400 MHz - 250 0MB RAM - 73 GB HDD - vPro v12 - IRIX 6.5.30
:Indigo2IMP: SGI Indigo² - R10K 175 MHz - 320 MB RAM - 73 GB SCSI HDD - High Impact-AA + TRAM - IRIX 6.5.22f
:O2: SGI O2 - R5K 180 MHz - 96 MB RAM - 18 GB HDD - CRM - IRIX 6.5.30
Any luck?
joostp wrote: Any luck?

I can't tell you anything about how it works cuz I have no game experience at all, but it opens and the buttons that aren't greyed out work. It doesn't crash or complain to the console.

Thank you.
Hi,
sorry that I only reply this late.

I tested it yesterday on my Octane with V12. It kind of works but with a low framerate of approximately 10 fps. Also there seem to be some glitches, i.e. Manny walking over a table etc. When the glitches appear, it also writes stuff into the terminal, which I will post here on Saturday. In Software Mode the Framerate is a bit better than in OpenGL mode, but the colors are a bit washed out. I will create a video to further describe it on Saturday and will post it here then.

Anyway, thank you very very much for making it possible to run Grim Fandango on IRIX. :)
:Octane2: SGI Octane 2 - Dual R12K 400 MHz - 250 0MB RAM - 73 GB HDD - vPro v12 - IRIX 6.5.30
:Indigo2IMP: SGI Indigo² - R10K 175 MHz - 320 MB RAM - 73 GB SCSI HDD - High Impact-AA + TRAM - IRIX 6.5.22f
:O2: SGI O2 - R5K 180 MHz - 96 MB RAM - 18 GB HDD - CRM - IRIX 6.5.30
I just made a video showing Grim Fandango in ResidualVM using both OpenGL and software renderer:
:Octane2: SGI Octane 2 - Dual R12K 400 MHz - 250 0MB RAM - 73 GB HDD - vPro v12 - IRIX 6.5.30
:Indigo2IMP: SGI Indigo² - R10K 175 MHz - 320 MB RAM - 73 GB SCSI HDD - High Impact-AA + TRAM - IRIX 6.5.22f
:O2: SGI O2 - R5K 180 MHz - 96 MB RAM - 18 GB HDD - CRM - IRIX 6.5.30
Thanks for the feedback and recording the video. It's best to report this bug directly on the ResidualVM issue tracker .

I've noticed the same z-buffer issue on my Fuel with V10. It's been a while since I've tried it on my Octane with (E)SI graphics, but seem to remember it being okay on that, so perhaps it's a VPro-specific issue. It would be interesting to see how well it fares on your O2...
I will do a test on the O2 on Saturday.
:Octane2: SGI Octane 2 - Dual R12K 400 MHz - 250 0MB RAM - 73 GB HDD - vPro v12 - IRIX 6.5.30
:Indigo2IMP: SGI Indigo² - R10K 175 MHz - 320 MB RAM - 73 GB SCSI HDD - High Impact-AA + TRAM - IRIX 6.5.22f
:O2: SGI O2 - R5K 180 MHz - 96 MB RAM - 18 GB HDD - CRM - IRIX 6.5.30
Thanks. The 96MB RAM might be a bit tight, but if it does run, the most important thing is seeing if the Z issue exists on the O2 as well.
In case anyone wants to play Grim Fandanago and does not have the original CD to use ResidualVM, a new remastered version is now available:

http://store.steampowered.com/app/316790
http://grimremastered.com/
Sitting in a room.....thinkin' shit up. :evil:

:O2: 400MHz R12k - :320: Dual 550MHz PIII - Apple G4 Cube dual 500MHz/GF6200 - Newton Messagepad 2100 - Apple PowerBook 2400c/G3@240 - DECstation5000/133 - Apple Workgroup Server 9150/120 G3@280 - Apple Macintosh IIfx - Apple Macintosh Color Classic (Mystic upgrade) - Sun Cobalt Cube 3 - Tadpole RDI UltraBook IIi - Digital HiNote Ultra II - HP 200LX
I just tested it on my Indigo² with High-AA Impact+TRAM and it ran perfect and smooth. Also the bugs seen on vPro are not there. I will do a video about it tomorrow.
:Octane2: SGI Octane 2 - Dual R12K 400 MHz - 250 0MB RAM - 73 GB HDD - vPro v12 - IRIX 6.5.30
:Indigo2IMP: SGI Indigo² - R10K 175 MHz - 320 MB RAM - 73 GB SCSI HDD - High Impact-AA + TRAM - IRIX 6.5.22f
:O2: SGI O2 - R5K 180 MHz - 96 MB RAM - 18 GB HDD - CRM - IRIX 6.5.30
Does this version of ResidualVM also run Escape from Monkey Island?
:O2: O2 - (Mantadoc) - R5K - 200MHZ - 128MB RAM - 6.5.30
:Octane: Octane - (Montrealais) - R12K - 2*360MHZ - 1024MB RAM - EMXI. - 6.5.30
Alphaserver DS10 - (Vandoc) - EV6 - 466MHZ - 256MB RAM
Sun Ultra 5 - (Quedoc) - UltraSparc II - 400MHZ - 512MB RAM
ASUS K55VD - (Mapleglen)- I5 - Dual Core 2.5GHZ - 8 GB RAM
Dell L502X - (Algorail) - I7 - Quad Core 2GHZ - 6 GB RAM