Homebrew C# porting?

SAIYAN48

Kaiser Supremissimus
OP
Member
Joined
Mar 11, 2016
Messages
715
Trophies
1
Age
124
Location
The Ends of Eternity
XP
4,689
Country
Canada
I know that homebrew can be made in C++, which is a language I know a bit of since I'm studying it in programming class. Is there a way to port a C# program so that it would work on the O3DS? I like C# a lot more. (It's prettier :P)
 
D

Deleted User

Guest
I'm pretty sure there's no way to compile stuff programmed in C# for the 3DS, so you'd have to re-write it in C++ or another language that can be used on the 3DS.
 

Slashcash

Well-Known Member
Member
Joined
Oct 15, 2015
Messages
338
Trophies
0
XP
611
Country
Italy
I know that homebrew can be made in C++, which is a language I know a bit of since I'm studying it in programming class. Is there a way to port a C# program so that it would work on the O3DS? I like C# a lot more. (It's prettier :P)

No actual way to compile C# code to a 3ds executable. Your only option is to port your C# code to C++
 
D

Deleted User

Guest
Unity for 3DS uses C#, as well as Java. But you have to be an official registered dev to be able to use it anyway...
 
  • Like
Reactions: Deleted User

dpad_5678

Ape weak on own. Ape strong in unity.
Member
Joined
Nov 19, 2015
Messages
2,219
Trophies
1
XP
2,880
Country
United States
Use C or Cpp. It's similar to C# and it's cross compatible with, like, all Systems Homebrew wise.
 

evandixon

PMD Researcher
Developer
Joined
May 29, 2009
Messages
1,725
Trophies
1
Website
projectpokemon.org
XP
2,329
Country
United States
Programming for the 3DS is a bit more low-level than for the PC. With limited RAM (64 or 128 MB I think), C/C++ is the language of choice, since it doesn't have a lot of overhead, and gives you fine control over memory usage. C# runs on top of a framework that would have to be designed for the 3DS, and would take up precious resources. For homebrew, I think doing that would be impractical. If Unity really does use C#, I wouldn't think the potential for its games would be as high as with just C++.

Just be thankful you don't have to use assembly. *shudders*
 
D

Deleted User

Guest
If Unity really does use C#, I wouldn't think the potential for its games would be as high as with just C++
I think Unity is better than homebrew by far.
For many reasons!

1) It's the real deal! No homebrew involved whatsoever!
2) If you know your way around Unity, it will be even easier to create 3DS applications! ;)
3) Not overly text-based like the main 3DS homebrew sources you see today. :P

Just take a look at this video! I think it will show you the full potential of what you can do with Unity! (For New3DS at least. ;))
 

evandixon

PMD Researcher
Developer
Joined
May 29, 2009
Messages
1,725
Trophies
1
Website
projectpokemon.org
XP
2,329
Country
United States
I think Unity is better than homebrew by far.
For many reasons!

1) It's the real deal! No homebrew involved whatsoever!
2) If you know your way around Unity, it will be even easier to create 3DS applications! ;)
3) Not overly text-based like the main 3DS homebrew sources you see today. :P

Just take a look at this video! I think it will show you the full potential of what you can do with Unity! (For New3DS at least. ;))

By potential, I meant the maximum of what could be done. I'm sure it's easier with Unity, but it probably won't be like what could be accomplished with C++ (which is harder).
 

aracom

Well-Known Member
Member
Joined
Oct 1, 2015
Messages
476
Trophies
0
XP
363
Country
Gambia, The
I think Unity is better than homebrew by far.
For many reasons!

1) It's the real deal! No homebrew involved whatsoever!
2) If you know your way around Unity, it will be even easier to create 3DS applications! ;)
3) Not overly text-based like the main 3DS homebrew sources you see today. :P

Just take a look at this video! I think it will show you the full potential of what you can do with Unity! (For New3DS at least. ;))

Too bad it's not really common to find a build of unity for 3ds, it's even worse for wiiu builds(I don't think there even are any leaks atm?).
So I think you were lucky enough to get into Nintendos Dev Program?
 

sup3rgh0st

Top Tier Ghost
Member
Joined
Apr 22, 2010
Messages
456
Trophies
1
XP
2,710
Country
United States
I think Unity is better than homebrew by far.
For many reasons!

1) It's the real deal! No homebrew involved whatsoever!
2) If you know your way around Unity, it will be even easier to create 3DS applications! ;)
3) Not overly text-based like the main 3DS homebrew sources you see today. :P

Just take a look at this video! I think it will show you the full potential of what you can do with Unity! (For New3DS at least. ;))

How did you get the 3DS unity license? Did you register with Nintendo or are there "other ways". What kind of file does it export to?
 
D

Deleted User

