Exult on PS3 under YDL

NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Forum rules
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Locked
Nostradamus

Exult on PS3 under YDL

Post by Nostradamus »

hello again,

I could compile Exult under PS3 with YDL 5.0.2 (070711.iso) release. Some minor problems on compiling:

1. Install SDL_devel, SDL_mixer and SDL_mixer_devel with Yum Extender (yumex).
This installs required dependencies too.
2. After hash_map and hash_set problems, I've seen this patch por gcc4 version:

http://devfiles.jlime.com/BBfiles/exult ... -fix.patch

Done all the changes on all files has made it worked.

Although it works (sound - $MIDI for now$ / graphics) well... only tested execution and first introduction with Black Gate + FoV version. Limited display on x2 scale and resolution in Full Screen mode but is a lot playable...

Now I want to test digital sound and play a time to see his stability...

Regards... everybody.
Nostradamus

Re: Exult on PS3 under YDL

Post by Nostradamus »

More testing:

1. Music (OGG) and SFX working well...
2. Only working well BG+FoV, for Serpent Isle + SS this error stacks exult:

============================ INIT =================

[root@dhcppc1 exult-1.2]# ./exult
Exult version 1.2
Built at: Aug 17 2007 12:10:50
Compile-time options: HAVE_TIMIDITY_BIN, USE_EXULTSTUDIO, HAVE_ZIP_SUPPORT
Compiler: gcc, version: 4.1.1 20060525 (Yellow Dog 4.1.1-1)

Platform: Linux version 2.6.22-0.ydl.rc4
Exult path settings:
Data : data
Digital music : data/music

Music player: Internal OGG digital music player
Black Gate : found
exult_bg.flx : found
Serpent Isle : found
exult_si.flx : found
Starting a SERPENT ISLE game
Game path settings:
Static : /exult/Serpent/static
Gamedat : /root/.exult/serpentisle/gamedat
Savegame: /root/.exult/serpentisle/savegame
Patch : /exult/Serpent/patch

