• Welcome to Final Fantasy Hacktics. Please login or sign up.
 
March 28, 2024, 06:59:29 pm

News:

Don't be hasty to start your own mod; all our FFT modding projects are greatly understaffed! Find out how you can help in the Recruitment section or our Discord!


Assistance for a new(b) hacker

Started by Lionheart537, August 21, 2017, 02:15:56 am

Lionheart537

August 21, 2017, 02:15:56 am Last Edit: August 23, 2017, 01:56:40 am by Lionheart537
Okay time to look foolish, one of my specialties. Alright so earlier today I read through several asm tutorials, mips, debugging, etc. I already knew hex and binary but using mips and debugging was new to me. What I'm still unsure of is when and where to use the different commands. Long story short the hack I'd like help with is to link the Ninja's Throw skillset (specifically the special enemy x39 and not the usual generic's) to the Chemist's Throw Item support skill. My goal is to give a unit with Throw Item access to both the Chemist and skillset x39 inventory; although I imagine they'd have different action selection i.e attack, item, throw, move, etc. Pride pointed me in the right direction, i think, and I got a breakpoint set for when my unit (Ramza in this case) activated a check for the Throw Item support (shown above the red line in the picture). But i'm...well unsure how to proceed further. I'm more willing to ask for advice before stumbling into trial and error mistakes myself (whether it be laziness or wise caution, probably both). So to proceed would I need to write in a j, jal, or branch to link the two? Would this require jumping to free space to prevent overwriting something and then jump to Throw? Or am I seriously messing this up and I should be in a completely different area of the code for this? I'm debugging on psxfin 1.13 with r3000 on a otherwise clean iso, besides small patcher and spritesheet changes that shouldn't matter really. Thanks for your help and time.



I used the wiki and Pride's lead to get my foot in the door, but yeah it's a bit overwhelming all in a day.
http://ffhacktics.com/wiki/Battle_Stats
http://ffhacktics.com/smf/index.php?topic=11785.msg221313#msg221313


EDIT: Nevermind I found this goldmine. Providing that the these work setting chemist items to do damage will be pretty easy, hopefully they'll accept elements.
http://ffhacktics.com/smf/index.php?topic=4177.msg92515#msg92515
EDIT: *Sigh* after looking more thoroughly and testing these formulas have a few problems. Hmm I do have another idea to try though.

I'll still keep this topic up for any other asm attempts i stumble through.
  • Modding version: PSX
It's not much yet but check out my spriting thread!
http://ffhacktics.com/smf/index.php?topic=11772.0
Here's a look at my vanilla mod thread, progressing one step at a time!
http://ffhacktics.com/smf/index.php?topic=11785.0

Xifanie

Since no one has really replied to this topic yet, I'll just say this: I have no fucking clue how to approach what you want to accomplish.

I've made a lot of pretty complicated hacks, and I believe in this case, it's mostly a different thought pattern that doesn't make it as easy for me to imagine it, but that's still a really fucking tough first attempt at an ASM hack.

Surely there must be an easier hack you wish to make.
  • Modding version: PSX
Love what you're seeing? https://supportus.ffhacktics.com/ 💜 it's really appreciated

Anything is possible as long as it is within the hardware's limits. (ie. disc space, RAM, Video RAM, processor, etc.)
<R999> My target market is not FFT mod players
<Raijinili> remember that? it was awful

Pride

I feel like FDC had an asm that merged item and throw together. But this isn't an easy deal, there's a bunch of routines that need to be changed, writing a new handling for the action menu and other things.

Making new chemist item formulas is not difficult though of you want to go that route
  • Modding version: PSX
Check out my ASM thread. Who doesn't like hax?

Lionheart537

Yeah I tried starting from scratch (hehe I broke Item a few times) and using a similar hack as a base, but if even you two keep your distance it's surely beyond me. Changing formulas would probably be a lot easier, but making them accept element hmm... yeah might be best to keep it simple with something else.