Guest
Too bad it's not really common to find a build of unity for 3ds, it's even worse for wiiu builds(I don't think there even are any leaks atm?).
I already have Unity for Wii U. I am itching to leak it, but I should really not do that. I have my morals™ with me. :P

So I think you were lucky enough to get into Nintendos Dev Program?
I joined this guy's "company" recently. We've not been officially approved just yet, so I don't exactly have Unity for 3DS with me at the moment. Maybe in a month or so. :P

--------------------- MERGED ---------------------------

What kind of file does it export to?
AFAIK, they export CCI and CIA files. You should rely on CCI builds more if you are planning to build for a retail 3DS. CIAs are for Dev units only at the moment.
 

Reisyukaku

Onii-sama~
Developer
Joined
Feb 11, 2014
Messages
1,534
Trophies
2
Website
reisyukaku.org
XP
5,422
Country
United States
1. C# isnt compiled to machine code, its compiled to byte code (MSIL specifically) and has to run on MS's CLR environment.
2. Unity is apparently a thing for n3ds, but I personally wouldnt touch it with a 10ft poll. Theres a reason its n3ds only, because the extreme code overhead that would cause o3ds to lag.
 
  • Like
Reactions: andriy921

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • TwoSpikedHands @ TwoSpikedHands:
    I just found out that the EU version is better in literally every way, better sound quality, better lighting, and there's even a patch someone made to make the text look nicer
  • TwoSpikedHands @ TwoSpikedHands:
    Do I restart now using what i've learned on the EU version since it's a better overall experience? or do I continue with the US version since that is what ive been using, and if someone decides to play my hack, it would most likely be that version?
  • Sicklyboy @ Sicklyboy:
    @TwoSpikedHands, I'll preface this with the fact that I know nothing about the game, but, I think it depends on what your goals are. Are you trying to make a definitive version of the game? You may want to refocus your efforts on the EU version then. Or, are you trying to make a better US version? In which case, the only way to make a better US version is to keep on plugging away at that one ;)
  • Sicklyboy @ Sicklyboy:
    I'm not familiar with the technicalities of the differences between the two versions, but I'm wondering if at least some of those differences are things that you could port over to the US version in your patch without having to include copyrighted assets from the EU version
  • TwoSpikedHands @ TwoSpikedHands:
    @Sicklyboy I am wanting to fully change the game and bend it to my will lol. I would like to eventually have the ability to add more characters, enemies, even have a completely different story if i wanted. I already have the ability to change the tilemaps in the US version, so I can basically make my own map and warp to it in game - so I'm pretty far into it!
  • TwoSpikedHands @ TwoSpikedHands:
    I really would like to make a hack that I would enjoy playing, and maybe other people would too. swapping to the EU version would also mean my US friends could not legally play it
  • TwoSpikedHands @ TwoSpikedHands:
    I am definitely considering porting over some of the EU features without using the actual ROM itself, tbh that would probably be the best way to go about it... but i'm sad that the voice acting is so.... not good on the US version. May not be a way around that though
  • TwoSpikedHands @ TwoSpikedHands:
    I appreciate the insight!
  • The Real Jdbye @ The Real Jdbye:
    @TwoSpikedHands just switch, all the knowledge you learned still applies and most of the code and assets should be the same anyway
  • The Real Jdbye @ The Real Jdbye:
    and realistically they wouldn't

    be able to play it legally anyway since they need a ROM and they probably don't have the means to dump it themselves
  • The Real Jdbye @ The Real Jdbye:
    why the shit does the shitbox randomly insert newlines in my messages
  • Veho @ Veho:
    It does that when I edit a post.
  • Veho @ Veho:
    It inserts a newline in a random spot.
  • The Real Jdbye @ The Real Jdbye:
    never had that i don't think
  • Karma177 @ Karma177:
    do y'all think having an sd card that has a write speed of 700kb/s is a bad idea?
    trying to restore emunand rn but it's taking ages... (also when I finished the first time hekate decided to delete all my fucking files :wacko:)
  • The Real Jdbye @ The Real Jdbye:
    @Karma177 that sd card is 100% faulty so yes, its a bad idea
  • The Real Jdbye @ The Real Jdbye:
    even the slowest non-sdhc sd cards are a few MB/s
  • Karma177 @ Karma177:
    @The Real Jdbye it hasn't given me any error trying to write things on it so I don't really think it's faulty (pasted 40/50gb+ folders and no write errors)
  • DinohScene @ DinohScene:
    run h2testw on it
    +1
  • DinohScene @ DinohScene:
    when SD cards/microSD write speeds drop below a meg a sec, they're usually on the verge of dying
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Samsung SD format can sometimes fix them too
  • Purple_Heart @ Purple_Heart:
    yes looks like an faulty sd
  • Purple_Heart @ Purple_Heart:
    @Psionic Roshambo i may try that with my dead sd cards
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    It's always worth a shot
    Psionic Roshambo @ Psionic Roshambo: It's always worth a shot