VGMaps
November 22, 2017, 12:08:10 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1] 2   Go Down
  Print  
Author Topic: Troy's Junk and Stuff  (Read 9973 times)
0 Members and 1 Guest are viewing this topic.
Troy Lundin
Full Member
***
Offline Offline

Posts: 145


« on: June 07, 2012, 08:14:06 PM »

This will be a depository of my junk and stuff related to VGMaps. Since my OCD won't let anything ever be finished, I decided to sort my projects by submission (green) or lack thereof (red). This ordering is likely to change in the future. Cheesy


System   Game                                         Capture        Compiled   Tagged   Notes
(GBA)    Final Fantasy: Dawn of Souls (FF2)       388 /  388 (100%)    100%       90%    Thanks to Trop for compiling. Missing shop data.
(GBA)    Sword of Mana                              ? / 2221 (  ?%)    100%      100%    Still missing many Morning, Evening and Night versions.

(GBA)    Baldur's Gate: Dark Alliance              27 /   27 ( 99%)     50%        0%    No object layer.
(GBA)    Final Fantasy: Dawn of Souls (FF1)       212 /  212 (100%)      5%        5%   
(GBA)    Final Fantasy IV Advance                 495 /  495 ( 99%)      0%        0%    Some scenes are missing the object layer.
(GBA)    Final Fantasy V Advance                    2 /    ? (  ?%)      0%        0%    Found a quite hack-y way of capturing this. Very tedious.
(GBA)    Final Fantasy VI Advance                 430 /  430 (100%)      0%        0%   
(GBA)    Golden Sun: The Lost Age                 324 /  324 (100%)      0%        0%   
(GBA)    Super Mario Advance 4                      ? /    ? (  ?%)      ?%        0%   
« Last Edit: June 11, 2012, 11:21:30 AM by Troy Lundin » Logged

Troy Lundin
Full Member
***
Offline Offline

Posts: 145


« Reply #1 on: June 07, 2012, 08:14:53 PM »

The Sword of Mana maps have been bugging me since they were finished. The main point of irritation comes from the scenes being incomplete. Some games restrict camera movement while others have the camera follow the actor no matter what. Games that restrict the camera have to have a way to tell when the camera should stop scrolling, right? Games will usually store this in an easy to find location where the value is the minimum or maximum coordinate allowed for the camera. Sword of Mana was just a bit different.

How Sword of Mana Is Different

Sword of Mana doesn't use a simple system for restricting camera movement, or at least that's what I thought after hours of perusing it's memory. For the life of me I could not find the values for the restrictive camera coordinates. Then, I noticed a pointer at 0201C98C. The problem with this pointer was that it pointed to the ROM portion of the memory. For those that don't know, if you change a value in the ROM portion of memory you actually change the ROM itself. If you are not careful you can permanently damage or corrupt your ROM. So, I quickly made a copy of my ROM and headed to the address being pointed to.

Upon arrival, I immediately noticed the pattern of bytes presented to me. The pattern told me that each "block" of code was 24 bytes in length. The blocks weren't too complicated looking, as some of the bytes were zeroes, meaning they didn't do anything. My brain being the way it is, I noticed another pattern in this specific block. There were two bytes, one was 0F and the other was 03. These values stood out because of the following: the scene I was looking at had minimum camera coordinates of 120 on the x-axis and 24 on the y-axis. See the correlation yet?

0F, of course, equals 15 in decimal. 15 multiplied by 8 equals... 120. Omg. Did I just find the location of the camera restriction? Let's check the other one. 3 multiplied by 8 equals... 24! Yes! I found it! Oddly, I had to edit the ROM directly but I'll take what I can get. By the way, the 8 from earlier is a very basic value in most things. I just it because the size of tiles in most games is 8 pixels by 8 pixels. So, in essence, 0F means 15 tiles from 0.

