Author Topic: IMPORTANT: Temporal Flux data corruption in version 3.02 FIXED  (Read 3647 times)

Mauron

  • Guru of Reason Emeritus
  • Errare Explorer (+1500)
  • *
  • Posts: 1764
  • Nu-chan
    • View Profile
    • Maurtopia
Temporal Flux is currently disregarding part of tech descriptions when saving, causing a crash in the menu when opening dual or triple techs. If your tech descriptions are still in their original space, do the following:

Open Window > Custom Data and click New. Set Start Offset to C439D, End Offset to C43AE, and Override Free Space to true. The name can be anything, but something along the lines of "tech menu fix" would be useful for reference.

Edit: Additional space issues can be fixed with the following ranges:

0C36F3-0C36F3 - item description
CDDBC-CDDC5 - battle message
3FD554-3FD561 - Settings
6F400-6F4D3 - location names

If you have existing corruption, and can locate the conflicting data, open the ROM and export the packet that's conflicting. You'll need to repoint the packet that is conflicting. Search for the address of the packet's start (F336CC for item descriptions, BCDDCC for battle messages, and 54D5FF for settings). Change the first byte in that result to be one above the end location (F4 for item descriptions, C6 for battle messages, or 62 for settings). Manually copy the original text for that range from a working ROM in a hex editor.

Once that is done, you can import the old data and resave.

It should properly protect string packets that have been relocated, but I'll test that more later.

Edit: 3.04 has a stable release. See last post.
« Last Edit: August 08, 2017, 04:11:55 pm by Mauron »

IHBP

  • Architect of Kajar
  • Chronopolitan (+300)
  • *
  • Posts: 379
    • View Profile
Re: IMPORTANT: Temporal Flux data corruption in version 3.02
« Reply #1 on: April 11, 2017, 12:07:58 pm »
If this is the bug that I experienced then it will also override item descriptions world map location names and shop items

psychedelist

  • Iokan (+1)
  • *
  • Posts: 9
    • View Profile
Re: IMPORTANT: Temporal Flux data corruption in version 3.02
« Reply #2 on: April 11, 2017, 12:54:14 pm »
I had the dual/triple tech strings corruption and the fix prevents it from happening again so far. But I just noticed that I have something in item descriptions as well, and it had been there on my old backups all along (before enabling the fix and your patch). Entry that follows the last item description is {null} in original game, but I have "rethi{value 16}gats tgt thhisThe{null}". Looks like event data again. I can't edit item descriptions now (without breaking events somewhere) unless total space they use stays same, can I?

Mauron

  • Guru of Reason Emeritus
  • Errare Explorer (+1500)
  • *
  • Posts: 1764
  • Nu-chan
    • View Profile
    • Maurtopia
Re: IMPORTANT: Temporal Flux data corruption in version 3.02
« Reply #3 on: April 11, 2017, 02:26:52 pm »
The problem I encountered has issues with identifying used space - I'll check details on behavior later, but I think relocating will work.

If this is the bug that I experienced then it will also override item descriptions world map location names and shop items
What do you mean by shop items?

IHBP

  • Architect of Kajar
  • Chronopolitan (+300)
  • *
  • Posts: 379
    • View Profile
Re: IMPORTANT: Temporal Flux data corruption in version 3.02
« Reply #4 on: April 11, 2017, 02:42:36 pm »
The shops will still function but sell items they're not supposed to like key items sometimes in items repeat, and more often than not they exceed the maximum number allowed in a shop.

IHBP

  • Architect of Kajar
  • Chronopolitan (+300)
  • *
  • Posts: 379
    • View Profile
Re: IMPORTANT: Temporal Flux data corruption in version 3.02
« Reply #5 on: April 11, 2017, 02:44:15 pm »
Definitely related to the others mentioned because anyone of them can happen when big changes are made.

Mauron

  • Guru of Reason Emeritus
  • Errare Explorer (+1500)
  • *
  • Posts: 1764
  • Nu-chan
    • View Profile
    • Maurtopia
Re: IMPORTANT: Temporal Flux data corruption in version 3.02
« Reply #6 on: April 11, 2017, 05:43:43 pm »
I'm not seeing an error with free space on shop data - do you have Inventory Manager installed? Have you modified shop data with any other program? If neither of those apply, send me a patch with this corruption if you have one.

IHBP

  • Architect of Kajar
  • Chronopolitan (+300)
  • *
  • Posts: 379
    • View Profile
Re: IMPORTANT: Temporal Flux data corruption in version 3.02
« Reply #7 on: April 11, 2017, 06:23:11 pm »
I'll try to duplicate it for you.

IHBP

  • Architect of Kajar
  • Chronopolitan (+300)
  • *
  • Posts: 379
    • View Profile
Re: IMPORTANT: Temporal Flux data corruption in version 3.02
« Reply #8 on: April 12, 2017, 09:12:51 am »
It must have been a byproduct of one of the other glitches because I changed and imported tons of stuff yesterday with zero problems after applying your fixes.

Mauron

  • Guru of Reason Emeritus
  • Errare Explorer (+1500)
  • *
  • Posts: 1764
  • Nu-chan
    • View Profile
    • Maurtopia
Re: IMPORTANT: Temporal Flux data corruption in version 3.02
« Reply #9 on: April 13, 2017, 06:38:29 pm »
I've gotten in touch with Geiger about the issue, and I want to double check on what everyone was using besides Temporal Flux (plugins and external programs).

IHBP

  • Architect of Kajar
  • Chronopolitan (+300)
  • *
  • Posts: 379
    • View Profile
Re: IMPORTANT: Temporal Flux data corruption in version 3.02
« Reply #10 on: April 13, 2017, 09:42:27 pm »
All of your plugins and chronocharview and before the last plugin updates ct editor companion

Mauron

  • Guru of Reason Emeritus
  • Errare Explorer (+1500)
  • *
  • Posts: 1764
  • Nu-chan
    • View Profile
    • Maurtopia
Re: IMPORTANT: Temporal Flux data corruption in version 3.02
« Reply #11 on: April 18, 2017, 09:49:03 pm »
I sent Geiger a .proj folder that can recreate the issue on a fresh ROM. He expects to have more information tomorrow.

Mauron

  • Guru of Reason Emeritus
  • Errare Explorer (+1500)
  • *
  • Posts: 1764
  • Nu-chan
    • View Profile
    • Maurtopia
Re: IMPORTANT: Temporal Flux data corruption in version 3.02
« Reply #12 on: April 19, 2017, 11:57:17 pm »
Geiger has successfully recreated the issue with text corruption, and an issue with corrupted goto/link commands that's possibly related.

Mauron

  • Guru of Reason Emeritus
  • Errare Explorer (+1500)
  • *
  • Posts: 1764
  • Nu-chan
    • View Profile
    • Maurtopia
Re: IMPORTANT: Temporal Flux data corruption in version 3.02
« Reply #13 on: April 21, 2017, 03:37:37 pm »
Possible fix - add the attached file to your Temporal Flux directory, and remove the custom data regions - this should allow you to save normally.

Let me know if you have any issues.

Edit: Final version is out, use that instead.
« Last Edit: August 08, 2017, 04:13:51 pm by Mauron »

neologix

  • Earthbound (+15)
  • *
  • Posts: 38
  • Gate Sealer
    • View Profile
    • ATOM - Apollolux Tabular Object Management system
Re: IMPORTANT: Temporal Flux data corruption in version 3.02
« Reply #14 on: May 16, 2017, 02:25:43 am »
Where is this 3.02 version of Temporal Flux that is to be replaced? I only see 3.01 at Geiger's site and in the Modification section.