Zone Doctor and FF6LE Expansion
#31
I thought about adding new maps (about 10) but right now there is already 7 unused maps (C7, DE, DF, E0, E3, E4, E5 and E6). I think this is enough to have new locations and dugeons... I'm still pondering the idea but I don't want to have too much empty maps.

As for treasures, right now you can add about 120 treasures since there is 15 unused bytes in the SRAM for treasures. If I expand them, I would use the free SRAM (1E1D-1E3F) right before the opened chest SRAM ($1E40-$1E6F). That would add about 280 potential treasure chests. I could relocate the data/pointers after the NPC data in bank F7. The treasure data don't take too much space, even expanded.

As for exits, well I will expand them since new maps require more exits.
Reply
#32
SEVEN unused maps? wtf? I take it overall space was an issue with using them before?

I could see needing extra exits if you were gonna use 7 new maps, but are there really that few extra or more just for the sake of increasing them?
The only true wisdom is knowing you know nothing.
Reply
#33
(02-22-2015, 04:33 PM)catone Wrote: SEVEN unused maps? wtf? I take it overall space was an issue with using them before?

I'm not sure. I've never used them.

(02-22-2015, 04:33 PM)catone Wrote: I could see needing extra exits if you were gonna use 7 new maps, but are there really that few extra or more just for the sake of increasing them?

You can add 21 total new short exits so these would require expansion. As for long exits, you can already add about 45 new ones (limit of 8 per map) so this is not really an issue I think.
Reply
#34
I had no idea there was that many long exits available. If it's not too much trouble, could you tell me the location and format of the long exits? I could only find information for the short exits, so my Kefka's Tower has no long exits in it.


https://github.com/abyssonym/beyondchaos
Beyond Chaos is a full-game randomizer for FF6.
Reply
#35
Hooray for expanding exits: i need of much more of them than any other thing (except events, which should be able to teleport in the same way of an exit...)

Btw you said 8 numbers... so i guess there are 8 unused maps actually...

What's the difference between long and short exits, anyway?
THE GREATEST CHALLENGE OF ALL TIMES AWAITS:
http://www.ff6hacking.com/forums/showthr...p?tid=2593
DO YOU HAVE WHAT IT TAKES TO SLAY A GOD?
------------------------------------------------------------------------
Tenkarider's project #2 is started: FF6 Curse of the Madsiur Joke (CotMJ)
http://www.ff6hacking.com/forums/showthr...p?tid=2755
What happens when Madsiur tweaks your account? This full game hack will show that!
Reply
#36
(02-22-2015, 05:03 PM)abyssonym Wrote: I had no idea there was that many long exits available. If it's not too much trouble, could you tell me the location and format of the long exits? I could only find information for the short exits, so my Kefka's Tower has no long exits in it.

Long exits are 7 bytes long. They are located here (headered offset) and pointers are included. I'm not sure what the pointer refers to because each exit is 7 bytes long...

Code:
2DF680    2DFA81    DATA    No    Entrance Triggers - Type 2 (7 bytes each)    8/6/2003

From FF6LE source, the method that initialize a long exit:

Code:
public void InitializeExitLong(byte[] data, int offset)
            {
                coordX = data[offset]; offset++;
                coordY = data[offset]; offset++;
                width = (byte)(data[offset] & 0x7F);
                direction = (data[offset] & 0x80) == 0x80 ? (byte)1 : (byte)0; offset++;
                // GetShort gets two bytes here (offset and offset + 1)
                toWorldMap = (ushort)(ByteManage.GetShort(data, offset) & 0x1FF) == 0x1FF;
                if (!toWorldMap)
                {
                    destination = (ushort)(ByteManage.GetShort(data, offset) & 0x1FF);
                    offset++;
                }
                else
                {
                    offset++;
                    destination = (data[offset] & 0x02) == 0x02 ? (ushort)0 : (ushort)1;
                }

                byte3bit1 = (data[offset] & 0x02) == 0x02;
                byte3bit2 = (data[offset] & 0x04) == 0x04;

                destinationFacing = (byte)((data[offset] & 0x30) >> 4);

                showMessage = (data[offset] & 0x08) == 0x08; offset++;

                destinationXCoord = data[offset]; offset++;
                destinationYCoord = data[offset];
            }

So by reading this,

Byte 1: X coordinate
Byte 2: Y coordinate
Byte 3 (bit 0 to 6): Width
Byte 3 (bit 7): Direction
Byte 4-5 : Destination (see code)
Byte 6: X coordinate (Destination)
Byte 7: Y coordinate (Destination)

(02-22-2015, 05:11 PM)Tenkarider Wrote: Btw you said 8 numbers... so i guess there are 8 unused maps actually...

Well you should verify with FF6LE, they are labeled as "unused"...

(02-22-2015, 05:11 PM)Tenkarider Wrote: What's the difference between long and short exits, anyway?

Long exits have variable width and a facing direction, like the ones at the entrance of a village map.
Reply
#37
What can you potentially do with that variable width?


Hey Abyssonym... what you're gonna do with those long exits? expand your randomizer further?
THE GREATEST CHALLENGE OF ALL TIMES AWAITS:
http://www.ff6hacking.com/forums/showthr...p?tid=2593
DO YOU HAVE WHAT IT TAKES TO SLAY A GOD?
------------------------------------------------------------------------
Tenkarider's project #2 is started: FF6 Curse of the Madsiur Joke (CotMJ)
http://www.ff6hacking.com/forums/showthr...p?tid=2755
What happens when Madsiur tweaks your account? This full game hack will show that!
Reply
#38
No, but, there were some areas in Kefka's Tower where the player could walk off the edge of the map and get stuck. I'll put some exits in those places to make it more user friendly.


https://github.com/abyssonym/beyondchaos
Beyond Chaos is a full-game randomizer for FF6.
Reply
#39
(02-22-2015, 08:14 PM)Tenkarider Wrote: What can you potentially do with that variable width?

Instead of having three 1x1 exit to cover a large path, you can have one 1x3 exit to cover the same space.
Reply
#40
Oh, that! what's the max length possible for a long exit?
THE GREATEST CHALLENGE OF ALL TIMES AWAITS:
http://www.ff6hacking.com/forums/showthr...p?tid=2593
DO YOU HAVE WHAT IT TAKES TO SLAY A GOD?
------------------------------------------------------------------------
Tenkarider's project #2 is started: FF6 Curse of the Madsiur Joke (CotMJ)
http://www.ff6hacking.com/forums/showthr...p?tid=2755
What happens when Madsiur tweaks your account? This full game hack will show that!
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  X-Zone -> Runic Softlock Fix C-Dude 1 2,126 03-18-2023, 05:30 PM
Last Post: madsiur
  Monster Expansion madsiur 31 43,092 02-23-2023, 02:38 PM
Last Post: madsiur
  FF6LE sprite pointer locations Catone 0 1,253 08-06-2022, 09:16 PM
Last Post: Catone
  Command Change Relic Table Expansion Celestial84 2 2,677 12-04-2021, 07:01 AM
Last Post: Celestial84
  FF6LE & SNEStuff expanding doofenH 9 7,535 05-27-2021, 12:12 AM
Last Post: doofenH
  Zone Eater's Objects help doofenH 4 3,626 01-10-2020, 10:50 AM
Last Post: doofenH
  FF6LE tile editing CzarMalboro 0 1,473 08-25-2019, 06:33 AM
Last Post: CzarMalboro
  zone doctor vs. LE Rogue CzarMalboro 20 18,812 08-16-2019, 09:34 PM
Last Post: CzarMalboro
  Expansion of Treasure Chest subroutine NPCnextdoor 11 8,744 08-18-2018, 01:03 AM
Last Post: madsiur
Black_mage FF6LE Rogue CE / Zone Doctor CE madsiur 73 79,005 01-26-2018, 08:32 PM
Last Post: B-Run

Forum Jump:


Users browsing this thread: 1 Guest(s)