Chrono Compendium

Kajar Laboratories - Fan Works and Submissions => Chrono Trigger Modification => Topic started by: IHBP on January 12, 2020, 07:02:25 pm

Title: Party change menu
Post by: IHBP on January 12, 2020, 07:02:25 pm
Is there any way to edit the events for it in Temporal Flux?
Title: Re: Party change menu
Post by: Mauron on January 12, 2020, 08:33:15 pm
What exactly are you trying to do?
Title: Re: Party change menu
Post by: IHBP on January 12, 2020, 09:55:44 pm
I want to change it so that if Magus is defeated it will display human Glenn,  I'm almost positive the swap menu uses the PC always and not pc in party so depending on how its handled I'll probably need to do this anyway.
Title: Re: Party change menu
Post by: Mauron on January 13, 2020, 12:03:57 am
Menus don't use event commands, they have custom code. I'll look into the specifics later.
Title: Re: Party change menu
Post by: Mauron on January 14, 2020, 02:53:38 am
The exchange menu loads data based on the PC index, and it ignores the palette value for some annoying reason. Gaspar {00} with Crono's palette below.
Title: Re: Party change menu
Post by: IHBP on January 14, 2020, 10:16:56 am
Well that does make things more difficult, does it share the data with the tech menu as well?
Title: Re: Party change menu
Post by: Mauron on January 14, 2020, 05:57:51 pm
Yeah, the same code is called at main menu load, and is used for Item, tech, and in party change portions of the menu. It might load before the shop as well.
Title: Re: Party change menu
Post by: IHBP on January 16, 2020, 12:29:21 pm
Played around with it today, it seems that it doesn't decompress graphics but that shouldn't be a problem as the character graphics swap hack will almost certainly use uncompressed graphics.

Actually as long as those menus reflect the character the only obstacle that needs to be fixed is to have it reflect the pc palette.

Also any idea where it loads its palette from? If theres any chance that could be used as second palette for the pcs that would be nice.

Title: Re: Party change menu
Post by: Mauron on January 16, 2020, 01:41:50 pm
It definitely can decompress graphics depending on how you feed it data. My mispainted Melchoir screenshot used compressed graphics.

It's probably ignoring the palette index value in sprite data, and loading a palette based on PC number, so Crono grabs the palette at 0x240000 no matter what you set it too.
Title: Re: Party change menu
Post by: IHBP on January 16, 2020, 03:02:51 pm
That's cool, can we repoint the palette to use the palette from sprite data so that its accurate when the graphics swap hack is applied?
Title: Re: Party change menu
Post by: Mauron on January 16, 2020, 11:39:20 pm
I did some tweaking. Changing equipment in the shop is wrong, but most things now respect sprite data. Below is Marle and Crono with their palettes swapped.
Title: Re: Party change menu
Post by: IHBP on January 17, 2020, 09:45:14 am
Nice work.
Title: Re: Party change menu
Post by: Mauron on January 20, 2020, 06:53:54 pm
Finished it, and submitted it as a separate patch to RHDN. I'll stick it in a plugin later.
Title: Re: Party change menu
Post by: IHBP on January 21, 2020, 09:12:55 am
Thanks.
Title: Re: Party change menu
Post by: IHBP on January 25, 2020, 06:31:06 pm
Tried it out on my rom, it made quite a mess actually. The colors on all menus are messed up for all characters except Crono and trying to equip from a shop locks up the game.

heres my rom and save. https://www.dropbox.com/s/axkelwf2dpbgt7p/Chrono%20msu.7z?dl=0
Title: Re: Party change menu
Post by: Mauron on January 25, 2020, 08:14:18 pm
I think I've found both glitches, I should have them fixed soon.
Title: Re: Party change menu
Post by: IHBP on January 26, 2020, 09:26:32 am
Was this caused by my ROM or the patch?
Title: Re: Party change menu
Post by: Mauron on January 26, 2020, 01:32:09 pm
It was an error with the patch that appeared later in the game. A new game on any ROM would work at first, but later parts would have the issue.
Title: Re: Party change menu
Post by: IHBP on January 26, 2020, 03:16:14 pm
The save file I sent you has a brand new game (+) in the third slot and its messed up. Could have something to do with the fact that I have every character added to the party then removed again before the game starts?
Title: Re: Party change menu
Post by: Mauron on January 26, 2020, 03:22:47 pm
It has something to do with data that gets carried over in New Game+ that does it. I started a New Game (not +) on your ROM and didn't see any issues.

The exact causes would require far more extensive work than finding and fixing them.

I'll do some more testing later, but I should have a new patch ready soon.
Title: Re: Party change menu
Post by: IHBP on January 26, 2020, 07:51:42 pm
I hate to ask but would you be able to fix my ROM as well? I've done a fair amount in it since I applied the patch. :oops:
Title: Re: Party change menu
Post by: Mauron on January 26, 2020, 09:43:36 pm
The patch I'm going to make can safely be applied over the existing ROM without issue.

Priority one for my hacking time today is devoted to my RHDN staff duties.
Title: Re: Party change menu
Post by: Mauron on February 01, 2020, 07:35:44 am
My fixes are out, and I added Japanese ROM support.
Title: Re: Party change menu
Post by: IHBP on February 03, 2020, 07:40:10 pm
Just tried this out today, works perfect thanks.