fgsfdsfgs / ioq3

Nintendo Switch port of ioquake3
https://www.ioquake3.org/
GNU General Public License v2.0
21 stars 4 forks source link

Working forum build, but crash on recent build from source #3

Closed jfenton closed 5 years ago

jfenton commented 5 years ago

v0.1.0 release black screened for me.

Release posted here works great (really great!).

Can also confirm no issues running Team Arena (merged q3config.cfg to get resolution and joystick correct)

I wanted to get USB-C mouse/keyboard support working, and (perhaps naively) concluded that just recompiling with the latest switch-sdl which added mouse/kb support in Feb '18 would do the trick.

I successfully compiled from source (clean, no errors), but I get a grey screen crash with error code 2345-0007 (0xf59) immediately on load (no splash, instant). Not sure how to debug further without adding twili etc.

I notice my NRO is quite a bit smaller than yours, though this could just be because of more recent dependencies in the build?

ioquake3nx.nro 9,920,381 bytes (my build) ioquake3nx.nro 11,198,333 bytes (your forum build)

Happy to aid in debugging. Could I ask you to post a new build/release, see if you have the same issue on your switch?

7.0.1 AMS 0.8.5 Hekate 4.9.1 fusee and starting ioq3 via HBMenu via content override. No other kips.

Thanks for the great port!

(base) jf$ /opt/devkitpro/pacman/bin/pacman -Q devkitA64 r12-2 devkitpro-keyring r1.787e015-2 general-tools 1.0.2-2 libnx 2.0.0-2 switch-curl 7.59.0-1 switch-examples 20190102-1 switch-libdrm_nouveau 1.0.0-1 switch-libjpeg-turbo 1.5.3-1 switch-libogg 1.3.3-1 switch-libvorbis 1.3.5-1 switch-mesa 18.3-2 switch-sdl2 2.0.8-17 switch-tools 1.5.0-1 switch-zlib 1.2.11-2 (base) jf$ uname -a Darwin jf.local 18.2.0 Darwin Kernel Version 18.2.0: Thu Dec 20 20:46:53 PST 2018; root:xnu-4903.241.1~1/RELEASE_X86_64 x86_64 (base) jf$

Builds from switch-examples run fine on the switch, so build env is sane.

jfenton commented 5 years ago

Got it working with some source edits, need to bisect and see which one fixed it in the end.

USB-C Mouse and Keyboard also working as a side-effect!