Thread Closed

1000$USD Bounty to fix GemRB for IRIX - CLOSED
#21
RE: 1000$USD Bounty to fix GemRB for IRIX
(01-03-2020, 04:25 AM)necron2600 Wrote:  Wow!  I have not tested your work yet.... I will try very soon.
My 1000$ bounty is still valid..  (even if no sound)..  but I can add some more funds for you to get sound in.  Baldur's Gate music and sounds are some of the best. 
Let me test soon and I can PM you offline for sending you the bounty.

Already working on it.

At the end this is also a community, so don't mind paying more for sound. I will add it for free.

Tru
TruHobbyist
Developer

Trade Count: (0)
Posts: 195
Threads: 21
Joined: May 2018
Find
01-03-2020, 09:48 PM
#22
RE: 1000$USD Bounty to fix GemRB for IRIX
Hi again,

Sound works. I also compiled with optimizations turned on and now it runs notably faster.

First of all, if you downloaded and installed the last GemRB without Sound, please open swmgr and uninstall all the products before starting Installation of GemRB with sound.

Here are the steps to follow to replicate the necessary environment for GemRB with sound:


1. Dependencies

These are the system provided libraries you will need to get GemRB running:

/usr/lib32/libfreetype.so (2.1.3) - xpdf.sw.xpdf (6.5.30 Applications CD)
/usr/lib32/libpng.so (1.2.8)  - ifl_eoe.sw.c++ (6.5.30 Overlays 2 of 3 CD)
/usr/freeware/lib32/libogg.so.1  - fw_libogg.sw.lib (Freeware May 2004 CD 3)
/usr/freeware/lib32/libvorbis.so.1 - fw_libvorbis.sw.lib (Freeware May 2004 CD 3)
/usr/lib32/libaudio.so  - dmedia_eoe.sw.audio (6.5.30 Overlays 2 of 3 CD)
/usr/lib32/libXext.so  - x_eoe.sw.eoe (6.5.30 Installation Tools and Overlays 1 of 3 CD)

and three new libs are now necessary:

/usr/freeware/lib32/libreadline.so.4 - fw_readline (Freeware May 2004 CD 4)
/usr/freeware/lib32/libintl.so.3 - fw_gettext (Freeware May 2004 CD 2)
/usr/lib32/libcurses.so - eoe.sw.base (6.5.30 Installation Tools and Overlays 1 of 3)


If you need any of the CDs, you can get them from ftp://ftp.lp0.dk/pub/archives/ftp-sites/...e.sgi.com/ (cd-1, cd-2, …)

For all of them: download locally to your machine and install with swmgr.


2. Install GemRB

Download the tar file here (~130MiB), untar into /usr/dist, and install all products with swmgr as well. The products are:

GemRB_0_8_4
Python_2_7_15
SDL_1_2_15
libiconv_1_14
zlib_1_2_7

and the new ones:

FLAC_1_2_1
FluidSynth_1_1_5
SDL_mixer_1_2_12
glib_2_6_5
libmikmod_3_1_12
libogg_1_1_2
smpeg_0_4_5


This puts everything in place and ready to run.


3. Edit GemRB.conf

Edit /usr/local/etc/gemrb/GemRB.cfg and set "GamePath" to the path with Baldur's Gate 1 files (the big bg1 directory from *your* ftp).

NOTE: the provided GemRB.cfg is now already sound-enabled. Just adjust the path to the big bg1 directory.


4. Run gemrb and enjoy

# gemrb



Cheers,

TruHobbyist


EDIT: updated link to correct tarfile.
(This post was last modified: 01-07-2020, 04:31 PM by TruHobbyist.)
TruHobbyist
Developer

Trade Count: (0)
Posts: 195
Threads: 21
Joined: May 2018
Find
01-05-2020, 11:38 PM
#23
RE: 1000$USD Bounty to fix GemRB for IRIX
I installed the new gemrb, but I'm not getting any sound?
Irinikus
Hardware Connoisseur

Trade Count: (0)
Posts: 3,475
Threads: 319
Joined: Dec 2017
Location: South Africa
Website Find
01-06-2020, 09:01 PM
#24
RE: 1000$USD Bounty to fix GemRB for IRIX
(01-06-2020, 09:01 PM)Irinikus Wrote:  I installed the new gemrb, but I'm not getting any sound?

I'll work on it tomorrow. For now, be sure to delete the Cache2 directory before running gemrb. That way it doesn't pick up old files/settings.