*** glibc detected *** ./exult: double free or corruption (!prev): 0x1021fba0 ***
======= Backtrace: =========
/lib/libc.so.6[0xf53ead4]
/lib/libc.so.6(__libc_free+0xc8)[0xf542098]
/usr/lib/libstdc++.so.6(_ZdlPv+0x2c)[0xe94db6c]
/usr/lib/libstdc++.so.6(_ZdaPv+0x24)[0xe94dbe4]
./exult[0x100b0dc0]
./exult[0x10095098]
./exult[0x10043af4]
./exult[0x10046978]
./exult[0x100481cc]
/lib/libc.so.6[0xf4dd320]
/lib/libc.so.6(__libc_start_main+0x144)[0xf4dd544]
======= Memory map: ========
00100000-00103000 r-xp 00100000 00:00 0 [vdso]
0e870000-0e97e000 r-xp 00000000 fe:02 11302937 /usr/lib/libstdc++.so.6.0.8
0e97e000-0e98e000 ---p 0010e000 fe:02 11302937 /usr/lib/libstdc++.so.6.0.8
0e98e000-0e991000 r--p 0010e000 fe:02 11302937 /usr/lib/libstdc++.so.6.0.8
0e991000-0e994000 rw-p 00111000 fe:02 11302937 /usr/lib/libstdc++.so.6.0.8
0e994000-0e999000 rw-p 0e994000 00:00 0
0ea80000-0ea94000 r-xp 00000000 fe:02 2917641 /lib/libgcc_s-4.1.1-20060525.so.1
0ea94000-0eaa3000 ---p 00014000 fe:02 2917641 /lib/libgcc_s-4.1.1-20060525.so.1
0eaa3000-0eaa4000 rw-p 00013000 fe:02 2917641 /lib/libgcc_s-4.1.1-20060525.so.1
0f220000-0f233000 r-xp 00000000 fe:02 2917638 /lib/libpthread-2.4.so
0f233000-0f242000 ---p 00013000 fe:02 2917638 /lib/libpthread-2.4.so
0f242000-0f243000 r--p 00012000 fe:02 2917638 /lib/libpthread-2.4.so
0f243000-0f244000 rw-p 00013000 fe:02 2917638 /lib/libpthread-2.4.so
0f244000-0f246000 rw-p 0f244000 00:00 0
0f2e0000-0f2f6000 r-xp 00000000 fe:02 11312531 /usr/lib/libXext.so.6.4.0
0f2f6000-0f306000 ---p 00016000 fe:02 11312531 /usr/lib/libXext.so.6.4.0
0f306000-0f307000 rw-p 00016000 fe:02 11312531 /usr/lib/libXext.so.6.4.0
0f310000-0f317000 r-xp 00000000 fe:02 11312529 /usr/lib/libXdmcp.so.6.0.0
0f317000-0f326000 ---p 00007000 fe:02 11312529 /usr/lib/libXdmcp.so.6.0.0
0f326000-0f327000 rw-p 00006000 fe:02 11312529 /usr/lib/libXdmcp.so.6.0.0
0f330000-0f334000 r-xp 00000000 fe:02 11308074 /usr/lib/libXau.so.6.0.0
0f334000-0f343000 ---p 00004000 fe:02 11308074 /usr/lib/libXau.so.6.0.0
0f343000-0f344000 rw-p 00003000 fe:02 11308074 /usr/lib/libXau.so.6.0.0
0f350000-0f475000 r-xp 00000000 fe:02 11312530 /usr/lib/libX11.so.6.2.0
0f475000-0f484000 ---p 00125000 fe:02 11312530 /usr/lib/libX11.so.6.2.0
0f484000-0f48a000 rw-p 00124000 fe:02 11312530 /usr/lib/libX11.so.6.2.0
0f490000-0f4a5000 r-xp 00000000 fe:02 11312526 /usr/lib/libz.so.1.2.3
0f4a5000-0f4b4000 ---p 00015000 fe:02 11312526 /usr/lib/libz.so.1.2.3
0f4b4000-0f4b5000 rw-p 00014000 fe:02 11312526 /usr/lib/libz.so.1.2.3
0f4c0000-0f61c000 r-xp 00000000 fe:02 2917637 /lib/libc-2.4.so
0f61c000-0f62b000 ---p 0015c000 fe:02 2917637 /lib/libc-2.4.so
0f62b000-0f62f000 r--p 0015b000 fe:02 2917637 /lib/libc-2.4.so
0f62f000-0f630000 rw-p 0015f000 fe:02 2917637 /lib/libc-2.4.so
0f630000-0f633000 rw-p 0f630000 00:00 0
0f640000-0f643000 r-xp 00000000 fe:02 2917639 /lib/libdl-2.4.so
0f643000-0f652000 ---p 00003000 fe:02 2917639 /lib/libdl-2.4.so
0f652000-0f653000 r--p 00002000 fe:02 2917639 /lib/libdl-2.4.so
0f653000-0f654000 rw-p 00003000 fe:02 2917639 /lib/libdl-2.4.so
0f660000-0f71d000 r-xp 00000000 fe:02 2917640 /lib/libm-2.4.so
0f71d000-0f72c000 ---p 000bd000 fe:02 2917640 /lib/libm-2.4.so
0f72c000-0f732000 r--p 000bc000 fe:02 2917640 /lib/libm-2.4.so
0f732000-0f733000 rw-p 000c2000 fe:02 2917640 /lib/libm-2.4.so
0fae0000-0fb59000 r-xp 00000000 fe:02 11291741 /usr/lib/libSDL-1.2.so.0.7.2
0fb59000-0fb69000 ---p 00079000 fe:02 11291741 /usr/lib/libSDL-1.2.so.0.7.2
0fb69000-0fb6c000 rw-p 00079000 fe:02 11291741 /usr/lib/libSDL-1.2.so.0.7.2
0fb6c000-0fb86000 rw-p 0fb6c000 00:00 0
0fcb0000-0fcb7000 r-xp 00000000 fe:02 11312545 /usr/lib/libXfixes.so.3.0.0
0fcb7000-0fcc6000 ---p 00007000 fe:02 11312545 /usr/lib/libXfixes.so.3.0.0
0fcc6000-0fcc7000 rw-p 00006000 fe:02 11312545 /usr/lib/libXfixes.so.3.0.0
0fd70000-0fd7c000 r-xp 00000000 fe:02 11312546 /usr/lib/libXcursor.so.1.0.2
0fd7c000-0fd8b000 ---p 0000c000 fe:02 11312546 /usr/lib/libXcursor.so.1.0.2
0fd8b000-0fd8c000 rw-p 0000b000 fe:02 11312546 /usr/lib/libXcursor.so.1.0.2
0fd90000-0fd9c000 r-xp 00000000 fe:02 11312535 /usr/lib/libXrender.so.1.3.0
0fd9c000-0fdab000 ---p 0000c000 fe:02 11312535 /usr/lib/libXrender.so.1.3.0
0fdab000-0fdac000 rw-p 0000b000 fe:02 11312535 /usr/lib/libXrender.so.1.3.0
0fe20000-0fe44000 r-xp 00000000 fe:02 11313184 /usr/lib/libSDL_mixer-1.2.so.0.2.4
0fe44000-0fe54000 ---p 00024000 fe:02 11313184 /usr/lib/libSDL_mixer-1.2.so.0.2.4
0fe54000-0fe5d000 rw-p 00024000 fe:02 11313184 /usr/lib/libSDL_mixer-1.2.so.0.2.4
0fe5d000-0fe80000 rw-p 0fe5d000 00:00 0
0fe90000-0fe99000 r-xp 00000000 fe:02 11302890 /usr/lib/libvorbisfile.so.3.1.1
0fe99000-0fea8000 ---p 00009000 fe:02 11302890 /usr/lib/libvorbisfile.so.3.1.1
0fea8000-0fea9000 rw-p 00008000 fe:02 11302890 /usr/lib/libvorbisfile.so.3.1.1
0fee0000-0ff36000 r-xp 00000000 fe:02 11291754 /usr/lib/libmikmod.so.2.0.4
0ff36000-0ff46000 ---p 00056000 fe:02 11291754 /usr/lib/libmikmod.so.2.0.4
0ff46000-0ff48000 rw-p 00056000 fe:02 11291754 /usr/lib/libmikmod.so.2.0.4
0ff48000-0ff49000 rw-p 0ff48000 00:00 0
0ff50000-0ff71000 r-xp 00000000 fe:02 11291737 /usr/lib/libvorbis.so.0.3.1
0ff71000-0ff80000 ---p 00021000 fe:02 11291737 /usr/lib/libvorbis.so.0.3.1
0ff80000-0ff8f000 rw-p 00020000 fe:02 11291737 /usr/lib/libvorbis.so.0.3.1
0ffa0000-0ffa6000 r-xp 00000000 fe:02 11292594 /usr/lib/libogg.so.0.5.3
0ffa6000-0ffb5000 ---p 00006000 fe:02 11292594 /usr/lib/libogg.so.0.5.3
0ffb5000-0ffb6000 rw-p 00005000 fe:02 11292594 /usr/lib/libogg.so.0.5.3
0ffc0000-0ffdd000 r-xp 00000000 fe:02 2910891 /lib/ld-2.4.so
0ffed000-0ffee000 r--p 0001d000 fe:02 2910891 /lib/ld-2.4.so
0ffee000-0ffef000 rw-p 0001e000 fe:02 2910891 /lib/ld-2.4.so
10000000-10196000 r-xp 00000000 fe:02 3434715 /exult/exult-1.2/exult
101a5000-101b2000 rw-p 00195000 fe:02 3434715 /exult/exult-1.2/exult
101b2000-10297000 rwxp 101b2000 00:00 0 [heap]
f6cbc000-f6cbd000 ---p f6cbc000 00:00 0
f6cbd000-f74bc000 rw-p f6cbd000 00:00 0
f74bc000-f75b2000 r-xp 00000000 fe:02 2917642 /lib/libasound.so.2.0.0
f75b2000-f75c1000 ---p 000f6000 fe:02 2917642 /lib/libasound.so.2.0.0
f75c1000-f75c9000 rw-p 000f5000 fe:02 2917642 /lib/libasound.so.2.0.0
f75db000-f77b0000 rw-s 00000000 00:08 20451 /SYSV00000000 (deleted)
f77b0000-f77e7000 rw-p f77b0000 00:00 0
f77e7000-f77e8000 ---p f77e7000 00:00 0
f77e8000-f7fec000 rw-p f77e8000 00:00 0
f7ff7000-f7ffb000 rw-s 00000000 00:0d 7924 /dev/snd/pcmC0D0p
f7ffb000-f7fff000 rw-p f7ffb000 00:00 0
ffbdb000-ffbf0000 rw-p ffbdb000 00:00 0 [stack]Abortado
================== END ============================

