Homebrew Prebuilt ctrcommon library?

d0k3

3DS Homebrew Legend
OP
Member
Joined
Dec 3, 2004
Messages
2,786
Trophies
1
XP
3,896
Country
Germany
I'm just trying to compile & install the ctrcommon library by Steveice10. However, the makefile for the library depends on a ton of stuff, including (but possibly not limited to) ctrulib (okay, that's a given), aemstro, a library version of libkhax, servicepatch (which I haven't found anywhere) a file called git.exe (which I can only assume comes with GitHub for Windows). I've tried to tackle these dependencies one by one, finally getting it to finish, but now I'm unsure wether the ctrcommon library is installed correctly in my devkitPro directory or if there will be trouble with compiled programs later on.

So, any chance anyone has a prebuilt version of the library available? Also, space is a bit limited on my developement laptop, so I'd prefer not to have to install tons of additional stuff.
 

Jim_e

Well-Known Member
Newcomer
Joined
Nov 13, 2007
Messages
79
Trophies
0
XP
267
Country
United States
I'm just trying to compile & install the ctrcommon library by Steveice10. However, the makefile for the library depends on a ton of stuff, including (but possibly not limited to) ctrulib (okay, that's a given), aemstro, a library version of libkhax, servicepatch (which I haven't found anywhere) a file called git.exe (which I can only assume comes with GitHub for Windows). I've tried to tackle these dependencies one by one, finally getting it to finish, but now I'm unsure wether the ctrcommon library is installed correctly in my devkitPro directory or if there will be trouble with compiled programs later on.

So, any chance anyone has a prebuilt version of the library available? Also, space is a bit limited on my developement laptop, so I'd prefer not to have to install tons of additional stuff.
He makes changes to ctrcommon all the time, if you want to keep up to date, you'll need to get the build process right.

Let me go over somethings

Download git from here. Make sure to install so it can use the more common functions from the cmd line. But don't replace find.

CTRULIB needs to be defined.
Code:
 CTRULIB    :=    $(DEVKITPRO)/libctru
You can put that in your make file or set it in the enviroment varibles.

For aemstro, download python3, make sure it's in your PATH. Then copy the py code to $(DEVKITPRO)/msys

libhax will download via git. nothing needs to be done assuming you've done everything else.
 

d0k3

3DS Homebrew Legend
OP
Member
Joined
Dec 3, 2004
Messages
2,786
Trophies
1
XP
3,896
Country
Germany
He makes changes to ctrcommon all the time, if you want to keep up to date, you'll need to get the build process right.

Alright, thank you. With these instructions I think I'll be able to compile & install it the way SteveIce10 intended. However, to be blunt, I don't even want to keep up to date, I just want the library installed once and never update. Also, space on my development laptop is very limited, and I don't even want to start to go through the troubles of having Python 2.7.x and 3.x installed alongside on the same machine. So, no chance to get any prebuilt libraries? :)
 

Jim_e

Well-Known Member
Newcomer
Joined
Nov 13, 2007
Messages
79
Trophies
0
XP
267
Country
United States
Alright, thank you. With these instructions I think I'll be able to compile & install it the way SteveIce10 intended. However, to be blunt, I don't even want to keep up to date, I just want the library installed once and never update. Also, space on my development laptop is very limited, and I don't even want to start to go through the troubles of having Python 2.7.x and 3.x installed alongside on the same machine. So, no chance to get any prebuilt libraries? :)
Even if I gave you the prebuilt ones, you need python to assemble any shaders you write. If you intend to use the GPU, then it's not optional atm.
 
D

Deleted User

Guest
Even if I gave you the prebuilt ones, you need python to assemble any shaders you write. If you intend to use the GPU, then it's not optional atm.

I did add a default shader recently, so it is possible to do basic 2D stuff without your own shader. Anyway, I don't really plan on providing pre-built downloads. It should only need git (to pull it from GitHub and to pull the latest version of libkhax), ctrulib, aemstro, and Python to run aemstro. Plus the obvious things like devkitPro, make, etc.
 
  • Like
Reactions: d0k3

Jim_e

Well-Known Member
Newcomer
Joined
Nov 13, 2007
Messages
79
Trophies
0
XP
267
Country
United States
I did add a default shader recently, so it is possible to do basic 2D stuff without your own shader. Anyway, I don't really plan on providing pre-built downloads. It should only need git (to pull it from GitHub and to pull the latest version of libkhax), ctrulib, aemstro, and Python to run aemstro. Plus the obvious things like devkitPro, make, etc.
Since this is basically ctrcommon thread let me ask you a question. Does ctrcommon have a default banner or a quick way to make one built in? I haven't bothered to make one, and I basically just stole gameyob's to do some tests.
 
D

Deleted User

Guest
Since this is basically ctrcommon thread let me ask you a question. Does ctrcommon have a default banner or a quick way to make one built in? I haven't bothered to make one, and I basically just stole gameyob's to do some tests.
My homebrew template contains my default banner. Feel free to use it in testing if you wish.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    OctoAori20 @ OctoAori20: Nice nice-