Announcement

Collapse
No announcement yet.

Snes File<->LoRom<->HiRom Convertor

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Snes File<->LoRom<->HiRom Convertor

    Needed something a few minutes ago that I've been vaguely working on for a while, so here's the finished conversion util. Converts from LoRom to HiRom or Hex Address in File, or any combination of the 3 as input to the other 2 as output. VB6 Source included.

    Could be useful if someone wants to make it apply SNES GG codes or something like that. (On that note: Any LoRom GG address that hits below a 008000 boundry seems to just have the 008000 ORed into the address on the hardware, partially evidenced by the 'Fix' button in ZSNES)

    http://www.gshi.org/downloads/SNESAddresses.zip
    This reality is mine. Go hallucinate your own.

  • #2
    what is the difference between LoRom and HiRom?
    Spoiler Alert! Click to view...

    THE BAD GUY!!!!!!

    Comment


    • #3
      The addressing system used. Some HiRom games seem to use LoRom addressing from time to time. LoRom games seem to be unable to accurately read from a HiRom address(meaning it's likely not mirrored). LoRom addresses (808000-BFFFFF) always have bit 080000 set in the address, which tends to make carving out the address from file to LoRom address(or the reverse) a nightmare for those not mathematically inclined.

      Been on the lookout find an existing equasion for LoRom<->Hex for a while, but it took simple boredom and a significant need to get the rest of it done from what I know.
      This reality is mine. Go hallucinate your own.

      Comment


      • #4
        That's pretty cool. I'll add this to the Downloads section.
        I may be lazy, but I can...zzzZZZzzzZZZzzzZZZ...

        Comment


        • #5
          OK; added.
          I may be lazy, but I can...zzzZZZzzzZZZzzzZZZ...

          Comment


          • #6
            so say I make a code for LoRom then convert to HiRom the old code for LoRom wont work on the new HiRom Converted rom?since the offset isnt there like it is in LoRom?
            Last edited by Helder; 08-29-2008, 09:44:41 PM.
            Spoiler Alert! Click to view...

            THE BAD GUY!!!!!!

            Comment


            • #7
              HiRom and LoRom both access a portion of the same space, but a HiRom game only gets access to 008000 ORed portions of the C0*000 pages that equate to the same ROM area. The Debug SNES9X seems to allow some degree of access to the HiRom area for a LoRom game, but the same barrier of calculations exists(My test must have been a non 008000 ORed address). It's just the LoRom addressing + 0x400000, which makes it almost pointless to use it, because you still don't know where the heck a file variable is in the mirrored ROM, same as for the regular LoRom addressing.
              This reality is mine. Go hallucinate your own.

              Comment


              • #8
                Needed an update to account for some interoperability between HiRom and LoRom region.
                This reality is mine. Go hallucinate your own.

                Comment


                • #9
                  I Stickyed this thread as its a cool tool you have there and so it wont get lost in the clutter of other threads over time.
                  Spoiler Alert! Click to view...

                  THE BAD GUY!!!!!!

                  Comment


                  • #10
                    Glad you thought it was useful enough for that.

                    Modified the program to account for yet still another more additional continuing supplimental subsequent mirroring. If someone's got the SNES hardware and a GG(and a game to use for boundry testing), I'd like to throw some codes at one of the games to see if the mirroring info is accurate for the system itself.
                    This reality is mine. Go hallucinate your own.

                    Comment


                    • #11
                      I have both but its in storage somewhere,maybe someone else has the combo in hand like the guys over in VisitntX's Snes GG code thread,might want to ask in there.
                      Spoiler Alert! Click to view...

                      THE BAD GUY!!!!!!

                      Comment


                      • #12
                        Hmm, I'm a bit lost on what this does exactly.

                        I have patched Game Genie codes to my SNES roms, but some codes just will not take (says address out of range for some).

                        Would this app help with that?

                        Comment


                        • #13
                          7E0000-7FFFFF is RAM
                          A lot of codes are mirrored throughout the ROM. Find out if it's a HiROM or LoROM game(most emulators will tell you somewhere), then put the address into the corresponding field. It should be fixed as well as converted to the other formats.
                          This reality is mine. Go hallucinate your own.

                          Comment


                          • #14
                            Added the ability to apply a GG code to a ROM, in case there's any interest in that.
                            This reality is mine. Go hallucinate your own.

                            Comment


                            • #15
                              Gread addition! Works really well so far.
                              Last edited by orcanaoftime; 11-17-2008, 06:05:51 AM.

                              Comment

                              Working...
                              X