Any ideas?
Nostradamus

Re: Exult on PS3 under YDL

Post by Nostradamus »

Again more testing....

Serpent Isle is working well now, but I must deactivate PLAY INTRODUCTION option.
Nostradamus

Re: Exult on PS3 under YDL

Post by Nostradamus »

Well, again...

I could see the End of U7: BG+FoV deactivating CHEATS.

For the SI+SS problem, this is what happens at the INTRO with PLAY INTRODUCTION enabled:

[root@dhcppc1 exult]# ./exult
Exult version 1.2
Built at: Aug 17 2007 12:10:50
Compile-time options: HAVE_TIMIDITY_BIN, USE_EXULTSTUDIO, HAVE_ZIP_SUPPORT
Compiler: gcc, version: 4.1.1 20060525 (Yellow Dog 4.1.1-1)

Platform: Linux version 2.6.22-0.ydl.rc4
Exult path settings:
Data : /exult/exult-1.2/data
Digital music : data/music

Music player: Internal SDL_mixer timidity synthesiser
Black Gate : found
exult_bg.flx : found
Serpent Isle : found
exult_si.flx : found
Starting a SERPENT ISLE game
Game path settings:
Static : /exult/Serpent/static
Gamedat : /root/.exult/serpentisle/gamedat
Savegame: /root/.exult/serpentisle/savegame
Patch : /exult/Serpent/patch

