11, if it's even possible at all.On a scale of 1 - 10, how difficult would it be to make Android for 3DS that could start on boot?
11, if it's even possible at all.On a scale of 1 - 10, how difficult would it be to make Android for 3DS that could start on boot?
https://github.com/devkitPro/3ds-examples/tree/master/romfsHow do I... use romFS at all in citrulib lol. I want to include some files in the romFS of a CIA for sound and stuff. How can I put the files into the romFS, how can I access them from the romFS, and how can I make it so that if its a .3DSX it will pull the files from the SD (since 3dsx's obviously dont have a romFS) and if its a CIA it pulls from romFS?
that helps a lot, thanks. But how can I detect if the game is 3DSX or not? since i cant pull from romfs then.
It works with cia or 3dsxthat helps a lot, thanks. But how can I detect if the game is 3DSX or not? since i cant pull from romfs then.
at least i thought you couldnt
So I added my resources folder to a romfs folder, included it in the makefile, and I think it did include the romfs in the 3dsx because the file size is much bigger, but its not playing the sounds. I also don't get a "cant open file" error from citra thoughIt works with cia or 3dsx
Here it is. Though this uses some outdated libs, it's recommended to use citro3d now.Does anyone have the source code of PCHex++?
I'm really interested on learning to make a cool GUI like that, FBI's seems too complicated :X
The github for PCHex++ doesn't exist anymore
I'm trying to use the pp2d example, but when I try to 'make', I get a bunch of these errors:Here it is. Though this uses some outdated libs, it's recommended to use citro3d now.
If you want an easy way to render a 2D UI, you could use pp2d, which is a wrapper for citro3d.
I know some people here don't like it for their own reasons but it's probably the best/easiest way to render a 2D UI atm. You could easily replicate PCHex++'s UI using it.
BernardoGiordano's discord server is linked in that readme & you can find the latest pp2d pinned in the pp2d channel there, along with an example, if you decide you'd like to use it.
You don't have citro3d, or at least it's headers, installed I think. You can get it from here. Extract the folders in the .bz2 file to the libctru folder in your devkitPro folder.I'm trying to use the pp2d example, but when I try to 'make', I get a bunch of these errors:
c:/pp/source/pp2d/pp2d.c:336: undefined reference to `C3D_Init'
c:/pp/source/pp2d/pp2d.c:338: undefined reference to `C3D_RenderTargetCreate'
c:/pp/source/pp2d/pp2d.c:339: undefined reference to `C3D_RenderTargetSetClear'
I don't know if I'm using a wrong Makefile, I'm using the devkitPRO examples' Makefile, and I added /source/pp2d to the sources in Makefile.
You're helping me a lot, thanks.
I ran a make install on citro3d last night, and when I tried to paste the folders now, I already had all those files, so I'm guessing I already had citro3d installed.You don't have citro3d, or at least it's headers, installed I think. You can get it from here. Extract the folders in the .bz2 file to the libctru folder in your devkitPro folder.
For me, that's C:\devkitPro\libctru but it may be different for you depending on where you installed devkitPro.
is citro3d in the libs section of the makefile then (LIBS := -lcitro3d)? and yea, pp2d is fine in the sources folderI ran a make install on citro3d last night, and when I tried to paste the folders now, I already had all those files, so I'm guessing I already had citro3d installed.
Still not working.
I have the same devkitPro path.
I didn't install pp2d, just put the folder in 'sources' folder of the project. I was reading on reddit that would be enough.
is citro3d in the libs section of the makefile then (LIBS := -lcitro3d)? and yea, pp2d is fine in the sources folder
I don't know of a way to use gifs on homebrew. Someone else might know more though, but I think it may not be possible atm.Do you know of a way do display animated gifs on a homebrew?
@Slattz
old post but i still cant figure out romfs for what i need lol. Can I load sounds and stuff from romfs? The example is helping a little but i still can't get it right.You can write directly to the framebuffer (slow), or use the GPU. If you want to use the GPU you can either write your own library or use an existing one like sf2d (easier) or citro3d.
Citro3d example: https://github.com/devkitPro/3ds-examples/tree/master/graphics/gpu/textured_cube (Harder)
sfillib (sf2dlib) example: https://github.com/xerpi/sfillib/tree/master/sample (Easier)
They both pack the images directly into the executable, but changing it to load from romfs is easy. With sfilib you only need to use sfil_load_JPEG_file with the romfs path. Check the RomFS example on how to setup the romfs.
old post but i still cant figure out romfs for what i need lol. Can I load sounds and stuff from romfs? The example is helping a little but i still can't get it right.