I've made a homebrew application, that I need to pack as a CIA: https://github.com/TuxSH/TWLSaveTool
However, even if I have recreated sysUpdater's and/or CHMM2's build environment, but makerom crashes all the time, no matter what I do (on both Windows and Linux, x86_64).
Would help if you posted more info on the crash from makerom, but if you're using latest ctrulib, it's probably this issue. That can be solved by building latest commit on that repo. But there are other known issues too, like using an outdated rsf format, so depends how it's crashing.
Does someone have a sample for the 2.X bootloader usage?
I tried to use the hbmenu ones but it has too many dependencies and trying to "extract it" from the main source finished with a system crash when trying to launch a 3dsx file.
Guys, need a little help. I killed my computer and have reinstalled windows, devkitpro and ctrulib. however my code wont compile. I am erroring at the following line---
Code:
APP_STATUS status;
Which worked fine earlier.
Have I missed a step when setting up my environment or something? I really want to get back to updating BreadBox.
Anyone knows if csnd service is able to play signed PCM sounds? Cause when i try to reproduce a buffer with signed PCM16 audiocodec i get a distorted sound as output.
Anyone knows if csnd service is able to play signed PCM sounds? Cause when i try to reproduce a buffer with signed PCM16 audiocodec i get a distorted sound as output.
Can someone here re-build the .cia HBLauncherLoader to search for a different filename than "boot.3dsx"? I recently came across someone who wanted a homebrew channel while being able to coldboot into cfw, and this seems like the most viable solution. Bonus points if the filename variable can be configurable via a .txt.
Actually, wait a second. The filename is actually inside of the payload. Just hex-edit the string that says "boot.3dsx" hex editor to change the filename the payload attempts to load.
Differences between signed and unsigned? I mean, if in an unsigned PCM16 sample has 65000 as value, in signed PCM16 its value is a simple cast (so 32767 - 65000) or something different?
Differences between signed and unsigned? I mean, if in an unsigned PCM16 sample has 65000 as value, in signed PCM16 its value is a simple cast (so 32767 - 65000) or something different?
Differences between signed and unsigned? I mean, if in an unsigned PCM16 sample has 65000 as value, in signed PCM16 its value is a simple cast (so 32767 - 65000) or something different?
Guys, how can I load a .3dsx from another homebrew? Something like app launch (used for installed .cias) but using some .3dsx in the sd card instead.
Thanks.
Hi guys, I'm new into 3DS HB developing and I just wrote my first HB. You can increase an integer by pressing A (or decrease it by pressing B). At the moment, the longer you hold the button, the bigger/smaller the integer gets, but I'd like it to increase by one for everytime A is pressed. Is there any easy way to do this? I thought of something like if A is pressed set a variable to one, this happens in a loop at which's beginning it increases the int if the variable is set to one and then resets it again. (Haven't got it to work by now)
Here is the actual source code of the version "the longer, the bigger":
printf("\nWelcome to an input test, where you can choose\nyour own integer!\nThe start value for it is %i.\n\n", choice);
flush();
choose();
printf("\n\nIf you want to adjust your integer again press A, else B.\n\n");
while (1) {
hidScanInput();
u32 kDown = hidKeysDown();
if (kDown & KEY_A) {
choose();
break;
}
if (kDown & KEY_B) {
flush();
break;
}
}
printf("\nPress START to exit.\n");
while (aptMainLoop()) {
hidScanInput();
u32 kDown = hidKeysDown();
if (kDown & KEY_START) break;
}
gfxExit();
return 0;
}
void choose(void)
{
printf("To increase your integer press A, to decrease it\npress B (the longer the button is pressed, the\nbigger/smaller will the number get).\nWhen finished press X and the number will be\ndisplayed.\n");
while (1) {
hidScanInput();
u32 kDown = hidKeysDown();
if (kDown & KEY_A)
choice += 1;
if (kDown & KEY_B)
choice -= 1;
if (kDown & KEY_X)
break;
}
I'd really appreciate it if someone could tell me a way to do it (the idea is enough, I think I can code the rest by myself ), and if you have some tips in genereal for 3DS HB development please tell me! ^^
Hi guys, I'm new into 3DS HB developing and I just wrote my first HB. You can increase an integer by pressing A (or decrease it by pressing B). At the moment, the longer you hold the button, the bigger/smaller the integer gets, but I'd like it to increase by one for everytime A is pressed. Is there any easy way to do this? I thought of something like if A is pressed set a variable to one, this happens in a loop at which's beginning it increases the int if the variable is set to one and then resets it again. (Haven't got it to work by now)
Here is the actual source code of the version "the longer, the bigger":
printf("\nWelcome to an input test, where you can choose\nyour own integer!\nThe start value for it is %i.\n\n", choice);
flush();
choose();
printf("\n\nIf you want to adjust your integer again press A, else B.\n\n");
while (1) {
hidScanInput();
u32 kDown = hidKeysDown();
if (kDown & KEY_A) {
choose();
break;
}
if (kDown & KEY_B) {
flush();
break;
}
}
printf("\nPress START to exit.\n");
while (aptMainLoop()) {
hidScanInput();
u32 kDown = hidKeysDown();
if (kDown & KEY_START) break;
}
gfxExit();
return 0;
}
void choose(void)
{
printf("To increase your integer press A, to decrease it\npress B (the longer the button is pressed, the\nbigger/smaller will the number get).\nWhen finished press X and the number will be\ndisplayed.\n");
while (1) {
hidScanInput();
u32 kDown = hidKeysDown();
if (kDown & KEY_A)
choice += 1;
if (kDown & KEY_B)
choice -= 1;
if (kDown & KEY_X)
break;
}
I'd really appreciate it if someone could tell me a way to do it (the idea is enough, I think I can code the rest by myself ), and if you have some tips in genereal for 3DS HB development please tell me! ^^
I believe you are having this problem because you are calling hidScanInput() too fast, try letting the thread sleep for a bit or doing something else on that loop to take some time.
To sleep the thread you can use svcSleepThread(nanoseconds).
I believe you are having this problem because you are calling hidScanInput() too fast, try letting the thread sleep for a bit or doing something else on that loop to take some time.
To sleep the thread you can use svcSleepThread(nanoseconds).
That sounds great! I didn't know about that function, maybe I should first work through the documentation of ctrulib... (but it's so big!) I'm gonna try this out and tell you my progress.
Before Thursday, the Switch 2 jailbreak scene was basically non-existent and was even a bit of a running joke. But a single tweet from researcher pepsipu changed all...
May the good times continue in the Switch 2 homebrew scene! Released today by developer Gezine, CivSwitch offers a new entrypoint for homebrew on the system, this...
The Legend of Zelda: Ocarina of Time, the Switch 2 remake has been dumped and is already booting and playable on high-end PCs running on Lichii, an experimental...
The Switch 2 scene is moving quickly, and today marks another significant achievement with the release of KaiHEN改变! Kurumuz, who also authored a more stable version...
The next Nintendo Switch 2 update is here, 23.5.0 (shared also with Switch 1), and with it a fix for the recent FS exploit. If you are interested in homebrew you are...
It's been a turbulent few weeks in the game porting space. We've seen gaming worlds smashed together, as well as games being statically recompiled for every platform...
It's been something of a wild few weeks in the Switch 2 space. For those of you not keeping track, we've seen the first exploit released, utilising SmileBASIC as an...
The devs behind Azahar, the 3DS emulator that spawned out of Citra (which was taken down in 2024 after Nintendo went after its developers) has announced that they...
Cyberleek has resurfaced for the first time since Grand Theft Auto VI launched are they are now claiming to have put out a full build of the game minus its...
Announced back in May, Pokemon Monomyth is a brand new ROM hack based on Pokemon Emerald that's more than six years in the making. I hear the cries already, another...
May the good times continue in the Switch 2 homebrew scene! Released today by developer Gezine, CivSwitch offers a new entrypoint for homebrew on the system, this...
GBAtemp is 24 today!
2 decades, 4 years and still kicking it
It is with a real sense of pride in my chest that I can announce GBAtemp.net has turned 24 today (well...
The review embargo for Rockstar Games' Grand Theft Auto VI lifted today and the verdict is about as close to unanimous praise as it gets.
With more than 145 critic...
Grab your tunic and ocarina, The Legend of Zelda: Ocarina of Time remake lands today on Nintendo Switch 2!
Reviews are looking good with the game sitting on a 95 on...
A collector named Daniel Quadri says he owns what is believed to be the only known playable copy of PokéPark: Tsuri Taikai, also known as PokéPark: Fishing Rally...
Before Thursday, the Switch 2 jailbreak scene was basically non-existent and was even a bit of a running joke. But a single tweet from researcher pepsipu changed all...
The Legend of Zelda: Ocarina of Time, the Switch 2 remake has been dumped and is already booting and playable on high-end PCs running on Lichii, an experimental...
The devs behind Azahar, the 3DS emulator that spawned out of Citra (which was taken down in 2024 after Nintendo went after its developers) has announced that they...
It's been a turbulent few weeks in the game porting space. We've seen gaming worlds smashed together, as well as games being statically recompiled for every platform...
Nintendo has ruled out any further Switch 2 price rises even as its latest financial results show dwindling console sales and lower year-on-year profits.
According...