Hack Build Fail

Discussion in 'Discussion and Q&A Archive' started by shadowbeasts, Feb 27, 2010.

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

    shadowbeasts I'm Legend Member

    Joined:
    Jan 5, 2009
    Messages:
    286
    Location:
    Good 'ol USA.
    Well I'm trying to build a sonic 1 rom but I get 2 different messages. If the disassembly folder is placed in another foldere I get



    SN 68k version 2.53

    SO\SONIC1.ASM(1) : Error : Could not open file 'SO\SONIC1.ASM'


    Lightning's ROM Padder


    Reported Size: 0 Reported Checksum: 0


    Size applied: 7F Checksum Applied: 0


    Press any key to continue . . .



    but if it's on the desktop I get



    SN 68k version 2.53

    The instruction at 00401dd2 referenced memory at 003b1000


    The memory could not be written



    I got this about a week or two ago and I didn't try to build again until now.


    I don't what happened, I was able to build roms before. Please help me I really don't know what to do this time.
     
  2. SpirituInsanum

    SpirituInsanum Well-Known Member Member

    Joined:
    Feb 11, 2010
    Messages:
    642
    I think I once had that problem, the path was too long (it was something like f:\soned2\oldversions\sonic1 - 100210 - blablabla\). I made it shorter and it solved the problem.
     
  3. Selbi

    Selbi The Euphonic Mess Member

    Joined:
    Jul 20, 2008
    Messages:
    2,429
    Location:
    Northern Germany
    Actually size doesn't matter. It seems you are using the ASM68k fix, were it doesn't matter how long the path is AFAIK.


    However, the first problem should be pretty obvious: The compiler cannot open the sonic1.asm file (the main ASM file). You probably just renamed, moved or deleted it.
     
  4. shadowbeasts

    shadowbeasts I'm Legend Member

    Joined:
    Jan 5, 2009
    Messages:
    286
    Location:
    Good 'ol USA.
    That's not the problem I have the ASM file in the Sonic 1 disassembly folder and it's called sonic1 and the only thing I I changed to the ASM file is I added the spindash. So I have no Idea what the problem is and I probably should have but posted this in the first post?
     
  5. EMK-20218

    EMK-20218 The Fuss Maker Exiled

    Joined:
    Aug 8, 2008
    Messages:
    1,067
    Location:
    Jardim Capelinha, São Paulo
    Rename your SONIC1.ASM(1) into SONIC1.ASM
     
    Last edited by a moderator: Feb 28, 2010
  6. shadowbeasts

    shadowbeasts I'm Legend Member

    Joined:
    Jan 5, 2009
    Messages:
    286
    Location:
    Good 'ol USA.
    Already called SONIC1.ASM
     
    Last edited by a moderator: Mar 1, 2010
  7. SpirituInsanum

    SpirituInsanum Well-Known Member Member

    Joined:
    Feb 11, 2010
    Messages:
    642
    I suppose it's really in the so\ folder, right? I guess it is, but someone had to ask the question.


    Do you have a backup of the file before you added the spindash? If so, does it compile correctly?


    Are you sure there isn't a second extension? If your OS hides known extensions, there could be another (hidden) extension after the .asm.
     
  8. shadowbeasts

    shadowbeasts I'm Legend Member

    Joined:
    Jan 5, 2009
    Messages:
    286
    Location:
    Good 'ol USA.
    it's not in an so/ folder I don't even have an so/ folder. I've tried to build with clean disassemblies with no luck.
     
  9. Irixion

    Irixion Well-Known Member Member

    Joined:
    Aug 11, 2007
    Messages:
    670
    Location:
    Ontario, Canada
    If a clean disassembly doesn't work, i can suggest two things.


    One, keep your assembly as close to the root of the drive as possible. I suggest C:/Hacking or something. If that does nothing--it may be something with cmd. A version of windows I had, some form of malware corrupted the registry I'm assuming, and rendered any cmd commands useless.
     
  10. SpirituInsanum

    SpirituInsanum Well-Known Member Member

    Joined:
    Feb 11, 2010
    Messages:
    642
    Maybe someone can confirm what's that "SO\" in the error message? It's written "SO\SONIC1.ASM", so I thought "so" was a folder :blink:


    By the way, did you check the batch file? I won't post mine since we aren't using the same version, but the path to the file may be wrong.
     
  11. shadowbeasts

    shadowbeasts I'm Legend Member

    Joined:
    Jan 5, 2009
    Messages:
    286
    Location:
    Good 'ol USA.
    Ya, there is something wrong with the cmd is there anyway to fix it without wiping the harddrive?
     
  12. Selbi

    Selbi The Euphonic Mess Member

    Joined:
    Jul 20, 2008
    Messages:
    2,429
    Location:
    Northern Germany
    Are you sure your cmd itself is really the problem? That would be pretty odd (which does not mean that it's impossible, as Irixion already said). If I were you, I would test a bit with the cmd to look if that's really the reason. This video contains some cmd releated stuff, you might wanna check out first. Other than that, no idea what to do.
     
    Last edited by a moderator: Apr 2, 2010
  13. DanielHall

    DanielHall Well-Known Member Member

    Joined:
    Jan 18, 2010
    Messages:
    860
    Location:
    North Wales
    Do you mind posting a print screen of your folder?
     
  14. shadowbeasts

    shadowbeasts I'm Legend Member

    Joined:
    Jan 5, 2009
    Messages:
    286
    Location:
    Good 'ol USA.
    what do you mean? I have the disassembly folder in another folder with all my hacking tools so which folder do you want? Also do you mean you just want a picture of what's in the folder?
     
  15. MarkeyJester

    MarkeyJester ♡ ! Member

    Joined:
    Jun 27, 2009
    Messages:
    2,867
  16. shadowbeasts

    shadowbeasts I'm Legend Member

    Joined:
    Jan 5, 2009
    Messages:
    286
    Location:
    Good 'ol USA.

    Attached Files:

  17. MarkeyJester

    MarkeyJester ♡ ! Member

    Joined:
    Jun 27, 2009
    Messages:
    2,867
    Hmm, this is dodgy, I'm not sure how or why it presented this...

    ...when it's clear to me that...



    asm68k /o op+ /o os+ /o ow+ /o oz+ /o oaq+ /o osq+ /o omq+ /p /o ae- sonic1.asm, s1built.bin



    ...it's reading the source not from inside a "SO" folder, very strange, as "Dandaman955" said, could you maybe take a screen shot of all the contents where your "Build.bat" file is?
     
  18. MrSpade

    MrSpade It's meant to be Mr_Spad3 but y'know... Member

    Joined:
    Dec 5, 2009
    Messages:
    172
    Location:
    The UK
    Have you tried moving the entire Disassembly (Nothing else) onto your desktop, and then trying to build the ROM from there?
     
  19. DanielHall

    DanielHall Well-Known Member Member

    Joined:
    Jan 18, 2010
    Messages:
    860
    Location:
    North Wales
    Ho ho, real funny. ¬_¬


    But yeah, a screenshot of your disassembly was what we want.
     
    Last edited by a moderator: Apr 4, 2010
  20. c1owd

    c1owd Previously 'CarrascoZX0' Member

    Joined:
    Dec 13, 2008
    Messages:
    364
    Damn, you beat me to it! I was going to put something like that! D:


    Haha, anyway. I had a similar problem to... All I did was move my whole source to some other part of my computer and eventually it worked. =P
     
    Last edited by a moderator: Apr 5, 2010
Thread Status:
Not open for further replies.