So, now that I found that I went in to capture the rest of the scenes. I set both values from earlier (0F and 03) to 00 so that the camera will be able to go to the very minimum point. When I reloaded the area, I could indeed move the camera past the previous restrictions (YES!) but another problem arose. The camera could now no longer move south as far as it could before. Weird. I took another look at the block in the ROM and checked out the next two values past 0F 03. They were 2C and 20. Using the method from before, I multiplied both values by 8 and came up with 352 and 256, respectively.

From this, I deciphered that the first set of values (0F and 03) determined the minimum tile the camera can move to. The second set of values, 2C and 20, determined the size of the area. Added together like so: 352 + 120 = 472, 256 + 24 = 280, these values determine the maximum tile the camera can move to.

Now, I already knew the total size of the area was 480 by 288 from before. The values I calculated seem to be 8 pixels off on each axis. For the second set of values, I figure if I set them to 00 it would mean one tile and not zero tiles. That actually gives me another tile (or 8 pixels) to add on the totals. Finally, I arrived at 480 by 288.

This is fantastic! I can now capture all the missing areas in each scene. Cheesy

Here are some screens that show the values:


Example of the difference:
« Last Edit: June 07, 2012, 08:56:42 PM by Troy Lundin » Logged

Troy Lundin
Full Member
***
Offline Offline

Posts: 145


« Reply #2 on: June 11, 2012, 11:24:20 AM »

Been working on a program to make tagging a map ridiculously quick. Once it's finished, which should be today, I'll start compiling and tagging Final Fantasy: Dawn of Souls (FF1).
Logged

Troy Lundin
Full Member
***
Offline Offline

Posts: 145


« Reply #3 on: June 12, 2012, 03:17:40 PM »

Ok, started work on FF1 for Dawn of Souls. Now, I have a question for my fellow mappers. In the attached image, which of the blue sections looks the best? I cannot decide which one looks the best! Ugh.
Logged

TerraEsperZ
Hero Member
*****
Offline Offline

Posts: 2225



« Reply #4 on: June 12, 2012, 03:43:17 PM »

Personally, I'd go with the second blue section, with the letters alone and a small space between them and the items they point to.
Logged

Current project that I really should try to finish:
-Drill Dozer (GBA)
-Sonic 3D Blast (Genesis)
-Naya's Quest (PC)
-Lilly Looking Through (PC)

Pending project:
-A ton of stuff that will never be finished
Troy Lundin
Full Member
***
Offline Offline

Posts: 145


« Reply #5 on: June 12, 2012, 07:47:43 PM »

Ok, this is what I went with. This is an example of what I want to go with. One more question, though. As you can see in this image, some of the adjacent colored squares have their borders removed at the collision site, while others do not. Which looks better? With the borders or without?

Logged

TerraEsperZ
Hero Member
*****
Offline Offline

Posts: 2225



« Reply #6 on: June 12, 2012, 08:30:11 PM »

Definitely with, if for no other reason than that it makes it obvious that they're separate elements.
Logged

Current project that I really should try to finish:
-Drill Dozer (GBA)
-Sonic 3D Blast (Genesis)
-Naya's Quest (PC)
-Lilly Looking Through (PC)

Pending project:
-A ton of stuff that will never be finished
Troy Lundin
Full Member
***
Offline Offline

Posts: 145


« Reply #7 on: June 13, 2012, 05:09:55 PM »

Ok, organized a town. Pretty pleased with it. I am still deciding whether to show the shop lists like they are in the image or consolidate them in a single table.

Logged

Paco
Full Member
***
Offline Offline

Posts: 124



« Reply #8 on: June 13, 2012, 09:39:01 PM »

Ok, organized a town. Pretty pleased with it. I am still deciding whether to show the shop lists like they are in the image or consolidate them in a single table.



It's fine like this. I'm liking it ^^ *drool*
Logged

Legends never dies.
Troy Lundin
Full Member
***
Offline Offline

Posts: 145


« Reply #9 on: June 14, 2012, 05:03:23 PM »

Made a video showing my process of creating Elfheim. I messed up on the shop lists at first (vertical align was set to Middle instead of Top) but didn't care enough to remake the whole video. Cheesy

http://youtu.be/_06dVq9aUE0
Logged

Paco
Full Member
***
Offline Offline

