Basic Questions and Answers Thread

Discussion in 'Discussion & Q&A' started by Malevolence, Jul 7, 2009.

  1. SuperSayian Zrise

    SuperSayian Zrise Well-Known Member Member

    Joined:
    May 10, 2021
    Messages:
    60
    I had to assume what your trying to say is:
    1: I used SLZ for GHZ (Even though its not SLZ, its GHZ.)

    2. I used GHZ for SLZ (which is still not the case because of the above reason.)
    Or something is shifted and I don't know what and where it was shifted. Even though I did add extra zones. (Bonus levels, not actually apart of the game.)
    Then again, I only have Zone 07 and no more extra zones at the moment.
    Or here's the 3rd reason
    3. I overwrote something even though I use sonlvl and the ini file was fine. The only thing I did to Star Light Zone was change the palette. So, this is why I'm confused.
     
    TheInvisibleSun and Inferno like this.
  2. Inferno

    Inferno Rom Hacker Member

    Joined:
    Oct 27, 2015
    Messages:
    104
    Location:
    Sky Base Zone, South Island
    I meant the 3rd. Check SonLVL's view of the level rq in both INIs for both revisions, specifically for if there is an object at 0, 0.
     
    SuperSayian Zrise likes this.
  3. SuperSayian Zrise

    SuperSayian Zrise Well-Known Member Member

    Joined:
    May 10, 2021
    Messages:
    60
    But I'm wondering if I should delete it from the level or should I delete it from the zone.
    Or anything else like making the object null.

    But the thing is that its not some "natural object" that spawns without the object being placed in the layout. I know this because when I made Sonic 1.23 I reset act 1's layout and object position and the pylon just gone.
     
  4. DeltaWooloo

    DeltaWooloo *waving hello and goodbye* Member

    Joined:
    Aug 7, 2019
    Messages:
    338
    I know this might be unrelated to the situation but I've seen you've ported the foreground object well. Have you considered managing VRAM for it in order to load the art well for the object?

    Code:
            move.w    #$XXXX,obGfx(a0) 
    This is the line to map the VRAM for the art to load. But before you do that, be sure to set the mappings and art correctly. If you want to get a bit of insight as to loading the art correctly, take a look at this. It shows you the basics of VRAM and how you can load it. If you still can't set it up, let me know and I'll try to fully explain it to you at some point.
     
  5. Inferno

    Inferno Rom Hacker Member

    Joined:
    Oct 27, 2015
    Messages:
    104
    Location:
    Sky Base Zone, South Island
    Yes, you are right.

    Which means either the game is loading a object layout from SLZ or you accidentally placed a pylon somewhere.

    Which is why I asked you to check the object layout in SonLVL first. If it's fine, then the game is loading the wrong layout, either because the include for GHZ's object layout got swapped out with one for SLZ OR the code for grabbing the layout got broken. The easiest test for the solution here is to see if all other zones are fine. If they are, then GHZ's object layout files aren't being included, rather SLZ's are in their place.
     
    SuperSayian Zrise likes this.
  6. SuperSayian Zrise

    SuperSayian Zrise Well-Known Member Member

    Joined:
    May 10, 2021
    Messages:
    60
    Anyways heres a new problem I have. Before trying to test the levels and see if they worked, I tried opening SonLVL and this appears:
    [​IMG]
    And then, the windows defender says it found this:
    [​IMG]
    I could not figure out why, so I took a long break. Also, using start actions is useless because it deletes sonLVL. Any help for a sonlvl without this problem?
     
    FishyLah4451 likes this.
  7. TheInvisibleSun

    TheInvisibleSun Visible Member

    Joined:
    Jul 2, 2013
    Messages:
    392
    Location:
    Buffalo, NY, USA
    You can create an exception for the SonLVL folder in Windows Defender.
     
  8. JGamer2151

    JGamer2151 Newcomer Trialist

    Joined:
    Dec 1, 2020
    Messages:
    9
    I’ve seen something like that before, although it has never happened to me on my end. That looks like Windows Defender triggering a false positive to SonLVL, thinking that the program is a virus and may pose a threat to the OS when in reality the program is not harmful to the system.

    But yeah, whenever SonLVL is detected as a "virus", I would suggest having Windows Defender exempt the application and make sure that any antivirus software is not detecting the utility as a virus.
     
    TheInvisibleSun and Inferno like this.