Adding extra characters

Discussion in 'Discussion and Q&A Archive' started by Hanoch, Sep 28, 2008.

Thread Status:
Not open for further replies.
  1. Hanoch

    Hanoch Well-Known Member Member

    Joined:
    Aug 3, 2008
    Messages:
    312
    Location:
    Israel
    I followed the guide in retro on adding extra characters to sonic 1 so i added tails to the game (without object code) when i added the art


    it actually loaded sonic with messed up art. so i added mappings, plc and pallet and i got these errors:


    C:\S1H\_MAPS\TAILS.BIN(1) : Error : Illegal character '☺' (1) in input


    C:\S1H\_INC\TAILS.BIN(1) : Error : Illegal character '☺' (1) in input


    C:\S1H\_INC\TAILS.BIN(2) : Error : Illegal character '♥' (3) in input


    I am using something like:


    Map_Tails:


    include "_maps/tails.bin"


    and when i use incbins, it loads only the messed up art.
     
  2. shobiz

    shobiz Well-Known Member Member

    Joined:
    Aug 11, 2007
    Messages:
    198
    Location:
    Karachi, Pakistan
    You have to use incbin, includes are for ASM data, while you're loading up binary data. Did you convert the mappings/PLCs into S1 format before using them?
     
  3. Hanoch

    Hanoch Well-Known Member Member

    Joined:
    Aug 3, 2008
    Messages:
    312
    Location:
    Israel
    No i didn't convert. i just did a copy/paste/rename from the 2007 s2 disassembly.


    EDIT: i converted the binary to asm using sonmaped but it still loads the "missingo" art.
     
    Last edited by a moderator: Sep 28, 2008
  4. Sephiroth

    Sephiroth WHY SO CURIOUS?!? Member

    Joined:
    Aug 11, 2007
    Messages:
    507
    Location:
    Qatar, M.E.
    Have you tried removing (1) and (2) from the names? =P


    Other than that, I'm not sure what the problem you are having is.
     
  5. Hanoch

    Hanoch Well-Known Member Member

    Joined:
    Aug 3, 2008
    Messages:
    312
    Location:
    Israel
    I didn't put 1 and 2 in the names. the bug caused because i used include direvtives on binary files. i converted them to asm using save data file mappings and plc in sonmaped. but it still loads the missingo art.
     
Thread Status:
Not open for further replies.