Managed to build the core.
As someone who’s not familiar with Docker (don’t have a ton of experience with Linux either for that matter) I thought I’d share what I did and how it went.
First off, Docker seems to require at least Windows 10. Already on Win10 so, no problem but wait…nope: actually for Windows 10 it needs the 22H2 update…Alright; I’m just gonna use a virtual machine then. So, begin the install process of the Win10 22H2 update but the (virtual/guest) machine update got stuck at 96% for some reason. Apparently, it’s pretty common. So, update via the Update Assistant instead. After a while it successfully updates to 22H2.
Then I also need to install git. I do that. Finally start Docker but it gives me an error. Apparently, the VMware virual machine needs virtualization enabled else it won’t work. Alright, I do that, it launches but now it gives me another error “WSL version too old” or something. Bit of searching I manage to fix that also.
After a bit of reading, it finally starts building/compiling. Everything seems to go well, except it’s really, really slow…took more than 30 mins and it wasn’t finished (running a Win10 guest on a Win10 host is likely going to be slow unless you have a pretty decent machine) but half way through
docker build -f Dockerfile.windows -t goosestation-builder-windows .
I get an error…looking up the error seems it may have been a timeout error…So my guest OS was running/compiling so slowly that it may have caused the problem. Ok, allocate more RAM to the guest OS and disable a bunch of things in the Guest OS, alright so things runs much faster now…
I get a bunch of other errors, was ready to give up but just for the sake of curiosity after all these attempts I check out the Docker output folder and there is a goosestation_libretro.dll. Huh. “Probably outputted the dll but since it never completed the full compiled file, it probably won’t work”. To my surprise, nope, it works perfectly. Whatever, I’ll take it.
So here are the command lines I tried for the record, not sure when/where it compiled successfully, tbh
(Posted above by DemitryCzarevich)
git config --global core.autocrlf input
git clone https://codeberg.org/hueponik/goosestation-builder.git
cd goosestation-builder
docker build -f Dockerfile.windows -t goosestation-builder-windows .
docker run --rm -v “$PWD/dist:/work/dist:Z” goosestation-builder-windows windows
then, I believe these from some reddit thread:
git fetch
git checkout v0.6.5.11443
docker build -f Dockerfile.windows -t goosestation-builder-windows .
docker run --rm -v “$PWD/dist:/work/dist:Z” goosestation-builder-windows windows
docker build -f Dockerfile.windows -t goosestation-builder-windows .
docker run --rm -v “$PWD/dist:/work/dist:Z” goosestation-builder-windows windows
This is by no mean a “guide” because it’s more luck than anything I got it to work.
TL;dr Big thanks to hueponik for making this possible, even though the process is a bit more complex than the usual ‘Download pre-compiled core, place in core folder’ way (I understand why it has to be done this way) but…it worked in the end.
edit: Goosestation also supports No$psx’s bios. To obtain the bios use the stand alone No$psx, go to ‘utility’ > remote access > create nocash bios rom as raw image (PSX-XBOO.ROM). Take the file created and simply place it in RetroArch’s system folder where the other PSX bios normally are.