MMMMMagic 2.0 - Printable Version +- FF6 Hacking (https://www.ff6hacking.com/forums) +-- Forum: Hacks, Resources and Tutorials (https://www.ff6hacking.com/forums/forum-1.html) +--- Forum: Jidoor Auction House (https://www.ff6hacking.com/forums/forum-4.html) +---- Forum: Patches, Bugfixes, Tweaks (https://www.ff6hacking.com/forums/forum-15.html) +---- Thread: MMMMMagic 2.0 (/thread-3330.html) |
RE: MMMMMagic 2.0 - PowerPanda - 07-29-2018 Hi there. Up till now, I've been just running the plug and play patch. However, there are portions of this patch that conflict with other changes I've already made, so I need to redefine some variables and re-run the ASM. (I also think I can fit the whole patch into C4 without expanding the rom.) However, everytime I run this in Asar 1.36, I get repeating errors to the following effect: error: Lable "SpellDesc_loop" redefined [.loop] error: Lable "SpellDesc_nextspell" redefined [.nextspell] error: Lable "SpellDesc_exit" redefined [.exit] error: Lable "SpellDesc_nextactor" redefined [.nextactor] error: Lable "SpellDesc_magicmenu" redefined [.magicmenu] and so on and so forth until I max out my errors and Asar aborts. I've made sure SpellDesc.bin and SpellDescPntr.bin are located in the same folder that I'm running the asm file from. Any tips? EDIT: Note that when I started getting errors, I ran the unedited file straight from the zip on an expanded rom. I got the same errors. RE: MMMMMagic 2.0 - madsiur - 07-29-2018 (07-29-2018, 11:30 PM)PowerPanda Wrote: However, everytime I run this in Asar 1.36, I get repeating errors to the following effect: Have you tried with xkas 0.06? Asar is supposed to be compatible for the most but there are differences. There is also a "xkas mode" with Asar enabled with some flag but it can only be input via command line I think. I'd check Asar documentation or try xkas 0.06. RE: MMMMMagic 2.0 - GrayShadows - 07-30-2018 At a quick glance, I suspect that asar doesn't handle the function() notation the same way that xkas does, so it's reading all of the sublabels (.loop, .nextspell, etc) as being under the SpellDesc: label at the top of the code. The 'redefined' error pops up when you use the same sublabel twice under one label -- sublabels can be used more than once in code, I do it all the time, but each use needs to be under a different label. xkas must read the function() notation as a label, while asar doesn't. RE: MMMMMagic 2.0 - PowerPanda - 07-30-2018 Thanks guys. That appeared to work with the default ASM file on an expanded rom. My edited file isn't working, but I think that's because Notepad is changing the encoding format. I'll try again in Notepad++ when I get some time later today. RE: MMMMMagic 2.0 - OG Cole-Slaw - 07-30-2018 Aye, this will definitely help me. I'm doing a fully custom hack and definitely could use new spells for new espers. RE: MMMMMagic 2.0 - PowerPanda - 07-30-2018 Okay. I have gotten the ASM file mostly to work, and I have moved the entire patch to an unexpanded rom in the free space in C4. Note that there is one portion of the ASM that does not respond to org re-assignment, and must be manually altered. Code: ; (X) Fork: magic effect descriptions It's still not working 100%, but that's probably due to a typo. I was editing this ASM while bouncing a crying baby on my lap, and I should have learned by now that that never really works out. RE: MMMMMagic 2.0 - madsiur - 07-31-2018 it's been a while I have not used xkas but I think you could do this (someone correct me if I'm wrong). Assuming !description is a complete offset: Code: ldx.w !description ; load offset as a word This is 100% supported in bass and I think byuu had it working in xkas.. RE: MMMMMagic 2.0 - PowerPanda - 07-31-2018 Okay, I have MMMMMagic fully working in C4. There were a few more sections that did not respond to the org changes. There may be more, but I was hitting so many crashes that I decided to relocate my other code changes instead of continuing to fight with this one. Code: ; <> learn Spell (from C2/620F, F3/032F) Finally, this pointer table is all based off of the offsets from !freespaceC2 Code: ; (X) pointers for how to trim spell list (from C2/56F3) As one final note, the readme forgets to mention this VERRRRRY important table, that tells both the battle menu and the main menu how many spells of each type there are. You will need to edit this if you plan to make custom changes. Otherwise, depending on your config menu sort order, you'll either have gaps or missing spells... probably both. Code: ; byte order for table below: RE: MMMMMagic 2.0 - B-Run - 10-13-2018 (07-31-2018, 02:45 PM)PowerPanda Wrote: As one final note, the readme forgets to mention this VERRRRRY important table, that tells both the battle menu and the main menu how many spells of each type there are. You will need to edit this if you plan to make custom changes. Otherwise, depending on your config menu sort order, you'll either have gaps or missing spells... probably both. readme.txt Wrote:These bytes determine which magic slot is the first slot for each kind of magic, in each kind of configuration setup. Below is the baseline, this puts all of the current Black/Gray/White magic where it existed in vanilla, while any additional spells added to the spell list via this patch goes automatically at the end of the list. Due to the way the configuration byte is setup, the fourth "unallocated" magic type will always be in a static location without additional ASM work. However, it is easy to add your new magic to the black/gray/white magic lists, and have them sort into those accordingly.Maybe not the most clear, but not forgotten. Originally I had a video to overview all of the editing, but due to circumstances of that nights stream it got chopped up and the quality was bad. Incidentally, I think I might still have it somewhere. But yeah, this bit is crucial when adding new Black/White/Gray magic when not using the plug-and-play model. RE: MMMMMagic 2.0 - PowerPanda - 04-19-2020 I'll be looking into this by myself, but in the event that B-Run sees this and knows the answer offhand.... I would like to add a natural magic list for Relm, and I'd like to have a "starting set" of magic for a new character, Kappa, since Kappa isn't gained until the same point in the story where you can gain Gogo and Umaro. I have checked GrayShadow's patch, but it is completely incompatible with MMMMMagic. How would I modify this patch to add another natural magic list? |