At the very least I found MassHexASM (or w/e it's called) and that's been cool to fine-comb through other hacks to see proper mips assembly. So i might have learned a little something at least.
  • Modding version: PSX
It's not much yet but check out my spriting thread!
http://ffhacktics.com/smf/index.php?topic=11772.0
Here's a look at my vanilla mod thread, progressing one step at a time!
http://ffhacktics.com/smf/index.php?topic=11785.0

Xifanie

If you're serious about ASM Hacking, you better get used to my FFT Hack Template spreadsheet and drop MassHex
  • Modding version: PSX
Love what you're seeing? https://supportus.ffhacktics.com/ 💜 it's really appreciated

Anything is possible as long as it is within the hardware's limits. (ie. disc space, RAM, Video RAM, processor, etc.)
<R999> My target market is not FFT mod players
<Raijinili> remember that? it was awful

Lionheart537

I'll take a shot at it thanks Xifanie. Well I don't plan to do crazy huge things like your synthesis shop, but small time personal hacking to not bother or burden anyone else.
  • Modding version: PSX
It's not much yet but check out my spriting thread!
http://ffhacktics.com/smf/index.php?topic=11772.0
Here's a look at my vanilla mod thread, progressing one step at a time!
http://ffhacktics.com/smf/index.php?topic=11785.0

Pride

August 23, 2017, 08:16:14 pm #6 Last Edit: August 23, 2017, 08:55:12 pm by Pride
I would also recommend it, it saves a lot of time and you can do everything you need to from a single program.

Edit: I'm often on the arena discord since my phone can connect easily there and sometimes on our irc chat, feel free to come on and ask help if you want.
  • Modding version: PSX
Check out my ASM thread. Who doesn't like hax?

Lionheart537

I appreciate that. I'll hit you up if we're on the chat together  :) I'll post something asm-related soonish (hopefully something successful this time)
  • Modding version: PSX
It's not much yet but check out my spriting thread!
http://ffhacktics.com/smf/index.php?topic=11772.0
Here's a look at my vanilla mod thread, progressing one step at a time!
http://ffhacktics.com/smf/index.php?topic=11785.0

Lionheart537

Got your hack template tool and it looks amazing! But i guess I'm stupid because I'm having difficulty. I can't load any xml without a fft file list. I have one from the tool's thread and another I drafted up, but I can't seem to place it in the correct location? It might go without saying but i haven't worked with vba or intricate excel functions. I spent some time researching, trying, researching more but it always imports that file as a module in the wrong folder.

Would anyone mind posting screenshots of your FFT File List and where/how to import it correctly to the vba? Sorry for the inconvenience.
  • Modding version: PSX
It's not much yet but check out my spriting thread!
http://ffhacktics.com/smf/index.php?topic=11772.0
Here's a look at my vanilla mod thread, progressing one step at a time!
http://ffhacktics.com/smf/index.php?topic=11785.0

Xifanie

It's just supposed to be in the same folder as your the FFT Hack Template spreadsheet.
  • Modding version: PSX
Love what you're seeing? https://supportus.ffhacktics.com/ 💜 it's really appreciated

Anything is possible as long as it is within the hardware's limits. (ie. disc space, RAM, Video RAM, processor, etc.)
<R999> My target market is not FFT mod players
<Raijinili> remember that? it was awful

Lionheart537

Well i have it in next to the template hack, yeah. If i don't need it with the spreadsheet in the vba that's one less worry.


I am getting error messages though. Upon opening the spreadsheet, I have Excel 2016 btw, it immediately takes me to the vba with this error message. It also opens the sharedXifisheets module with this portion highlighted.



I assume that highlighted portion may be problematic. Could it be because I'm using a newer Excel? Or perhaps I'm missing some special dll or the like?

If I ignore it and move to the spreadsheet it gives me this error. I'm pretty sure it might be a missed high-five from our excels.
Let me know what i can do to help; i'll keep looking into it myself of course. Thanks!

EDIT: I downloaded the non-blank version and it doesn't cause the vba error, but still won't allow importing without the fft file list txt...which i have right next to it. Conundrum?
  • Modding version: PSX
It's not much yet but check out my spriting thread!
http://ffhacktics.com/smf/index.php?topic=11772.0
Here's a look at my vanilla mod thread, progressing one step at a time!
http://ffhacktics.com/smf/index.php?topic=11785.0

Xifanie

August 27, 2017, 04:48:33 pm #11 Last Edit: August 27, 2017, 06:19:34 pm by Xifanie
why does it have such a long name? It's supposed to just be "FFT File List.txt", or in your case, because you're a weirdo who doesn't enable extensions being displayed in directories, "FFT File List"
  • Modding version: PSX
Love what you're seeing? https://supportus.ffhacktics.com/ 💜 it's really appreciated

Anything is possible as long as it is within the hardware's limits. (ie. disc space, RAM, Video RAM, processor, etc.)
<R999> My target market is not FFT mod players
<Raijinili> remember that? it was awful

Lionheart537

Haha i guess I am just a weirdo. Fixing the name worked thanks. As to why it was named that *shrugs* that's how it downloaded. Now to use this awesome thing  :D
  • Modding version: PSX
It's not much yet but check out my spriting thread!
http://ffhacktics.com/smf/index.php?topic=11772.0
Here's a look at my vanilla mod thread, progressing one step at a time!
http://ffhacktics.com/smf/index.php?topic=11785.0