Homebrew Inquiry About Homebrew Development

  • Thread starter Deleted User
  • Start date
  • Views 1,052
  • Replies 9
D

Deleted User

Guest
OP
I recently started learning how to make Homebrew for the Xbox 360 and would like to tie in my learnings with the 3ds scene by making a tool to connect my 3ds to my console. However I had a question in regards to the development of this application.

The xbox uses C# which is different from the 3ds so my question is. How would I be able to include the correct dependency in my 3ds application?

i.e. the 360 would use the following DLLs

Code:
using JRPC_Client
using xDevkit

While I see the 3ds is setup completely differently with an "h" file.

Would someone be willing to shed some light on this, or point me in the right direction?
 

daxtsu

Well-Known Member
Member
Joined
Jun 9, 2007
Messages
5,627
Trophies
2
XP
5,194
Country
Antarctica
An .h file is a header file for C/C++. You can't program homebrew on the 3DS in C#. You can, however use Lua and/or C/C++.
 
D

Deleted User

Guest
OP
An .h file is a header file for C/C++. You can't program homebrew on the 3DS in C#. You can, however use Lua and/or C/C++.
That is what Im trying to figure out. Im trying to use C++ currently. However is it possible to call the required dependencies with this, if they are from a dll?

All the DLL does is point to the plugin that is on the console that i am trying to control
 

Joom

 ❤❤❤
Member
Joined
Jan 8, 2016
Messages
6,067
Trophies
1
Location
US
Website
mogbox.net
XP
6,077
Country
United States
You can use Obj-C, which you possibly may be familiar with. Though I'm wondering about the usefulness of connecting a 3DS to a 360. And no, you wouldn't be able to call a DLL on a 3DS since that's a Windows specific format (dynamically linked library). The 3DS is a lot more similar to UNIX.
 
Last edited by Joom,
D

Deleted User

Guest
OP
You can use Obj-C, which you possibly may be familiar with. Though I'm wondering about the usefulness of connecting a 3DS to 360.
Convenience really. If you have a modified console there are some things you can do that involve RTE :)

if I use obj-c for this application I should be able to call that dll and build without issue?
 

TheCruel

Developer
Banned
Joined
Dec 6, 2013
Messages
1,350
Trophies
2
XP
3,131
Country
United States
You need static linking, dynamic linking won't work, especially linking with windows dlls. You will need to recompile those libraries into static archives using a cross-compiler (presumably devkitARM).
 
  • Like
Reactions: Deleted User

Joom

 ❤❤❤
Member
Joined
Jan 8, 2016
Messages
6,067
Trophies
1
Location
US
Website
mogbox.net
XP
6,077
Country
United States
Convenience really. If you have a modified console there are some things you can do that involve RTE :)

if I use obj-c for this application I should be able to call that dll and build without issue?
No. Sorry, edited my post before you replied. The XBOX family uses a modified version of Windows (OG uses WinXP, and 360 and XBONE use WIN 8/10), much like the iPhone uses a heavily modified version of Darwin and OS X.
 
Last edited by Joom,
  • Like
Reactions: Deleted User
D

Deleted User

Guest
OP
You need static linking, dynamic linking won't work, especially linking with windows dlls. You will need to recompile those libraries into static archives using a cross-compiler (presumably devkitARM).
No. Sorry, edited my post before you replied. The XBOX family uses a modified version of Windows, much like the iPhone using a heavily modified version of Darwin and OS X.
Thank you. Ill look into find the source of this DLL to see if I can get a header out of it :)

I appreciate the help. I thought it would be cool to send some cool xNotifies to my console from the other side of the room lol
pmN8Wu7.png
 

Joom

 ❤❤❤
Member
Joined
Jan 8, 2016
Messages
6,067
Trophies
1
Location
US
Website
mogbox.net
XP
6,077
Country
United States
Thank you. Ill look into find the source of this DLL to see if I can get a header out of it :)

I appreciate the help. I thought it would be cool to send some cool xNotifies to my console from the other side of the room lol
pmN8Wu7.png
You can do something similar using the Notification API, but I forget what the actual call is. Refer to 3dbrew.org for more information.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: Fishy pineapple