lol
G:/
E:/
etc.
That doesn't help me. These are obviously paths, but where do they lead to? I'm sorry that I may seem stupid, but please keep in mind that I first tried to do anything with 3DS homebrew 3 days ago.
lol
G:/
E:/
etc.
it's the folder that opens when you put your sd card in. it's the 'root'.That doesn't help me. These are obviously paths, but where do they lead to? I'm sorry that I may seem stupid, but please keep in mind that I first tried to do anything with 3DS homebrew 3 days ago.
it's the folder that opens when you put your sd card in. it's the 'root'.
Can somebody tell me where the /sdmc/ folders is?
/sdmc/ refers to the root of the 3DS SD card.
in regards to the Citra 3DS emulator, if you want to test out this homebrew on PC, /sdmc/ refers to FolderWithCitraEmulatorInIt\user\sdmc\ which is the folder the emulator treats as a 3DS SD card.
But I'm using a Mac right now and can't seem to find the folder anywhere. Do you, where I can find it, because it would be much more simple debugging programs on a computer.
Well, this is my citra folder:
Yeah that is weird. I don't have a Mac to help you out. You could try manual creating the /user/sdmc/ folder and see if that works.
If I do that, I just have to copy all the files on my SD card in the folder?
I guess you could but really you only need to copy file relevant to what you want to run.
Like for example I can run the lpp-3ds.3dsx (the lua interpreter) from any directory on my computer but the thing is that that 3dsx file will look for a "index.lua" on the root of the SD card and that's why you would need the index.lua inside of /sdmc/. If you don't have the index.lua file in /sdmc/ you can still load the lua interpreter... But it'll show an error.
So I tried to create to folder myself and it actually worked and loads the sample programs fine, but a simple sample program I wrote (just printing a few system variables to the screen) doesn't work on it, although it runs on actual hardware. Do you know what's up with that?
No idea, I gave up on this. Can't stand lua. I'm sure there's plenty of problems with the not yet finished Citra emulator that cause that error.
Just don't use mfloat-abi = hard but use softfp as default.
You don't have to edit anything from the repository to correctly compile it.

-- HI SCORE IS BROKEN
-- idk why
hiscorefile = io.open("/gfx/hiscore",FCREATE)
text = io.read(hiscorefile,0,10)
hiscore = tonumber(text)
if (score > hiscore) then
hiscore = score
io.write(hiscorefile,0,hiscore, 21)
end


