Author Topic: Issues when making Custom Techs (Specially Dual and Triple Techs) + Thunderblade  (Read 1760 times)

SolemnePoketto

  • Iokan (+1)
  • *
  • Posts: 3
    • View Profile
Hello, recently i've been getting into Coding stuff (and also Romhacking), wanted to try to make Custom Techs, i made one, based on an attack that Zenitsu uses in KNY and Lyn's assist trophy in Smash Bros (A mix of both?), It looks like it works fine but when it comes to dual/triple techs, Either of those happen:

1. Softlock when using the Tech (Stuck in a certain point of the tech)

2. Doesnt appear on the menu

And the Softlock problem persists even when i change the Tech back to how it is in vanilla CT

Is there anything i can do or is it because of Technical Limitations?


Also a link to the "Thunderblade" tech: https://vimeo.com/1025300643

Mauron

  • Guru of Reason Emeritus
  • Errare Explorer (+1500)
  • *
  • Posts: 1776
  • Nu-chan
    • View Profile
    • Hi trig!
I'm assuming your using Hi-Tech for this. Please send me a patch with the modified tech, I'll take a look.

SolemnePoketto

  • Iokan (+1)
  • *
  • Posts: 3
    • View Profile
Sorry for the late reply, until now i saw your reply. Heres the ROM (i dont know how to make a patch, so im sending the full ROM)

This one is the one that has the Custom Tech


// Extras

Extra: There is also a problem where i have to manually change in Hi-Tech the "moving towards target part" every time i want to play it (It changes for some reason I dont know).


Extra 2: I know this may have been done by someone else already but i have a ROM with Crono's and Lucca's techs/elements swapped (tweaked a couple of animations + "Luccanaire" softlocks the game, other than that it works fine. im assuming that maybe its some coding in the tech itself).



Extra 3: About the Dual/Triple Techs, havent tried to modify one yet, i just know that whenever i want to modify for example, Fire Sword 2 (Crono + Lucca), a minimal change to the tech, breaks it and makes a softlock whenever it is used, even when changing it back to its Vanilla values (you can check that for yourself by modifying a dual tech, just change for example, an animation).


Back to the main topic, in the attached file its the ROM with the tech, about the other problems im assuming that its because of


1. SNES limitations/Code limitations


2. Maybe some techs have "Custom" coding that break the tech when a minimal change is made


3. it could be a problem with Hi-Tech itself


Download as the attached file didnt work (Only modified tech is "Slash", which i called Thunderblade, the name isnt changed in game): https://drive.google.com/file/d/1LuJK7hWZg-Wyvjxf1YBHzQE5qcqpqn-B/view?usp=sharing
« Last Edit: November 13, 2024, 11:13:08 pm by SolemnePoketto »

Mauron

  • Guru of Reason Emeritus
  • Errare Explorer (+1500)
  • *
  • Posts: 1776
  • Nu-chan
    • View Profile
    • Hi trig!
So far I haven't gotten the specifics, but there's definitely an issue with the Move To command selection.

There's also a crash in the tech menu. Have you done anything with tech performance groups?

SolemnePoketto

  • Iokan (+1)
  • *
  • Posts: 3
    • View Profile
1. About the "Move To", it was the only one that i could put in the animation that doesnt throw me an error when saving (i use Hi-Tech). And because of that, i have to manually change it every time i open the ROM.

2. The tech menu crash, i was aware of it, but didnt care about it, but it is annoying at the same time as i cant check the techs (What if i modify who uses the techs and/or tech names/elements?).

2.1 I dont remember tampering with Perfomance groups (maybe at some point i did, but forgot about it).

3. About the issue with Double/Triple techs, the minimal change i make to the tech, even when i set the values back to theyre Vanilla values, the tech gets broken and softlocks the game when used (Leaving an example video, with Fire Sword 2, i changed an animation and then changed it back to its Vanilla value).


Extra: As i said above in a reply, im assuming that maybe it is about some "special" coding Double/Triple techs have. That animation/minimal change in a Single tech would not be a problem (no softloct?).
« Last Edit: November 17, 2024, 03:31:34 am by SolemnePoketto »

Mauron

  • Guru of Reason Emeritus
  • Errare Explorer (+1500)
  • *
  • Posts: 1776
  • Nu-chan
    • View Profile
    • Hi trig!
So it looks like Performance groups were the entire cause. I fixed that, and used three dual techs in a battle to finish off the enemy.

Hi-Tech was saving over some other data and code. I've addressed this in my current build, but I haven't gotten Move To finished yet. Once both are addressed, I'll post an update.

So let's start with fixing your project. In general, you'll want Floating IPS to create and apply patches.

For this specific error, you want a hex editor of your choice. We've got a couple here. I use Translhextion, but any will work.

Open a clean Chrono Trigger. Use the goto option, and navigate to 02BD65. If you use Translhextion, you'll need to write it as x02BD65, others will have some way of indicating you're using hexadecimal.

Starting with the byte you navigated to, you want select 39 bytes and copy them. Then go to the same address in your modified ROM, and paste them in. Let me know if you have any questions or further issues.