Your help is much appreciated.

Tru
TruHobbyist
Developer

Trade Count: (0)
Posts: 195
Threads: 21
Joined: May 2018
Find
01-06-2020, 09:50 PM
#25
RE: 1000$USD Bounty to fix GemRB for IRIX
For those who have no Sound after installing the second GemRB + deps products, please run the linked script and post back your results so I can have a deeper look into what's going on.

Run the script with

# bsh check_gemrb.bsh

The Output file is named check_gemrb.out.bsh in the cwd.


Another useful Thing to try is to Play the Music files directly using the linked executables playmus and playwave. These are created for testing SDL_mixer directly.

Run them on *.wav files in the path bg1/Sounds . For example, try:


# ./playwave /path/to/bg1/Sounds/Male1b.wav



Tru
TruHobbyist
Developer

Trade Count: (0)
Posts: 195
Threads: 21
Joined: May 2018
Find
01-07-2020, 10:11 AM
#26
RE: 1000$USD Bounty to fix GemRB for IRIX
Here's my check_gemrb.out.bsh:

[Image: oSPFBWK.png]
[Image: jLFqZQV.png]
[Image: hkvYyul.png]
[Image: SLDbWku.png]
[Image: VIXIAOj.png]
(This post was last modified: 01-07-2020, 11:38 AM by Irinikus.)
Irinikus
Hardware Connoisseur

Trade Count: (0)
Posts: 3,475
Threads: 319
Joined: Dec 2017
Location: South Africa
Website Find
01-07-2020, 11:36 AM
#27
RE: 1000$USD Bounty to fix GemRB for IRIX
(01-07-2020, 11:36 AM)Irinikus Wrote:  Here's my check_gemrb.out.bsh:

Hi Irinikus, please uninstall all Prior products (GemRB without sound, ~100MB tarfile), download the new GemRB with sound (second download, ~130MB tarfile) and install all products with swmgr.

If you look closely at the deps Output, you lack SDLAudio.so in the gemrb/Plugins Folder. Without it you won't have Sound, it's simply not possible. Output from GemRB with Sound Looks like this:

Code:
    ####### SDLAudio.so #######
    libgemrb_core.so  =>     /usr/local/lib/gemrb/libgemrb_core.so    
    libSDL-1.2.so.1  =>     /usr/local/lib/libSDL-1.2.so.1    
    libSDL_mixer-1.2.so.1  =>     /usr/local/lib/libSDL_mixer-1.2.so.1    
    libCsup.so  =>     /usr/lib32/libCsup.so    
    libC.so.2  =>     /usr/lib32/libC.so.2    
    libCio.so.1  =>     /usr/lib32/libCio.so.1    
    libc.so.1  =>     /usr/lib32/libc.so.1    
    libiconv.so.3  =>     /usr/local/lib/libiconv.so.3    
    libm.so  =>     /usr/lib32/libm.so    
    libaudio.so  =>     /usr/lib32/libaudio.so    
    libX11.so.1  =>     /usr/lib32/libX11.so.1    
    libXext.so  =>     /usr/lib32/libXext.so    
    libpthread.so  =>     /usr/lib32/libpthread.so    
    libfluidsynth.so  =>     /usr/local/lib/libfluidsynth.so    
    libgthread-2.0.so.1  =>     /usr/local/lib/libgthread-2.0.so.1    
    libglib-2.0.so.1  =>     /usr/local/lib/libglib-2.0.so.1    
    libreadline.so.4  =>     /usr/freeware/lib32/libreadline.so.4    
    libintl.so.3  =>     /usr/freeware/lib32/libintl.so.3    
    libcurses.so  =>     /usr/lib32/libcurses.so    
-- /usr/local/lib/libSDL-1.2.so --
    libiconv.so.3  =>     /usr/local/lib/libiconv.so.3    
    libm.so  =>     /usr/lib32/libm.so    
    libaudio.so  =>     /usr/lib32/libaudio.so    
    libX11.so.1  =>     /usr/lib32/libX11.so.1    
    libXext.so  =>     /usr/lib32/libXext.so    
    libpthread.so  =>     /usr/lib32/libpthread.so    
    libc.so.1  =>     /usr/lib32/libc.so.1    
