Homebrew Misc Compiling DS code

mgman

Active Member
OP
Newcomer
Joined
Dec 24, 2007
Messages
40
Trophies
1
XP
244
Country
United States
I'm asking around at various places, hoping someone might be able to help with this.

Has anyone had any experiencing trying to use nitrosdk, cygwin and codewarrior when it comes to trying to compile ds source?
 
  • Like
Reactions: rvtr

mgman

Active Member
OP
Newcomer
Joined
Dec 24, 2007
Messages
40
Trophies
1
XP
244
Country
United States
It's pretty old source, requiring visual studio .net 2003. But getting that old version set up was manageable. With me having absolutely 0 technical knowledge or experience on any of this, the roadblocks to compiling this are:

- No idea how to configure visual studio to the nitrosdk. For at least part of it, anyway, I'm supposed to set some environment variables in windows, but no one seems to know what. Don't know what else needs to be done beside the env vars.

- Compiling apparently requires codewarrior and cygwin, except just like the previous one, I have absolutely no idea what setting those up to build the code entails. At all.
 

mgman

Active Member
OP
Newcomer
Joined
Dec 24, 2007
Messages
40
Trophies
1
XP
244
Country
United States
I don't know how to use that at all, though. If it can build pre-2010 source code, I could give it a try, but I'd still need detailed steps on what to do (edit: REALLY precise steps, at that).
 
Last edited by mgman,
  • Like
Reactions: impeeza

impeeza

¡Kabito!
Member
Joined
Apr 5, 2011
Messages
6,392
Trophies
3
Age
46
Location
At my chair.
XP
18,860
Country
Colombia
I don't know how to use that at all, though. If it can build pre-2010 source code, I could give it a try, but I'd still need detailed steps on what to do (edit: REALLY precise steps, at that).
On this tutorial https://gbatemp.net/threads/building-atmosphere-on-windows-using-msys2.613446/ I (Hopely) explain how to setup a MSYS and DevKitPro environment and then how to build Atmosphere from the official Repo. The first part can be used to any homebrew.

Once you have the DevKitPro working you can install nds-dev package and any other package needed
 
  • Like
Reactions: mgman

Kwyjor

Well-Known Member
Member
Joined
May 23, 2018
Messages
4,323
Trophies
1
XP
4,461
Country
Canada
Why don't you just provide a link to whatever it is you're trying to compile, rather than leaving people to blindly guess at what you need?

It seems very unusual that you would need cygwin and Codewarrior and Visual Studio.
 
  • Love
Reactions: impeeza

impeeza

¡Kabito!
Member
Joined
Apr 5, 2011
Messages
6,392
Trophies
3
Age
46
Location
At my chair.
XP
18,860
Country
Colombia
1710822024971.png
 
  • Like
Reactions: mgman

mgman

Active Member
OP
Newcomer
Joined
Dec 24, 2007
Messages
40
Trophies
1
XP
244
Country
United States
Why don't you just provide a link to whatever it is you're trying to compile, rather than leaving people to blindly guess at what you need?

It seems very unusual that you would need cygwin and Codewarrior and Visual Studio.

Because I don't want to openly link to the WIP project I'm trying to get compiled. Those are the tools I was told are needed, and that's why I'm asking if anyone is familiar with them; I could get into more specifics with those users about it.
 
  • Like
Reactions: rvtr and impeeza

rvtr

Nintendo DS hoarder
Member
Joined
Oct 18, 2019
Messages
328
Trophies
2
Age
18
Location
$C000-CFFF
Website
randommeaninglesscharacters.com
XP
5,191
Country
Canada
It's pretty old source, requiring visual studio .net 2003. But getting that old version set up was manageable. With me having absolutely 0 technical knowledge or experience on any of this, the roadblocks to compiling this are:

- No idea how to configure visual studio to the nitrosdk. For at least part of it, anyway, I'm supposed to set some environment variables in windows, but no one seems to know what. Don't know what else needs to be done beside the env vars.
I can't help you with visual studio, but your environment variables should be:

NITROSDK_ROOT=C:/some/path/
The root directory of your NitroSDK.​
NITROSYSTEM_ROOT=C:/some/path
The root directory of your NitroSystem.​

Though this is all from memory, you might want to double check and see the exact variable names used in the SDK.

- Compiling apparently requires codewarrior and cygwin, except just like the previous one, I have absolutely no idea what setting those up to build the code entails. At all.
You'll need...

