So you want to learn to program?

Discussion in 'Computer Programming, Emulation, and Game Modding' started by FAST6191, Sep 9, 2014.

  1. flame1234

    flame1234 GBAtemp Advanced Fan

    Member
    692
    390
    May 17, 2009
    United States
    That is fine, but there are no stickied threads about this topic. Could you point me in the right direction? In the first 20 topics, there's one topic on modding (Freddy's) only.

    I never heard about radare2 before. Thanks for the tip!
     


  2. FAST6191
    OP

    FAST6191 Techromancer

    pip Reporter
    22,913
    8,583
    Nov 21, 2005
    There is not a lot in this section, and indeed not a lot for PC hacking in general. Still
    http://gbatemp.net/threads/gbatemp-rom-hacking-documentation-project-new-2014-edition-out.73394/
    https://gbatemp.net/threads/some-hacking-concepts-and-links.287721/

    Neither of those go into some of the more in depth PC stuff, like the videos linked in a second, but if you can follow those previous things linked then it should leave you most of the way there. Obviously I would wind in some X86 assembly knowledge ( http://www.plantation-productions.com/Webster/ and http://stuff.pypt.lt/ggt80x86a/asm1.htm being my chosen two things for PC based assembly) to this but if you can fiddle with one type of assembly language you can usually grasp the main parts of another in fairly short order.


     
    Margen67 likes this.
  3. Bad Bunny

    Bad Bunny Idol from Japan

    Member
    121
    149
    Feb 27, 2016
    Shinjuku
    I really want to know how they make english patch for some japanese novel visual game? And I want to learn
     
  4. cracker

    cracker Nyah!

    Member
    3,139
    404
    Aug 24, 2005
    United States
    The best place to learn is over at romhacking.net. Just be prepared for a steep learning curve since many games will use compression and non-standard formats of some sort to save space. It is really necessary that you learn to use a debugger and assembly language for the CPU of the system the game is on. Good luck!
     
  5. pwsincd

    pwsincd Garage Flower

    Member
    3,264
    1,654
    Dec 4, 2011
    Manchester UK
    For web noobies , a place i guarantee every web designer / coder has been too at some point in their learning curve... and is very useful. Has simple tutorials for all web based coding... there are more complex sites for more advanced programmers , especially with javascript with the masses and masses or libraries , its much more fun to learn yourself but there are libraries ready coded for most tasks you can think of.. but i digress.. my link is of course http://www.w3schools.com/
     
  6. PokeChampion

    PokeChampion GBAtemp Fan

    Member
    324
    13
    Apr 5, 2014
    United States
    I also have a hacker's manual book.
     
  7. Seriel

    Seriel Worshipper of Skiddos

    Member
    GBAtemp Patron
    Seriel is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    2,686
    4,627
    Aug 18, 2015
    *sees topic*
    No I don't.
    *quits topic*
     
  8. Nyap

    Nyap HTML Noob

    Banned
    973
    344
    Jan 13, 2016
    That Chaos Site
    anybody else struggle to remember the words:
    Enumerated types
    Enumerations
     
  9. FAST6191
    OP

    FAST6191 Techromancer

    pip Reporter
    22,913
    8,583
    Nov 21, 2005
    Why don't you want to learn to program?
     
  10. Seriel

    Seriel Worshipper of Skiddos

    Member
    GBAtemp Patron
    Seriel is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    2,686
    4,627
    Aug 18, 2015
    Not now, i've got more important things to be doing.
    Properly learning to code is something i'll pursue later.
     
  11. FAST6191
    OP

    FAST6191 Techromancer

    pip Reporter
    22,913
    8,583
    Nov 21, 2005
    Like you do not need to be accurately able to explain the concept of past participles to be able to speak a language enough to do you well you need not "properly" learn computers to have some kind of useful coding skill. Looking to the future I imagine not getting people able to fumble with a bit of code is going to be considered one of the great oversights of education from 1990 to today.

    If you mean you are not going to learn enough to get by now in the hopes of not having to unlearn things later when you go full bore into it then is a certain logic there. I am not so sure it is as applicable in computing as it is in other things, at least as long as you pick a good source to begin with.
     
  12. cracker

    cracker Nyah!

    Member
    3,139
    404
    Aug 24, 2005
    United States
    You kind of just have to take the plunge. If you have interest in it enough then you will learn. If not, then it isn't for you. Editing other people's source (especially with well commented code) is the easiest way to start for most along with looking at a book/site to help decipher functions, parameters. You have to start somewhere or you never will. Good luck!
     
  13. Nyap

    Nyap HTML Noob

    Banned
    973
    344
    Jan 13, 2016
    That Chaos Site
    my C++ tutorial says you need to #include the cstdint header to use fixed-width integers, but aren't fixed-width integers part of the core language? I can use them without the cstdint header on my setup (g++-4.9 w/ -std=c++14 flag)
     
  14. Nyap

    Nyap HTML Noob

    Banned
    973
    344
    Jan 13, 2016
    That Chaos Site
  15. cracker

    cracker Nyah!

    Member
    3,139
    404
    Aug 24, 2005
    United States
    It depends on the platform. An int could be 16-, 32-, 64-bit, etc. So it is a safeguard against problems (especially when doing ports to other platforms).
     
  16. Nyap

    Nyap HTML Noob

    Banned
    973
    344
    Jan 13, 2016
    That Chaos Site
    just finished the quiz for chapter 4 @ www.learncpp.com, pretty proud of myself
    Code:
    #include <iostream>
    #include <string>
    
    enum class Types
    {
        OGRE,
        DRAGON,
        ORC,
        GIANT_SPIDER,
        SLIME
    };
    
    structMonster
    {
        Types type;
        std::string name;
        int16_t health;
    };
    
    void printMonster(Monster monster)
    {
        std::cout << "This ogre is named " << monster.name
                  << " and has " << monster.health << " health\n";
    }
    
    int main()
    {
        Monster ogre{Types::OGRE,"Shrkek",200};
        Monsterslime{Types::SLIME,"Bloop",150};
        printMonster(ogre);
        printMonster(slime);
        return 0;
     
    Last edited by Nyap, May 18, 2016
  17. PokeChampion

    PokeChampion GBAtemp Fan

    Member
    324
    13
    Apr 5, 2014
    United States
    Mine is called (A Complete Hacker's Handbook)
     
  18. Vishnoo

    Vishnoo Failure is success if we learn from it.

    Member
    261
    32
    Jun 1, 2016
    India
    I think i should learn typewriting before programming.I hope it boosts my typing speed.
     
  19. RevPokemon

    RevPokemon Press F for Fried Chicken

    Member
    4,784
    2,387
    Aug 24, 2014
    United States
    Mossy COw
    Hmm I personally can't really code (I used to know basic HTML but those days are gone) but I am trying to teach myself so I can began to port programs in Unix
     
  20. FAST6191
    OP

    FAST6191 Techromancer

    pip Reporter
    22,913
    8,583
    Nov 21, 2005
    I don't think typing speed and programming have all that much to do with each other. Equally if you are programming faster than you can type you are probably valuable enough to have a typist handle it for you, or take a week to learn how to do it.

    Being able to type quickly and relatively accurately is a useful skill. Equally for the time being I don't imagine much useful programming will happen in the visual space (scratch is nice for teaching kids but anything practical is some time off) so it is necessary for programming. It is not terribly related beyond that though.