Jump to content

[FE 7] FEdtior not opening ROM after inserting some events?


InvdrZim13

Recommended Posts

I was trying to insert the events for a chapter (the event file itself is incomplete, but the beginning event is mostly set up). The file assembles fine, but when I try to open the ROM up in FEditor there's an error saying "There was an error processing one or more file streams".

It's being inserted at the end of the ROM, so it shouldn't be overwriting anything important. So I'm not entirely sure why this is happening when the other chapters inserted just fine.

Also, I can insert the map for the chapter and FEditor opens the ROM no problem, but as soon as I assemble the events for that chapter, it gives me the same error when I try to open it.

The ROM itself works fine when I try to play the chapter as well (if that information matters).

It also doesn't seem to matter if the events go immediately after the existing data in the ROM or X amount of space beyond it, and I made sure that only one thing was open at a time when I was editing the ROM, but the error still happens.

Contents of the event file in case they're needed:

//Made by markyjoe1990 of Youtube
//Modified by Nintenlord

#define DISABLE_TUTORIALS
#include EAstdlib.event

EventPointerTable(0x1B,Pointers)


ORG 0x145E120
Pointers:
POIN Turn_events
POIN Character_events
POIN Location_events
POIN Misc_events
POIN TrapData TrapData
POIN Bad Bad Bad Bad
POIN Good Good Good Good
POIN Opening_event Ending_event

Bad:
UNIT 0x94 0x21 0x00 Level(5, Enemy,1) [12,15] [12,11] [0x38] Guard
UNIT 0xB9 0x0A 0x94 Level(4, Enemy,1) [12,15] [13,12] [0x01]AttackInRange
UNIT 0xBA 0x12 0x94 Level(4, Enemy,1) [12,15] [11,12] [0x1F]AttackInRange
UNIT

Good:
UNIT 0x03 0x35 0x00 Level(1, Ally, 0) [2,1] [3,3] [0x01, 0x6B] NoAI
UNIT 0x1B 0x2C 0x00 Level(1, Ally, 0) [2,1] [2,3] [0x4A, 0x6B] NoAI
UNIT 0x04 0x0B 0x00 Level(5, Ally, 0) [2,1] [3,2] [0x01, 0x6B] NoAI
UNIT 0x0D 0x18 0x00 Level(3, Ally, 0) [2,1] [2,2] [0x32,0x2C, 0x6B] NoAI
UNIT

Turn_events:
OpeningTurnEvent(Opening_event)
END_MAIN

Character_events:
END_MAIN

Location_events:
END_MAIN

Misc_events:
CauseGameOverIfLordDies
DefeatBoss(Ending_event)
END_MAIN

Opening_event:
HIDEMAP
FADI 0x10
BACG 0x5B
FADU 0x10
TEX6 0x5 [0,0] 0x0861 //Intro Scene
_ASM0x42 0x83181
_0x89
OOBB
LOMA 0x4 [7,5]
CAM1[7,5]
CURF[2,1]
FADI 0x10
BACG 0x5B
FADU 0x10
BACG 0x0D
TEX1 0x0862 //Belle and Oona's talk
FADI 0x10
BACG 0x5B
FADU 0x10 //moving outside
REMA
SHOWMAP
LOU1 Bad
ENUN
CAM1[13,10]
CURF[12,11]
TEX1 0x864 //baddies appear
REMA
CAM1[7,5]
CURF[2,1]
FADI 0x10
BACG 0x5B
FADU 0x10 //moving back inside
BACG 0x0D
TEX1 0x0863 //Grace warns them of baddies
FADI 0x10
BACG 0x5B
FADU 0x10
REMA
SHOWMAP
LOU1 Good
ENUN
TEX1 0x865
MORETEXT 0x866
REMA
ENDA

Ending_event:
MNCH 0x5
ENDA

TrapData:
ENDTRAP


MESSAGE Events end at offset currentOffset
//The map for this chapter is at offset: ????????

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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