how to convert a c file to a binary file??????

Discussion in 'NDS - ROM Hacking and Translations' started by RT-9, Jul 8, 2008.

Jul 8, 2008
  1. RT-9
    OP

    Member RT-9 GBAtemp Regular

    Joined:
    Aug 5, 2007
    Messages:
    105
    Location:
    PEI
    Country:
    Canada
    i need to convert a c file to binary and i dont know what to do
    i tryed poweriso but that is...not..really what i need T_T

    is there a converter app for this??
    or do i need to do this in dos or in a batch file?? [​IMG]

    romthunder

    (busy with a project from a source called ifile [​IMG] )
     
  2. Pyrofyr

    Member Pyrofyr GBAtemp Maniac

    Joined:
    Apr 24, 2008
    Messages:
    1,258
    Location:
    Miami
    Country:
    United States
    If you mean a c project, you should just have to compile it O.o;
     
  3. RT-9
    OP

    Member RT-9 GBAtemp Regular

    Joined:
    Aug 5, 2007
    Messages:
    105
    Location:
    PEI
    Country:
    Canada
    yeah but i want to change the screens when i load the app i want to change the pictures

    i hace changed al the pictures i can find but nothing really worked except that binary file there must be a way to change this or not?

    so? i can compile but that,s not my point
    my point is to make a .bin from a c file

    what you say is about to compile but that is not what i asked
     
  4. Pyrofyr

    Member Pyrofyr GBAtemp Maniac

    Joined:
    Apr 24, 2008
    Messages:
    1,258
    Location:
    Miami
    Country:
    United States
    1)Why?
    2)If you want to change something either learn how to reverse engineer or you know... just have the source.

    Not sure why you would want to, but in any case, if it's to make a .bin file this probably isn't the best place to ask it.
     
  5. RT-9
    OP

    Member RT-9 GBAtemp Regular

    Joined:
    Aug 5, 2007
    Messages:
    105
    Location:
    PEI
    Country:
    Canada
    do you know any site that explains this then??? i really need to know
    (sorry if this is against the rules)
     
  6. Pyrofyr

    Member Pyrofyr GBAtemp Maniac

    Joined:
    Apr 24, 2008
    Messages:
    1,258
    Location:
    Miami
    Country:
    United States
    I'm pretty sure that you would just compile it differently, but you should be able to just google something like this.
     
  7. wildz0r

    Newcomer wildz0r Newbie

    Joined:
    Jun 30, 2008
    Messages:
    6
    Country:
    Australia
    Is this a homebrew program? If so, google for some guides on using the devkit ARM toolchains. You need that to compile ROMs from source for the DS.

    Sounds like you're very new to this though, so even before that I'd suggest looking up some tutorials on the basics of C language programming.
     
  8. RT-9
    OP

    Member RT-9 GBAtemp Regular

    Joined:
    Aug 5, 2007
    Messages:
    105
    Location:
    PEI
    Country:
    Canada
    yes i,m new with c programming but someone who knows the c language helps me out with some of the c code
    i feel stupid...to not read anything before i started to try things out...

    sigh... [​IMG] [​IMG]

    but ehm what are arm toolchains???xD never saw that one before
    ----------------

    to answer you question if this is a homebrew program.. yes it is i,m trying to make something else from a source i downloaded from te internet i browse the source very carefully to see how its builded
    and really i learn quicker by just doing it but i figured out that i really have to read a tutorial according to your reply but if you want to look the source and all the files the app is originally called ifile

    here is the source
    (this site works better with firefox for some reason ie wont download me any stuff instead ie just reload the page)
     
  9. Sephi

    Member Sephi fool

    Joined:
    Jan 21, 2008
    Messages:
    1,850
    Location:
    Rhode Island
    Country:
    United States
    Maybe you should start small and make a few programs of your own first
     
  10. RT-9
    OP

    Member RT-9 GBAtemp Regular

    Joined:
    Aug 5, 2007
    Messages:
    105
    Location:
    PEI
    Country:
    Canada
    i always want to quick.. i think sometimes i can do it without any stupid tutorial

    but thanks for your help maybe you see something later....

    .....atleast i hope so

    but one last question do you know where are good tutorials???
    (i hate to ask much.. [​IMG] )
     
  11. Sephi

    Member Sephi fool

    Joined:
    Jan 21, 2008
    Messages:
    1,850
    Location:
    Rhode Island
    Country:
    United States
    I know a good c++ tutorial (cplusplus.com)

    don't know about plain C though
     
  12. RT-9
    OP

    Member RT-9 GBAtemp Regular

    Joined:
    Aug 5, 2007
    Messages:
    105
    Location:
    PEI
    Country:
    Canada
    oke thanks thats all
     
  13. Pyrofyr

    Member Pyrofyr GBAtemp Maniac

    Joined:
    Apr 24, 2008
    Messages:
    1,258
    Location:
    Miami
    Country:
    United States
    There are many great C tutorials out there. The best way to start learning programming is either
    A)C++ DIRECTLY for the Nintendo DS
    B)C# for Windows (kits make it EASY as hell, and avoid many problems that are standard of C++)

    http://www.gamedev.net/ forums
    For ANY beginning programming.
     
  14. BigX

    Member BigX GBAtemp Regular

    Joined:
    Aug 29, 2007
    Messages:
    292
    Location:
    over there
    Country:
    Canada
    almost didn't notice that.
    A lot of my fellow students thought exactly the same way as you...you know...want to learn it the fast way...Most of 'em did not finish thy computer science studies.

    If you want to learn programming you''ll have a long way to learn...there is no good short cut and everybody needs different ways to learn.

    - come to the dark side (we have cookies)
     
  15. RT-9
    OP

    Member RT-9 GBAtemp Regular

    Joined:
    Aug 5, 2007
    Messages:
    105
    Location:
    PEI
    Country:
    Canada
    i founded a good tutorial made for the ds so i go read it all

    *hmpf* always making mistakes.. well what should my next mistake be
     

Share This Page