1. Foxi4

    OP Foxi4 On the hunt...
    Supervisor

    Joined:
    Sep 13, 2009
    Messages:
    25,768
    Country:
    Poland
    Keep in mind that C# is very different from C as it's interpreted, not pre-compiled. The syntax is similar, but the principles are a little different. C also has no automatic garbage collection and lacks many of the handy tools both C++ and C# have access to. ;)
     
    sonicvssilver22 likes this.
  2. MrMcTiller

    MrMcTiller GBATemp's Tiller
    Member

    Joined:
    Mar 7, 2017
    Messages:
    1,125
    Country:
    United States
  3. MrMcTiller

    MrMcTiller GBATemp's Tiller
    Member

    Joined:
    Mar 7, 2017
    Messages:
    1,125
    Country:
    United States
    Hey @Foxi4 , do you think that if I get a Raspbery PI3 and install Windows 10 IoT Core onto it, I could use devkitpro?
     
  4. Foxi4

    OP Foxi4 On the hunt...
    Supervisor

    Joined:
    Sep 13, 2009
    Messages:
    25,768
    Country:
    Poland
    I'm unaware of how development would look like on a non-x86 machine. Probably? Can't you just ask? Surely you know someone who does have admin access to the machine, right?
     
    MrMcTiller likes this.
  5. MrMcTiller

    MrMcTiller GBATemp's Tiller
    Member

    Joined:
    Mar 7, 2017
    Messages:
    1,125
    Country:
    United States
    Yeah... but it's a school computer and my teacher won't like me installing random dev software.
     
  6. Sledgehogg

    Sledgehogg Member
    Newcomer

    Joined:
    Dec 1, 2018
    Messages:
    25
    Country:
    Denmark
    I don't know if anyone will ever respond to this, but the drunkencoders webpage doesn't exist anymore, so i can't download the wizard. I've been searching a bit around the internet without any luck, so i pray that whoever sees this, has a download link.
    Thank you in advance!
     
  7. Foxi4

    OP Foxi4 On the hunt...
    Supervisor

    Joined:
    Sep 13, 2009
    Messages:
    25,768
    Country:
    Poland
    Yeah, there's no more wizard unfortunately, you have to compile with MAKE.exe from the devkit as usual. You might want to switch from Visual Studio to Notepad ++ as well.
     
    MrMcTiller likes this.
  8. KlasseyKreations

    KlasseyKreations photon readings negative
    Member

    Joined:
    Feb 20, 2017
    Messages:
    270
    Country:
    Portugal
    So @Foxi4 a friend of mine wanted to get into DS Programming and I immediately recommended your guide, but he was wondering what guides to use after learning the basics, could you recommend any
     
  9. Foxi4

    OP Foxi4 On the hunt...
    Supervisor

    Joined:
    Sep 13, 2009
    Messages:
    25,768
    Country:
    Poland
    Once you get the basics I recommend going straight into pure Libnds. The DS is a very simple platform with a very rich documentation, it's perfect for your own experiments. When you understand what's going on and why, there's not much further guidance you really need.
     
    KlasseyKreations likes this.
  10. KlasseyKreations

    KlasseyKreations photon readings negative
    Member

    Joined:
    Feb 20, 2017
    Messages:
    270
    Country:
    Portugal
    Got it
     
    Last edited: Mar 10, 2019
  11. KlasseyKreations

    KlasseyKreations photon readings negative
    Member

    Joined:
    Feb 20, 2017
    Messages:
    270
    Country:
    Portugal
    @Foxi4 okay another question, I see that you've written this guide by teaching the basics of C, however if someone were to learn c++, could they still use the guide (or at least the later parts?)
     
  12. Foxi4

    OP Foxi4 On the hunt...
    Supervisor

    Joined:
    Sep 13, 2009
    Messages:
    25,768
    Country:
    Poland
    C++ is effectively C on steroids. They're both compiled to native machine code, you can use either and achieve the same result. On the DS I personally like to have full control over garbage collection and memory allocation, C++ is set up to do these things automatically. The DS doesn't have a whole lot of memory, so knowing exactly where everything is was handy for me. I guess it's a matter of preference, but in any case, you can use either, or even both, really.
     
    KlasseyKreations and Coto like this.
  13. Coto

    Coto -
    Member

    Joined:
    Jun 4, 2010
    Messages:
    2,629
    Country:
    Chile
    not to mention C++ on the DS is unstable since the OOP paradigm runs around the new and delete operators, and in the lower level, these are (at least in GCC) dependant on malloc/free, and the dmalloc (Doug Lea malloc) implementation used widely in GCC causes memory fragmentation. Making C++ code on the DS to cause memory issues sometimes.

    so for NDS it's best to use C and control the memory yourself, or pull a John Carmack and use static buffers but these take much memory depending on the linker settings.
     
    Last edited: Mar 21, 2019
    Foxi4 and KlasseyKreations like this.
  14. Wooaw2005

    Wooaw2005 Member
    Newcomer

    Joined:
    Feb 5, 2019
    Messages:
    39
    Country:
    United Kingdom
    I'd like to get in to ds homebrew but there is one problem
    I can't find drunkencoders anywhere.
    If somebody can find them or atleast upload their libraries it would be awesome!
     
  15. KlasseyKreations

    KlasseyKreations photon readings negative
    Member

    Joined:
    Feb 20, 2017
    Messages:
    270
    Country:
    Portugal
    Awesome, we need more active members in DS homebrew, ask me anything you need :)

    And for drunkencoders, ill look around my old PC for it, if not ill let you know
     
  16. Wooaw2005

    Wooaw2005 Member
    Newcomer

    Joined:
    Feb 5, 2019
    Messages:
    39
    Country:
    United Kingdom
    Awesome!!!
    I really appreciate it!!
    Finally I could get into homebrew!!! :yaynds::nds:
     
  17. KlasseyKreations

    KlasseyKreations photon readings negative
    Member

    Joined:
    Feb 20, 2017
    Messages:
    270
    Country:
    Portugal
    Hmm unfortunately im unable to find it (what happens when you have an old messy computer)
    At most you should try what Foxi4 said before
     
  18. Wooaw2005

    Wooaw2005 Member
    Newcomer

    Joined:
    Feb 5, 2019
    Messages:
    39
    Country:
    United Kingdom
    Oh, OK!
    I thought that DrunkenCoders was the only viable compiler.
    Thanks anyways!:yaynds:
     
  19. toberkel

    toberkel GBAtemp Regular
    Member

    Joined:
    Nov 21, 2016
    Messages:
    184
    Country:
    Germany
    Can Someone help me out? I cant build a .plg file with the build.bat because i get a ton of errors.

    I tried to build it from an backup of the source - Errors
    Local Copy - Errors
    Official Plugin with source from RyDog - Errors

    I always get a lot of "undefined reference to new_enty_with_note"
    But how is it possible that i can´t build the plugin with original source files?
    Am I missing something? Devkit and Phyton is installed...
     
  20. Foxi4

    OP Foxi4 On the hunt...
    Supervisor

    Joined:
    Sep 13, 2009
    Messages:
    25,768
    Country:
    Poland
    You don't need Python. What exactly are you trying to compile? Which example? Are you sure you're in the right place? :)
     
    zoogie likes this.
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - Programming, Newbies,