Jump to content

Tiled map editor question


Zenairo
 Share

Recommended Posts

Okay, a few questions,

so my map is done, I used the tile map inserter, done. I put it into Nightmare, all good, now I tried loading the game and it crashed.

I've been searching for awhile... and I can't find anyway to fix it. Any help?

I also don't know how to add units to the map....

Link to comment
Share on other sites

Okay, a few questions,

so my map is done, I used the tile map inserter, done. I put it into Nightmare, all good, now I tried loading the game and it crashed.

I've been searching for awhile... and I can't find anyway to fix it. Any help?

I also don't know how to add units to the map....

Goodness....well, it's hard to help you there. Did you fix everything? Is the height more than or equal to 10? Is the Width more than or equal to 15? Are you using more than one tileset?

Link to comment
Share on other sites

I don't know what offset does so I don't mess with it, haha.

Here's a detailed explanation of my process.

>Open up Tiled

>New Project

>16 for both width and height, Orthogonal, 16x pixel

>Use 1C1D331F, go ahead and created my map, which consists of a castle, surrounded by a moat (Demonstrated by attachment)

>Rename main layer

>Save as a Project.tmx (or whatever the approp. ending was.)

>Open up Tile inserter

>Put map into tiled file

>Put FE7 into ROM

>Put no offset (just checked)

>WRote map pointer to c9c9cc

>Hit run, finished.

>Open up Nightmare

>Load FE7

>Load module for FE7, Chapter Data editor

>Put in 1c in obj 1

>put 1d in obj 2

>in palette have 33.

>tile config have 1f

>Map is under prologue map

>change to no animations.

>No other changes.

>Start VBA

>Load my rom

>Failed, bios error or I get white screened.

post-6358-007914800 1355098414_thumb.png

Link to comment
Share on other sites

the fact that i'm asking should tip you off that you're doing something wrong

you are literally just pasting your data over potentially important shit in the ROM

i wouldn't be surprised if you overwrote literally the most important routines/data in the ROM that way

Edited by CT075
Link to comment
Share on other sites

You should know what a offset is, it's something simply basilar when you have to hack.

Obviously if you write data to offset 0 things get screwed up.

You should find some free space in your ROM and write the map to the offset (see: the place you're writing your information to) there. Otherwise, you'll overwrite important data and screw up the game.

Please refer to this for Tiled:

http://serenesforest...showtopic=26486

And to this for a basic knowledge on how map insertion works (only parts 3 and 4 if you are using Tiled):

http://serenesforest...dpost&p=1503742

Also I would suggest you to read patiently the whole Ultimate Tutorial if you're seriously planning to hack something.

Edited by Heartwhisperer
Link to comment
Share on other sites

You should try understanding how a hex editor works. It's written in nearly every guide that you should have a basic knowledge of hex editing to do most of the stuff, like map insertion.

Anyway, from the doc folder in FEeditor Adv:

Known free space:

~~ FE 7 ~~

0x000CB51A to 0x000CBA34 - used by auto patching system

0x00D00000 to 0x00E00000 - WARNING: mostly confirmed, however some data in the 0x00D8XXXX range has been shown to be in use by the game

(specifically for some class ability related data).

YOU SHOULD manually mark this data as used with the memory manager.

Open a hex editor (I personally use HxD) -> search -> GoTo -> input "0D00000"

Here is your free space.

Write the stuff at that offset.

Then you should see bytes filling up from that offset to another offset.

It's a LOT of bytes, not only 1. Just open the hex editor and look at the bottom-left corner to understand what I mean.

Then open nightmare, in event data pointer table.nmm, and tell the game where it should start reading your map data; basically the offset you wrote the map into + 0x08000000 (this is important).

So I think it would be 0x8D00000

Save and you should be done.

When you have to insert other stuff, just look in the hex editor where the bytes of your previous map/other thing ended and pick down the new offset.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...