-- /usr/local/lib/libSDL_mixer-1.2.so --
    libSDL-1.2.so.1  =>     /usr/local/lib/libSDL-1.2.so.1    
    libiconv.so.3  =>     /usr/local/lib/libiconv.so.3    
    libaudio.so  =>     /usr/lib32/libaudio.so    
    libX11.so.1  =>     /usr/lib32/libX11.so.1    
    libXext.so  =>     /usr/lib32/libXext.so    
    libpthread.so  =>     /usr/lib32/libpthread.so    
    libfluidsynth.so  =>     /usr/local/lib/libfluidsynth.so    
    libm.so  =>     /usr/lib32/libm.so    
    libc.so.1  =>     /usr/lib32/libc.so.1    
    libgthread-2.0.so.1  =>     /usr/local/lib/libgthread-2.0.so.1    
    libglib-2.0.so.1  =>     /usr/local/lib/libglib-2.0.so.1    
    libreadline.so.4  =>     /usr/freeware/lib32/libreadline.so.4    
    libintl.so.3  =>     /usr/freeware/lib32/libintl.so.3    
    libcurses.so  =>     /usr/lib32/libcurses.so    
-- /usr/local/lib/libiconv.so --
    libc.so.1  =>     /usr/lib32/libc.so.1    
-- /usr/local/lib/libfluidsynth.so --
    libgthread-2.0.so.1  =>     /usr/local/lib/libgthread-2.0.so.1    
    libpthread.so  =>     /usr/lib32/libpthread.so    
    libglib-2.0.so.1  =>     /usr/local/lib/libglib-2.0.so.1    
    libreadline.so.4  =>     /usr/freeware/lib32/libreadline.so.4    
    libm.so  =>     /usr/lib32/libm.so    
    libc.so.1  =>     /usr/lib32/libc.so.1    
    libintl.so.3  =>     /usr/freeware/lib32/libintl.so.3    
    libcurses.so  =>     /usr/lib32/libcurses.so    
-- /usr/local/lib/libgthread-2.0.so --
    libpthread.so  =>     /usr/lib32/libpthread.so    
    libglib-2.0.so.1  =>     /usr/local/lib/libglib-2.0.so.1    
    libintl.so.3  =>     /usr/freeware/lib32/libintl.so.3    
    libc.so.1  =>     /usr/lib32/libc.so.1    
-- /usr/local/lib/libglib-2.0.so --
    libintl.so.3  =>     /usr/freeware/lib32/libintl.so.3    
    libc.so.1  =>     /usr/lib32/libc.so.1    
####### SDLVideo.so #######
    libgemrb_core.so  =>     /usr/local/lib/gemrb/libgemrb_core.so    
    libSDL-1.2.so.1  =>     /usr/local/lib/libSDL-1.2.so.1    
    libiconv.so.3  =>     /usr/local/lib/libiconv.so.3    
    libCsup.so  =>     /usr/lib32/libCsup.so    
    libC.so.2  =>     /usr/lib32/libC.so.2    
    libCio.so.1  =>     /usr/lib32/libCio.so.1    
    libc.so.1  =>     /usr/lib32/libc.so.1    
    libm.so  =>     /usr/lib32/libm.so    
    libaudio.so  =>     /usr/lib32/libaudio.so    
    libX11.so.1  =>     /usr/lib32/libX11.so.1    
    libXext.so  =>     /usr/lib32/libXext.so    
    libpthread.so  =>     /usr/lib32/libpthread.so    
-- /usr/local/lib/libSDL-1.2.so --
    libiconv.so.3  =>     /usr/local/lib/libiconv.so.3    
    libm.so  =>     /usr/lib32/libm.so    
    libaudio.so  =>     /usr/lib32/libaudio.so    
    libX11.so.1  =>     /usr/lib32/libX11.so.1    
    libXext.so  =>     /usr/lib32/libXext.so    
    libpthread.so  =>     /usr/lib32/libpthread.so    
    libc.so.1  =>     /usr/lib32/libc.so.1    
-- /usr/local/lib/libiconv.so --
    libc.so.1  =>     /usr/lib32/libc.so.1

Furthermore, before you can use GemRB, you Need other libraries from the May 2004 Freeware CDs:

####### FLAT_LOCALLIB #######
libSDL-1.2.so.1
libSDL_mixer-1.2.so.1 <-
libfluidsynth.so <-
libglib-2.0.so.1 <-
libgthread-2.0.so.1 <-
libiconv.so.3
libpython2.7.so
libz.so
libz.so.1
####### FLAT_FREEWARE #######
libintl.so.3 <-
libogg.so.1
libreadline.so.4 <-
libvorbisfile.so.4


