hmm. I need to either start building documentation about which of my 13 current Ghidra installs have which extensions installed, or I need to set up a ghidra build environment and commit to maintaining a One True Ghidra environment with all the extensions
I keep having the problem of "now which one of these has that PSX loader installed in it?"
(the answer was ghidra 10.2.3 if you even care)
ugh. I'm gonna have to find the font for this game, not for the usual reasons (death generators), but because I'm trying to find the code powering a specific screen (The character viewer) but the text from it doesn't show up in a strings search.
because it's not ASCII. ;_;

it might be full-width latin characters. possibly encoded in shift-jis.

sadly ghidra doesn't know how to find that

maybe I can write a program to search for full-width characters in common encodings

Turns out the text IS in ascii, it's just in a datafile and not the executable.

so that doesn't help me

it was a good idea of them to put all the strings in a datafile instead of the executable! really handy for localization.

oh, this game was only ever released in japan? huh

oh I think this game is doing tricksy shit.
I think it's dynamically loading code out of datafiles and launching them. So the main executable is just the loader and archive-parser

why the heck does the PS1 have a "NoFunction" syscall?

I know about NOPs, by why a NOP syscall?

it has been zero days since I crashed an emulator
@foone same. Should probably try to reproduce it and report to @endrift
@charlotte @endrift I don't think she has anything to do with no$psx
@foone @endrift nah but i ran into a crash in mgba earlier. Seems to be a misconfigured build though?
@foone @endrift yeah, seems to be a misconfigured build, can’t reproduce it in the official binary
@charlotte @foone I would like to know how a build can be so misconfigured it crashes. That still sounds like a bug on the surface!
@endrift @foone Actually it probably is a bug somewhere, lemme file a bug report

@endrift @foone oh okay i figured it out. It’s a bug in nixpkgs. It links mgba with lua 5.4 and with vlc (which links with lua 5.2) and while initializing vlc (which it does for some reason?) vlc crashes due to the version mismatch

Not sure why selecting an existing save file inits vlc tbh, that could be a bug on its own

@charlotte @foone ????? mGBA does not depend on libvlc, why is it linking with it?
@endrift @foone Yeah I’m confused too, the derivation also does not link libvlc, maybe qt on kde is fucky?
@charlotte @foone it does look like it's being pulled in by KDE, specifically when pulling in Phonon, KDE's audio framework
@endrift @foone ……Which raises questions still because all other functionality works fine? I recorded a video with sound earlier
@endrift @foone Wait maybe what happens is that the KDE file picker plays a warning sound and that crashes it?
@charlotte @endrift ahh, I misread your post!
yeah I'm sure she'd like to know