Users browsing this thread: 1 Guest(s)
Zone Doctor and FF6LE Expansion

#31
Posts: 3,966
Threads: 279
Thanks Received: 233
Thanks Given: 56
Joined: Oct 2011
Reputation: 65
Status
Tissue-aware
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.
  Find
Quote  
[-] The following 1 user says Thank You to madsiur for this post:
  • SSJ Rick (02-22-2015)

#32
Posts: 676
Threads: 44
Thanks Received: 26
Thanks Given: 21
Joined: Jan 2015
Reputation: 11
Status
Zombie
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.
  Find
Quote  

#33
Posts: 3,966
Threads: 279
Thanks Received: 233
Thanks Given: 56
Joined: Oct 2011
Reputation: 65
Status
Tissue-aware
(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.
  Find
Quote  

#34
Posts: 212
Threads: 1
Thanks Received: 11
Thanks Given: 2
Joined: Oct 2014
Reputation: 7
Status
None
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.
Quote  

#35
Posts: 1,633
Threads: 56
Thanks Received: 13
Thanks Given: 84
Joined: Apr 2014
Reputation: 12
Status
Atma
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!
  Find
Quote  

#36
Posts: 3,966
Threads: 279
Thanks Received: 233
Thanks Given: 56
Joined: Oct 2011
Reputation: 65
Status
Tissue-aware
(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.
  Find
Quote  
[-] The following 1 user says Thank You to madsiur for this post:
  • abyssonym (02-22-2015)

#37
Posts: 1,633
Threads: 56
Thanks Received: 13
Thanks Given: 84
Joined: Apr 2014
Reputation: 12
Status
Atma
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!
  Find
Quote  

#38
Posts: 212
Threads: 1
Thanks Received: 11
Thanks Given: 2
Joined: Oct 2014
Reputation: 7
Status
None
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.
Quote  

#39
Posts: 3,966
Threads: 279
Thanks Received: 233
Thanks Given: 56
Joined: Oct 2011
Reputation: 65
Status
Tissue-aware
(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.
  Find
Quote  

#40
Posts: 1,633
Threads: 56
Thanks Received: 13
Thanks Given: 84
Joined: Apr 2014
Reputation: 12
Status
Atma
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!
  Find
Quote  



Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite