Problem loading my homebrew game

Issue:
Hello! I’ve been using Citra for quite a bit and never had a problem with it before. I’ve developed a few games and I use Citra as my fastest way to test them. Never had a problem until now. The games I made before were coded in C and I used citro2d directly. This time, I wanted to try this LÖVE framework for 3DS. I just compiled a simple “hello-world” which runs just fine in both my o3ds and n3ds but not in Citra. All I get is a black screen. I already have my dspfirm.cdc dumped and correctly placed (sdmc/3ds). I have tried in 2 different PCs and 3 different OS (Windows 7, Windows 10 and Linux Mint). I got the same result in all of them. I know some people are able to run this hello-world in Citra, but I don’t know if it has something to do with the settings. I can provide you with the .3dsx if necessary (not sure if it’s allowed, but since it’s homebrew, I suppose it is)

System Information

  • Operating System: Linux Mint 19 ‘Tara’
  • CPU: Intel® Core™2 Duo CPU E6550 @ 2.33GHz
  • GPU: NVIDIA GeForce 9400 GT
  • Citra Version (found in title bar): Citra Nightly 1152
  • Game: homebrew
  • Screenshot of Issue (include the full Citra window including titlebar):

https://i.imgur.com/wO2zDQ2.png

Diagnostic Log
Upload your log file as an attachment by dragging & dropping.

citra_log.txt (11.5 KB)

I did not find anything wrong in your log file. Please wait for a moderator to assist.

I did not find anything wrong in your log file. Please wait for a moderator to assist.

your log doesn’t contain the crash info, run it again and upload your log again. i tried some lovepotion games and they worked (canary-1117). you can try disabling various options like CPU JIT, hardware renderer, etc.

you said that some people could run your .3dsx? on which citra version and which OS? send me the link i can test it.

Unfortunately, no matter how many times I try, the output is always the same. I always get that log and I tried on different PCs and different OS. I also tried disabling CPU JIT and almost every graphic setting but still nothing. It looks like the game doesn’t actually crash, it just shows a black screen.

Yes, they’ve run it on latest Citra version and Linux.

I also tried putting the game directory in sdmc/3ds but didn’t work either. Tried installing it as a cia as well, but didn’t work.

Oh, and also tried Canary 1129 but no luck.

Ok, here’s the link to the 3dsx https://mega.nz/#!uJQmRa4a!elJ499hWfTxf05eAlGBMtj8rLMQ7iVxrBrVO49SsIFE

Thank you very much!

there is a decryption key request on your mega link. is there any info about citra debugging on the LÖVE framework forums?

Sorry, I didn’t properly copy the link -> https://mega.nz/#!uJQmRa4a!elJ499hWfTxf05eAlGBMtj8rLMQ7iVxrBrVO49SsIFE

I’ve been asking the developers of LOVEPOtion through Discord and they said it should work with Citra since they’ve been testing it on Citra :\

i noticed that it uses the DSP firmware, dump your DSP firmware (google it on how to do it), it also asks for a timidity.cfg on sdmc.

to generate a proper log you need to launch the game, reproduce the issue, close citra and don’t open it again. open the log folder ~/.local/share/citra-emu/ and upload the log again.

i noticed that it uses the DSP firmware, dump your DSP firmware (google it on how to do it)

As I said in the OP, I already did that and placed it on sdmc/3ds.

it also asks for a timidity.cfg on sdmc.

I’ve also noticed that but I have no clue what that might be.

to generate a proper log you need to launch the game, reproduce the issue, close citra and don’t open it again. open the log folder ~/.local/share/citra-emu/ and upload the log again.

That’s exactly what I’m doing and the log I get is what I uploaded earlier.

Did you succeed on running the 3dsx I linked to in the previous post?

it did not, can’t figure out. btw change your Global Log Filter to *:Debug so you can get more useful information (just don’t let citra run for longer than necessary as it will generate a very large log). you may wanna throw some debug message on your app so we can see where it didn’t succeed.

1 Like

I did what you said about the log file and here it is.

citra_log.txt (249.3 KB)

I did not find anything wrong in your log file. Please wait for a moderator to assist.

My first advice in those cases would be to create a zero-length (or one space) timidity.cfg file in the designated location, and to check if Citra complains about its content.

I also did a search for the file, and got this:
https://www.systutorials.com/docs/linux/man/5-timidity.cfg/
https://wiki.archlinux.org/index.php/timidity

make of that what you wish.

I already did that too! I put an empty timidity.cfg in every location the log mentions, which made all “timidity.cfg” lines in the log disappear, but that’s it. Unfortunately, it didn’t fix anything. Thanks.

try compiling other people game demo examples, every LOVEPotion example works fine.

Well, actually what I am compiling is this hello-world example https://github.com/TurtleP/LovePotion-examples/tree/master/graphics/hello-world

As I said, after I compiled it I tested it with my old 3ds and new 3ds and it worked fine in both so I assume the issue is with Citra and not with the compilation? Correct me if I’m wrong tho.

yes i agree, but do try other demos.

Not that there are too many demos/games out there to try but I tried with a different one and still the same: doesn’t work in Citra, works in o3ds/n3ds. I don’t really know what else to do, I’ve tried changing every setting in Citra but I guess it’s just beyond my understanding. The hello-world’s download link is a few posts above, if someone could test it themselves and figure something out, I’d be grateful.

I’ve been also looking at the code were I get warnings or errors here https://github.com/citra-emu/citra but I couldn’t draw any conclusion.