The libs under FLAT_LOCALLIB (indicated with <- ) are the ones provided by the tarfiles, the libs under FLAT_FREEWARE (indicated with <- ) have to be installed from the May 2004 Freeware CDs.


If you Need any help with the installations, here I am.


EDIT: added link to GemRB with Sound tarfile.
(This post was last modified: 01-07-2020, 04:35 PM by TruHobbyist.)
TruHobbyist
Developer

Trade Count: (0)
Posts: 195
Threads: 21
Joined: May 2018
Find
01-07-2020, 12:13 PM
#28
RE: 1000$USD Bounty to fix GemRB for IRIX
The funny thing is that that output was from the new version, with sound!

I uninstalled it and reinstalled it and there is still no SDLAudio.so in the gemrb/plugins folder!

Just confirm that all of those dependencies from the freeware CD's have to be built, as the CD1 of 4 that I got from you only contains source files?

I tried to build one of them (SDL) and make gave me errors.

Do you not have prebuilt versions of these files?
(This post was last modified: 01-07-2020, 02:54 PM by Irinikus.)
Irinikus
Hardware Connoisseur

Trade Count: (0)
Posts: 3,475
Threads: 319
Joined: Dec 2017
Location: South Africa
Website Find
01-07-2020, 02:51 PM
#29
RE: 1000$USD Bounty to fix GemRB for IRIX
(01-07-2020, 02:51 PM)Irinikus Wrote:  The funny thing is that that output was from the new version, with sound!

I uninstalled it and reinstalled it and there is still no SDLAudio.so in the gemrb/plugins folder!

Just confirm that all of those dependencies from the freeware CD's have to be built, as the CD1 of 4 that I got from you only contains source files?

I tried to build one of them (SDL) and make gave me errors.

Do you not have prebuilt versions of these files?

Hi Irinikus,

first Things first: S-O-R-R-Y. I mistakenly included the old GemRB (without Sound) into the new tarfile. That's why you can't have Audio. I uploaded the Right versions (triple-checked). Get them here

You have two Downloads, the big tarfile with all included or only the GemRB product, which would be enough for you if you already installed everything else.


As to CD-1 and Sources. Yesterday, when I uploaded the files for you, I got several Errors from both file Hostings where I tried to upload. Probably the 1.34GB was a bit too heavy for them. Anyway, let me upload CD-1 again. Of Course, it does not contain the Sources but Ready-to-install products.

Do you Need any other CD from the May 2004 Freeware CDs?

Tru
TruHobbyist
Developer

Trade Count: (0)
Posts: 195
Threads: 21
Joined: May 2018
Find
01-07-2020, 04:09 PM
#30
RE: 1000$USD Bounty to fix GemRB for IRIX
(01-07-2020, 04:09 PM)TruHobbyist Wrote:  
(01-07-2020, 02:51 PM)Irinikus Wrote:  The funny thing is that that output was from the new version, with sound!

I uninstalled it and reinstalled it and there is still no SDLAudio.so in the gemrb/plugins folder!

Just confirm that all of those dependencies from the freeware CD's have to be built, as the CD1 of 4 that I got from you only contains source files?

I tried to build one of them (SDL) and make gave me errors.

Do you not have prebuilt versions of these files?

Hi Irinikus,

first Things first: S-O-R-R-Y. I mistakenly included the old GemRB (without Sound) into the new tarfile. That's why you can't have Audio. I uploaded the Right versions (triple-checked). Get them here

You have two Downloads, the big tarfile with all included or only the GemRB product, which would be enough for you if you already installed everything else.


As to CD-1 and Sources. Yesterday, when I uploaded the files for you, I got several Errors from both file Hostings where I tried to upload. Probably the 1.34GB was a bit too heavy for them. Anyway, let me upload CD-1 again. Of Course, it does not contain the Sources but Ready-to-install products.

Do you Need any other CD from the May 2004 Freeware CDs?

Tru

Thanks! I'm currently not authorised to download either of the files!  I have CD's 2 to 4 of 4, I just need CD 1of 4. (I'm also being blocked from downloading CD1)

Safari seemed to be the problem here, I'm currently downloading them with FireFox!
(This post was last modified: 01-07-2020, 05:34 PM by Irinikus.)
Irinikus
Hardware Connoisseur

Trade Count: (0)
Posts: 3,475
Threads: 319
Joined: Dec 2017
Location: South Africa
Website Find
01-07-2020, 05:21 PM
Thread Closed


Forum Jump:


Users browsing this thread: 2 Guest(s)