Creating A YouTube Uploader For 3DS Homebrew, & Need Help.

Discussion in '3DS - Homebrew Development and Emulators' started by Merch, Jul 28, 2016.

  1. Merch
    OP

    Merch Tutorial God, Apparently.

    Banned
    225
    63
    Feb 9, 2016
    United States
    Music Park, Mushroom Kingdom
    So, yes. Your eyes are not deceiving you. I finally took the liberty to try & create a YouTube Uploader for 3DS.

    My only concern is that I've never really worked with C or the YouTube API before; just only HTML. So I'm probably gonna need a little bit of guidance before I fully flesh this thing out.

    Some of the features I'm planning on including are:

    • A File Manager that takes you to DCIM to upload whatever video you want that's in your DCIM Folder.
    • 3DS Compatibility, mostly.
    • UI/GUI (at a later date).
    • Direct Upload.
    • Ability to have the system sleep when the upload is taking too long.
    • Press START to exit to Home Menu or HB Menu.
    There's probably gonna be more at a later date, but I just need help getting started, & that's one of the issues I face whenever I try coding stuff, because it never really turns out good.

    Here's some of the code I've been working with as of late:

    [​IMG]

    I hope this gives someone a general idea of what I'm trying to do. Thanks for listening.
     


  2. MasterFeizz

    MasterFeizz GBAtemp Advanced Fan

    Member
    888
    827
    Oct 15, 2015
    United States
    Why did you paste the content of an http packet on the source file?
     
  3. James310

    James310 GBAtemp Advanced Fan

    Member
    879
    319
    Oct 4, 2015
    United States
    Somewhere in California
    Not going to lie but this is really useless for a 3ds
     
  4. Merch
    OP

    Merch Tutorial God, Apparently.

    Banned
    225
    63
    Feb 9, 2016
    United States
    Music Park, Mushroom Kingdom
    Because I really didn't know what to do with the code or where to place the code in the main.c file on Notepad++. Like I said, never really worked with the YouTube API before, so I'm completely noobing out.

    — Posts automatically merged - Please don't double post! —

    Well, you do have a point, but I'm just gonna counteract it & say that it's definitely useful. Why? Because I'm trying to create an easier way to not have to use FTP or an SD Card to upload videos.
     
    Tomato Hentai likes this.
  5. MasterFeizz

    MasterFeizz GBAtemp Advanced Fan

    Member
    888
    827
    Oct 15, 2015
    United States
    Ok, so you need to learn how to crawl before you try to sprint. Start learning basic C, then learn how to do file operations with stdio and then learn networking. After the basics you can start focusing on writing a youtube uploader which will involve more things then you are probably thinking. While learning I would advice not coding for the 3ds and just make it for whatever OS you are using on your PC, as long as you are not using a platform specific library you can port the software to the 3ds with ease.
     
  6. PK101

    PK101 Cuttin' shit up in dis thread.

    Banned
    138
    147
    Jun 21, 2016
    United States
    Huehuehue in the zoo.
    FIANLLY! A homebrew "project" that isn't clickbait.
     
  7. Merch
    OP

    Merch Tutorial God, Apparently.

    Banned
    225
    63
    Feb 9, 2016
    United States
    Music Park, Mushroom Kingdom
    I'm trying my best. Recently got HTML Certified, so I'm not nearly top notch when it comes to other things. I've always wanted to learn other coding languages, so this should be a first for me.
     
  8. MasterFeizz

    MasterFeizz GBAtemp Advanced Fan

    Member
    888
    827
    Oct 15, 2015
    United States
    HTML is not a programming language... You might know javascript depending on what course you took, but HTML itself is not a programming language.
     
    Last edited by MasterFeizz, Jul 28, 2016
  9. Merch
    OP

    Merch Tutorial God, Apparently.

    Banned
    225
    63
    Feb 9, 2016
    United States
    Music Park, Mushroom Kingdom
    Thank you for the advice. I really appreciate your time trying to help me out. Even though I'm fresh out the box with the HTML Certification, I'm still trying to work my way to try & learn all of the coding languages I can, which might take me years of practice, but I'm still gonna try, anyways.

    — Posts automatically merged - Please don't double post! —

    It isn't? Wow. That's kinda weird. I never even knew, because my Programming Teacher had us start with HTML, & she said it was.

    — Posts automatically merged - Please don't double post! —

    Also, I'm sorry if I'm sounding braindead to you, but I literally am trying my best to be able to know how to do stuff like this.
     
  10. MasterFeizz

    MasterFeizz GBAtemp Advanced Fan

    Member
    888
    827
    Oct 15, 2015
    United States
    Don't worry, just start with the basics. If you are on windows I would suggest installing Visual Studio with Visual C++ and play around with that. Once you are more confortable you can move on to the 3DS. Keep in mind this is a fairly complex project to start with.
     
  11. Merch
    OP

    Merch Tutorial God, Apparently.

    Banned
    225
    63
    Feb 9, 2016
    United States
    Music Park, Mushroom Kingdom
    Oh, also forgot to mention
    Thanks. If it's gonna be complex in the first place, I'm up for a challenge. I've always loved challenging myself to do stuff.
     
  12. MasterLel

    MasterLel /x69/x73/x73/x6f/x75

    Member
    1,244
    450
    Mar 14, 2015
    France
    France
    I wonder what software your teacher can code in HTML :rofl2:
     
    Shadowfied and Roomsaver like this.
  13. Roboman

    Roboman GBAtemp Fan

    Member
    300
    70
    Jan 7, 2016
    United States
    Networking code in general is advanced. Start with some offline homebrew
     
  14. MagicInventor

    MagicInventor Member

    Newcomer
    30
    37
    Jul 23, 2016
    Argentina
    With curl it's easy, but need a port of this library...
     
  15. dude22072

    dude22072 GBAtemp Regular

    Member
    110
    27
    Jun 1, 2010
    United States
    Sorry to say, but if you don't know C you're not gonna be able to bodge your way through the Google Data API and the YouTube API. HTML, or the HyperText Markup Language, is not a programming language, it's a markup language. Furthermore, in order for this to be self contained and use the API you'd have to also write a 3DS web browser within the program as well, as all the YouTube API does is make the URLs for you that you need to access and retrieve/send data to YouTube, it's still reliant on having a web browser available to it.

    tl;dr Even for experienced programmers this would be a long undertaking.

    — Posts automatically merged - Please don't double post! —

    Hey, HTML5 is a thing. Kappa
     
    Last edited by dude22072, Jul 29, 2016
    Wafflepaint likes this.
  16. blujay

    blujay GBATemp's Official Warthog

    Member
    2,114
    1,962
    Nov 2, 2015
    United States
    Gilbert, Arizona
    If you can learn at least a little simple C, then you should contact the person in charge of these not sure if they are worth anything, haven't tested them out yet, but he might be able to help you.
     
  17. Merch
    OP

    Merch Tutorial God, Apparently.

    Banned
    225
    63
    Feb 9, 2016
    United States
    Music Park, Mushroom Kingdom
    lol

    — Posts automatically merged - Please don't double post! —

    Dude. My life lives for challenges. You think I can't handle that?

    — Posts automatically merged - Please don't double post! —

    I've actually seen this guy's work on "that CHAOS site". He's actually an amazing guy, I tell you. Might actually do that, tho. Thanks for the advice, man. Really appreciate it.

    — Posts automatically merged - Please don't double post! —

    Side note that this project was actually an idea of mine that I asked a friend on Twitter to check to see if this was feasible to do. If you don't know this guy, his name is Captain Southbird. He's a Vinesauce Stream Editor, & also a big fan of game decrypting, as well as the fact that he's the guy who made "Super Mario Bros. 3Mix"; if you've ever heard of the game, that is. So, I definitely wanna give him credit for this, because if I didn't ask for his help, I don't think I'd know what to do at this point.
     
  18. HappyzLife

    HappyzLife ( ͡° ͜ʖ ͡°)

    Member
    198
    74
    Sep 9, 2015
    Italy
    I'M EVERYWHERE
    Do we really need this homebrew?
     
    Wafflepaint likes this.
  19. Merch
    OP

    Merch Tutorial God, Apparently.

    Banned
    225
    63
    Feb 9, 2016
    United States
    Music Park, Mushroom Kingdom
    If you don't wanna use FTP or an SD Card, then yes. Probs just gonna be for o3DS Modules only, since n3DS is already set.
     
  20. LiamTheHackermon

    LiamTheHackermon GBAtemp Regular

    Member
    130
    78
    Jul 22, 2016
    United States
    This is so cool! I am really hyped for this! Thank you so much!