How to build a .dol file

Discussion in 'Wii - Hacking' started by G0dLiKe, Oct 14, 2010.

  1. G0dLiKe
    OP

    G0dLiKe who needs a title ;)

    Member
    1,674
    51
    Aug 2, 2009
    United States
    So, long story short

    I want to build a .dol of a emulator for MSX2 games which recognizes different rom mapper types saved in a romdb.xml.

    After building the .dol I want to make a 00000001.app of it and include it in a existing VC .wad

    Alternative to building a new .dol from a emulator like openMSX for example, I could edit the existing .dol I extracted from a VC.wad file but I dunno how to do this.

    BTW, anyone knows a way to edit .bin files? I want to edit the msx2config.bin, maybe I can change the rom mapper type in there also.

    Any insight or hints would be a blast.
    Thx
     
  2. giantpune

    giantpune GBAtemp Addict

    Member
    2,860
    122
    Apr 10, 2009
    United States
    code is compiled into elf files. then the elf in converted to a dol.

    And "bin file" is really ambiguous. This is just a generic bunch of bytes. There is no set format, header, size, etc for a .bin. It is just binary data stored as a single file in whatever way the creator felt like storing the data.
     
  3. G0dLiKe
    OP

    G0dLiKe who needs a title ;)

    Member
    1,674
    51
    Aug 2, 2009
    United States
    Sucks, so no way to edit anything inside the .bin?
     
  4. Jacobeian

    Jacobeian GBAtemp Advanced Maniac

    Member
    1,884
    122
    May 15, 2008
    Cuba
    Your best choice is to edit one of the homebrew MSX emulators source or config file then recompile it using Devkitpro, providing the sources and makefile are available.

    You can edit bin files with an hex editor but you need to know what to modify in there because it won't magically tell you , those are basically binary data.