Author Topic: 1000 AD map during bad ending  (Read 213 times)

Fauntleroy

  • Architect of Kajar
  • Guardian (+100)
  • *
  • Posts: 137
  • Inclinata resurgit
    • View Profile
1000 AD map during bad ending
« on: November 02, 2018, 10:48:28 pm »
The designers had the 1000 AD map load during the apocalypse sequence because the 1999 AD map was incomplete.

Well, my hack has a complete 1999 AD map. Does anyone know how to make that sequence load 1999 AD instead of 1000 AD?

This is literally the last thing I have to do. Everything else is finally done, after like 8 months.

Boo the Gentleman Caller

  • Guru of Life
  • Lavos (+4000)
  • *
  • Posts: 4445
    • View Profile
Re: 1000 AD map during bad ending
« Reply #1 on: November 03, 2018, 01:15:04 am »
I don't know how to do that, but I do want to say congratulations and that I can't wait to play this bad boy! We are going to promote the heck out of it once it's completed!

Acacia Sgt

  • Radical Dreamer (+2000)
  • *
  • Posts: 2317
  • Forever loyal to the Acacia Dragoons
    • View Profile
Re: 1000 AD map during bad ending
« Reply #2 on: November 03, 2018, 01:18:59 am »
Huh, the 1000AD map? Is it in the Arris Dome part? Since the devastation scenes do use the incomplete 1999 map.

Fauntleroy

  • Architect of Kajar
  • Guardian (+100)
  • *
  • Posts: 137
  • Inclinata resurgit
    • View Profile
Re: 1000 AD map during bad ending
« Reply #3 on: November 03, 2018, 01:35:03 am »
Acacia: Yeah, it's the part during the bad ending where a schematic pops up, showing all of the impact sites.

Boo: Oooh, I can't wait! I'll have some information soon about playtesting.

Mauron

  • Guru of Reason
  • Dimension Crosser (+1000)
  • *
  • Posts: 1237
  • Nu-chan
    • View Profile
    • Maurtopia
Re: 1000 AD map during bad ending
« Reply #4 on: November 03, 2018, 03:11:09 am »
I think the map switch is in Location {1DC} Truce Dome, in an unaltered ROM's events at [01F5] ChangeLocation(Loc 1F0, x00, y00, 1). Changing that to Loc 1F7 should get to the right map, but the wrong events.

If you can confirm that part, I'll look into copying the overworld events from the present to the apocalypse.

Fauntleroy

  • Architect of Kajar
  • Guardian (+100)
  • *
  • Posts: 137
  • Inclinata resurgit
    • View Profile
Re: 1000 AD map during bad ending
« Reply #5 on: November 03, 2018, 12:03:53 pm »
Ah! I see what you're talking about. Yep, if you change that value, it drops you onto the 1999 AD map, and the scene ends with you suddenly stranded there. :)

ZeaLitY

  • Entity
  • End of Timer (+10000)
  • *
  • Posts: 10585
  • Spring Breeze Dancin'
    • View Profile
    • My Compendium Staff Profile
Re: 1000 AD map during bad ending
« Reply #6 on: November 04, 2018, 08:23:29 pm »
Yeah, that's a good point; the Compendium is at your complete disposal in terms of promoting this thing. ROMhacking.net, TCRF's off-topic discord, whatever you desire, we'll support. Someone probably needs to create a banner for the inevitable News & Update post if you opt for wide release.

Fauntleroy

  • Architect of Kajar
  • Guardian (+100)
  • *
  • Posts: 137
  • Inclinata resurgit
    • View Profile
Re: 1000 AD map during bad ending
« Reply #7 on: November 04, 2018, 08:46:40 pm »
ZeaLitY, you made my night!

Yes, I plan for a wide release, as I've done with my other projects.  But, I was planning to ask this group for playtesters, and was also going to give the Compendium the option to post the patch first.

Mauron

  • Guru of Reason
  • Dimension Crosser (+1000)
  • *
  • Posts: 1237
  • Nu-chan
    • View Profile
    • Maurtopia
Re: 1000 AD map during bad ending
« Reply #8 on: November 10, 2018, 08:33:45 pm »
I've been a little slow on hacking lately, but here are some notes.

In Truce Dome, 7F01F4 bit 1 is set. This is mirrored to 7E1BAB for overworld access.

If that bit is set, overworld events check it at [0034], and go to [00A3]. That's an AddObject for [119E]. [119E] has AddObjects for [1576], [1585], [15A4], [1594], [159C], and [15AD].

You'll need to copy [00A3] and [00A7] and [119E] to [15B3] into the apocalypse events, which can go at the end. If you select [119E], you can shift+click on [15B3] to select everything in between.

Once everything is pasted in, select [00A3] on the apocalypse events, and press label to change the label. It doesn't matter what you name it.

Starting at [000F], there's a series of similar commands, If(Mem.7E1BAx & yy) Goto [zzzz]. Add a new command with the command button in that area (it doesn't matter exactly where), select category Comparison, command Comparison, Addr Type Mem, Value 7E1BAB, Addr 1, Operation &, and for Label the very last item on the list will be your custom label. Press Update, then Write Mem.

This should get the events working. If there are any issues, let me know.

I *was* going to just leave some notes for now, but I guess they turned into instructions. Oh well.

Fauntleroy

  • Architect of Kajar
  • Guardian (+100)
  • *
  • Posts: 137
  • Inclinata resurgit
    • View Profile
Re: 1000 AD map during bad ending
« Reply #9 on: Yesterday at 12:32:10 am »
Hey, this doesn't appear to be working... What happens is that, at the place where the map visual should load, it hangs on a black screen.

I've checked my work and I don't find any errors. I made the map loading edit to the Truce Dome event, copied the event code from Present to Apocalypse and renamed the label, and also went back to make sure the Goto in the updated Apocalypse events was still pointing to the correct spot after saving and exiting, and it is.

Could there perhaps be a missing step?

Mauron

  • Guru of Reason
  • Dimension Crosser (+1000)
  • *
  • Posts: 1237
  • Nu-chan
    • View Profile
    • Maurtopia
Re: 1000 AD map during bad ending
« Reply #10 on: Yesterday at 02:29:51 am »
There might be. Send me a patch and I'll see where it's crashing.

Fauntleroy

  • Architect of Kajar
  • Guardian (+100)
  • *
  • Posts: 137
  • Inclinata resurgit
    • View Profile
Re: 1000 AD map during bad ending
« Reply #11 on: Yesterday at 12:38:48 pm »
Thanks! :)

Mauron

  • Guru of Reason
  • Dimension Crosser (+1000)
  • *
  • Posts: 1237
  • Nu-chan
    • View Profile
    • Maurtopia
Re: 1000 AD map during bad ending
« Reply #12 on: Yesterday at 04:52:38 pm »
I didn't get a crash. The map rotation might still be 1000 AD though, but I checked the Truce Dome events and it's going to 1999 AD.

Fauntleroy

  • Architect of Kajar
  • Guardian (+100)
  • *
  • Posts: 137
  • Inclinata resurgit
    • View Profile
Re: 1000 AD map during bad ending
« Reply #13 on: Yesterday at 05:39:54 pm »
Iiiiii... don't get it. I just applied my patch to a fresh ROM.  Crashes every time for me.

Mauron

  • Guru of Reason
  • Dimension Crosser (+1000)
  • *
  • Posts: 1237
  • Nu-chan
    • View Profile
    • Maurtopia
Re: 1000 AD map during bad ending
« Reply #14 on: Yesterday at 06:12:59 pm »
How odd. What emulator and version were you using?