saving problem with SonMapEd and Sonic 1

Discussion in 'Discussion and Q&A Archive' started by Viento, Sep 4, 2013.

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

    Viento Newcomer Trialist

    Joined:
    Sep 4, 2013
    Messages:
    5
    Location:
    Granada
    Hi all,

    I want to make a sonic 1 (megadrive/genesis) hack for a friend's birthday. I have investigated and learned over the internet about hacking roms, so i downloaded sonmaped and a few dissassemblies.

    I already managed to modify sprites, alter levels (with maped2) and so, but i have a problem when triying to insert my own sprites on sonic 1.
    As i said, i can modify a sprite (example: the basic stand sprite), save the file (artunc/sonic.bin), compile and play. However, if i try to insert a custom sprite (modifing artunc/sonic.bin, palletes/sonic.bin, _maps/sonic.bin and _maps/sonic_gfx_dinamic_.bin), the dissassembly brokes and dont compile.

    I have tried simply open the files and saving again, and the dissassembly cant compile. However, if i try with a sonic 2 dissassembly, it works fine.

    I have try on various dissassemblies and sonmaped's versions, and i think it's a program bug with sonic 1, so i am searching for a functional version, or other program.. or some tipe of help.

    I am using sonmaped 1.5 and svn's dissassembly from "sonicretro"

    Any advice?

    Thank you for reading!
     
  2. nineko

    nineko I am the Holy Cat Member

    Joined:
    Mar 24, 2008
    Messages:
    1,902
    Location:
    italy
    It would be useful to know the error(s) you're getting when you compile the disassembly. If you don't know how to do that, the easiest thing you can do is to open the batch file in notepad and add "pause" (without quotes) in a new line at the bottom of the file, this will prevent the ms-dos window from closing at the end of the process, allowing you to write down (or make a screenshot -- remember to press Alt+PrintScreen if you do so) the errors.
     
    Last edited by a moderator: Sep 4, 2013
  3. Viento

    Viento Newcomer Trialist

    Joined:
    Sep 4, 2013
    Messages:
    5
    Location:
    Granada
  4. nineko

    nineko I am the Holy Cat Member

    Joined:
    Mar 24, 2008
    Messages:
    1,902
    Location:
    italy
    It looks like the labels in files you edited are gone. I'm not familiar with this particular issue, so I looked for it. It turns out that SonMapEd has a habit to destroy the labels, as reported here.
     
  5. Viento

    Viento Newcomer Trialist

    Joined:
    Sep 4, 2013
    Messages:
    5
    Location:
    Granada
    Thank you!

    So, if i have understood, i must open the "sonic.asm" and "Sonic - Dynamic Gfx Script.asm" files (as this files contains the sonic's mappings) and change the names manually after the edition with SonMapEd?

    Edit: Well i will try first and then ask again, sorry xD
     
    Last edited by a moderator: Sep 4, 2013
  6. nineko

    nineko I am the Holy Cat Member

    Joined:
    Mar 24, 2008
    Messages:
    1,902
    Location:
    italy
    I don't know, I never used SonMapEd because it confused the hell out of me, so I did the few art edits in my hack in other ways. It's good that you said you're going to try something by yourself, that's always the best way to solve problems and learn new things. But if you still fail I'm sure other people more experienced with SonMapEd will be able to give you better advices.
     
    Last edited by a moderator: Sep 4, 2013
  7. Viento

    Viento Newcomer Trialist

    Joined:
    Sep 4, 2013
    Messages:
    5
    Location:
    Granada
    [​IMG]

    Worked like a charm :D

    Simply make a copy of _map folder, and after saving files on SonMapEd, open "Sonic.asm" and "Sonic - Dynamic Gfx Script.asm" and replace the definition names of the variables. Just like they said on the link you posted, SonMapEd use anothes names, so the builder cant find and relate the mappings.

    Nineko you gave me the clue i need to solve this, so thank you :). Actually i'm using SonMapEd because i don't know about another program (or easy method) to change the sprites AND mappings (i tried Sonik Sprite but no mappings)

    If anyone have problems with this issue can pm me, or i can write a guide

    Thank you again, i hope to show all of you a personal hack in short time :D
     
Thread Status:
Not open for further replies.