Homebrew Homebrew Development

Agent Moose

Well-Known Member
Member
Joined
Dec 6, 2014
Messages
407
Trophies
0
Age
33
XP
552
Country
United States
So for the longest time I was using CSND for homebrew stuffs and since we can use DSP now, does anyone have a good tutorial on how to use it?
 

3DHacks

Member
Newcomer
Joined
Nov 14, 2015
Messages
7
Trophies
0
Age
23
XP
41
Country
Italy
Did you install Python? If so which version? You may also want to check that you have the correct version of aemstro installed.
I installed Python 3.4, I checked test.vsh is it written that you have to upgrade to the file aemstro_as.py 11/15/14.
The problem where I find this build?
 

elhobbs

Well-Known Member
Member
Joined
Jul 28, 2008
Messages
1,044
Trophies
1
XP
3,036
Country
United States
I installed Python 3.4, I checked test.vsh is it written that you have to upgrade to the file aemstro_as.py 11/15/14.
The problem where I find this build?
I don't believe you need to have this specific version. I think the latest version will work provided you also have the latest code for 3dscraft.
https://github.com/smealum/aemstro
 

3DHacks

Member
Newcomer
Joined
Nov 14, 2015
Messages
7
Trophies
0
Age
23
XP
41
Country
Italy
I don't believe you need to have this specific version. I think the latest version will work provided you also have the latest code for 3dscraft.
https://github.com/smealum/aemstro
I downloaded latest version of aemstro and 3dscraft but does not work always makes the same error.

EDIT: I try to download and compile latest version of ctrulib and aemstro.

EDIT2:it's the same thing :(
 
Last edited by 3DHacks,

robot56

Well-Known Member
Newcomer
Joined
Sep 13, 2015
Messages
94
Trophies
0
Age
34
XP
111
Country
United States
I downloaded latest version of aemstro and 3dscraft but does not work always makes the same error.

EDIT: I try to download and compile latest version of ctrulib and aemstro.

EDIT2:it's the same thing :(

You need to either use an older version of aemstro and aemstro_as or update the shader files to work with the latest version of aemstro_as. Unfortunately there's literally no updated examples for aemstro_as so you'd have to look through the source and find what changed if you wanted to update the shader files - or of course use an alternative like Picasso/nihstro.

It's worth noting that there were a lot of changes to ctrulib as well (apart from shaders), so you need to make a bit of changes to the source to make it build.
 

Slashcash

Well-Known Member
Member
Joined
Oct 15, 2015
Messages
338
Trophies
0
XP
611
Country
Italy
A mistery to me: when i compile my code it just works flawlessy on Citra. When i launch it on my 3ds through the homebrew launcher it shows a red screen at the bottom and nothing else. It happens with every chunk of code, even if i directly compile the examples in the ctrulib folder. I actually can't figure out the reasons. In a desperate attempt i compiled a main with only a return 0 instruction and it returned correctly to the homebrew launcher (so i guess it didn't crash)

I'm compiling with the standard template makefile on linux. Any suggestion?
 

elhobbs

Well-Known Member
Member
Joined
Jul 28, 2008
Messages
1,044
Trophies
1
XP
3,036
Country
United States
A mistery to me: when i compile my code it just works flawlessy on Citra. When i launch it on my 3ds through the homebrew launcher it shows a red screen at the bottom and nothing else. It happens with every chunk of code, even if i directly compile the examples in the ctrulib folder. I actually can't figure out the reasons. In a desperate attempt i compiled a main with only a return 0 instruction and it returned correctly to the homebrew launcher (so i guess it didn't crash)

I'm compiling with the standard template makefile on linux. Any suggestion?
Citra isn't very accurate in this respect - it will happily continue along on code that will make an actual 3ds hang immediately. When you try to run on hardware what are you using to launch? Ninjhax themehax versions etc? Also are you using the latest ctrulib from git? Are you using the master branch?
 

Slashcash

Well-Known Member
Member
Joined
Oct 15, 2015
Messages
338
Trophies
0
XP
611
Country
Italy
I'm using themehax 1.3 and the boot.3dsx from the Starter Kit downloaded directly from the ninjhax2's page. I'm using the last ctrulib from the master branch and the standard template makefile. The thing that surprises me is that even the examples show a red screen.

[EDIT]The other homebrew from the starter kit work just fine, it's just with my compiled code
 
Last edited by Slashcash,

robot56

Well-Known Member
Newcomer
Joined
Sep 13, 2015
Messages
94
Trophies
0
Age
34
XP
111
Country
United States
I'm using themehax 1.3 and the boot.3dsx from the Starter Kit downloaded directly from the ninjhax2's page. I'm using the last ctrulib from the master branch and the standard template makefile. The thing that surprises me is that even the examples show a red screen.

[EDIT]The other homebrew from the starter kit work just fine, it's just with my compiled code

What services are you using?
 

elhobbs

Well-Known Member
Member
Joined
Jul 28, 2008
Messages
1,044
Trophies
1
XP
3,036
Country
United States
I'm using themehax 1.3 and the boot.3dsx from the Starter Kit downloaded directly from the ninjhax2's page. I'm using the last ctrulib from the master branch and the standard template makefile. The thing that surprises me is that even the examples show a red screen.

[EDIT]The other homebrew from the starter kit work just fine, it's just with my compiled code
If everything you don't build yourself runs fine then it is probably your build environment that is the issue. I would recommend removing devkitpro entirely and make sure it is out of your path entirely. Then reinstall from the installer then get and make/install the latest ctrulib and the try to build the examples again.
 

Slashcash

Well-Known Member
Member
Joined
Oct 15, 2015
Messages
338
Trophies
0
XP
611
Country
Italy
I realized that the problem is somewhere around the terminal initialization function. I always tried to build the hello world example and had no results. Then i decided to build another example without the terminal initialization and it worked! Even my code works, but only if i don't initialize any terminal through consoleInit(). I'll try to reinstall devkitarm and ctrulib as i don't have any idea on why it happens.
 

Slashcash

Well-Known Member
Member
Joined
Oct 15, 2015
Messages
338
Trophies
0
XP
611
Country
Italy
I realized that the problem is somewhere around the terminal initialization function. I always tried to build the hello world example and had no results. Then i decided to build another example without the terminal initialization and it worked! Even my code works, but only if i don't initialize any terminal through consoleInit(). I'll try to reinstall devkitarm and ctrulib as i don't have any idea on why it happens.

After DAYS of thinking that the problem was in my enviroment (Netbeans, Linux and the last ctrulib-master) i switched to windows just to notice that the problem persisted. After the third attempt with no results i realized that the problem was in my code.

Long story short... including iostream makes the software crash on 3ds (not on citra). The funny thing is that i was not even using it, it was just added for debugging purposes

Someone knows why? It does happen with every piece of code with the latest ctrulib.
 

elhobbs

Well-Known Member
Member
Joined
Jul 28, 2008
Messages
1,044
Trophies
1
XP
3,036
Country
United States
Why am I not able to compile the 24bit-color example? I can compile other examples, just not this one. It always fails to compile with:

brew.png
Invalid Parameter - /Users
make[1]: *** [brew.bgr] Error 4
make: *** [build] Error 2

Why is that?
It requires imagemagick installation.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    ZeroT21 @ ZeroT21: You need better couch potatoes la +1