Posts: 124



« Reply #10 on: June 15, 2012, 09:59:40 AM »

Can you tell me more of this "Map Tagger" Program you're using. That look interesting.
Logged

Legends never dies.
Troy Lundin
Full Member
***
Offline Offline

Posts: 145


« Reply #11 on: June 15, 2012, 01:00:53 PM »

I guess I didn't mention it in my previous post, but it's a program I developed out of necessity. I got tired of using Paint or similar programs to try and organize scenes, then try and label them. This program gives me a non-nonsense way of doing that.

Basically, there are five layers: Images, Items, Events, Transitions, and Other Text. Each layer is independently drawn. When I want to label items, for example, everything is drawn to the Items layer. Then, all the layers are combined to form the final image. Using different layers for each set of labels makes it very simple to remove labels without ruining other parts of the map. Not only can I export to a BMP or PNG file, but I can save the layers in a single custom file. The custom file saves the integrity of each layer so I can load it up later and the layers will still be separate.

There are still a few bugs and missing features. The coding is pretty forced as well, but that's what I get for rushing it. Cheesy
Logged

Troy Lundin
Full Member
***
Offline Offline

Posts: 145


« Reply #12 on: June 16, 2012, 10:52:17 AM »

Spent all of yesterday performing a complete overhaul on my Tagger program. Previously, it would start to lag in the drawing process after ~50 tags, now it takes ~2500 tags to reach a 100ms draw time. Yay! Cheesy
Also, updated the way it saves tags so older files won't load anymore, I'll have to waste time remaking those.

In the meantime, I managed to squeak out Cavern of Earth and Sunken Shrine. Format was updated a bit. I'm happy with this format for non-towns. Also, do you think it's necessary to mark where the scene loops around as in Sunken Shrine 5F?

Changed the format a bit. Here are the dungeons I have finished. I'll update this post as I go.



Imgur didn't like my world map so I put it up on MediaFire: http://www.mediafire.com/i/?r9sr53f3kdijdod

Also, I was looking at the World Map for the original FF1 and noticed that I have credit for it. I don't remember submitting a map for that game. Did I just forget?
« Last Edit: June 17, 2012, 11:58:58 PM by Troy Lundin » Logged

Troy Lundin
Full Member
***
Offline Offline

Posts: 145


« Reply #13 on: June 17, 2012, 02:39:01 PM »

While doing the Mount Gulg map, I discovered the greatness that is shared chests. Some chests in this game are linked, meaning if you open one chest all the linked chests will also open. If you ever cam across an empty chest, this is the reason.

Now, when I discovered this I went and checked out Paco's maps for the original FF1 to make sure I wasn't going crazy. Paco's map for Gurgu Volcano has shared chests marked with the same number, but then I noticed three empty chests on B5. Now, I'm not positive if the shared chests in the original FF1 appear open or if you open them and they are empty. Those three empty chests on B5 are actually linked with another chest on B4. The shared item is a Gold Needle (Pure in original?).

Paco, you marked them as empty. Could this be a mistake?
Logged

Paco
Full Member
***
Offline Offline

Posts: 124



« Reply #14 on: June 18, 2012, 08:33:15 AM »

While doing the Mount Gulg map, I discovered the greatness that is shared chests. Some chests in this game are linked, meaning if you open one chest all the linked chests will also open. If you ever cam across an empty chest, this is the reason.

Now, when I discovered this I went and checked out Paco's maps for the original FF1 to make sure I wasn't going crazy. Paco's map for Gurgu Volcano has shared chests marked with the same number, but then I noticed three empty chests on B5. Now, I'm not positive if the shared chests in the original FF1 appear open or if you open them and they are empty. Those three empty chests on B5 are actually linked with another chest on B4. The shared item is a Gold Needle (Pure in original?).

Paco, you marked them as empty. Could this be a mistake?

This is good possible (I'm only a Human not a Robot. ^^). Have to test it out and if its indeed so, then redo the Map and resubmit it in.
Logged

Legends never dies.
Pages: [1] 2   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.20 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!