Homebrew Homebrew Development

MemoryController

Member
Newcomer
Joined
Sep 7, 2014
Messages
19
Trophies
0
Age
31
Location
Thessaloníki
XP
377
Country
Greece
I feel awful asking a question like this... I know the "right" answer is RTFM and try it yourself, but still... I can't give it a go just yet and maybe somebody has already tried it.

Has anybody found success building 3DS homebrew on a Linux environment?

I've fucked with devkitpro and Cygwin and friends on Windows plenty of times. It always seems to bring me misery. For me, trying to write and (more importantly) compile C on Windows tends to bring pain, whereas Linux brings joy. So, has anybody here gotten a working 3DS toolchain on Linux?

T-thanks...


You're one of the users I keep seeing around all of these ninjhax/homebrew threads. And one of the ones who seem to actually be interested in homebrew, where "homebrew" isn't just a euphemism for "playin mah 'backup' ROMzorz lol", and you seem like a cool person. Several people here seem like they're cool people--they know who they are.

I guess I just wanted to say--to you and everybody who actually cares about homebrew--cheers! I'm excited to have a chance at being a part of maybe not-fucking-up the scene; the 3DS could have a good one. :grog:
Checkout http://3dbrew.org/wiki/Setting_up_Development_Environment

I have posted instructions for Linux there.
 

Oak

Well-Known Member
Member
Joined
Apr 19, 2014
Messages
179
Trophies
0
Age
30
XP
288
Country
United States
A n64 emulator on the new 3ds will be awesome. The future of 3ds homebrew is so exciting!!!
 

AlbertoSONIC

Pasta Team Member
Member
Joined
Jun 27, 2014
Messages
927
Trophies
0
Age
52
Website
www.albertosonic.com
XP
1,396
Country
Italy
Guys should we define some kind of graphics design guide line? Something like this: http://www.google.com/design/spec/material-design/introduction.html

I think that a standard design applied to every homebrew around here would be great. We should choose how the status bar should be, buttons, colors (if the background is blue, the status bar has to be dark blue, for example) and everything else!
 
  • Like
Reactions: MemoryController

filfat

CTO @ Nordcom Group Inc.
Member
Joined
Nov 24, 2012
Messages
1,261
Trophies
1
Location
Gothenburg, Sweden
Website
www.sweetsideofsweden.com
XP
1,749
Country
Sweden
Guys should we define some kind of graphics design guide line? Something like this: http://www.google.com/design/spec/material-design/introduction.html

I think that a standard design applied to every homebrew around here would be great. We should choose how the status bar should be, buttons, colors (if the background is blue, the status bar has to be dark blue, for example) and everything else!
That would be great, as long as we go for modern or flat im okay :)
 
  • Like
Reactions: AlbertoSONIC

AlbertoSONIC

Pasta Team Member
Member
Joined
Jun 27, 2014
Messages
927
Trophies
0
Age
52
Website
www.albertosonic.com
XP
1,396
Country
Italy
Yeah i agree. Something like Android Lollipop's Material Design...
126a4d496878a10176b58c8a4e855a40.jpg
 
  • Like
Reactions: filfat

Duo8

Well-Known Member
Member
Joined
Jul 16, 2013
Messages
3,613
Trophies
2
XP
3,040
Country
Vietnam
An UI lib would be convenience but I think devs should be encouraged to create their own UI instead. This is a game console, not a smartphone. There's no need to make every app exactly like each other.
 
  • Like
Reactions: NEP and filfat

filfat

CTO @ Nordcom Group Inc.
Member
Joined
Nov 24, 2012
Messages
1,261
Trophies
1
Location
Gothenburg, Sweden
Website
www.sweetsideofsweden.com
XP
1,749
Country
Sweden
An UI lib would be convenience but I think devs should be encouraged to create their own UI instead. This is a game console, not a smartphone. There's no need to make every app exactly like each other.
True, but it would make it easier to use for the end user. Anyways im going to go for one design and stick with it for all the future hb Projects i might be working on :)
 

Stalkid64

Well-Known Member
Member
Joined
Apr 20, 2008
Messages
119
Trophies
0
XP
185
Country
United States
Odd little quirk I just ran into that might help some people.
I was having mysterious issues with "make" failing, even on things that built before.

Turns out that even using the very latest devkitPro updater, and despite the tutorials saying `just install devkitpro from the latest installer` you actually need to manually expand the list and tick the box under devkitarm to get libctru. It IS NOT checked by default like everything else, even when devkitarm is, and won't be installed unless you change it yourself.
 

mvmiranda

Well-Known Member
Member
Joined
Oct 29, 2013
Messages
1,457
Trophies
1
Location
Brazil, Sao Paulo
Website
www.gamemod.com.br
XP
1,673
Country
Brazil
I'm trying to compile BlargSnes and so far I've pretty much had every type of error you can possibly imagine :P

I've (probably) sorted them already but I just hit one I can't imagine how to sort now. Any clues on what I'm doing wrong?
Am I using the wrong version of aemstro_as.py? Or anything else?
$ make -f ../marcusvm/Makefile
final.vsh
python /aemstro_as.py /home/marcusvm/data/final.vsh ../final.vsh.shbin
Traceback (most recent call last):
File "C:/Users/USER/Downloads/3DS/Toolchain/msys/aemstro_as.py", line 464
, in <module>
parseLine(dvlb.getDVLP(), dvle, line, False)
File "C:/Users/USER/Downloads/3DS/Toolchain/msys/aemstro_as.py", line 442
, in parseLine
dirList[name](dvlp, dvle, r.group(2))
File "C:/Users/USER/Downloads/3DS/Toolchain/msys/aemstro_as.py", line 353
, in parseConst
dvle.addConstantF((int(s[0],0), float(s[1]), float(s[2]), float(s[3]), float
(s[4])))
File "C:/Users/USER/Downloads/3DS/Toolchain/msys/aemstro_as.py", line 45,
in addConstantF
self._const.append((const[0]<<16, toFloat24(const[1]), toFloat24(const[2]),
toFloat24(const[3]), toFloat24(const[4])))
File "C:/Users/USER/Downloads/3DS/Toolchain/msys/aemstro_as.py", line 10,
in toFloat24
s=f[3]>>7
TypeError: unsupported operand type(s) for >>: 'str' and 'int'
make[1]: *** [final.vsh.o] Error 1
make: *** [build] Error 2

marcusvm@L1BFCHV ~
$

EDIT:
Will it be the python version I'm using? I'm using 2.7.8. Do I need 3.4 to compile 3DS homebrews?
 

YourNerdyJoe

Active Member
Newcomer
Joined
Jul 18, 2014
Messages
41
Trophies
0
Age
26
Website
yournerdyjoe.github.io
XP
179
Country
United States
I'm trying to compile BlargSnes and so far I've pretty much had every type of error you can possibly imagine :P

I've (probably) sorted them already but I just hit one I can't imagine how to sort now. Any clues on what I'm doing wrong?
Am I using the wrong version of aemstro_as.py? Or anything else?

EDIT:
Will it be the python version I'm using? I'm using 2.7.8. Do I need 3.4 to compile 3DS homebrews?

I'm pretty sure you need to use 3.4 with aemstro
 
  • Like
Reactions: mvmiranda

hippy dave

BBMB
Member
Joined
Apr 30, 2012
Messages
9,915
Trophies
2
XP
29,796
Country
United Kingdom
Urgh, another python version. I just installed 2.7 the other day for something else. Guess it can keep my laptop busy while I try and sleep. Actually fuck it, will leave it until I can be bothered to check out backward compatibility n shit. Can compile the examples that don't use shaders, so I doubt it will be immediately necessary for my first simple stuff.
 

Helreizer543

Well-Known Member
Newcomer
Joined
Nov 24, 2014
Messages
49
Trophies
0
Age
102
XP
119
Country
United States
Hey I have a quick question. I'm trying to write homebrew in c++, I was writing it in C but I'm not to comfortable with C, and I'm having trouble with my compiler and the function "u8* gfxGetFramebuffer(gfxScreen_t screen, gfx3dSide_t side, u16* width, u16* height);" . basically I want to draw to the bottom screen so I use screenBottom = gfxGetFramebuffer(GFX_BOTTOM, GFX_BOTTOM, NULL, NULL); and it doesn't work. can anyone point me in the right direction? please?

