Having problems compiling snes9x gx fceu gx vba gx

Discussion in 'Wii - Emulation and Homebrew' started by comfaithgenesisr, Mar 12, 2010.

  1. comfaithgenesisr
    OP

    Member comfaithgenesisr GBAtemp Regular

    Joined:
    Nov 11, 2009
    Messages:
    229
    Location:
    Internet
    Country:
    United Kingdom
    This is how it went after i selected make file same for fceu gx and vba gx

    > "make"
    "make" -f Makefile.wii
    make[1]: Entering directory `/c/SNES9x'
    gui_button.cpp
    gui_element.cpp
    gui_filebrowser.cpp
    gui_image.cpp
    gui_imagedata.cpp
    gui_keyboard.cpp
    gui_optionbrowser.cpp
    gui_savebrowser.cpp
    gui_sound.cpp
    gui_text.cpp
    gui_trigger.cpp
    gui_window.cpp
    FreeTypeGX.cpp
    Metaphrasis.cpp
    audio.cpp
    cheatmgr.cpp
    filebrowser.cpp
    fileop.cpp
    filter.cpp
    freeze.cpp
    gcunzip.cpp
    gettext.cpp
    http.cpp
    input.cpp
    memfile.cpp
    menu.cpp
    networkop.cpp
    patch.cpp
    preferences.cpp
    s9xsupport.cpp
    snes9xGX.cpp
    c:/SNES9x/source/ngc/snes9xGX.cpp: In function 'int main(int, char**)':
    c:/SNES9x/source/ngc/snes9xGX.cpp:398: error: 'DI_LoadDVDX' was not declared in this scope
    make[2]: *** [snes9xGX.o] Error 1
    make[1]: *** [build_wii] Error 2
    make[1]: Leaving directory `/c/SNES9x'
    "make": *** [wii] Error 2
     
  2. matguitarist

    Member matguitarist GBAtemp Fan

    Joined:
    Oct 14, 2008
    Messages:
    458
    Location:
    Canada
    Country:
    Canada
    Here the link for the latest compiled source for all of them with 3rd party classic controller fix from henkp

    For compiling i reinstall devkit pro with latest libogc 1.8.2 ...

    Before reinstall, i got the same error as you

    http://www.megaupload.com/?d=PVKB7M6K
     
  3. Jacobeian

    Member Jacobeian GBAtemp Advanced Maniac

    Joined:
    May 15, 2008
    Messages:
    1,879
    Country:
    Cuba
    This function seems to have been introduced in libdi only 3 days ago, you need to grab latest libogc from SVN and recompile it.
    http://devkitpro.svn.sourceforge.net/viewv...921&r2=3972
     
  4. comfaithgenesisr
    OP

    Member comfaithgenesisr GBAtemp Regular

    Joined:
    Nov 11, 2009
    Messages:
    229
    Location:
    Internet
    Country:
    United Kingdom
    I got the latest libogc svn but how do i compile it because when i try it in cmd or programmers notepad i get this :

    Setting environment for using Microsoft Visual Studio 2010 x86 tools.

    C:\Program Files\Microsoft Visual Studio 10.0\VC>cd\libogc

    C:\libogc>make install
    mkdir: missing operand
    Try `mkdir --help' for more information.
    make: *** [install-headers] Error 1

    C:\libogc>make
    make[1]: Entering directory `/c/libogc/wii'
    make[1]: *** No rule to make target `console.o', needed by `/wii/libogc.a'. Sto
    p.
    make[1]: Leaving directory `/c/libogc/wii'
    make: *** [wii] Error 2

    C:\libogc>
     
  5. Jacobeian

    Member Jacobeian GBAtemp Advanced Maniac

    Joined:
    May 15, 2008
    Messages:
    1,879
    Country:
    Cuba
    you compile it like any other libraries , 'make' then 'make install' (not the contrary !)

    I think you should put it in c:/devkipro/, for example in libogc-src/
    also, you don't need visual studio to compile, just use mingw and the programmer's notepad bundled with devkitPPC installation
     
  6. comfaithgenesisr
    OP

    Member comfaithgenesisr GBAtemp Regular

    Joined:
    Nov 11, 2009
    Messages:
    229
    Location:
    Internet
    Country:
    United Kingdom
    (I'm on windows vista does that change anything?)
    When i do make i get this :

    C:\libogc>make
    make[1]: Entering directory `/c/libogc/wii'
    make[1]: *** No rule to make target `console.o', needed by `/wii/libogc.a'. Sto
    p.
    make[1]: Leaving directory `/c/libogc/wii'
    make: *** [wii] Error 2

    C:\libogc>
     
  7. Jacobeian

    Member Jacobeian GBAtemp Advanced Maniac

    Joined:
    May 15, 2008
    Messages:
    1,879
    Country:
    Cuba
    i'm on vista too and don't have any problems

    libogc SVN installed in c:/devkitpro/libogc-SVN
    make sure there is a Makefile in your "libogc" directory*
    try make clean before make
     
  8. comfaithgenesisr
    OP

    Member comfaithgenesisr GBAtemp Regular

    Joined:
    Nov 11, 2009
    Messages:
    229
    Location:
    Internet
    Country:
    United Kingdom
    i tried that still get that same error have no idea why now
    i tried searching google found nothing...
     
  9. matguitarist

    Member matguitarist GBAtemp Fan

    Joined:
    Oct 14, 2008
    Messages:
    458
    Location:
    Canada
    Country:
    Canada
  10. comfaithgenesisr
    OP

    Member comfaithgenesisr GBAtemp Regular

    Joined:
    Nov 11, 2009
    Messages:
    229
    Location:
    Internet
    Country:
    United Kingdom
    <!--quoteo(post=2675522:date=Mar 17 2010, 06:04 PM:name=matguitarist)--><div class='quotetop'>QUOTE(matguitarist @ Mar 17 2010, 06:04 PM) <a href="index.php?act=findpost&pid=2675522"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Here the latest compiled libogc with 3rd party classic controller fix from henkp

    <a href="http://www.megaupload.com/?d=V2UPRD5T" target="_blank">http://www.megaupload.com/?d=V2UPRD5T</a><!--QuoteEnd--></div><!--QuoteEEnd-->
    I get this now :
    > "make"
    "make" -f Makefile.wii
    make[1]: Entering directory `/c/fceu'
    gui_button.cpp
    gui_element.cpp
    gui_filebrowser.cpp
    gui_image.cpp
    gui_imagedata.cpp
    gui_keyboard.cpp
    gui_optionbrowser.cpp
    gui_savebrowser.cpp
    gui_sound.cpp
    gui_text.cpp
    gui_trigger.cpp
    gui_window.cpp
    FreeTypeGX.cpp
    Metaphrasis.cpp
    cheatmgr.cpp
    fceugx.cpp
    fceuload.cpp
    fceuram.cpp
    fceustate.cpp
    fceusupport.cpp
    filebrowser.cpp
    fileop.cpp
    gcaudio.cpp
    gcunzip.cpp
    gcvideo.cpp
    gettext.cpp
    http.cpp
    memfile.cpp
    menu.cpp
    networkop.cpp
    pad.cpp
    patch.cpp
    preferences.cpp
    videofilter.cpp
    asm.cpp
    cart.cpp
    cheat.cpp
    conddebug.cpp
    config.cpp
    debug.cpp
    In file included from c:/fceu/source/fceultra/debug.cpp:16:
    c:/fceu/source/fceultra/x6502abbrev.h:8:1: warning: "_X" redefined
    In file included from c:\devkitpro\devkitppc\bin\../lib/gcc/powerpc-eabi/4.4.2/../../../../powerpc-eabi/include/c++/4.4.2/cctype:44,
    from c:\devkitpro\devkitppc\bin\../lib/gcc/powerpc-eabi/4.4.2/../../../../powerpc-eabi/include/c++/4.4.2/bits/localefwd.h:44,
    from c:\devkitpro\devkitppc\bin\../lib/gcc/powerpc-eabi/4.4.2/../../../../powerpc-eabi/include/c++/4.4.2/string:45,
    from c:/fceu/source/fceultra/driver.h:5,
    from c:/fceu/source/fceultra/debug.cpp:13:
    c:\devkitpro\devkitppc\bin\../lib/gcc/powerpc-eabi/4.4.2/../../../../powerpc-eabi/include/ctype.h:39:1: warning: this is the location of the previous definition
    In file included from c:/fceu/source/fceultra/debug.cpp:16:
    c:/fceu/source/fceultra/x6502abbrev.h:10:1: warning: "_S" redefined
    In file included from c:\devkitpro\devkitppc\bin\../lib/gcc/powerpc-eabi/4.4.2/../../../../powerpc-eabi/include/c++/4.4.2/cctype:44,
    from c:\devkitpro\devkitppc\bin\../lib/gcc/powerpc-eabi/4.4.2/../../../../powerpc-eabi/include/c++/4.4.2/bits/localefwd.h:44,
    from c:\devkitpro\devkitppc\bin\../lib/gcc/powerpc-eabi/4.4.2/../../../../powerpc-eabi/include/c++/4.4.2/string:45,
    from c:/fceu/source/fceultra/driver.h:5,
    from c:/fceu/source/fceultra/debug.cpp:13:
    c:\devkitpro\devkitppc\bin\../lib/gcc/powerpc-eabi/4.4.2/../../../../powerpc-eabi/include/ctype.h:36:1: warning: this is the location of the previous definition
    In file included from c:/fceu/source/fceultra/debug.cpp:16:
    c:/fceu/source/fceultra/x6502abbrev.h:11:1: warning: "_P" redefined
    In file included from c:\devkitpro\devkitppc\bin\../lib/gcc/powerpc-eabi/4.4.2/../../../../powerpc-eabi/include/c++/4.4.2/cctype:44,
    from c:\devkitpro\devkitppc\bin\../lib/gcc/powerpc-eabi/4.4.2/../../../../powerpc-eabi/include/c++/4.4.2/bits/localefwd.h:44,
    from c:\devkitpro\devkitppc\bin\../lib/gcc/powerpc-eabi/4.4.2/../../../../powerpc-eabi/include/c++/4.4.2/string:45,
    from c:/fceu/source/fceultra/driver.h:5,
    from c:/fceu/source/fceultra/debug.cpp:13:
    c:\devkitpro\devkitppc\bin\../lib/gcc/powerpc-eabi/4.4.2/../../../../powerpc-eabi/include/ctype.h:37:1: warning: this is the location of the previous definition
    drawing.cpp
    fceu.cpp
    c:/fceu/source/fceultra/fceu.cpp: In constructor 'FCEUGI::FCEUGI()':
    c:/fceu/source/fceultra/fceu.cpp:93: warning: format '%08x' expects type 'unsigned int', but argument 2 has type 'const uint8*'
    c:/fceu/source/fceultra/fceu.cpp:93: warning: format '%08x' expects type 'unsigned int', but argument 2 has type 'const uint8*'
    c:/fceu/source/fceultra/fceu.cpp: In function 'void FCEUXGameInterface(GI)':
    c:/fceu/source/fceultra/fceu.cpp:1100: warning: enumeration value 'GI_RESETM2' not handled in switch
    c:/fceu/source/fceultra/fceu.cpp:1100: warning: enumeration value 'GI_CLOSE' not handled in switch
    c:/fceu/source/fceultra/fceu.cpp:1100: warning: enumeration value 'GI_RESETSAVE' not handled in switch
    fds.cpp
    c:/fceu/source/fceultra/fds.cpp: In function 'void FDSGI(GI)':
    c:/fceu/source/fceultra/fds.cpp:96: warning: enumeration value 'GI_RESETM2' not handled in switch
    c:/fceu/source/fceultra/fds.cpp:96: warning: enumeration value 'GI_RESETSAVE' not handled in switch
    c:/fceu/source/fceultra/fds.cpp: In function 'int FDSLoad(const char*, FCEUFILE*)':
    c:/fceu/source/fceultra/fds.cpp:813: warning: unused variable 'tp'
    c:/fceu/source/fceultra/fds.cpp:814: warning: unused variable 'fn'
    c:/fceu/source/fceultra/fds.cpp:778: warning: unused variable 'zp'
    c:/fceu/source/fceultra/fds.cpp:780: warning: unused variable 'fn'
    file.cpp
    filter.cpp
    ines.cpp
    c:/fceu/source/fceultra/ines.cpp: In function 'int iNesSaveAs(char*)':
    c:/fceu/source/fceultra/ines.cpp:944: warning: unused variable 'x'
    c:/fceu/source/fceultra/ines.cpp:942: warning: unused variable 'x'
    input.cpp
    c:/fceu/source/fceultra/input.cpp: In function 'void SetInputStuff(int)':
    c:/fceu/source/fceultra/input.cpp:353: warning: enumeration value 'SI_UNSET' not handled in switch
    c:/fceu/source/fceultra/input.cpp:353: warning: enumeration value 'SI_MOUSE' not handled in switch
    c:/fceu/source/fceultra/input.cpp:353: warning: enumeration value 'SI_COUNT' not handled in switch
    c:/fceu/source/fceultra/input.cpp: In function 'void SetInputStuffFC()':
    c:/fceu/source/fceultra/input.cpp:381: warning: enumeration value 'SIFC_UNSET' not handled in switch
    c:/fceu/source/fceultra/input.cpp: In function 'void FCEUI_HandleEmuCommands(int (*)(int))':
    c:/fceu/source/fceultra/input.cpp:737: warning: comparison between signed and unsigned integer expressions
    c:/fceu/source/fceultra/input.cpp: In function 'void UndoRedoSavestate()':
    c:/fceu/source/fceultra/input.cpp:959: warning: the address of 'lastSavestateMade' will always evaluate as 'true'
    c:/fceu/source/fceultra/input.cpp: At global scope:
    c:/fceu/source/fceultra/input.cpp:759: warning: 'void CommandUnImpl()' defined but not used
    movie.cpp
    c:/fceu/source/fceultra/movie.cpp:571: warning: 'void LoadFM2_binarychunk(MovieData&, std::istream*, int)' defined but not used
    c:/fceu/source/fceultra/movie.cpp:722: warning: 'void closeRecordingMovie()' defined but not used
    c:/fceu/source/fceultra/movie.cpp:734: warning: 'void StopPlayback()' defined but not used
    c:/fceu/source/fceultra/movie.cpp:743: warning: 'void StopRecording()' defined but not used
    c:/fceu/source/fceultra/movie.cpp:965: warning: 'void openRecordingMovie(const char*)' defined but not used
    c:/fceu/source/fceultra/movie.cpp:1024: warning: '_currCommand' defined but not used
    netplay.cpp
    c:/fceu/source/fceultra/netplay.cpp: In function 'FILE* FetchFile(uint32)':
    c:/fceu/source/fceultra/netplay.cpp:167: warning: suggest parentheses around assignment used as truth value
    nsf.cpp
    c:/fceu/source/fceultra/nsf.cpp: In function 'void NSFGI(GI)':
    c:/fceu/source/fceultra/nsf.cpp:132: warning: enumeration value 'GI_RESETSAVE' not handled in switch
    palette.cpp
    ppu.cpp
    sound.cpp
    state.cpp
    c:/fceu/source/fceultra/state.cpp: In function 'int SubWrite(std::ostream*, SFORMAT*)':
    c:/fceu/source/fceultra/state.cpp:129: warning: comparison between signed and unsigned integer expressions
    c:/fceu/source/fceultra/state.cpp: In function 'SFORMAT* CheckS(SFORMAT*, uint32, char*)':
    c:/fceu/source/fceultra/state.cpp:187: warning: comparison between signed and unsigned integer expressions
    c:/fceu/source/fceultra/state.cpp: In function 'bool ReadStateChunks(std::istream*, int32)':
    c:/fceu/source/fceultra/state.cpp:300: warning: comparison between signed and unsigned integer expressions
    c:/fceu/source/fceultra/state.cpp: In function 'bool FCEUSS_SaveMS(std::ostream*, int)':
    c:/fceu/source/fceultra/state.cpp:419: warning: comparison between signed and unsigned integer expressions
    c:/fceu/source/fceultra/state.cpp:445: warning: comparison between signed and unsigned integer expressions
    c:/fceu/source/fceultra/state.cpp: In function 'bool FCEUSS_LoadFP(std::istream*, ENUM_SSLOADPARAMS)':
    c:/fceu/source/fceultra/state.cpp:664: warning: comparison between signed and unsigned integer expressions
    c:/fceu/source/fceultra/state.cpp: In function 'void SwapSaveState()':
    c:/fceu/source/fceultra/state.cpp:985: warning: the address of 'lastSavestateMade' will always evaluate as 'true'
    c:/fceu/source/fceultra/state.cpp: In function 'void RedoLoadState()':
    c:/fceu/source/fceultra/state.cpp:1090: warning: the address of 'lastLoadstateMade' will always evaluate as 'true'
    unif.cpp
    video.cpp
    vsuni.cpp
    c:/fceu/source/fceultra/vsuni.cpp: In function 'void FCEU_VSUniCheck(uint64, int*, uint8*)':
    c:/fceu/source/fceultra/vsuni.cpp:350: warning: comparison between signed and unsigned integer expressions
    c:/fceu/source/fceultra/vsuni.cpp:352: warning: comparison between signed and unsigned integer expressions
    wave.cpp
    x6502.cpp
    01-222.cpp
    103.cpp
    106.cpp
    108.cpp
    112.cpp
    117.cpp
    120.cpp
    121.cpp
    c:/fceu/source/fceultra/boards/121.cpp:27: warning: 'readbyte' defined but not used
    15.cpp
    164.cpp
    175.cpp
    176.cpp
    177.cpp
    178.cpp
    179.cpp
    183.cpp
    185.cpp
    186.cpp
    187.cpp
    c:/fceu/source/fceultra/boards/187.cpp: In function 'void M187CW(uint32, uint8)':
    c:/fceu/source/fceultra/boards/187.cpp:26: warning: comparison between signed and unsigned integer expressions
    189.cpp
    199.cpp
    208.cpp
    222.cpp
    23.cpp
    c:/fceu/source/fceultra/boards/23.cpp:141: warning: 'void M23Reset()' defined but not used
    235.cpp
    253.cpp
    3d-block.cpp
    411120-c.cpp
    43.cpp
    57.cpp
    603-5052.cpp
    68.cpp
    8157.cpp
    8237.cpp
    830118C.cpp
    c:/fceu/source/fceultra/boards/830118C.cpp:26: warning: 'reset_flag' defined but not used
    88.cpp
    90.cpp
    95.cpp
    __dummy_mapper.cpp
    a9711.cpp
    a9746.cpp
    c:/fceu/source/fceultra/boards/a9746.cpp:105:1: warning: "/*" within comment
    addrlatch.cpp
    ax5705.cpp
    bandai.cpp
    bmc13in1jy110.cpp
    bmc42in1r.cpp
    bmc64in1nr.cpp
    bmc70in1.cpp
    bonza.cpp
    c:/fceu/source/fceultra/boards/bonza.cpp:81: warning: 'sim0reset' defined but not used
    bs-5.cpp
    copyfami_mmc3.cpp
    dance.cpp
    datalatch.cpp
    deirom.cpp
    dream.cpp
    edu2000.cpp
    fk23c.cpp
    ghostbusters63in1.cpp
    gs-2004.cpp
    gs-2013.cpp
    h2288.cpp
    karaoke.cpp
    kof97.cpp
    konami-qtai.cpp
    c:/fceu/source/fceultra/boards/konami-qtai.cpp:155: warning: 'void Mapper190_PPU(uint32)' defined but not used
    ks7032.cpp
    malee.cpp
    mmc1.cpp
    mmc3.cpp
    mmc5.cpp
    c:/fceu/source/fceultra/boards/mmc5.cpp: In function 'int DetectMMC5WRAMSize(uint32)':
    c:/fceu/source/fceultra/boards/mmc5.cpp:161: warning: comparison between signed and unsigned integer expressions
    n-c22m.cpp
    n106.cpp
    n625092.cpp
    novel.cpp
    sachen.cpp
    sc-127.cpp
    sheroes.cpp
    sl1632.cpp
    smb2j.cpp
    subor.cpp
    super24.cpp
    supervision.cpp
    t-227-1.cpp
    t-262.cpp
    tengen.cpp
    tf-1201.cpp
    arkanoid.cpp
    bworld.cpp
    cursor.cpp
    fkb.cpp
    ftrainer.cpp
    hypershot.cpp
    mahjong.cpp
    mouse.cpp
    oekakids.cpp
    powerpad.cpp
    quiz.cpp
    shadow.cpp
    suborkb.cpp
    toprider.cpp
    zapper.cpp
    crc32.cpp
    endian.cpp
    general.cpp
    c:/fceu/source/fceultra/utils/general.cpp: In function 'uint32 uppow2(uint32)':
    c:/fceu/source/fceultra/utils/general.cpp:33: warning: comparison between signed and unsigned integer expressions
    guid.cpp
    md5.cpp
    memory.cpp
    xstring.cpp
    151.cpp
    16.cpp
    17.cpp
    18.cpp
    193.cpp
    201.cpp
    202.cpp
    203.cpp
    204.cpp
    21.cpp
    212.cpp
    213.cpp
    214.cpp
    215.cpp
    217.cpp
    22.cpp
    225.cpp
    227.cpp
    228.cpp
    229.cpp
    230.cpp
    231.cpp
    232.cpp
    234.cpp
    241.cpp
    242.cpp
    244.cpp
    246.cpp
    24and26.cpp
    25.cpp
    255.cpp
    27.cpp
    32.cpp
    33.cpp
    40.cpp
    41.cpp
    42.cpp
    46.cpp
    50.cpp
    51.cpp
    59.cpp
    6.cpp
    60.cpp
    61.cpp
    62.cpp
    65.cpp
    67.cpp
    69.cpp
    71.cpp
    72.cpp
    73.cpp
    75.cpp
    76.cpp
    77.cpp
    79.cpp
    8.cpp
    80.cpp
    82.cpp
    83.cpp
    85.cpp
    86.cpp
    89.cpp
    91.cpp
    92.cpp
    97.cpp
    99.cpp
    mmc2and4.cpp
    simple.cpp
    miniunz.cpp
    mload.c
    usb2storage.c
    button_mapping.c
    oggplayer.c
    pngu.c
    ConvertUTF.c
    emu2413.c
    7zAlloc.c
    7zBuffer.c
    7zCrc.c
    7zDecode.c
    7zExtract.c
    7zHeader.c
    7zIn.c
    7zItem.c
    7zMethodID.c
    LzmaDecode.c
    ioapi.c
    unzip.c
    font.ttf
    bin2s -a 32 /c/fceu/source/ngc/fonts/font.ttf | powerpc-eabi-as -o font.ttf.o
    echo "extern const u8" `(echo font.ttf | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo font.ttf | tr . _)`.h
    echo "extern const u8" `(echo font.ttf | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo font.ttf | tr . _)`.h
    echo "extern const u32" `(echo font.ttf | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo font.ttf | tr . _)`.h
    de.lang
    bin2s -a 32 /c/fceu/source/ngc/lang/de.lang | powerpc-eabi-as -o de.lang.o
    echo "extern const u8" `(echo de.lang | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo de.lang | tr . _)`.h
    echo "extern const u8" `(echo de.lang | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo de.lang | tr . _)`.h
    echo "extern const u32" `(echo de.lang | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo de.lang | tr . _)`.h
    en.lang
    bin2s -a 32 /c/fceu/source/ngc/lang/en.lang | powerpc-eabi-as -o en.lang.o
    echo "extern const u8" `(echo en.lang | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo en.lang | tr . _)`.h
    echo "extern const u8" `(echo en.lang | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo en.lang | tr . _)`.h
    echo "extern const u32" `(echo en.lang | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo en.lang | tr . _)`.h
    es.lang
    bin2s -a 32 /c/fceu/source/ngc/lang/es.lang | powerpc-eabi-as -o es.lang.o
    echo "extern const u8" `(echo es.lang | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo es.lang | tr . _)`.h
    echo "extern const u8" `(echo es.lang | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo es.lang | tr . _)`.h
    echo "extern const u32" `(echo es.lang | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo es.lang | tr . _)`.h
    fr.lang
    bin2s -a 32 /c/fceu/source/ngc/lang/fr.lang | powerpc-eabi-as -o fr.lang.o
    echo "extern const u8" `(echo fr.lang | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo fr.lang | tr . _)`.h
    echo "extern const u8" `(echo fr.lang | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo fr.lang | tr . _)`.h
    echo "extern const u32" `(echo fr.lang | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo fr.lang | tr . _)`.h
    it.lang
    bin2s -a 32 /c/fceu/source/ngc/lang/it.lang | powerpc-eabi-as -o it.lang.o
    echo "extern const u8" `(echo it.lang | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo it.lang | tr . _)`.h
    echo "extern const u8" `(echo it.lang | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo it.lang | tr . _)`.h
    echo "extern const u32" `(echo it.lang | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo it.lang | tr . _)`.h
    jp.lang
    bin2s -a 32 /c/fceu/source/ngc/lang/jp.lang | powerpc-eabi-as -o jp.lang.o
    echo "extern const u8" `(echo jp.lang | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo jp.lang | tr . _)`.h
    echo "extern const u8" `(echo jp.lang | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo jp.lang | tr . _)`.h
    echo "extern const u32" `(echo jp.lang | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo jp.lang | tr . _)`.h
    ko.lang
    bin2s -a 32 /c/fceu/source/ngc/lang/ko.lang | powerpc-eabi-as -o ko.lang.o
    echo "extern const u8" `(echo ko.lang | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo ko.lang | tr . _)`.h
    echo "extern const u8" `(echo ko.lang | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo ko.lang | tr . _)`.h
    echo "extern const u32" `(echo ko.lang | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo ko.lang | tr . _)`.h
    nl.lang
    bin2s -a 32 /c/fceu/source/ngc/lang/nl.lang | powerpc-eabi-as -o nl.lang.o
    echo "extern const u8" `(echo nl.lang | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo nl.lang | tr . _)`.h
    echo "extern const u8" `(echo nl.lang | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo nl.lang | tr . _)`.h
    echo "extern const u32" `(echo nl.lang | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo nl.lang | tr . _)`.h
    zh.lang
    bin2s -a 32 /c/fceu/source/ngc/lang/zh.lang | powerpc-eabi-as -o zh.lang.o
    echo "extern const u8" `(echo zh.lang | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo zh.lang | tr . _)`.h
    echo "extern const u8" `(echo zh.lang | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo zh.lang | tr . _)`.h
    echo "extern const u32" `(echo zh.lang | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo zh.lang | tr . _)`.h
    battery.png
    bin2s -a 32 /c/fceu/source/ngc/images/battery.png | powerpc-eabi-as -o battery.png.o
    echo "extern const u8" `(echo battery.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo battery.png | tr . _)`.h
    echo "extern const u8" `(echo battery.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo battery.png | tr . _)`.h
    echo "extern const u32" `(echo battery.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo battery.png | tr . _)`.h
    battery_bar.png
    bin2s -a 32 /c/fceu/source/ngc/images/battery_bar.png | powerpc-eabi-as -o battery_bar.png.o
    echo "extern const u8" `(echo battery_bar.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo battery_bar.png | tr . _)`.h
    echo "extern const u8" `(echo battery_bar.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo battery_bar.png | tr . _)`.h
    echo "extern const u32" `(echo battery_bar.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo battery_bar.png | tr . _)`.h
    battery_red.png
    bin2s -a 32 /c/fceu/source/ngc/images/battery_red.png | powerpc-eabi-as -o battery_red.png.o
    echo "extern const u8" `(echo battery_red.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo battery_red.png | tr . _)`.h
    echo "extern const u8" `(echo battery_red.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo battery_red.png | tr . _)`.h
    echo "extern const u32" `(echo battery_red.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo battery_red.png | tr . _)`.h
    bg_bottom.png
    bin2s -a 32 /c/fceu/source/ngc/images/bg_bottom.png | powerpc-eabi-as -o bg_bottom.png.o
    echo "extern const u8" `(echo bg_bottom.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo bg_bottom.png | tr . _)`.h
    echo "extern const u8" `(echo bg_bottom.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo bg_bottom.png | tr . _)`.h
    echo "extern const u32" `(echo bg_bottom.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo bg_bottom.png | tr . _)`.h
    bg_game_selection.png
    bin2s -a 32 /c/fceu/source/ngc/images/bg_game_selection.png | powerpc-eabi-as -o bg_game_selection.png.o
    echo "extern const u8" `(echo bg_game_selection.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo bg_game_selection.png | tr . _)`.h
    echo "extern const u8" `(echo bg_game_selection.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo bg_game_selection.png | tr . _)`.h
    echo "extern const u32" `(echo bg_game_selection.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo bg_game_selection.png | tr . _)`.h
    bg_game_selection_entry.png
    bin2s -a 32 /c/fceu/source/ngc/images/bg_game_selection_entry.png | powerpc-eabi-as -o bg_game_selection_entry.png.o
    echo "extern const u8" `(echo bg_game_selection_entry.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo bg_game_selection_entry.png | tr . _)`.h
    echo "extern const u8" `(echo bg_game_selection_entry.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo bg_game_selection_entry.png | tr . _)`.h
    echo "extern const u32" `(echo bg_game_selection_entry.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo bg_game_selection_entry.png | tr . _)`.h
    bg_options.png
    bin2s -a 32 /c/fceu/source/ngc/images/bg_options.png | powerpc-eabi-as -o bg_options.png.o
    echo "extern const u8" `(echo bg_options.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo bg_options.png | tr . _)`.h
    echo "extern const u8" `(echo bg_options.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo bg_options.png | tr . _)`.h
    echo "extern const u32" `(echo bg_options.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo bg_options.png | tr . _)`.h
    bg_options_entry.png
    bin2s -a 32 /c/fceu/source/ngc/images/bg_options_entry.png | powerpc-eabi-as -o bg_options_entry.png.o
    echo "extern const u8" `(echo bg_options_entry.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo bg_options_entry.png | tr . _)`.h
    echo "extern const u8" `(echo bg_options_entry.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo bg_options_entry.png | tr . _)`.h
    echo "extern const u32" `(echo bg_options_entry.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo bg_options_entry.png | tr . _)`.h
    bg_top.png
    bin2s -a 32 /c/fceu/source/ngc/images/bg_top.png | powerpc-eabi-as -o bg_top.png.o
    echo "extern const u8" `(echo bg_top.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo bg_top.png | tr . _)`.h
    echo "extern const u8" `(echo bg_top.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo bg_top.png | tr . _)`.h
    echo "extern const u32" `(echo bg_top.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo bg_top.png | tr . _)`.h
    button.png
    bin2s -a 32 /c/fceu/source/ngc/images/button.png | powerpc-eabi-as -o button.png.o
    echo "extern const u8" `(echo button.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo button.png | tr . _)`.h
    echo "extern const u8" `(echo button.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo button.png | tr . _)`.h
    echo "extern const u32" `(echo button.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo button.png | tr . _)`.h
    button_arrow_down.png
    bin2s -a 32 /c/fceu/source/ngc/images/button_arrow_down.png | powerpc-eabi-as -o button_arrow_down.png.o
    echo "extern const u8" `(echo button_arrow_down.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo button_arrow_down.png | tr . _)`.h
    echo "extern const u8" `(echo button_arrow_down.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo button_arrow_down.png | tr . _)`.h
    echo "extern const u32" `(echo button_arrow_down.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo button_arrow_down.png | tr . _)`.h
    button_arrow_down_over.png
    bin2s -a 32 /c/fceu/source/ngc/images/button_arrow_down_over.png | powerpc-eabi-as -o button_arrow_down_over.png.o
    echo "extern const u8" `(echo button_arrow_down_over.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo button_arrow_down_over.png | tr . _)`.h
    echo "extern const u8" `(echo button_arrow_down_over.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo button_arrow_down_over.png | tr . _)`.h
    echo "extern const u32" `(echo button_arrow_down_over.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo button_arrow_down_over.png | tr . _)`.h
    button_arrow_left.png
    bin2s -a 32 /c/fceu/source/ngc/images/button_arrow_left.png | powerpc-eabi-as -o button_arrow_left.png.o
    echo "extern const u8" `(echo button_arrow_left.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo button_arrow_left.png | tr . _)`.h
    echo "extern const u8" `(echo button_arrow_left.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo button_arrow_left.png | tr . _)`.h
    echo "extern const u32" `(echo button_arrow_left.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo button_arrow_left.png | tr . _)`.h
    button_arrow_left_over.png
    bin2s -a 32 /c/fceu/source/ngc/images/button_arrow_left_over.png | powerpc-eabi-as -o button_arrow_left_over.png.o
    echo "extern const u8" `(echo button_arrow_left_over.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo button_arrow_left_over.png | tr . _)`.h
    echo "extern const u8" `(echo button_arrow_left_over.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo button_arrow_left_over.png | tr . _)`.h
    echo "extern const u32" `(echo button_arrow_left_over.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo button_arrow_left_over.png | tr . _)`.h
    button_arrow_right.png
    bin2s -a 32 /c/fceu/source/ngc/images/button_arrow_right.png | powerpc-eabi-as -o button_arrow_right.png.o
    echo "extern const u8" `(echo button_arrow_right.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo button_arrow_right.png | tr . _)`.h
    echo "extern const u8" `(echo button_arrow_right.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo button_arrow_right.png | tr . _)`.h
    echo "extern const u32" `(echo button_arrow_right.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo button_arrow_right.png | tr . _)`.h
    button_arrow_right_over.png
    bin2s -a 32 /c/fceu/source/ngc/images/button_arrow_right_over.png | powerpc-eabi-as -o button_arrow_right_over.png.o
    echo "extern const u8" `(echo button_arrow_right_over.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo button_arrow_right_over.png | tr . _)`.h
    echo "extern const u8" `(echo button_arrow_right_over.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo button_arrow_right_over.png | tr . _)`.h
    echo "extern const u32" `(echo button_arrow_right_over.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo button_arrow_right_over.png | tr . _)`.h
    button_arrow_up.png
    bin2s -a 32 /c/fceu/source/ngc/images/button_arrow_up.png | powerpc-eabi-as -o button_arrow_up.png.o
    echo "extern const u8" `(echo button_arrow_up.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo button_arrow_up.png | tr . _)`.h
    echo "extern const u8" `(echo button_arrow_up.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo button_arrow_up.png | tr . _)`.h
    echo "extern const u32" `(echo button_arrow_up.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo button_arrow_up.png | tr . _)`.h
    button_arrow_up_over.png
    bin2s -a 32 /c/fceu/source/ngc/images/button_arrow_up_over.png | powerpc-eabi-as -o button_arrow_up_over.png.o
    echo "extern const u8" `(echo button_arrow_up_over.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo button_arrow_up_over.png | tr . _)`.h
    echo "extern const u8" `(echo button_arrow_up_over.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo button_arrow_up_over.png | tr . _)`.h
    echo "extern const u32" `(echo button_arrow_up_over.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo button_arrow_up_over.png | tr . _)`.h
    button_gamesave.png
    bin2s -a 32 /c/fceu/source/ngc/images/button_gamesave.png | powerpc-eabi-as -o button_gamesave.png.o
    echo "extern const u8" `(echo button_gamesave.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo button_gamesave.png | tr . _)`.h
    echo "extern const u8" `(echo button_gamesave.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo button_gamesave.png | tr . _)`.h
    echo "extern const u32" `(echo button_gamesave.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo button_gamesave.png | tr . _)`.h
    button_gamesave_blank.png
    bin2s -a 32 /c/fceu/source/ngc/images/button_gamesave_blank.png | powerpc-eabi-as -o button_gamesave_blank.png.o
    echo "extern const u8" `(echo button_gamesave_blank.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo button_gamesave_blank.png | tr . _)`.h
    echo "extern const u8" `(echo button_gamesave_blank.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo button_gamesave_blank.png | tr . _)`.h
    echo "extern const u32" `(echo button_gamesave_blank.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo button_gamesave_blank.png | tr . _)`.h
    button_gamesave_over.png
    bin2s -a 32 /c/fceu/source/ngc/images/button_gamesave_over.png | powerpc-eabi-as -o button_gamesave_over.png.o
    echo "extern const u8" `(echo button_gamesave_over.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo button_gamesave_over.png | tr . _)`.h
    echo "extern const u8" `(echo button_gamesave_over.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo button_gamesave_over.png | tr . _)`.h
    echo "extern const u32" `(echo button_gamesave_over.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo button_gamesave_over.png | tr . _)`.h
    button_large.png
    bin2s -a 32 /c/fceu/source/ngc/images/button_large.png | powerpc-eabi-as -o button_large.png.o
    echo "extern const u8" `(echo button_large.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo button_large.png | tr . _)`.h
    echo "extern const u8" `(echo button_large.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo button_large.png | tr . _)`.h
    echo "extern const u32" `(echo button_large.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo button_large.png | tr . _)`.h
    button_large_over.png
    bin2s -a 32 /c/fceu/source/ngc/images/button_large_over.png | powerpc-eabi-as -o button_large_over.png.o
    echo "extern const u8" `(echo button_large_over.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo button_large_over.png | tr . _)`.h
    echo "extern const u8" `(echo button_large_over.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo button_large_over.png | tr . _)`.h
    echo "extern const u32" `(echo button_large_over.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo button_large_over.png | tr . _)`.h
    button_long.png
    bin2s -a 32 /c/fceu/source/ngc/images/button_long.png | powerpc-eabi-as -o button_long.png.o
    echo "extern const u8" `(echo button_long.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo button_long.png | tr . _)`.h
    echo "extern const u8" `(echo button_long.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo button_long.png | tr . _)`.h
    echo "extern const u32" `(echo button_long.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo button_long.png | tr . _)`.h
    button_long_over.png
    bin2s -a 32 /c/fceu/source/ngc/images/button_long_over.png | powerpc-eabi-as -o button_long_over.png.o
    echo "extern const u8" `(echo button_long_over.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo button_long_over.png | tr . _)`.h
    echo "extern const u8" `(echo button_long_over.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo button_long_over.png | tr . _)`.h
    echo "extern const u32" `(echo button_long_over.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo button_long_over.png | tr . _)`.h
    button_over.png
    bin2s -a 32 /c/fceu/source/ngc/images/button_over.png | powerpc-eabi-as -o button_over.png.o
    echo "extern const u8" `(echo button_over.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo button_over.png | tr . _)`.h
    echo "extern const u8" `(echo button_over.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo button_over.png | tr . _)`.h
    echo "extern const u32" `(echo button_over.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo button_over.png | tr . _)`.h
    button_short.png
    bin2s -a 32 /c/fceu/source/ngc/images/button_short.png | powerpc-eabi-as -o button_short.png.o
    echo "extern const u8" `(echo button_short.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo button_short.png | tr . _)`.h
    echo "extern const u8" `(echo button_short.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo button_short.png | tr . _)`.h
    echo "extern const u32" `(echo button_short.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo button_short.png | tr . _)`.h
    button_short_over.png
    bin2s -a 32 /c/fceu/source/ngc/images/button_short_over.png | powerpc-eabi-as -o button_short_over.png.o
    echo "extern const u8" `(echo button_short_over.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo button_short_over.png | tr . _)`.h
    echo "extern const u8" `(echo button_short_over.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo button_short_over.png | tr . _)`.h
    echo "extern const u32" `(echo button_short_over.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo button_short_over.png | tr . _)`.h
    button_small.png
    bin2s -a 32 /c/fceu/source/ngc/images/button_small.png | powerpc-eabi-as -o button_small.png.o
    echo "extern const u8" `(echo button_small.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo button_small.png | tr . _)`.h
    echo "extern const u8" `(echo button_small.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo button_small.png | tr . _)`.h
    echo "extern const u32" `(echo button_small.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo button_small.png | tr . _)`.h
    button_small_over.png
    bin2s -a 32 /c/fceu/source/ngc/images/button_small_over.png | powerpc-eabi-as -o button_small_over.png.o
    echo "extern const u8" `(echo button_small_over.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo button_small_over.png | tr . _)`.h
    echo "extern const u8" `(echo button_small_over.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo button_small_over.png | tr . _)`.h
    echo "extern const u32" `(echo button_small_over.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo button_small_over.png | tr . _)`.h
    credits_box.png
    bin2s -a 32 /c/fceu/source/ngc/images/credits_box.png | powerpc-eabi-as -o credits_box.png.o
    echo "extern const u8" `(echo credits_box.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo credits_box.png | tr . _)`.h
    echo "extern const u8" `(echo credits_box.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo credits_box.png | tr . _)`.h
    echo "extern const u32" `(echo credits_box.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo credits_box.png | tr . _)`.h
    dialogue_box.png
    bin2s -a 32 /c/fceu/source/ngc/images/dialogue_box.png | powerpc-eabi-as -o dialogue_box.png.o
    echo "extern const u8" `(echo dialogue_box.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo dialogue_box.png | tr . _)`.h
    echo "extern const u8" `(echo dialogue_box.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo dialogue_box.png | tr . _)`.h
    echo "extern const u32" `(echo dialogue_box.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo dialogue_box.png | tr . _)`.h
    icon_dvd.png
    bin2s -a 32 /c/fceu/source/ngc/images/icon_dvd.png | powerpc-eabi-as -o icon_dvd.png.o
    echo "extern const u8" `(echo icon_dvd.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo icon_dvd.png | tr . _)`.h
    echo "extern const u8" `(echo icon_dvd.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo icon_dvd.png | tr . _)`.h
    echo "extern const u32" `(echo icon_dvd.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo icon_dvd.png | tr . _)`.h
    icon_folder.png
    bin2s -a 32 /c/fceu/source/ngc/images/icon_folder.png | powerpc-eabi-as -o icon_folder.png.o
    echo "extern const u8" `(echo icon_folder.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo icon_folder.png | tr . _)`.h
    echo "extern const u8" `(echo icon_folder.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo icon_folder.png | tr . _)`.h
    echo "extern const u32" `(echo icon_folder.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo icon_folder.png | tr . _)`.h
    icon_game_cheats.png
    bin2s -a 32 /c/fceu/source/ngc/images/icon_game_cheats.png | powerpc-eabi-as -o icon_game_cheats.png.o
    echo "extern const u8" `(echo icon_game_cheats.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo icon_game_cheats.png | tr . _)`.h
    echo "extern const u8" `(echo icon_game_cheats.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo icon_game_cheats.png | tr . _)`.h
    echo "extern const u32" `(echo icon_game_cheats.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo icon_game_cheats.png | tr . _)`.h
    icon_game_controllers.png
    bin2s -a 32 /c/fceu/source/ngc/images/icon_game_controllers.png | powerpc-eabi-as -o icon_game_controllers.png.o
    echo "extern const u8" `(echo icon_game_controllers.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo icon_game_controllers.png | tr . _)`.h
    echo "extern const u8" `(echo icon_game_controllers.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo icon_game_controllers.png | tr . _)`.h
    echo "extern const u32" `(echo icon_game_controllers.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo icon_game_controllers.png | tr . _)`.h
    icon_game_load.png
    bin2s -a 32 /c/fceu/source/ngc/images/icon_game_load.png | powerpc-eabi-as -o icon_game_load.png.o
    echo "extern const u8" `(echo icon_game_load.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo icon_game_load.png | tr . _)`.h
    echo "extern const u8" `(echo icon_game_load.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo icon_game_load.png | tr . _)`.h
    echo "extern const u32" `(echo icon_game_load.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo icon_game_load.png | tr . _)`.h
    icon_game_reset.png
    bin2s -a 32 /c/fceu/source/ngc/images/icon_game_reset.png | powerpc-eabi-as -o icon_game_reset.png.o
    echo "extern const u8" `(echo icon_game_reset.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo icon_game_reset.png | tr . _)`.h
    echo "extern const u8" `(echo icon_game_reset.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo icon_game_reset.png | tr . _)`.h
    echo "extern const u32" `(echo icon_game_reset.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo icon_game_reset.png | tr . _)`.h
    icon_game_save.png
    bin2s -a 32 /c/fceu/source/ngc/images/icon_game_save.png | powerpc-eabi-as -o icon_game_save.png.o
    echo "extern const u8" `(echo icon_game_save.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo icon_game_save.png | tr . _)`.h
    echo "extern const u8" `(echo icon_game_save.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo icon_game_save.png | tr . _)`.h
    echo "extern const u32" `(echo icon_game_save.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo icon_game_save.png | tr . _)`.h
    icon_game_settings.png
    bin2s -a 32 /c/fceu/source/ngc/images/icon_game_settings.png | powerpc-eabi-as -o icon_game_settings.png.o
    echo "extern const u8" `(echo icon_game_settings.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo icon_game_settings.png | tr . _)`.h
    echo "extern const u8" `(echo icon_game_settings.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo icon_game_settings.png | tr . _)`.h
    echo "extern const u32" `(echo icon_game_settings.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo icon_game_settings.png | tr . _)`.h
    icon_home.png
    bin2s -a 32 /c/fceu/source/ngc/images/icon_home.png | powerpc-eabi-as -o icon_home.png.o
    echo "extern const u8" `(echo icon_home.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo icon_home.png | tr . _)`.h
    echo "extern const u8" `(echo icon_home.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo icon_home.png | tr . _)`.h
    echo "extern const u32" `(echo icon_home.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo icon_home.png | tr . _)`.h
    icon_sd.png
    bin2s -a 32 /c/fceu/source/ngc/images/icon_sd.png | powerpc-eabi-as -o icon_sd.png.o
    echo "extern const u8" `(echo icon_sd.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo icon_sd.png | tr . _)`.h
    echo "extern const u8" `(echo icon_sd.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo icon_sd.png | tr . _)`.h
    echo "extern const u32" `(echo icon_sd.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo icon_sd.png | tr . _)`.h
    icon_settings.png
    bin2s -a 32 /c/fceu/source/ngc/images/icon_settings.png | powerpc-eabi-as -o icon_settings.png.o
    echo "extern const u8" `(echo icon_settings.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo icon_settings.png | tr . _)`.h
    echo "extern const u8" `(echo icon_settings.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo icon_settings.png | tr . _)`.h
    echo "extern const u32" `(echo icon_settings.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo icon_settings.png | tr . _)`.h
    icon_settings_classic.png
    bin2s -a 32 /c/fceu/source/ngc/images/icon_settings_classic.png | powerpc-eabi-as -o icon_settings_classic.png.o
    echo "extern const u8" `(echo icon_settings_classic.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo icon_settings_classic.png | tr . _)`.h
    echo "extern const u8" `(echo icon_settings_classic.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo icon_settings_classic.png | tr . _)`.h
    echo "extern const u32" `(echo icon_settings_classic.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo icon_settings_classic.png | tr . _)`.h
    icon_settings_file.png
    bin2s -a 32 /c/fceu/source/ngc/images/icon_settings_file.png | powerpc-eabi-as -o icon_settings_file.png.o
    echo "extern const u8" `(echo icon_settings_file.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo icon_settings_file.png | tr . _)`.h
    echo "extern const u8" `(echo icon_settings_file.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo icon_settings_file.png | tr . _)`.h
    echo "extern const u32" `(echo icon_settings_file.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo icon_settings_file.png | tr . _)`.h
    icon_settings_gamecube.png
    bin2s -a 32 /c/fceu/source/ngc/images/icon_settings_gamecube.png | powerpc-eabi-as -o icon_settings_gamecube.png.o
    echo "extern const u8" `(echo icon_settings_gamecube.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo icon_settings_gamecube.png | tr . _)`.h
    echo "extern const u8" `(echo icon_settings_gamecube.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo icon_settings_gamecube.png | tr . _)`.h
    echo "extern const u32" `(echo icon_settings_gamecube.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo icon_settings_gamecube.png | tr . _)`.h
    icon_settings_mappings.png
    bin2s -a 32 /c/fceu/source/ngc/images/icon_settings_mappings.png | powerpc-eabi-as -o icon_settings_mappings.png.o
    echo "extern const u8" `(echo icon_settings_mappings.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo icon_settings_mappings.png | tr . _)`.h
    echo "extern const u8" `(echo icon_settings_mappings.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo icon_settings_mappings.png | tr . _)`.h
    echo "extern const u32" `(echo icon_settings_mappings.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo icon_settings_mappings.png | tr . _)`.h
    icon_settings_menu.png
    bin2s -a 32 /c/fceu/source/ngc/images/icon_settings_menu.png | powerpc-eabi-as -o icon_settings_menu.png.o
    echo "extern const u8" `(echo icon_settings_menu.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo icon_settings_menu.png | tr . _)`.h
    echo "extern const u8" `(echo icon_settings_menu.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo icon_settings_menu.png | tr . _)`.h
    echo "extern const u32" `(echo icon_settings_menu.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo icon_settings_menu.png | tr . _)`.h
    icon_settings_nescontroller.png
    bin2s -a 32 /c/fceu/source/ngc/images/icon_settings_nescontroller.png | powerpc-eabi-as -o icon_settings_nescontroller.png.o
    echo "extern const u8" `(echo icon_settings_nescontroller.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo icon_settings_nescontroller.png | tr . _)`.h
    echo "extern const u8" `(echo icon_settings_nescontroller.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo icon_settings_nescontroller.png | tr . _)`.h
    echo "extern const u32" `(echo icon_settings_nescontroller.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo icon_settings_nescontroller.png | tr . _)`.h
    icon_settings_network.png
    bin2s -a 32 /c/fceu/source/ngc/images/icon_settings_network.png | powerpc-eabi-as -o icon_settings_network.png.o
    echo "extern const u8" `(echo icon_settings_network.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo icon_settings_network.png | tr . _)`.h
    echo "extern const u8" `(echo icon_settings_network.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo icon_settings_network.png | tr . _)`.h
    echo "extern const u32" `(echo icon_settings_network.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo icon_settings_network.png | tr . _)`.h
    icon_settings_nunchuk.png
    bin2s -a 32 /c/fceu/source/ngc/images/icon_settings_nunchuk.png | powerpc-eabi-as -o icon_settings_nunchuk.png.o
    echo "extern const u8" `(echo icon_settings_nunchuk.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo icon_settings_nunchuk.png | tr . _)`.h
    echo "extern const u8" `(echo icon_settings_nunchuk.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo icon_settings_nunchuk.png | tr . _)`.h
    echo "extern const u32" `(echo icon_settings_nunchuk.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo icon_settings_nunchuk.png | tr . _)`.h
    icon_settings_video.png
    bin2s -a 32 /c/fceu/source/ngc/images/icon_settings_video.png | powerpc-eabi-as -o icon_settings_video.png.o
    echo "extern const u8" `(echo icon_settings_video.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo icon_settings_video.png | tr . _)`.h
    echo "extern const u8" `(echo icon_settings_video.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo icon_settings_video.png | tr . _)`.h
    echo "extern const u32" `(echo icon_settings_video.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo icon_settings_video.png | tr . _)`.h
    icon_settings_wiimote.png
    bin2s -a 32 /c/fceu/source/ngc/images/icon_settings_wiimote.png | powerpc-eabi-as -o icon_settings_wiimote.png.o
    echo "extern const u8" `(echo icon_settings_wiimote.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo icon_settings_wiimote.png | tr . _)`.h
    echo "extern const u8" `(echo icon_settings_wiimote.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo icon_settings_wiimote.png | tr . _)`.h
    echo "extern const u32" `(echo icon_settings_wiimote.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo icon_settings_wiimote.png | tr . _)`.h
    icon_settings_zapper.png
    bin2s -a 32 /c/fceu/source/ngc/images/icon_settings_zapper.png | powerpc-eabi-as -o icon_settings_zapper.png.o
    echo "extern const u8" `(echo icon_settings_zapper.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo icon_settings_zapper.png | tr . _)`.h
    echo "extern const u8" `(echo icon_settings_zapper.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo icon_settings_zapper.png | tr . _)`.h
    echo "extern const u32" `(echo icon_settings_zapper.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo icon_settings_zapper.png | tr . _)`.h
    icon_smb.png
    bin2s -a 32 /c/fceu/source/ngc/images/icon_smb.png | powerpc-eabi-as -o icon_smb.png.o
    echo "extern const u8" `(echo icon_smb.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo icon_smb.png | tr . _)`.h
    echo "extern const u8" `(echo icon_smb.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo icon_smb.png | tr . _)`.h
    echo "extern const u32" `(echo icon_smb.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo icon_smb.png | tr . _)`.h
    icon_usb.png
    bin2s -a 32 /c/fceu/source/ngc/images/icon_usb.png | powerpc-eabi-as -o icon_usb.png.o
    echo "extern const u8" `(echo icon_usb.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo icon_usb.png | tr . _)`.h
    echo "extern const u8" `(echo icon_usb.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo icon_usb.png | tr . _)`.h
    echo "extern const u32" `(echo icon_usb.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo icon_usb.png | tr . _)`.h
    keyboard_key.png
    bin2s -a 32 /c/fceu/source/ngc/images/keyboard_key.png | powerpc-eabi-as -o keyboard_key.png.o
    echo "extern const u8" `(echo keyboard_key.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo keyboard_key.png | tr . _)`.h
    echo "extern const u8" `(echo keyboard_key.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo keyboard_key.png | tr . _)`.h
    echo "extern const u32" `(echo keyboard_key.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo keyboard_key.png | tr . _)`.h
    keyboard_key_over.png
    bin2s -a 32 /c/fceu/source/ngc/images/keyboard_key_over.png | powerpc-eabi-as -o keyboard_key_over.png.o
    echo "extern const u8" `(echo keyboard_key_over.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo keyboard_key_over.png | tr . _)`.h
    echo "extern const u8" `(echo keyboard_key_over.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo keyboard_key_over.png | tr . _)`.h
    echo "extern const u32" `(echo keyboard_key_over.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo keyboard_key_over.png | tr . _)`.h
    keyboard_largekey.png
    bin2s -a 32 /c/fceu/source/ngc/images/keyboard_largekey.png | powerpc-eabi-as -o keyboard_largekey.png.o
    echo "extern const u8" `(echo keyboard_largekey.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo keyboard_largekey.png | tr . _)`.h
    echo "extern const u8" `(echo keyboard_largekey.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo keyboard_largekey.png | tr . _)`.h
    echo "extern const u32" `(echo keyboard_largekey.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo keyboard_largekey.png | tr . _)`.h
    keyboard_largekey_over.png
    bin2s -a 32 /c/fceu/source/ngc/images/keyboard_largekey_over.png | powerpc-eabi-as -o keyboard_largekey_over.png.o
    echo "extern const u8" `(echo keyboard_largekey_over.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo keyboard_largekey_over.png | tr . _)`.h
    echo "extern const u8" `(echo keyboard_largekey_over.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo keyboard_largekey_over.png | tr . _)`.h
    echo "extern const u32" `(echo keyboard_largekey_over.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo keyboard_largekey_over.png | tr . _)`.h
    keyboard_mediumkey.png
    bin2s -a 32 /c/fceu/source/ngc/images/keyboard_mediumkey.png | powerpc-eabi-as -o keyboard_mediumkey.png.o
    echo "extern const u8" `(echo keyboard_mediumkey.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo keyboard_mediumkey.png | tr . _)`.h
    echo "extern const u8" `(echo keyboard_mediumkey.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo keyboard_mediumkey.png | tr . _)`.h
    echo "extern const u32" `(echo keyboard_mediumkey.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo keyboard_mediumkey.png | tr . _)`.h
    keyboard_mediumkey_over.png
    bin2s -a 32 /c/fceu/source/ngc/images/keyboard_mediumkey_over.png | powerpc-eabi-as -o keyboard_mediumkey_over.png.o
    echo "extern const u8" `(echo keyboard_mediumkey_over.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo keyboard_mediumkey_over.png | tr . _)`.h
    echo "extern const u8" `(echo keyboard_mediumkey_over.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo keyboard_mediumkey_over.png | tr . _)`.h
    echo "extern const u32" `(echo keyboard_mediumkey_over.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo keyboard_mediumkey_over.png | tr . _)`.h
    keyboard_textbox.png
    bin2s -a 32 /c/fceu/source/ngc/images/keyboard_textbox.png | powerpc-eabi-as -o keyboard_textbox.png.o
    echo "extern const u8" `(echo keyboard_textbox.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo keyboard_textbox.png | tr . _)`.h
    echo "extern const u8" `(echo keyboard_textbox.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo keyboard_textbox.png | tr . _)`.h
    echo "extern const u32" `(echo keyboard_textbox.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo keyboard_textbox.png | tr . _)`.h
    logo.png
    bin2s -a 32 /c/fceu/source/ngc/images/logo.png | powerpc-eabi-as -o logo.png.o
    echo "extern const u8" `(echo logo.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo logo.png | tr . _)`.h
    echo "extern const u8" `(echo logo.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo logo.png | tr . _)`.h
    echo "extern const u32" `(echo logo.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo logo.png | tr . _)`.h
    logo_over.png
    bin2s -a 32 /c/fceu/source/ngc/images/logo_over.png | powerpc-eabi-as -o logo_over.png.o
    echo "extern const u8" `(echo logo_over.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo logo_over.png | tr . _)`.h
    echo "extern const u8" `(echo logo_over.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo logo_over.png | tr . _)`.h
    echo "extern const u32" `(echo logo_over.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo logo_over.png | tr . _)`.h
    player1_grab.png
    bin2s -a 32 /c/fceu/source/ngc/images/player1_grab.png | powerpc-eabi-as -o player1_grab.png.o
    echo "extern const u8" `(echo player1_grab.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo player1_grab.png | tr . _)`.h
    echo "extern const u8" `(echo player1_grab.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo player1_grab.png | tr . _)`.h
    echo "extern const u32" `(echo player1_grab.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo player1_grab.png | tr . _)`.h
    player1_point.png
    bin2s -a 32 /c/fceu/source/ngc/images/player1_point.png | powerpc-eabi-as -o player1_point.png.o
    echo "extern const u8" `(echo player1_point.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo player1_point.png | tr . _)`.h
    echo "extern const u8" `(echo player1_point.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo player1_point.png | tr . _)`.h
    echo "extern const u32" `(echo player1_point.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo player1_point.png | tr . _)`.h
    player2_grab.png
    bin2s -a 32 /c/fceu/source/ngc/images/player2_grab.png | powerpc-eabi-as -o player2_grab.png.o
    echo "extern const u8" `(echo player2_grab.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo player2_grab.png | tr . _)`.h
    echo "extern const u8" `(echo player2_grab.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo player2_grab.png | tr . _)`.h
    echo "extern const u32" `(echo player2_grab.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo player2_grab.png | tr . _)`.h
    player2_point.png
    bin2s -a 32 /c/fceu/source/ngc/images/player2_point.png | powerpc-eabi-as -o player2_point.png.o
    echo "extern const u8" `(echo player2_point.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo player2_point.png | tr . _)`.h
    echo "extern const u8" `(echo player2_point.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo player2_point.png | tr . _)`.h
    echo "extern const u32" `(echo player2_point.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo player2_point.png | tr . _)`.h
    player3_grab.png
    bin2s -a 32 /c/fceu/source/ngc/images/player3_grab.png | powerpc-eabi-as -o player3_grab.png.o
    echo "extern const u8" `(echo player3_grab.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo player3_grab.png | tr . _)`.h
    echo "extern const u8" `(echo player3_grab.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo player3_grab.png | tr . _)`.h
    echo "extern const u32" `(echo player3_grab.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo player3_grab.png | tr . _)`.h
    player3_point.png
    bin2s -a 32 /c/fceu/source/ngc/images/player3_point.png | powerpc-eabi-as -o player3_point.png.o
    echo "extern const u8" `(echo player3_point.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo player3_point.png | tr . _)`.h
    echo "extern const u8" `(echo player3_point.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo player3_point.png | tr . _)`.h
    echo "extern const u32" `(echo player3_point.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo player3_point.png | tr . _)`.h
    player4_grab.png
    bin2s -a 32 /c/fceu/source/ngc/images/player4_grab.png | powerpc-eabi-as -o player4_grab.png.o
    echo "extern const u8" `(echo player4_grab.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo player4_grab.png | tr . _)`.h
    echo "extern const u8" `(echo player4_grab.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo player4_grab.png | tr . _)`.h
    echo "extern const u32" `(echo player4_grab.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo player4_grab.png | tr . _)`.h
    player4_point.png
    bin2s -a 32 /c/fceu/source/ngc/images/player4_point.png | powerpc-eabi-as -o player4_point.png.o
    echo "extern const u8" `(echo player4_point.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo player4_point.png | tr . _)`.h
    echo "extern const u8" `(echo player4_point.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo player4_point.png | tr . _)`.h
    echo "extern const u32" `(echo player4_point.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo player4_point.png | tr . _)`.h
    progressbar.png
    bin2s -a 32 /c/fceu/source/ngc/images/progressbar.png | powerpc-eabi-as -o progressbar.png.o
    echo "extern const u8" `(echo progressbar.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo progressbar.png | tr . _)`.h
    echo "extern const u8" `(echo progressbar.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo progressbar.png | tr . _)`.h
    echo "extern const u32" `(echo progressbar.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo progressbar.png | tr . _)`.h
    progressbar_empty.png
    bin2s -a 32 /c/fceu/source/ngc/images/progressbar_empty.png | powerpc-eabi-as -o progressbar_empty.png.o
    echo "extern const u8" `(echo progressbar_empty.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo progressbar_empty.png | tr . _)`.h
    echo "extern const u8" `(echo progressbar_empty.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo progressbar_empty.png | tr . _)`.h
    echo "extern const u32" `(echo progressbar_empty.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo progressbar_empty.png | tr . _)`.h
    progressbar_outline.png
    bin2s -a 32 /c/fceu/source/ngc/images/progressbar_outline.png | powerpc-eabi-as -o progressbar_outline.png.o
    echo "extern const u8" `(echo progressbar_outline.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo progressbar_outline.png | tr . _)`.h
    echo "extern const u8" `(echo progressbar_outline.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo progressbar_outline.png | tr . _)`.h
    echo "extern const u32" `(echo progressbar_outline.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo progressbar_outline.png | tr . _)`.h
    screen_position.png
    bin2s -a 32 /c/fceu/source/ngc/images/screen_position.png | powerpc-eabi-as -o screen_position.png.o
    echo "extern const u8" `(echo screen_position.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo screen_position.png | tr . _)`.h
    echo "extern const u8" `(echo screen_position.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo screen_position.png | tr . _)`.h
    echo "extern const u32" `(echo screen_position.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo screen_position.png | tr . _)`.h
    scrollbar.png
    bin2s -a 32 /c/fceu/source/ngc/images/scrollbar.png | powerpc-eabi-as -o scrollbar.png.o
    echo "extern const u8" `(echo scrollbar.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo scrollbar.png | tr . _)`.h
    echo "extern const u8" `(echo scrollbar.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo scrollbar.png | tr . _)`.h
    echo "extern const u32" `(echo scrollbar.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo scrollbar.png | tr . _)`.h
    scrollbar_arrowdown.png
    bin2s -a 32 /c/fceu/source/ngc/images/scrollbar_arrowdown.png | powerpc-eabi-as -o scrollbar_arrowdown.png.o
    echo "extern const u8" `(echo scrollbar_arrowdown.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo scrollbar_arrowdown.png | tr . _)`.h
    echo "extern const u8" `(echo scrollbar_arrowdown.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo scrollbar_arrowdown.png | tr . _)`.h
    echo "extern const u32" `(echo scrollbar_arrowdown.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo scrollbar_arrowdown.png | tr . _)`.h
    scrollbar_arrowdown_over.png
    bin2s -a 32 /c/fceu/source/ngc/images/scrollbar_arrowdown_over.png | powerpc-eabi-as -o scrollbar_arrowdown_over.png.o
    echo "extern const u8" `(echo scrollbar_arrowdown_over.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo scrollbar_arrowdown_over.png | tr . _)`.h
    echo "extern const u8" `(echo scrollbar_arrowdown_over.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo scrollbar_arrowdown_over.png | tr . _)`.h
    echo "extern const u32" `(echo scrollbar_arrowdown_over.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo scrollbar_arrowdown_over.png | tr . _)`.h
    scrollbar_arrowup.png
    bin2s -a 32 /c/fceu/source/ngc/images/scrollbar_arrowup.png | powerpc-eabi-as -o scrollbar_arrowup.png.o
    echo "extern const u8" `(echo scrollbar_arrowup.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo scrollbar_arrowup.png | tr . _)`.h
    echo "extern const u8" `(echo scrollbar_arrowup.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo scrollbar_arrowup.png | tr . _)`.h
    echo "extern const u32" `(echo scrollbar_arrowup.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo scrollbar_arrowup.png | tr . _)`.h
    scrollbar_arrowup_over.png
    bin2s -a 32 /c/fceu/source/ngc/images/scrollbar_arrowup_over.png | powerpc-eabi-as -o scrollbar_arrowup_over.png.o
    echo "extern const u8" `(echo scrollbar_arrowup_over.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo scrollbar_arrowup_over.png | tr . _)`.h
    echo "extern const u8" `(echo scrollbar_arrowup_over.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo scrollbar_arrowup_over.png | tr . _)`.h
    echo "extern const u32" `(echo scrollbar_arrowup_over.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo scrollbar_arrowup_over.png | tr . _)`.h
    scrollbar_box.png
    bin2s -a 32 /c/fceu/source/ngc/images/scrollbar_box.png | powerpc-eabi-as -o scrollbar_box.png.o
    echo "extern const u8" `(echo scrollbar_box.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo scrollbar_box.png | tr . _)`.h
    echo "extern const u8" `(echo scrollbar_box.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo scrollbar_box.png | tr . _)`.h
    echo "extern const u32" `(echo scrollbar_box.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo scrollbar_box.png | tr . _)`.h
    scrollbar_box_over.png
    bin2s -a 32 /c/fceu/source/ngc/images/scrollbar_box_over.png | powerpc-eabi-as -o scrollbar_box_over.png.o
    echo "extern const u8" `(echo scrollbar_box_over.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo scrollbar_box_over.png | tr . _)`.h
    echo "extern const u8" `(echo scrollbar_box_over.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo scrollbar_box_over.png | tr . _)`.h
    echo "extern const u32" `(echo scrollbar_box_over.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo scrollbar_box_over.png | tr . _)`.h
    throbber.png
    bin2s -a 32 /c/fceu/source/ngc/images/throbber.png | powerpc-eabi-as -o throbber.png.o
    echo "extern const u8" `(echo throbber.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo throbber.png | tr . _)`.h
    echo "extern const u8" `(echo throbber.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo throbber.png | tr . _)`.h
    echo "extern const u32" `(echo throbber.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo throbber.png | tr . _)`.h
    bg_music.ogg
    bin2s -a 32 /c/fceu/source/ngc/sounds/bg_music.ogg | powerpc-eabi-as -o bg_music.ogg.o
    echo "extern const u8" `(echo bg_music.ogg | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo bg_music.ogg | tr . _)`.h
    echo "extern const u8" `(echo bg_music.ogg | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo bg_music.ogg | tr . _)`.h
    echo "extern const u32" `(echo bg_music.ogg | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo bg_music.ogg | tr . _)`.h
    enter.ogg
    bin2s -a 32 /c/fceu/source/ngc/sounds/enter.ogg | powerpc-eabi-as -o enter.ogg.o
    echo "extern const u8" `(echo enter.ogg | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo enter.ogg | tr . _)`.h
    echo "extern const u8" `(echo enter.ogg | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo enter.ogg | tr . _)`.h
    echo "extern const u32" `(echo enter.ogg | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo enter.ogg | tr . _)`.h
    exit.ogg
    bin2s -a 32 /c/fceu/source/ngc/sounds/exit.ogg | powerpc-eabi-as -o exit.ogg.o
    echo "extern const u8" `(echo exit.ogg | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo exit.ogg | tr . _)`.h
    echo "extern const u8" `(echo exit.ogg | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo exit.ogg | tr . _)`.h
    echo "extern const u32" `(echo exit.ogg | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo exit.ogg | tr . _)`.h
    button_click.pcm
    bin2s -a 32 /c/fceu/source/ngc/sounds/button_click.pcm | powerpc-eabi-as -o button_click.pcm.o
    echo "extern const u8" `(echo button_click.pcm | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo button_click.pcm | tr . _)`.h
    echo "extern const u8" `(echo button_click.pcm | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo button_click.pcm | tr . _)`.h
    echo "extern const u32" `(echo button_click.pcm | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo button_click.pcm | tr . _)`.h
    button_over.pcm
    bin2s -a 32 /c/fceu/source/ngc/sounds/button_over.pcm | powerpc-eabi-as -o button_over.pcm.o
    echo "extern const u8" `(echo button_over.pcm | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo button_over.pcm | tr . _)`.h
    echo "extern const u8" `(echo button_over.pcm | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo button_over.pcm | tr . _)`.h
    echo "extern const u32" `(echo button_over.pcm | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo button_over.pcm | tr . _)`.h
    make[2]: *** No rule to make target `/c/fceu/source/ngc/utils/ehcmodule.elf.o', needed by `/c/fceu/executables/fceugx-wii.elf'. Stop.
    make[1]: *** [build_wii] Error 2
    make[1]: Leaving directory `/c/fceu'
    "make": *** [wii] Error 2
     
  11. matguitarist

    Member matguitarist GBAtemp Fan

    Joined:
    Oct 14, 2008
    Messages:
    458
    Location:
    Canada
    Country:
    Canada
    you need to add ehcmodule.elf.o from mplayer ce source to your fceu/source/ngc/utils/ directory

    it's in the mplayer\osdep\ directory
     
  12. comfaithgenesisr
    OP

    Member comfaithgenesisr GBAtemp Regular

    Joined:
    Nov 11, 2009
    Messages:
    229
    Location:
    Internet
    Country:
    United Kingdom
    Thanks, i couldnt find it before i even search but didnt show, i went to that dir you mentioned and it was there...
    I'll edit the post later to let you know if it works

    Edit : It worked at last [​IMG]
    now to test it [​IMG]
     
  13. matguitarist

    Member matguitarist GBAtemp Fan

    Joined:
    Oct 14, 2008
    Messages:
    458
    Location:
    Canada
    Country:
    Canada
    It's great to see it work [​IMG]

    if i remember you'll need ehcmodule.elf.o for snes9x-gx and vba-gx too
     
  14. TheSly

    Newcomer TheSly Advanced Member

    Joined:
    Oct 27, 2013
    Messages:
    89
    Country:
    Austria
    When I open the file "Makefile" with programmers notepad, I can't find the tool "make"...

    I want to change the colour themes of VbaGX, FceuGX and Snes9GX, so they fit better to my WiiFlow-Theme.
    (I downloaded their sources from Googlecode using Tortoise SVN, installed DevKitPro - including DevKitPPC r24 and Libogc 1.8.7 - and created a folder called "portlibs", where I put the ported libraries from Googlecode)

    What am I doing wrong?
    Please help:-(

    PS: Sorry, found it...
     

Share This Page