Can someone build a ResidualVM package?

IRIX/Nekoware development, porting and related topics.
Forum rules
Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.
User avatar
eudatux23
Posts: 97
Joined: Mon Dec 19, 2011 4:52 am
Location: Sonsbeck, Germany
Contact:

Can someone build a ResidualVM package?

Unread postby eudatux23 » Tue Jan 06, 2015 4:01 am

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

User avatar
nongrato
Posts: 215
Joined: Thu May 15, 2014 5:24 am
Location: SPb, RU
Contact:

Re: Can someone build a ResidualVM package?

Unread postby nongrato » Wed Jan 07, 2015 3:06 am

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:

User avatar
jan-jaap
Donor
Donor
Posts: 4935
Joined: Thu Jun 17, 2004 11:35 am
Location: Wijchen, The Netherlands
Contact:

Re: Can someone build a ResidualVM package?

Unread postby jan-jaap » Wed Jan 07, 2015 3:21 am

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)
:PI: :Indigo: :Indigo: :Indy: :Indy: :Indy: :Indigo2: :Indigo2: :Indigo2IMP: :Octane: :Octane2: :O2: :O2+: Image :Fuel: :Tezro: :4D70G: :Skywriter: :PWRSeries: :Crimson: :ChallengeL: :Onyx: :O200: :Onyx2: :O3x02L:
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)

User avatar
eudatux23
Posts: 97
Joined: Mon Dec 19, 2011 4:52 am
Location: Sonsbeck, Germany
Contact:

Re: Can someone build a ResidualVM package?

Unread postby eudatux23 » Wed Jan 07, 2015 5:43 am

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

User avatar
nongrato
Posts: 215
Joined: Thu May 15, 2014 5:24 am
Location: SPb, RU
Contact:

Re: Can someone build a ResidualVM package?

Unread postby nongrato » Wed Jan 07, 2015 10:12 am

I thought I tried it with gcc. I'll check later.
:Octane2: :320:

User avatar
foetz
Moderator
Moderator
Posts: 6590
Joined: Mon Apr 14, 2003 4:34 am
Contact:

Re: Can someone build a ResidualVM package?

Unread postby foetz » Wed Jan 07, 2015 1:36 pm

nongrato wrote:I thought I tried it with gcc. I'll check later.

yes, the error output you posted is gcc

joostp
Posts: 10
Joined: Sun Aug 10, 2008 3:13 pm

Re: Can someone build a ResidualVM package?

Unread postby joostp » Mon Jan 12, 2015 4:13 pm

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.

User avatar
eudatux23
Posts: 97
Joined: Mon Dec 19, 2011 4:52 am
Location: Sonsbeck, Germany
Contact:

Re: Can someone build a ResidualVM package?

Unread postby eudatux23 » Tue Jan 13, 2015 1:53 am

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

joostp
Posts: 10
Joined: Sun Aug 10, 2008 3:13 pm

Re: Can someone build a ResidualVM package?

Unread postby joostp » Sun Jan 25, 2015 10:57 am

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).

User avatar
eudatux23
Posts: 97
Joined: Mon Dec 19, 2011 4:52 am
Location: Sonsbeck, Germany
Contact:

Re: Can someone build a ResidualVM package?

Unread postby eudatux23 » Sun Jan 25, 2015 2:47 pm

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

joostp
Posts: 10
Joined: Sun Aug 10, 2008 3:13 pm

Re: Can someone build a ResidualVM package?

Unread postby joostp » Fri Feb 06, 2015 6:00 am

Any luck?

User avatar
hamei
Posts: 10435
Joined: Tue Feb 24, 2004 4:10 pm
Location: over the rainbow

Re: Can someone build a ResidualVM package?

Unread postby hamei » Sun Feb 08, 2015 7:12 am

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.
I spent a fortune on booze, birds, and fast cars ... the rest I just squandered

User avatar
eudatux23
Posts: 97
Joined: Mon Dec 19, 2011 4:52 am
Location: Sonsbeck, Germany
Contact:

Re: Can someone build a ResidualVM package?

Unread postby eudatux23 » Wed Feb 18, 2015 3:23 pm

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

User avatar
eudatux23
Posts: 97
Joined: Mon Dec 19, 2011 4:52 am
Location: Sonsbeck, Germany
Contact:

Re: Can someone build a ResidualVM package?

Unread postby eudatux23 » Sat Feb 21, 2015 11:44 am

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

joostp
Posts: 10
Joined: Sun Aug 10, 2008 3:13 pm

Re: Can someone build a ResidualVM package?

Unread postby joostp » Sun Feb 22, 2015 1:09 pm

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...


Return to “SGI: Development”

Who is online

Users browsing this forum: No registered users and 4 guests