Fixing The SYZ Project File "Bug"

Discussion in 'Tutorials Archive' started by c1owd, Dec 21, 2008.

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

    c1owd Previously 'CarrascoZX0' Member

    Joined:
    Dec 13, 2008
    Messages:
    364
    Title: <- Fixing The SYZ1 Project File "Bug"


    Author: <- (Me-CarrascoZX0)


    About:


    This guide will cover how to fix the Spring Yard Zone (Act 1) Project File on SonED2 from crashing when trying to save it...


    Have you ever tried to edit syz1.sep in SonED2 but when you try to save the level, SonED2 just crashes... Well lots of people say it a bug in SonED2 but it really isn't, there's just something wrong the project file (.sep). It's a very easy fix, all you have to do is:


    1.) Go into your "project" folder in your Disassembly and open syz1.sep with any text editor.


    2.) You should get this:



    Code:
    Type: 1	
    
    
    
    Zone ID:    0
    
    Act ID:     0
    
    
    
    Object Def: objdef\s1obj
    
    
    
    8x8 Tiles: ..\artnem\8x8syz.bin
    
    
    
    16x16 Tiles:   ..\map16\syz.bin
    
    
    
    256x256 Tiles: ..\map256\syz.bin
    
    
    
    FG Layout: ..\levels\syz1.bin
    
    BG Layout: ..\levels.old\syzbg.bin
    
    
    
    Objects:       ..\objpos\syz1.bin
    
    
    
    Palettes-
    
    
    
     Number of files: 2
    
    
    
      Palette 1-
    
    
    
       Start index:        0
    
       Number of entries: 16
    
       File:              ..\pallet\sonic.bin
    
    
    
      Palette 2-
    
    
    
       Start index:       16
    
       Number of entries: 48
    
       File:              ..\pallet\syz.bin
    
    
    
    Angle Array:             ..\collide\anglemap.bin
    
    Collision Array:         ..\collide\carray_n.bin
    
    Rotated Collision Array: ..\collide\carray_r.bin
    
    
    
    Collision Index 1: ..\collide\syz.bin
    
    
    
    -EOF-


    And for another example "ghz1.sep"



    Code:
    Type: 1	
    
    
    
    Zone ID:    0
    
    Act ID:     0
    
    
    
    Object Def: objdef\s1obj
    
    
    
    8x8 Tiles: ..\artnem\8x8ghz.bin
    
    
    
    16x16 Tiles:   ..\map16\ghz.bin
    
    
    
    256x256 Tiles: ..\map256\ghz.bin
    
    
    
    FG Layout: ..\levels\ghz1.bin
    
    BG Layout: ..\levels\ghzbg.bin
    
    
    
    Objects:       ..\objpos\ghz1.bin
    
    
    
    Palettes-
    
    
    
     Number of files: 2
    
    
    
      Palette 1-
    
    
    
       Start index:        0
    
       Number of entries: 16
    
       File:              ..\pallet\sonic.bin
    
    
    
      Palette 2-
    
    
    
       Start index:       16
    
       Number of entries: 48
    
       File:              ..\pallet\ghz.bin
    
    
    
    Angle Array:             ..\collide\anglemap.bin
    
    Collision Array:         ..\collide\carray_n.bin
    
    Rotated Collision Array: ..\collide\carray_r.bin
    
    
    
    Collision Index 1: ..\collide\ghz.bin
    
    
    -EOF-
    Now, notice that all the directories look the same except for the BG Layout:in ghz1.sep it says:



    Code:
    BG Layout: ..\levels\ghzbg.bin
    But in syz1.sep it says:



    Code:
    BG Layout: ..\[b]levels.old[/b]\syzbg.bin
    Now see the difference? (besides the fact that one is ghz.bin and the other one is syz.bin). That the Green Hill Zone (Act 1) directory is: levels\ghz.bin



    But, Spring Yard Zone (Act 1) is: levels.old\syz.bin



    Now when you look in your Disassembly you see that there is a "levels" folder but not a "levels.old" folder, werid... :p



    3.) So all you have to do is:



    change:



    Code:
    BG Layout: ..\[b]levels.old[/b]\syzbg.bin


    into:



    Code:
    BG Layout: ..\[b]levels[/b]\syzbg.bin


    4.) After this save the syz1.sep project file in your text editor & tryout the new project file.


    5.) Open SonED2 and load syz1.sep and just save the project file, and if you see something like this at the bottom of the screen, and the program doesn't crash...


    [​IMG]


    Then you know that you did it correctly, obviously... =P


    Now, you can edit and save Spring Yard Zone (Act 1) with no crashes!


    Thanks For Viewing...


    Credits: CarrascoZX0


    EDIT: I changed almost everything I basically typed, and made it look more "clean".


    I typed like an idiot back then... ^^'
     
    Last edited by a moderator: Mar 15, 2010
  2. bareirito

    bareirito Well-Known Member Member

    Joined:
    Nov 17, 2008
    Messages:
    87
    Location:
    Argentina
    This is what I have searched, thanks Carrasco! :)
     
  3. c1owd

    c1owd Previously 'CarrascoZX0' Member

    Joined:
    Dec 13, 2008
    Messages:
    364
    your very welcome!!! glad i can help!!! :)
     
  4. c1owd

    c1owd Previously 'CarrascoZX0' Member

    Joined:
    Dec 13, 2008
    Messages:
    364
    sorry for double posting.......did it on accident!!! :)
     
    Last edited by a moderator: Jan 2, 2009
  5. amphobius

    amphobius spreader of the pink text Member

    Joined:
    Feb 24, 2008
    Messages:
    970
    Location:
    United Kingdom
    I don't think it's absolutely nessacary to give credit, it's a mistake on Quickman's/Stealth's part. I mean it's simple as changing a line of text. Though useful, some people could of worked it out themselves.


    But enough trolling, new people to hacking should find this useful for editing. I mean, people would wonder why their stuff isn't saving :)
     
  6. c1owd

    c1owd Previously 'CarrascoZX0' Member

    Joined:
    Dec 13, 2008
    Messages:
    364
    Yup, your right... I'm was just an idiot back then... :)


    EDIT: Changed my entire post...


    I typed like an idiot back then...
     
    Last edited by a moderator: Mar 15, 2010
  7. UtopiaUK

    UtopiaUK Well-Known Member Member

    Joined:
    Feb 2, 2009
    Messages:
    92
    Thank you so much for putting up this guide. That SYZ 1 error was so irritating.
     
  8. c1owd

    c1owd Previously 'CarrascoZX0' Member

    Joined:
    Dec 13, 2008
    Messages:
    364
    Sure anytime!
     
Thread Status:
Not open for further replies.