#Descent 1/2
2365 messages Ā· Page 3 of 3 (latest)
This would seem preferable in terms of sd card wear etc
In jelos on x55 at least descent.hmp fails to play music due to missing libmodplug.so.a. This is a static library that other cfws do not require.
Arkos and Amber play the music without issues with libmodplug.so.1.
Music descent.hmp could not be loaded: Failed loading libmodplug.a: libmodplug.a: cannot open shared object file: No such file or directory
rga_api version 1.3.0_[1] (RGA is compiling with meson base: $PRODUCT_BASE)
9195: find library=libreadline.so.8 [0]; searching
9195: search path=/roms/ports/descent2/libs (LD_LIBRARY_PATH)
9195: trying file=/roms/ports/descent2/libs/libreadline.so.8
9195: search path=/usr/lib (system search path)
9195: trying file=/usr/lib/libreadline.so.8```
No?
idk maybe it got built
Then why wouldn't we see the same in arkos or amber?
Good question
Is it integrated with alsa maybe?
libSDL2_mixer-2.0.so.0 => /usr/lib/libSDL2_mixer-2.0.so.0 (0x0000007f81220000)
or
libasound.so.2 => /usr/lib/libasound.so.2 (0x0000007f807d0000)
maybe
No those are for sound effects, not music.
So from these ldd
x55:/roms/ports # ldd descent2/d2x-rebirth
linux-vdso.so.1 (0x0000007f81e72000)
libpng16.so.16 => /usr/lib/libpng16.so.16 (0x0000007f81300000)
libphysfs.so.1 => not found
libSDL2_image-2.0.so.0 => /usr/lib/libSDL2_image-2.0.so.0 (0x0000007f812a0000)
libSDL2_mixer-2.0.so.0 => /usr/lib/libSDL2_mixer-2.0.so.0 (0x0000007f81220000)
libSDL2-2.0.so.0 => /usr/lib/libSDL2-2.0.so.0 (0x0000007f81050000)
libGL.so.1 => /usr/lib/gl4es/libGL.so.1 (0x0000007f80eb0000)
libGLU.so.1 => not found
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x0000007f80c90000)
libm.so.6 => /usr/lib/libm.so.6 (0x0000007f80be0000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x0000007f80ba0000)
libpthread.so.0 => /usr/lib/libpthread.so.0 (0x0000007f80b70000)
libc.so.6 => /usr/lib/libc.so.6 (0x0000007f80960000)
libz.so.1 => /usr/lib/libz.so.1 (0x0000007f80920000)
librga.so.2 => /usr/lib/librga.so.2 (0x0000007f808e0000)
libasound.so.2 => /usr/lib/libasound.so.2 (0x0000007f807d0000)
/lib/ld-linux-aarch64.so.1 => /usr/lib/ld-linux-aarch64.so.1 (0x0000007f81e35000)
libdrm.so.2 => /usr/lib/libdrm.so.2 (0x0000007f80790000)
Which is responsible for music?
Music is not a dependency for the game, it will boot without it.
The music comes from a .hmp file which modplug decodes.
I would check the build config what it does with lbmodplug.a if there is any occuerence
grep it
Let me see if I still have the build log
I used default linker flags
Nope don't have it
I'll grab and rebuild
Nothing about modplug in build log.
I've updated this port to work with muOS. Feel free to test by using the files in the repo: https://github.com/JeodC/PortMaster-Descent
I plan on making a PR once I know armhf works and when gptokeyb2 is working with the level select stuff.
muos is getting aarch64 now haha š
Whatever cfw still only has armhf then
My log.txt is verging on a megabyte 
Delete it then
Just did. That was since I del'd last time
If anyone has a jelos or rocknix system, please try this libmodplug file and see if Descent properly plays the built-in .hmp music via soundfont. To test this properly you should have no .dxa music add-ons present in the data directory.
Hoping to resolve https://github.com/PortsMaster/PortMaster-New/issues/40
@inland forge
Need testing
I don't have a jelos/rocknix system
Welp
I have jelos but descent don't work for me at all š
User error?
I tried clean install of descent 2 from portmaster. It should contain demo files afaik. It doesn't work too. I can show some logs later this evening.
yes
You can try my GitHub package above but I might need to add something else to the sh
@unborn chasm am I missing anything either the current repo?
The libGL stuff is in modular cfw files right?
mainline needs the mod_jelos and the libgl line
else it won'T work
i hope you're not using some fancy non supported ogu or rgb max3 š
I am waiting for my ogu that travels Canada -> Spain -> Belarus. Will use it left and right
Whatās the libgl line again?
we will netplay descent together with whole family: ogs , ogu and rg35xx.
Either Iām blind or itās not at https://portmaster.games/packaging.html#the-launchscript-sh
Ah I see it
Ok Iāll look at that after work
mainline can't have libgl in libs folder
and they needs this :dri export
Wat
[ -f "${controlfolder}/mod_${CFW_NAME}.txt" ] && source "${controlfolder}/mod_${CFW_NAME}.txt"``
[ -f "${controlfolder}/mod_${CFW_NAME}.txt" ] && source "${controlfolder}/mod_${CFW_NAME}.txt"
Oh I have that
in there is export LIBGL_DRIVERS_PATH=/usr/lib32/dri:/usr/lib/dri
...gl4es? You can build SDL2/GLES here
I recall upstreaming a fix specially for this a while ago, unless it regressed you should be able to just use that
#!/bin/bash
if [ -d "/opt/system/Tools/PortMaster/" ]; then
controlfolder="/opt/system/Tools/PortMaster"
elif [ -d "/opt/tools/PortMaster/" ]; then
controlfolder="/opt/tools/PortMaster"
else
controlfolder="/roms/ports/PortMaster"
fi
source $controlfolder/control.txt
source $controlfolder/device_info.txt
[ -f "${controlfolder}/mod_${CFW_NAME}.txt" ] && source "${controlfolder}/mod_${CFW_NAME}.txt"
if [ -f "${controlfolder}/libgl_${CFW_NAME}.txt" ]; then
source "${controlfolder}/libgl_${CFW_NAME}.txt"
else
source "${controlfolder}/libgl_default.txt"
fi
get_controls
GAMEDIR="/$directory/ports/descent"
DEVICE_ARCH="${DEVICE_ARCH:-aarch64}"
GAME="d1x-rebirth"
cd $GAMEDIR
$ESUDO rm -rf ~/.$GAME
ln -sfv $GAMEDIR/config ~/.$GAME
export LIBGL_FB=4
export LD_LIBRARY_PATH="$GAMEDIR/libs.$DEVICE_ARCH:$LD_LIBRARY_PATH"
export SDL_FORCE_SOUNDFONTS=1
export SDL_SOUNDFONTS="$GAMEDIR/soundfont.sf2"
# Add some cheats
if [ ! -f "./cheats.txt" ]; then
echo "Error: Cheats file not found. No cheats will be used." > /dev/tty0
else
CHEATS=$(sed -n -E '/^[^#]*=[[:space:]]*1([^0-9#]|$)/s/(=[[:space:]]*1[^0-9#]*)//p' ./cheats.txt | tr -d '\n')
fi
export TEXTINPUTPRESET=$CHEATS
# Edit .cfg file to correct resolution
sed -i "s/^ResolutionX=640/ResolutionX=$DISPLAY_WIDTH/g" $GAMEDIR/config/descent.cfg
sed -i "s/^ResolutionY=480/ResolutionY=$DISPLAY_HEIGHT/g" $GAMEDIR/config/descent.cfg
# Setup controls
$ESUDO chmod 666 /dev/tty1
$ESUDO chmod 666 /dev/uinput
if [ $CFW_NAME == "ArkOS" ]; then
$GPTOKEYB "$GAME.compat" -c "config/joy.gptk" &
SDL_GAMECONTROLLERCONFIG="$sdl_controllerconfig"
./$GAME.compat -hogdir data
else
$GPTOKEYB "$GAME.$DEVICE_ARCH" -c "config/joy.gptk" &
SDL_GAMECONTROLLERCONFIG="$sdl_controllerconfig"
./$GAME.$DEVICE_ARCH -hogdir data
fi
$ESUDO kill -9 $(pidof gptokeyb)
$ESUDO systemctl restart oga_events &
printf "\033c" >> /dev/tty1
Missing anything @unborn chasm ?
yeah the new header
Ok, done
This looks correct but I get ./d1x-rebirth.aarch64: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory
Oh...cd gamedir first
Ok, now ./Descent.sh: line 19: cd: //ports/descent: No such file or directory
Sh?
Hence why I asked for the new sh ^^
Got it
<@&1216123318122577972> A new version of these ports are available at https://github.com/JeodC/PortMaster-Descent and need testing. The following changes have occurred:
- Bumped d1x-rebirth and d2x-rebirth to newer binaries
- Changed packaging to account for new port standards
- Added binaries for armhf, aarch64, and compat (for arkos)
- Added new libmodplug library to attempt to fix soundfont issue with jelos/rocknix
- Renamed
conffolder toconfig(why shorten it anyway?)
Please test the following:
- Port runs on armhf (RG35xx etc)
- Port runs on ArkOS (should correctly find the compatibility binary)
- Port plays soundfont on Jelos/Rocknix (no .dxa music addons in the data folder)
Thanks in advance!
Looks like it does not use XDG_DATA_HOME, will have to revert to symlink.
Yeah not all use it
Reverted sh in github
ArkOS compat is having a problem
./d1x-rebirth.compat: symbol lookup error: /lib/aarch64-linux-gnu/libGLX.so.0: undefined symbol: _XAsyncErrorHandler
It crashed on ArkOS on RG351P and didn't create a log. I used ldd on d1x-rebirth.aarch64 from the terminal and it gives 'GLIBC_2.32' not found.
This game doesn't use libGLX afaik?
That's because arkos uses d1x-rebirth.compat
Gotcha. I just got the same error that ZOMGUgoff got
Hmm the compatibility binary hasn't changed at all, just renamed it.
linux-vdso.so.1 (0x0000007f855f8000)
libpng16.so.16 => /usr/lib/libpng16.so.16 (0x0000007f84b20000)
libphysfs.so.1 => /usr/lib/libphysfs.so.1 (0x0000007f84ad0000)
libSDL2_image-2.0.so.0 => /usr/lib/libSDL2_image-2.0.so.0 (0x0000007f84a70000)
libSDL2_mixer-2.0.so.0 => /usr/lib/libSDL2_mixer-2.0.so.0 (0x0000007f849e0000)
libSDL2-2.0.so.0 => /usr/lib/libSDL2-2.0.so.0 (0x0000007f84690000)
libGL.so.1 => not found
libGLU.so.1 => not found
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x0000007f84440000)
libm.so.6 => /usr/lib/libm.so.6 (0x0000007f843a0000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x0000007f84360000)
libpthread.so.0 => /usr/lib/libpthread.so.0 (0x0000007f84330000)
libc.so.6 => /usr/lib/libc.so.6 (0x0000007f84130000)
libz.so.1 => /usr/lib/libz.so.1 (0x0000007f840f0000)
libmodplug.so.1 => /usr/lib/libmodplug.so.1 (0x0000007f83f30000)
librga.so.2 => /usr/lib/librga.so.2 (0x0000007f83f00000)
libasound.so.2 => /usr/lib/libasound.so.2 (0x0000007f83de0000)
/lib/ld-linux-aarch64.so.1 => /usr/lib/ld-linux-aarch64.so.1 (0x0000007f855bb000)
libdrm.so.2 => /usr/lib/libdrm.so.2 (0x0000007f83da0000)
What device?
RGB30
I'll check for updates. I updated about a week ago
Update fixed it. Resolution is being stretched to fullscreen. On 720x720 it's... not great. The HUD and rotation look weird. I hooked up a keyboard and set it to 720x540 at 4:3 aspect and that looks correct. It's just aligned to the bottom of the screen. Also, there is no binding for slide l/r set by default, which is arguably more important than roll controls
Thanks. That'll be due to this:
# Edit .cfg file to correct resolution
sed -i "s/^ResolutionX=640/ResolutionX=$DISPLAY_WIDTH/g" $GAMEDIR/config/descent.cfg
sed -i "s/^ResolutionY=480/ResolutionY=$DISPLAY_HEIGHT/g" $GAMEDIR/config/descent.cfg
I'll double check the default bindings, I'm sure I have slide in there.
Oh, no I don't. Bank is default under joystick controls. You can change that ingame easily.
Do you mind sharing a pic of the 720x720 res?
Yeah, just a minute
Hmm.. I guess it would be a photo. There's no native screenshot functionality
Yep.
Idk...it might be opinions there. It looks playable from the pic. Font not squished.
The rotation is strange looking due to the vertical stretch
I'll change it anyway though.
# Edit .cfg file to correct resolution
if [ $DEVICE_NAME == "RGB30" ]; then
# Maintain 4:3 aspect ratio
sed -i "s/^ResolutionX=640/ResolutionX=540/g" $GAMEDIR/config/descent.cfg
sed -i "s/^ResolutionY=480/ResolutionY=$DISPLAY_HEIGHT/g" $GAMEDIR/config/descent.cfg
else
sed -i "s/^ResolutionX=640/ResolutionX=$DISPLAY_WIDTH/g" $GAMEDIR/config/descent.cfg
sed -i "s/^ResolutionY=480/ResolutionY=$DISPLAY_HEIGHT/g" $GAMEDIR/config/descent.cfg
fi
Can anything be done to get it centered?
I don't think so unfortunately.
Hmm.. If you're going to change the resolultion, the AspectX/Y also need to be changed
On further thought I'm gonna leave it stretched. It's easily modified by the user.
If you leave it 720x720 but change aspect to 1:1 does it help any?
1:1 alleviates the rotation weirdness
It defaults to 3:2
Also, I noticed the turn l/r control was inverted by default
If you put 1:1 it defaults to 3:2?
I meant when starting it stock
That'll be a device issue
DigiVolume=8
MusicVolume=8
ReverseStereo=0
OrigTrackOrder=0
MusicType=1
CMLevelMusicPlayOrder=0
CMLevelMusicTrack0=-1
CMLevelMusicTrack1=-1
CMLevelMusicPath=
CMMiscMusic0=
CMMiscMusic1=
CMMiscMusic2=
CMMiscMusic3=
CMMiscMusic4=
GammaLevel=0
LastPlayer=player
LastMission=
ResolutionX=480
ResolutionY=320
AspectX=3
AspectY=4
WindowMode=0
TexFilt=0
TexAnisotropy=0
MovieTexFilt=1
MovieSubtitles=0
VSync=0
Multisample=1
FPSIndicator=0
GrabInput=1
Welp, that's because I used my old descent.cfg in packaging by mistake. Oops.
Hm so I need to add aspedct ratio sed as well
Descent 2's fonts are tiny
-gl_fixedfont enabled in d2x.ini
I disabled it in d1x but not d2x. Good catch.
Otherwise, same resolution and control stuff I mentioned for d1x
The sh change:
# Calculate greatest common divisor (GCD) to simplify aspect ratio
gcd() {
dividend=$1
divisor=$2
remainder=1
until [ "$remainder" -eq 0 ]; do
remainder=$((dividend % divisor))
dividend=$divisor
divisor=$remainder
done
echo $dividend
}
# Calculate greatest common divisor of width and height
GCD=$(gcd $DISPLAY_WIDTH $DISPLAY_HEIGHT)
# Calculate simplified aspect ratio
ASPECT_X=$((DISPLAY_WIDTH / GCD))
ASPECT_Y=$((DISPLAY_HEIGHT / GCD))
# Edit .cfg file with updated resolution and aspect ratio
sed -i "s/^ResolutionX=640/ResolutionX=$DISPLAY_WIDTH/g" $GAMEDIR/config/descent.cfg
sed -i "s/^ResolutionY=480/ResolutionY=$DISPLAY_HEIGHT/g" $GAMEDIR/config/descent.cfg
sed -i "s/^AspectX=.*/AspectX=$ASPECT_Y/g" $GAMEDIR/config/descent.cfg
sed -i "s/^AspectY=.*/AspectY=$ASPECT_X/g" $GAMEDIR/config/descent.cfg
Oh, wait... Aspect is not honored on restarting either game
@trail timber The above snippet could go in device_info.txt :v
Here's an updated descent port.
Despite what AspectX/Y is set to in the file, it always defaults to fullscreen
Derp. Fullscreen setting
That's necessary on rgb30? Doesn't make a difference for me.
It is if you want to run 4:3 at 720x540
The resolution setting is effectively ignored. Actually, that fullscreen setting isn't saving
WindowMode=1 in descent.cfg
Yes, same.
In that case it's probably because we don't have x11
The rebirth engine thinks it can't do window mode
I just noticed rebinding can be done as keyboard and joystick, which causes duplicate inputs if both are bound
Probably not much that can be done with that, but it will cause confusion for some
Nope, can't do a thing for it. Minimal keyboard controls are necessary for the menu.
Is start+select exit not implemented?
It is
Its broken on arkos with the new naming scheme
^
Did dpad control in the menu also break because of that?
Sounds like your gptokeyb isn't working period, so maybe it is.
It's working if I bind them to controls in game
Oh, that was joystick input. Nevermind
I can bind other buttons as keys, just not dpad buttons
Anyone with jelos/rocknix able to test the soundfont?
Is it just me, or is the lighting too bright in D2X? The Guide-bot becomes white when it gets close to light sources. I'm not seeing that on the PC version
Never noticed it
Try messing with the gfx options
Not seeing any change with the settings. Brightness(or I guess gamma?) is already at the lowest setting. Fun fact: Apparently the start+select combo is working. It kills gptokeyb so start and select stop functioning in game.
Just, doesn't kill the game
Confirmed, same issue on RG353m
Only in d2x?
And you're using the compatibility binary right?
I have a similar lighting on rg552, but it's not that bad.
I'll grab the windows build and see if there's a diff
Windows screencap comparison. I don't think this is anything due to rebirth, but gl4es.
Experimented with different options, don't think I can fix this.
Makes sense. Something for the 'known issues' list, at least.
@leaden pivot Thanks to JohnnyOnFlame this new build fixes the lighting issue by dropping opengl layer entirely and solely using gl4es. I no longer have my arkos compatibility branch though and since I can't rebuild it atm I had to drop arkos support since the compat binary still relies on libGL.
Lol... I run ArkOS exclusively
In that case, let me see what I can do. I still have the commit I branched from and the one modification I made.
what's the "compat" binary
Arkos uses an older glibc so compatibility is compiled on bullseye instead of bookworm
I tried syncing some newer commits (notably since one fixes sound balancing) and it broke again.
aaaaaaaaaahhhhhhhhhhhh sure
At some point I removed it since I figured it would be the last binary, but lo and behold opengles=1
Atm I'm trying to figure out how to restore my branch
I tried git checkout but
PS D:\GitHub\dxx-rebirth> git checkout -b compatibility c22de974133f407e6413dafde8c0769019881fec
fatal: reference is not a tree: c22de974133f407e6413dafde8c0769019881fec
Ok, got it.
@leaden pivot
Are the .compat files supposed to be in the root of the game or under data?
Because the game's not launching with it in either location
Yes. I'm trying to run them via ssh to see what's going on
-bash: ./Descent.sh: /bin/bash^M: bad interpreter: No such file or directory
It ran with the old sh file, but had a .compat error
DOS/Unix formatting BS
Yes, and the lighting is normal
Perfect
Is there a new zip for testing on arkos?
You can download the GitHub package itās up to date
@stable kayak is this needed anymore? I fixed the binary name issue with arkos.
if [ $CFW_NAME == "ArkOS" ]; then
$GPTOKEYB "$GAME.compat" -c "config/joy.gptk" &
SDL_GAMECONTROLLERCONFIG="$sdl_controllerconfig"
./$GAME.compat -hogdir data
else
$GPTOKEYB "$GAME.$DEVICE_ARCH" -c "config/joy.gptk" &
SDL_GAMECONTROLLERCONFIG="$sdl_controllerconfig"
./$GAME.$DEVICE_ARCH -hogdir data
fi
Yes
Never got wind of this update fixing soundfont in jelos/rocknix. Can anyone confirm?
Since no one appears to be wiling to do this, I'm trying it. The soundfont is not functioning in Jelos
Bonus failure: Descent 2 fails with a missing lib: ```./d2x-rebirth.aarch64: error while loading shared libraries: libGLU.so.1: cannot open shared object file: No such file or directory
You know how many testing threads we have š
Doubt everyone is looking into all threads checking what still needs doing
I wonder if there's a lack of interest in these titles anyway
Also maybe and because it's a released game already
I would like to play descent on my ogs jelos but it is not working at all. So I give up š descent is a quality game anyway
Why not?
I think it was something about libGL too, I tried to remove it, to add libs path in jelos
#š©ŗļ½port-help message
oh, so it was running
but without video output (only sound)
I should finally give it another try
Nice. But d1x works fine?
And did you get your files from here or from PM GUI?
decent is fkn awesome with 2 analog sticks, these ports are terrific, an excellent fit for the devices and for portmaster
Mainline does not use gl4es at all? Or is it just secondary? The new binaries do not use libgl.
I`ll try again in a few hours
should I try portmaster version?
or something from this thread
PM version
Was using the last posted version here. I can try the PM version
I installed descent 2 from portmaster (demo files) and now I see this:
everything is flat
Welp
@unborn chasm idk enough about mainline but this port runs on just gles
Is mainline gonna demand libgl crap anyway?
Gotta ask @ruby grail
In descent.cfg whatās your aspect ratio?
AspectX=60 , AspectY=1
sounds not right
Thatās why, it did the math wrong
Whatās the resolution?
854 x 480
That math is done at the bottom of device_info
For 1920x1152 that comes to 5:3, your resolution gives aā¦weird aspect ratio
Literally 427:240
nice
I donāt think the game engine reads that
I'll try just for lulz
Iāll have to add something to check if aspect ratio x and y are both single integers and if not make it the default.
need to bed my son first
Well I bet it canāt which might be why it goes to 60:1
ah, I see
PM version of D2 is working, except for the soundfont
Ldd the binary please
Letās see if itās using jelos lib modplug or the provided one
Not seeing modplug listed in this output
linux-vdso.so.1 (0x0000007f8d44a000)
libpng16.so.16 => /usr/lib/libpng16.so.16 (0x0000007f8c8d0000)
libphysfs.so.1 => not found
libSDL2_image-2.0.so.0 => /usr/lib/libSDL2_image-2.0.so.0 (0x0000007f8c870000)
libSDL2_mixer-2.0.so.0 => /usr/lib/libSDL2_mixer-2.0.so.0 (0x0000007f8c7f0000)
libSDL2-2.0.so.0 => /usr/lib/libSDL2-2.0.so.0 (0x0000007f8c620000)
libGLESv1_CM.so.1 => /usr/lib/libGLESv1_CM.so.1 (0x0000007f85ca0000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x0000007f85a80000)
libm.so.6 => /usr/lib/libm.so.6 (0x0000007f859d0000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x0000007f85990000)
libc.so.6 => /usr/lib/libc.so.6 (0x0000007f85780000)
libz.so.1 => /usr/lib/libz.so.1 (0x0000007f85740000)
librga.so.2 => /usr/lib/librga.so.2 (0x0000007f85700000)
libasound.so.2 => /usr/lib/libasound.so.2 (0x0000007f855f0000)
libdrm.so.2 => /usr/lib/libdrm.so.2 (0x0000007f855b0000)
libpthread.so.0 => /usr/lib/libpthread.so.0 (0x0000007f85580000)
libdl.so.2 => /usr/lib/libdl.so.2 (0x0000007f85550000)
/lib/ld-linux-aarch64.so.1 => /usr/lib/ld-linux-aarch64.so.1 (0x0000007f8d40d000)
You have gamelog.txt file on config folder?
14:51:39.712420 This is a MODIFIED version of Descent 2, based on Full Version v1.2.
14:51:39.712700 Copyright (C) 1994-1996 Parallax Software Corporation
14:51:39.712890 DESCENT is a trademark of Interplay Productions, Inc.
14:51:39.713045 Copyright (C) 1999 Peter Hawkins, 2002 Bradley Bell, 2005-2013 Christian Beckhaeuser, 2013-2017 Kp
14:51:39.812860 Using SDL_mixer library v2.6.3
14:51:40.077251 sdl-joystick: 1 joysticks
14:51:40.078193 sdl-joystick 0: retrogame_joypad
14:51:40.078456 sdl-joystick: 4 axes
14:51:40.078774 sdl-joystick: 17 buttons
14:51:40.078987 sdl-joystick: 0 hats
14:51:40.079167 sdl-joystick: 4 axes (total)
14:51:40.079307 sdl-joystick: 25 buttons (total)
14:51:40.127439 DXX-Rebirth: OpenGL: disabling automatic GL sync since VSync is turned off
14:51:46.994024 Music descent.hmp could not be loaded: ModPlug_Load failed
14:51:46.994024 Music descent.hmp could not be loaded: ModPlug_Load failed Yeah same problem. Hmm.
@leaden pivot Can you run the following in ssh and upload the log? After you cd to your roms2/ports folder.
LD_DEBUG=all ./"Descent 2.sh" > debug.txt
That's not working. Is it really 6kB?
Ok, that's not the output I expected. One moment.
Try this instead. Replace your Descent 2.sh with this.
You should see debug.txt like
28504: file=libc.so.6 [0]; needed by cat [0]
28504: find library=libc.so.6 [0]; searching
28504: search path=/home/bnikolic/s/lib/tls/x86_64:/home/bnikolic/s/lib/tls:/home/bnikolic/s/lib/x86_64:/home/bnikolic/s/lib:tls/x86_64:tls:x86_64::/home/bnikolic/d/p/R-2.14.1bin/lib/R/lib/tls/x86_64:/home/bnikolic/d/p/R-2.14.1bin/lib/R/lib/tls:/home/bnikolic/d/p/R-2.14.1bin/lib/R/lib/x86_64:/home/bnikolic/d/p/R-2.14.1bin/lib/R/lib (LD_LIBRARY_PATH)
28504: trying file=/home/bnikolic/s/lib/tls/x86_64/libc.so.6
28504: trying file=/home/bnikolic/s/lib/tls/libc.so.6
28504: trying file=/home/bnikolic/s/lib/x86_64/libc.so.6
28504: trying file=/home/bnikolic/s/lib/libc.so.6
28504: trying file=tls/x86_64/libc.so.6
28504: trying file=tls/libc.so.6
28504: trying file=x86_64/libc.so.6
28504: trying file=libc.so.6
28504: trying file=/home/bnikolic/d/p/R-2.14.1bin/lib/R/lib/tls/x86_64/libc.so.6
28504: trying file=/home/bnikolic/d/p/R-2.14.1bin/lib/R/lib/tls/libc.so.6
28504: trying file=/home/bnikolic/d/p/R-2.14.1bin/lib/R/lib/x86_64/libc.so.6
28504: trying file=/home/bnikolic/d/p/R-2.14.1bin/lib/R/lib/libc.so.6
28504: search cache=/etc/ld.so.cache
28504: trying file=/lib/x86_64-linux-gnu/libc.so.6
wtf
LD_DEBUG=all ./$GAME.$DEVICE_ARCH -hogdir data > debug.txt 2>&1 Try this line instead
2>&1: Redirects stderr to the same location as stdout. This ensures that any error messages or additional debug output generated by the game binary are also captured in the same file.```
There was a lot of console text that wasn't in the debug.txt
Yeah if it looked like the above then the 2>&1 should redirect that to file
That was meant to be used in the script, right?
Yep
Ehh... All it logged was a single line
-sh: ./.: Is a directory
$GPTOKEYB "$GAME.$DEVICE_ARCH" -c "config/joy.gptk" &
SDL_GAMECONTROLLERCONFIG="$sdl_controllerconfig"
#./$GAME.$DEVICE_ARCH -hogdir data
LD_DEBUG=all ./$GAME.$DEVICE_ARCH -hogdir data > debug.txt 2>&1
Right?
Should be t
The game runs, but it logging that path error
It doesn't log anything else?
This looks like $GAME and $DEVICE_ARCH are empty, save that line to the script and run the sh
It's in the script and I launched it from ES. Like I said, the game ran, but the log is just that one line
$GPTOKEYB "$GAME.$DEVICE_ARCH" -c "config/joy.gptk" &
SDL_GAMECONTROLLERCONFIG="$sdl_controllerconfig"
#./$GAME.$DEVICE_ARCH -hogdir data
LD_DEBUG=all ./d2x.aarch64 -hogdir data > debug.txt 2>&1
Let's try taking the variables out of it.
Oh
Thanks for your patience.
Apparently I have to update every instance of the variables. Gptokeyb is failing
No, I pulled a dumb move and re-installed the game which replaced the script
That's why it was weird
That's my line
It's using the jelos lib instead of the provided.
In libs.aarch64 rename libmodplug.so.1 to libmodplug.so.1.0.0
Then try
20919: file=libmodplug.so.1.0.0 [0]; dynamically loaded by /usr/lib/libSDL2-2.0.so.0 [0]
20919: find library=libmodplug.so.1.0.0 [0]; searching
20919: search path=/roms/ports/descent2/libs.aarch64:/usr/lib/compat (LD_LIBRARY_PATH)
20919: trying file=/roms/ports/descent2/libs.aarch64/libmodplug.so.1.0.0
20919: trying file=/usr/lib/compat/libmodplug.so.1.0.0
20919: search cache=/storage/.cache/ld.so.cache
20919: search path=/usr/lib (system search path)
20919: trying file=/usr/lib/libmodplug.so.1.0.0
20919:
20919: file=libmodplug.so.1.0.0 [0]; generating link map
It sees it bit doesn't use it for some reason.
@leaden pivot In libs.aarch64 rename libmodplug.so.1 to libmodplug.so.1.0.0
You can comment out the ld debug line now š
Done, but still no dice
Shoot.
What's debug.txt say now though?
I might just slap jelos on my rg552 spare sd and see what I can find.
40603: find library=libmodplug.so.1.0.0 [0]; searching
40603: search path=/roms/ports/descent2/libs.aarch64:/usr/lib/compat (LD_LIBRARY_PATH)
40603: trying file=/roms/ports/descent2/libs.aarch64/libmodplug.so.1.0.0
40603:
40603: file=libmodplug.so.1.0.0 [0]; generating link map
40603: dynamic: 0x0000007fa80e1cd0 base: 0x0000007fa8050000 size: 0x00000000001d1640
40603: entry: 0x0000007fa80570f0 phdr: 0x0000007fa8050040 phnum:
Ok it uses the correct one now
Huh.
This is starting to look like a general libmodplug issue. Descent.hmp may be incompatible with it.
Amber uses pulseaudio for decoding iirc.
You can try adding this to the script:
export SDL_AUDIODRIVER=oss
It's like it's trying to be a problem
similar/arch/sdl/digi_mixer.cpp:124: digi_mixer_init: error: SDL audio initialisation failed: Audio target 'oss' not available.
Well jelos probably doesn't use oss.
You can try pipewire or pulseaudio.
It looks like modplug has been an issue with rebirth for some time but has been ignored.
Yup. Runs with both pipewire and pulseaudio, but no music
Try throwing this in your libs.aarch64 folder for kicks and giggles
That actually works
I just tried it in the first game and it sounds normal. I might just not be used to the instrument sounds
PR submitted, thanks for testing so efficiently. š
nothing should be using oss
wtf
alsa (low level)/pulse (crusty)/pipe (new) are the usual suspects here
Itās already been fixed
it's time to derail this thread with a question
how about descent 3?
https://github.com/kevinbentley/Descent3
It literally dropped today š
Currently 32 bit only and relies heavily on x11
Let them work on it a bit
The source needs major cleanup for modern systems and afterwards there's no guarantee we'll get gles and x11 removal without doing it ourselves.
Wdym. Like arm? I thought that's where portmaster comes in
Embedded systems = hardware display manager (no x11 or wayland) and gles.
How's that long game going?
Slow
Linux has sdl2 now I havenāt tried it on small arm yet
Some folks got it running on rpi
Any news on the new gptk level select stuff? @stable kayak
Nope
Soon, sorry. š

Man that d3 shit's bollox. Not really holding my breath for Monday's weekly update. Hey ho