don't click here

Basic Questions & Answers thread

Discussion in 'Engineering & Reverse Engineering' started by Tweaker, May 29, 2008.

  1. Alex Field

    Alex Field

    シュート! カオス・エメラルド・ザが消えようとしている! Member
    Can someone please explain why the Crab Meat/Giant Ring graphics aren't loading when using PLCs? (I'm using Sonic 2's PLC format)

    Code (Text):
    1. ; ===========================================================================
    2.  
    3. GiantRing_LoadPLC:
    4.         moveq    #0,d0
    5.         move.b    $1A(a0),d0    ; load frame number
    6.         cmp.b    ($FFFFF6FD).w,d0
    7.         beq.s    +
    8.         move.b    d0,($FFFFF6FD).w
    9.         lea    (GiantRingDynPLC).l,a2
    10.         add.w    d0,d0
    11.         adda.w    (a2,d0.w),a2
    12.         move.b    (a2)+,d5
    13.         subq.w    #1,d5
    14.         bmi.s    +
    15.         move.w    #tiles_to_bytes(ArtTile_ArtUnc_CrabMeat),d4
    16.  
    17. GRPLC_ReadEntry:
    18.         moveq    #0,d1
    19.         move.w    (a2)+,d1
    20.         move.w    d1,d3
    21.         lsr.w    #8,d3
    22.         andi.w    #$F0,d3
    23.         addi.w    #$10,d3
    24.         andi.w    #$FFF,d1
    25.         lsl.l    #5,d1
    26.         addi.l    #Art_BigRing,d1
    27.         move.w    d4,d2
    28.         add.w    d3,d4
    29.         add.w    d3,d4
    30.         jsr    (QueueDMATransfer).l
    31.         dbf    d5,GRPLC_ReadEntry    ; repeat for number of entries
    32. +
    33.         rts  
    34. ; End of function GiantRing_LoadPLC
    35.  
     
  2. MarkeyJester

    MarkeyJester

    Time to Grow Up. Resident Jester
    2,119
    245
    43
    Japan
    Try and put this in before the "move.b (a2)+,d5":

    Code (Text):
    1.     moveq   #$00,d5
     
  3. Alex Field

    Alex Field

    シュート! カオス・エメラルド・ザが消えようとしている! Member
  4. Devon

    Devon

    There's nothing left but faith Tech Member
    860
    584
    93
    Code (Text):
    1. move.b    (a2)+,d5

    Should be:
    Code (Text):
    1. move.w    (a2)+,d5
     
    Last edited: Dec 10, 2019
  5. Alex Field

    Alex Field

    シュート! カオス・エメラルド・ザが消えようとしている! Member
    Works! Thanks Ralakimus!
     
  6. Wafer

    Wafer

    Find me on Twitter instead Member
    255
    75
    28
    Embarrassingly noobish question: Does anyone have a primer for regen's debugger? I've been getting along with r57shell's Gens mod until now because I didn't even know about regen when I got started, but I'm wanting to do breaks on VRAM writes and I can't seem to make regen's debugger do, well, anything except stepping through instructions.

    The fact that the emulator pauses when the debugger is open has got me particularly bamboozled.
     
  7. The Joebro64

    The Joebro64

    SAY HELLO TO MY CHOCOLATE BLEND Member
    2,013
    1,313
    93
    I've been experiencing screen tearing on Kega Fusion on my Mac. Anyone know how to fix it? It's minor so it's not a huge deal if I can't fix it, but it does bug me.
     
  8. Devon

    Devon

    There's nothing left but faith Tech Member
    860
    584
    93
    Is VSync on by chance? If not, give that a try.
     
  9. So hey guys. I think I have a problem here. You see,I’m starting to use Soned2 to make my own ROM hack but there’s a problem. For some reason when I use Soned2 to edit Sonic 2,the palette in the editor is really weird. For example,Sonic looks like that outdated rainbow frog meme,the sky looks like a screwed up sunset and same with the rest of the entirety of the entire game! So how I’m am supposed to fix this glitch though?





    If solved,thanks.
     
  10. The Joebro64

    The Joebro64

    SAY HELLO TO MY CHOCOLATE BLEND Member
    2,013
    1,313
    93
    That seems to have fixed it. Thanks!
     
  11. Wafer

    Wafer

    Find me on Twitter instead Member
    255
    75
    28
    There's your problem right there. You probably want to be using SonLVL instead of any version of SonEd. Make sure you use it along with this disassembly.
     
    Last edited: Dec 29, 2019
  12. TheInvisibleSun

    TheInvisibleSun

    OVER THE TOP TECHNO-BLAST Member
    1,620
    191
    43
    Buffalo, NY, USA
    The Water
    I was going to type something similar at first, but it doesn't inherently solve his issue (and his problem doesn't look like a common SonEd2 issue, though I haven't used the software in several years).


    @AquaChill Electrohex If you still insist on using SonEd2 rather than SonLVL, I'd look at the palette in a separate editor/viewer (like HivePal). Is the palette messed up there, or when you actually load the ROM as well?

    Either way, I also suggest giving SonLVL a shot, as it has many more features/options, and is actively being supported/updated nowadays. I also find its controls and UI to be far better and much easier to use than SonED2
     
    • Like Like x 1
    • Agree Agree x 1
    • List
  13. Wafer

    Wafer

    Find me on Twitter instead Member
    255
    75
    28
    I agree with your points, but I feel it's a good start to use modern, maintained software. Even if it doesn't fix this issue (and I'll bet good money that it would, against all logic, fix this issue), it stops the next few issues from even happening. If nothing else, the user becomes easier to support, because they're on the same playing field as everyone else. Also, since the user's just starting out, it's unlikely that there's anything broken that wouldn't be fixed by starting over with better tools.
     
    Last edited: Dec 30, 2019
  14. EpsilionDubwool

    EpsilionDubwool

    Be a boss-man and come to my big and tall man shop Member
    Hey there! I wanted to port Tails to Sonic 1 via version 3 but for some reason when I tried it out by pressing B on the title screen, this happens:
    Screenshot 2020-01-01 at 13.58.59.png
    Everything blacks out and Tails is not there. Is there a fix?

    Someone moved my post here, so I'm talking about adding new characters by Natsumi.
     
    Last edited: Jan 2, 2020
  15. JustMe

    JustMe

    Member
    43
    27
    18
    Planet Earth
    Being lazy
    I think you used byte $1 for the Tails, right? If so, Natsumi's guide tells that character IDs are always in increments of 4, so change id to $3 :specialed:
     
  16. AURORA☆FIELDS

    AURORA☆FIELDS

    The cute one here Tech Member
    216
    24
    18
    Finland
    AMPS
    if that were the case, the second character would have an ID of $04, third $08, then $0C, etc. That said the post isn't enough information to go off from so its hard to suggest trying anything
     
  17. flarn2006

    flarn2006

    Member
    280
    3
    18
    SA2 Cheat Table
    Does anyone know of any PRS compression/decompression utilities that work on Linux, preferably command line based?
     
  18. E-122-Psi

    E-122-Psi

    Member
    2,289
    453
    63
    Are there any advisable emulators and tools for Mac right now?

    The recent updates to OS have made Kega Fusion incompatible and few hacking tools or even disassemblies tend to work on it.
     
  19. Clownacy

    Clownacy

    Tech Member
    929
    241
    43
    This one might work if you weed out some Windows types and rewrite the frontend.
     
  20. MainMemory

    MainMemory

    Kate the Wolf Tech Member
    4,648
    214
    43
    SonLVL