--edit

I'm sorry. I am a little tired basically what i want to do is clear the frame buffer not draw on the screen. using c++
 

xem

Well-Known Member
Member
Joined
Nov 22, 2014
Messages
142
Trophies
0
Age
36
Location
Valbonne
XP
333
Country
France
Hey I have a quick question. I'm trying to write homebrew in c++, I was writing it in C but I'm not to comfortable with C, and I'm having trouble with my compiler and the function "u8* gfxGetFramebuffer(gfxScreen_t screen, gfx3dSide_t side, u16* width, u16* height);" . basically I want to draw to the bottom screen so I use screenBottom = gfxGetFramebuffer(GFX_BOTTOM, GFX_BOTTOM, NULL, NULL); and it doesn't work. can anyone point me in the right direction? please?

--edit

I'm sorry. I am a little tired basically what i want to do is clear the frame buffer not draw on the screen. using c++

Hello,
take a look at this function: http://xem.github.io/3DShomebrew/doxygen/gfx_8c.html#aa8cba9e292462f55e7e90cea5ff79e26

Its job is to clear the 3 framebuffers (top left top right and bottom)


Try to use the 3rd line to clear bottom only.

http://xem.github.io/3DShomebrew/doxygen/gfx_8c_source.html#l00144
 

Helreizer543

Well-Known Member
Newcomer
Joined
Nov 24, 2014
Messages
49
Trophies
0
Age
102
XP
119
Country
United States

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • K3Nv2 @ K3Nv2:
    Speedcum
    +1
  • BigOnYa @ BigOnYa:
    I mean what would you really need that fast for tho, 500mb streams 4k fine. 1gb should be fine for 8k eventually. That's what I just switched to Spermrum.
  • Psionic Roshambo @ Psionic Roshambo:
    I was funny to have both networks running lol
  • Psionic Roshambo @ Psionic Roshambo:
    It was cheaper lol
  • Psionic Roshambo @ Psionic Roshambo:
    The only reason I switched was $$$
  • Psionic Roshambo @ Psionic Roshambo:
    Might have only been like 7 bucks but thats like 84 dollars at the end of the year lol
  • Psionic Roshambo @ Psionic Roshambo:
    840 dollars after 10 years
  • K3Nv2 @ K3Nv2:
    I hope I can be rich enough to pay all bills annually someday
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    Not that I will save the money, rather I will just spend it on other crap lol
  • Psionic Roshambo @ Psionic Roshambo:
    lol just do autopay it's as lazy as it gets
  • BigOnYa @ BigOnYa:
    @K3Nv2 tell uremum to start charging, then you keep the money
    +1
  • K3Nv2 @ K3Nv2:
    I charge your wife rent at this point
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Now serving number E73
    +1
  • BigOnYa @ BigOnYa:
    Good, maybe she will leave me the f alone, now I can drink, smoke, and play my games in peace!
    +1
  • K3Nv2 @ K3Nv2:
    The DMV giving citizens of Detroit empowerment
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, and with yourself :creep:
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    As a reminder crack pipes left in the lobby will be thrown away, the DMV is not responsible for lost crack pipes!
  • K3Nv2 @ K3Nv2:
    I got a camera I can film what I want
    +1
  • BigOnYa @ BigOnYa:
    Gotta give my fans what they want...
    +1
  • K3Nv2 @ K3Nv2:
    Deeze nuts
  • ZeroT21 @ ZeroT21:
    get crackin'
  • Psionic Roshambo @ Psionic Roshambo:
    Well hmm got that Eeros 6+ router working so no need for a new one for now lol
  • Psionic Roshambo @ Psionic Roshambo:
    Scratch!!! In broad daylight!!!
    Psionic Roshambo @ Psionic Roshambo: Scratch!!! In broad daylight!!!