*** glibc detected *** ./exult: double free or corruption (!prev): 0x10214cf8 ***
======= Backtrace: =========
/lib/libc.so.6[0xf53ead4]
/lib/libc.so.6(__libc_free+0xc8)[0xf542098]
/usr/lib/libstdc++.so.6(_ZdlPv+0x2c)[0xe94db6c]
/usr/lib/libstdc++.so.6(_ZdaPv+0x24)[0xe94dbe4]
./exult[0x100b0dc0]
./exult[0x10095098]
./exult[0x10043af4]
./exult[0x10046978]
./exult[0x100481cc]
/lib/libc.so.6[0xf4dd320]
/lib/libc.so.6(__libc_start_main+0x144)[0xf4dd544]
======= Memory map: ========
00100000-00103000 r-xp 00100000 00:00 0 [vdso]
0e870000-0e97e000 r-xp 00000000 fe:02 11302937 /usr/lib/libstdc++.so.6.0.8
0e97e000-0e98e000 ---p 0010e000 fe:02 11302937 /usr/lib/libstdc++.so.6.0.8
0e98e000-0e991000 r--p 0010e000 fe:02 11302937 /usr/lib/libstdc++.so.6.0.8
0e991000-0e994000 rw-p 00111000 fe:02 11302937 /usr/lib/libstdc++.so.6.0.8
0e994000-0e999000 rw-p 0e994000 00:00 0
0ea80000-0ea94000 r-xp 00000000 fe:02 2917641 /lib/libgcc_s-4.1.1-20060525.so.1
0ea94000-0eaa3000 ---p 00014000 fe:02 2917641 /lib/libgcc_s-4.1.1-20060525.so.1
0eaa3000-0eaa4000 rw-p 00013000 fe:02 2917641 /lib/libgcc_s-4.1.1-20060525.so.1
0f220000-0f233000 r-xp 00000000 fe:02 2917638 /lib/libpthread-2.4.so
0f233000-0f242000 ---p 00013000 fe:02 2917638 /lib/libpthread-2.4.so
0f242000-0f243000 r--p 00012000 fe:02 2917638 /lib/libpthread-2.4.so
0f243000-0f244000 rw-p 00013000 fe:02 2917638 /lib/libpthread-2.4.so
0f244000-0f246000 rw-p 0f244000 00:00 0
0f2e0000-0f2f6000 r-xp 00000000 fe:02 11312531 /usr/lib/libXext.so.6.4.0
0f2f6000-0f306000 ---p 00016000 fe:02 11312531 /usr/lib/libXext.so.6.4.0
0f306000-0f307000 rw-p 00016000 fe:02 11312531 /usr/lib/libXext.so.6.4.0
0f310000-0f317000 r-xp 00000000 fe:02 11312529 /usr/lib/libXdmcp.so.6.0.0
0f317000-0f326000 ---p 00007000 fe:02 11312529 /usr/lib/libXdmcp.so.6.0.0
0f326000-0f327000 rw-p 00006000 fe:02 11312529 /usr/lib/libXdmcp.so.6.0.0
0f330000-0f334000 r-xp 00000000 fe:02 11308074 /usr/lib/libXau.so.6.0.0
0f334000-0f343000 ---p 00004000 fe:02 11308074 /usr/lib/libXau.so.6.0.0
0f343000-0f344000 rw-p 00003000 fe:02 11308074 /usr/lib/libXau.so.6.0.0
0f350000-0f475000 r-xp 00000000 fe:02 11312530 /usr/lib/libX11.so.6.2.0
0f475000-0f484000 ---p 00125000 fe:02 11312530 /usr/lib/libX11.so.6.2.0
0f484000-0f48a000 rw-p 00124000 fe:02 11312530 /usr/lib/libX11.so.6.2.0
0f490000-0f4a5000 r-xp 00000000 fe:02 11312526 /usr/lib/libz.so.1.2.3
0f4a5000-0f4b4000 ---p 00015000 fe:02 11312526 /usr/lib/libz.so.1.2.3
0f4b4000-0f4b5000 rw-p 00014000 fe:02 11312526 /usr/lib/libz.so.1.2.3
0f4c0000-0f61c000 r-xp 00000000 fe:02 2917637 /lib/libc-2.4.so
0f61c000-0f62b000 ---p 0015c000 fe:02 2917637 /lib/libc-2.4.so
0f62b000-0f62f000 r--p 0015b000 fe:02 2917637 /lib/libc-2.4.so
0f62f000-0f630000 rw-p 0015f000 fe:02 2917637 /lib/libc-2.4.so
0f630000-0f633000 rw-p 0f630000 00:00 0
0f640000-0f643000 r-xp 00000000 fe:02 2917639 /lib/libdl-2.4.so
0f643000-0f652000 ---p 00003000 fe:02 2917639 /lib/libdl-2.4.so
0f652000-0f653000 r--p 00002000 fe:02 2917639 /lib/libdl-2.4.so
0f653000-0f654000 rw-p 00003000 fe:02 2917639 /lib/libdl-2.4.so
0f660000-0f71d000 r-xp 00000000 fe:02 2917640 /lib/libm-2.4.so
0f71d000-0f72c000 ---p 000bd000 fe:02 2917640 /lib/libm-2.4.so
0f72c000-0f732000 r--p 000bc000 fe:02 2917640 /lib/libm-2.4.so
0f732000-0f733000 rw-p 000c2000 fe:02 2917640 /lib/libm-2.4.so
0fae0000-0fb59000 r-xp 00000000 fe:02 11291741 /usr/lib/libSDL-1.2.so.0.7Abortado


I am thinking this is a problem of libSDL compiled of PS3 with YDL distro. If anyone knows how to resolve this, please i would be very pleased.

Thank you very much.
drcode
Site Admin
Posts: 2267
Joined: Thu May 14, 2020 1:34 pm

Re: Exult on PS3 under YDL

Post by drcode »

I think I was getting that glibc 'double-free' error on my Linux box a while back after upgrading glibc; and the problem went away after I upgraded (or maybe rebuilt) SDL.
Locked