IS-NITRO Development Kit.rar
Install the IS-NITRO-DEBUGGER software.​
ensata_1_3c_.zip
Copy ensata to your program files directory.​
cw_ds-2_0-sp2-20071025.zip
Install this code warrior package.​
You'll also need to find a license for CW.​
A really old cygwin
There's a link to the installer somewhere on that page. Install it.​
All the cygwin packages needed for the Nitro and TWL SDKs
Download and do "install from local directory" in the cygwin installer.​

Also the NitroSDK and NitroSystem but I think that's obvious.

...that should be everything :unsure:

Oh well, I'll be here if not!

You might also be able to get a VM if you send a message to a random gbatemp user with a name starting and ending with R (assuming you're willing to wait a few days). But idk who that user could possibly be, good luck.
Post automatically merged:

have you trying DevKitPro on MSYS?
DKP won't work with SDK code.
 
  • Like
  • Love
Reactions: mgman and impeeza

mgman

Active Member
OP
Newcomer
Joined
Dec 24, 2007
Messages
40
Trophies
1
XP
244
Country
United States
I can't help you with visual studio, but your environment variables should be:

NITROSDK_ROOT=C:/some/path/
The root directory of your NitroSDK.​
NITROSYSTEM_ROOT=C:/some/path
The root directory of your NitroSystem.​

Though this is all from memory, you might want to double check and see the exact variable names used in the SDK.


You'll need...

IS-NITRO Development Kit.rar
Install the IS-NITRO-DEBUGGER software.​
ensata_1_3c_.zip
Copy ensata to your program files directory.​
cw_ds-2_0-sp2-20071025.zip
Install this code warrior package.​
You'll also need to find a license for CW.​
A really old cygwin
There's a link to the installer somewhere on that page. Install it.​
All the cygwin packages needed for the Nitro and TWL SDKs
Download and do "install from local directory" in the cygwin installer.​

Also the NitroSDK and NitroSystem but I think that's obvious.

...that should be everything :unsure:

Oh well, I'll be here if not!

You might also be able to get a VM if you send a message to a random gbatemp user with a name starting and ending with R (assuming you're willing to wait a few days). But idk who that user could possibly be, good luck.
Post automatically merged:


DKP won't work with SDK code.

Thanks so much! Actually wanted to ask about some of the requirements listed. Would I be able to PM you (or continue on discord)?
 
  • Like
Reactions: rvtr

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BakerMan
    I rather enjoy a life of taking it easy. I haven't reached that life yet though.
  • SylverReZ @ SylverReZ:
    @Materia_tofu, We do learn a lot from plenty of talented individuals.
  • Materia_tofu @ Materia_tofu:
    this is true! i learned how to make soundfont remixes from a friend back in 2021
    +1
  • BakerMan @ BakerMan:
    Update on my brother: He's home now, tired and hungry, obviously, but other than that, seems to be doing fine.
    +2
  • Veho @ Veho:
    That's a relief to hear. Do you know what happened?
  • SylverReZ @ SylverReZ:
    @BakerMan, Any idea what happened? I hope that your brother's doing good.
  • BakerMan @ BakerMan:
    Well, from what I've heard from my parents, he had a seizure last night, perhaps an epileptic episode, fucking died, had a near death experience, my dad called the paramedics, they showed up, took him to the hospital, and he woke up covered in tubes, and started complaining.
  • BakerMan @ BakerMan:
    He couldn't eat until after his MRI, when he had a bomb pop.
  • BakerMan @ BakerMan:
    What matters now is that he's doing alright.
  • Veho @ Veho:
    But you still don't know what it was?
  • Veho @ Veho:
    Has he had seizures before?
  • The Real Jdbye @ The Real Jdbye:
    apparently stress can cause seizures, my brother had one during a test once
  • The Real Jdbye @ The Real Jdbye:
    never had one before that, and never had one since
  • Redleviboy123 @ Redleviboy123:
    Question about game texture chanching Do i need an own game id?
  • The Real Jdbye @ The Real Jdbye:
    @Veho for those that want to
    experience being sonic the hedgehog
  • Veho @ Veho:
    Ah, you mean
    furries.
  • The Real Jdbye @ The Real Jdbye:
    well, sonic fans are a whole separate thing from furries
  • The Real Jdbye @ The Real Jdbye:
    like bronys
  • The Real Jdbye @ The Real Jdbye:
    sonic porn is too weird even for me
  • Dumpflam @ Dumpflam:
    bruh
  • Dumpflam @ Dumpflam:
    guys how do i delete a post
  • The Real Jdbye @ The Real Jdbye:
    you don't
  • The Real Jdbye @ The Real Jdbye:
    you can report it and request deletion
  • BakerMan @ BakerMan:
    Also, no, that was his first time having a seizure, and hopefully the last
    BakerMan @ BakerMan: Also, no, that was his first time having a seizure, and hopefully the last