Txt to Gct

Discussion in 'Wii - Emulation and Homebrew' started by Riicky, Jan 22, 2010.

Jan 22, 2010

Txt to Gct by Riicky at 6:05 PM (3,243 Views / 0 Likes) 5 replies

  1. Riicky
    OP

    Member Riicky GBAtemp Advanced Fan

    Joined:
    May 15, 2009
    Messages:
    607
    Location:
    Reading,Pennsylvania
    Country:
    United States
    Not sure if this is where this should be posted, but im currently trying to build my own "code manager" for PC if you will, but I lack the knowledge to convert txt to gct..would anybody here know how?
     
  2. Vattu

    Member Vattu GBAtemp Regular

    Joined:
    May 27, 2009
    Messages:
    186
    Location:
    Sweden
    Country:
    Sweden
    some (if not all current usb loaders) have such a conversion built-in their program. most are open-source. I know that source code to elder versions of cfg usb loader are released.
     
  3. Riicky
    OP

    Member Riicky GBAtemp Advanced Fan

    Joined:
    May 15, 2009
    Messages:
    607
    Location:
    Reading,Pennsylvania
    Country:
    United States
    I don't want to make one that runs on the wii, I want to improve on Code Manager for PC
     
  4. bdr9

    Member bdr9 GBAtemp Advanced Fan

    Joined:
    Jul 21, 2008
    Messages:
    558
    Country:
    United States
    He was saying that you could maybe still look at that wii source code and use it to help to improve the PC program.
     
  5. giantpune

    Member giantpune GBAtemp Addict

    Joined:
    Apr 10, 2009
    Messages:
    2,860
    Country:
    United States
    the functions used in all the usb loaders are written in c. maybe 1 or 2 of them use c++ for this. that means that those functions will works perfectly fine for a PC. you just need to write a little bit of code to read the txt file from a hard drive into a buffer in memory. then give that memory buffer to these functions. and they will spit out a memory buffer that you write to a gct file with fwrite or whatever.
     
  6. Riicky
    OP

    Member Riicky GBAtemp Advanced Fan

    Joined:
    May 15, 2009
    Messages:
    607
    Location:
    Reading,Pennsylvania
    Country:
    United States
    thanks pune, that's what I wanted to hear
     

Share This Page