Basic Questions and Answers Thread

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

  1. Painto

    Painto Well-Known Member Member

    Joined:
    Mar 24, 2014
    Messages:
    317
    Location:
    Lublin, Poland
    In addition to what Giovanni said, you also need to go to Sonic_Loops: (_incObj/Sonic Loops.asm in the GitHub disasm) and at the very beginning you'll see a check for Star Light Zone and Green Hill Zone:
    Code:
    Sonic_Loops:                ; XREF: Obj01_Control
            cmpi.b    #3,($FFFFFE10).w ; is level SLZ    ?
            beq.s    loc_13926    ; if yes, branch
            tst.b    ($FFFFFE10).w    ; is level GHZ ?
            bne.w    locret_139C2    ; if not, branch
    loc_13926:
    You need to either remove that entirely or add a check for the zone you want to put the loop in.
     
    Giovanni, RandomName, KCEXE and 3 others like this.
  2. FruitcakeDog

    FruitcakeDog Newcomer Member

    Joined:
    May 28, 2020
    Messages:
    21
    Location:
    United Kingdom
    This might show how behind I am with hacking tools but does anyone know how to get ImaGenesis working on Windows 10 or know of any more up-to-date replacements for it?
    Whenever I try to export something it keeps saying ‘richtx32.ocx’ is missing even after adding said file to the program folder and my System32 folder.
     
  3. nineko

    nineko I am the Holy Cat Member

    Joined:
    Mar 24, 2008
    Messages:
    1,837
    Location:
    italy
    Did you regsvr it?

    (please ignore the fact that the link talks about FoxPro, I'm posting from my phone so I just picked the first relevant result, this works for all kinds of ocx files)
     
  4. FruitcakeDog

    FruitcakeDog Newcomer Member

    Joined:
    May 28, 2020
    Messages:
    21
    Location:
    United Kingdom
    Just tried what you said and the console gave me the error message attached below. Not really sure where to go from there because the only fixes I've seen can potentially mess up your computer.
     

    Attached Files:

  5. nineko

    nineko I am the Holy Cat Member

    Joined:
    Mar 24, 2008
    Messages:
    1,837
    Location:
    italy
    I think you did it wrong, it looks like you tried to execute the ocx file itself instead of using regsvr. Then again, I know nothing about Windows 10, so I might be wrong myself.
     
  6. FruitcakeDog

    FruitcakeDog Newcomer Member

    Joined:
    May 28, 2020
    Messages:
    21
    Location:
    United Kingdom
    I decided to have a look on YT and found out that you had to run Command Prompt as an administrator, I figured out the rest from there and managed to get it working.

    Thanks for starting me off on the right track! :)
     
    nineko likes this.
  7. nineko

    nineko I am the Holy Cat Member

    Joined:
    Mar 24, 2008
    Messages:
    1,837
    Location:
    italy
    I'll admit I could have given you more detailed directions instead of the generic link I found, but I was a bit in a hurry, I'm glad you could connect the pieces yourself :)
     
    FruitcakeDog likes this.
  8. GottaGoFast

    GottaGoFast Newcomer Trialist

    Joined:
    Jan 15, 2021
    Messages:
    9
    Been figuring out this but, im trying to make the GHZ ball move, so I tried porting the original prototype code to it but it would work even if changing it to the correct data and code? Anyone got a fix?

    Edit: converted it to hivebrain, no need for answers. Thank you for your time.
     
    Last edited: Feb 15, 2021
  9. ProjectFM

    ProjectFM Optimistic and self-dependent Member

    Joined:
    Oct 4, 2014
    Messages:
    890
    Location:
    Orono, Maine
    Can you be more specific on how it's not working? If it doesn't appear, you may have not added its label to _inc/Object pointers.asm. If it just doesn't move, you may be missing a jsr to either SpeedToPos or ObjectFall. Both subroutines convert the object's velocity to position, though ObjectFall adds to the y velocity so that it falls.
     
  10. GottaGoFast

    GottaGoFast Newcomer Trialist

    Joined:
    Jan 15, 2021
    Messages:
    9
    Well, It basically wont move correctly. The only code that works is the animating code. The rest breaks.

    Ill atleast try.

    Somehow, it animated still, is there an available ball code atleast?
     
    Last edited by a moderator: Feb 15, 2021
  11. Mr. Joker 27 Music prod.

    Mr. Joker 27 Music prod. Musician, composer, remixer. Member

    Joined:
    Aug 26, 2016
    Messages:
    181
    A tip: Don't double post or triple post, you can edit your sentences in the same post.
     
  12. FruitcakeDog

    FruitcakeDog Newcomer Member

    Joined:
    May 28, 2020
    Messages:
    21
    Location:
    United Kingdom
    Hope I’m not interrupting anything...
    This sort of follows up from my previous question, I’ve implemented my desired image over what used to be the hidden Japanese credits, alas the new graphic is the same dimensions as the credits screen. Everything seems to be working fine, palette and all, except that the mappings (compressed as binary Enigma) are somewhat scrambled in-game. They show up fine in SonPLN so I’m not really sure what’s going on here.
     
  13. GottaGoFast

    GottaGoFast Newcomer Trialist

    Joined:
    Jan 15, 2021
    Messages:
    9
    Haha, sorry about that, its my first time here. I don't know the basics here. Is there a rule page that can be linked?
     
  14. Unavailable

    Unavailable Stuyding so I'm unavalible to speak. Member

    Joined:
    Aug 7, 2019
    Messages:
    285
    Location:
    England
    It's on the home page. Just select "SSRG Terms and Rules" and read the rules carefully.
     
  15. Mr. Joker 27 Music prod.

    Mr. Joker 27 Music prod. Musician, composer, remixer. Member

    Joined:
    Aug 26, 2016
    Messages:
    181
    I am not laughing, do not take with humor when one warns you, there are rules and terms that you should read and understand
     
    Unavailable likes this.
  16. MainMemory

    MainMemory Well-Known Member Member

    Joined:
    Mar 29, 2011
    Messages:
    913
    Did you set the mappings for the correct tile offset and size in the code? Do you have too many tiles and another piece of art is overwriting them?

    Also, if you had SonPLN, what did you need ImaGenesis for?
     
  17. FruitcakeDog

    FruitcakeDog Newcomer Member

    Joined:
    May 28, 2020
    Messages:
    21
    Location:
    United Kingdom
    I didn't really use SonPLN for anything other than viewing the art after I'd ported all the files over. Basically I ran the original pic through ImaGenesis and got the tile data, palette and tile mappings, compressed the tiles and mappings in Nemesis and Enigma respectively with the Sega Data Compressor, overwrote the original graphic and mappings files for the JP credits and added the palette in myself. I assumed ImaGenesis automatically did anything it needed in order for the mappings to work rather than having to input anything manually.

    For context, I've attached the original pic and how it loads in-game below. The graphics for the title emblem don't load in until a few secs after the image pops up so graphic overwriting shouldn't be the problem here as far as I know.
     

    Attached Files:

  18. MainMemory

    MainMemory Well-Known Member Member

    Joined:
    Mar 29, 2011
    Messages:
    913
    But... that's already from a MD game. You should be able to rip the mappings, art, and palette directly from S3D, either by finding it in the ROM/disassembly or by taking a savestate on the menu. Also you shouldn't use Sega Data Compressor, use FW-KENSC instead.
     
    RandomName and Unavailable like this.
  19. FruitcakeDog

    FruitcakeDog Newcomer Member

    Joined:
    May 28, 2020
    Messages:
    21
    Location:
    United Kingdom
    I'm just using that image as a placeholder until I've figured out how to do this, it was the first one I could find. I tried the process again using FW-KENSC instead of SDC only to get the same garbled mess as before.
     
  20. Nat The Porcupine

    Nat The Porcupine Point & Click Funny Man Retired Staff

    Joined:
    Jun 23, 2017
    Messages:
    70
    Location:
    Pennsyltucky
    Oh, so we're 2 for 2 on backseating with a condescending tone then today, are we?

    I've already addressed this with you in a different thread, but I'll go ahead and just give a general reminder to everyone not to backseat or minimod. Talking like this to newcomers is the kind of shit that puts people off to even joining. If you see something you think needs to be addressed, just alert us to it. We swear we can handle it; it's our job.

    Edit: Forgot the quote