Name: | Trinkets v1.2 |
Author: | Burning Loaf |
Added: | |
Version History: | View |
Operating System: | Windows |
Platforms: | SNES |
Games: | SMW |
Source Available: | Yes |
Featured: | No |
Website: | None |
Description: | Trinkets is a workspace and a series of batch scripts to help shorten and organize the process of SMW hacking by stuffing all commonly used hacking tools into a lunar magic toolbar. Other features include: - A patch list file, where you can insert all specified patches at once to the current ROM - Saving and loading backups - Inserting all sprites from a folder and automatically creating a list for said sprites - Changed default LM icons for better clarity - Opening the current level's UberASM code - User-defined bookmarks accessible by certain keybinds Changelog, instructions and such are in the readme. |
Tags: | addmusic asar gps inserter level asm lunar magic pixi toolbar |
Comments: | 34 (jump to comments) |
Rating: |
Download
596.84 KiB | 687 downloads
Comments (34)
Went after the new features and tested if the things already covered by the tool maintained the expected results. Since I have found no major issues at the time, accepted. Sending a fixed version, courtesy of BurningLoaf.
Edit: Figured out the PIXI issue! I had to modify 'config.bat' like this:
And 'insert_list_sprites.asm' like this:
I didn't touch 'insert_all_sprites.bat' though as the original feature doesn't seem to work on my side.
Edit 2: Solved the 'asar.dll' issue as well! Just had to replace my current one with the one bundled with UASM 2.0. Now I can enjoy this tool fully!
Would it be possible to add a "Patch everything from all lists" button? So like, run asar patches, pixi, gps, uberasm, and addmusic, all from one button. It just ques each tool up, once one finishes another starts. Or could things get messy here?
awesome, its much faster now! gg
yeah, probably one of them was me, a while ago, with an older version of trinkets...back then, I let go the tool, but now I saw this new version and wanted to try if the problem was solved...thanks, I appreciate it!
My one complaint is there are buttons to open every single folder associated with the project, except for Graphics and ExGraphics... but that's a pretty minor inconvenience compared to literally everything else this does.
Well, i've ignored adding that because Lunar Magic expects the Graphics and ExGraphics folders to be in the same location as the rom, so really it's two clicks away from the "Open ROM Folder" button. Meanwhile the other folders can be anywhere and not restricted to the template. (also thanks for the kind words)
Im guessing this means to just merge the routines folders from GPS and resources.
There is only small problem: I could not get the additional .ssc file to work alongside the one Trinket indirectly generates (via PIXI). However, all of the other additions work, so I won't remove the tool because of this. That being said, I recommend you revisit this particular feature or improve the readme.
The resources folder is set to
C:\Users\username\Desktop\SMW Hacking\Trinkets 1.0\.resources
flips has the location
C:\Users\username\Desktop\SMW Hacking\Trinkets 1.0\.resources
When trying to open flips through Lunar Magic, it says
Environment variable C:\Users\username\Desktop\SMW Hacking\Trinkets 1.0\.resources not defined
flips.exe not found.
[\flips.exe]
EDIT: Figured it out. I was supposed to replace resources_path in every section with the above mentioned path. The instructions saying that I only needed to change one thing confused me.
I just tried that myself with that same patch and it assembled correctly... can you please PM me your patch folder's contents? there might be more to discuss.
(btw try not to use imgur if you send any images, it's blocked on my router (don't ask))
Here is a link to my patches folder. It doesn't contain much.
I have Kevin's UberASM retry in my UberASM folder, but it inserts just fine. I also inserted the SA-1 1.40 patch as the first patch applied to my ROM, but I didn't insert it with Trinkets so it's not in my patches folder. I may try inserting that with Trinkets to see how that works.
I'm busy today so I can't spend too much time debugging this issue, but I am able to replicate the issue by following these steps:
Make a new Trinkets Project folder, start with a clean SMW ROM and expand it to 4MB
Extract and insert GFX as 4bpp and insert ExGFX, then modify and save the Overworld. You need to do this to insert LM-related hacks for the 32x32 patch.
In the Trinkets patches folder, you can reduce the amount of patches inside to only contain the 32x32 player patch with its dependent files (excharactertilemap.asm, hexedits.asm, ow_mario.asm, PlayerGFX.bin), or you can just use my patch folder I linked above.
Put 32x32_tilemap.asm in the Trinkets' Patch List txt and insert it with the Apply ASM Patches From List button.
You will get this error message:
Again, seems like Trinkets thinks I'm trying to insert a patch other than the main file. However, when you run the ROM after getting this error, it seems like the patch is actually inserted? Is it just a weird error message that doesn't mean much? I can work around this issue for now, but I'm still not sure why Trinkets is doing this.
To my knowledge, the 32x32 patch is dependent on having incsrc commands to the files "hexedits.asm" "ow_mario.asm" "excharactertilemap.asm" and a incbin to "PlayerGFX.bin" so they need to be in the same directory as the main patch. I have all those files in my patches folder, but when attempting to insert "32x32_tilemap.asm" using the patch list feature, I get this error:
I'm not well-versed with the ASM involved, but it looks like Trinkets thinks I'm trying to insert excharactertilemap.asm instead of the main 32x32_tilemap.asm patch. Is there a way to fix this?
Also, I even went and made "32x32_tilemap.asm" the only patch in my list.txt file, but I still get the error. I'm still able to successfully insert the 32x32 patch with the "Apply a single ASM Patch" button, so I'm wondering if something is up with the "Apply ASM patches from list" feature.
Other than this issue, I've had a great time with Trinkets. Anything that helps organize hack development workflow is a fantastic addition for any SMW hacker
I just tried that myself with that same patch and it assembled correctly... can you please PM me your patch folder's contents? there might be more to discuss.
(btw try not to use imgur if you send any images, it's blocked on my router (don't ask))
But, if you're not using 1.4.4, then i have no idea what went wrong. For the time being i can't do anything about that other than telling you to wait for an update to trinkets.
For now I'm just using GPS by itself to insert blocks, which isn't too bad. And yeah, it's 1.4.3.
But, if you're not using 1.4.4, then i have no idea what went wrong. For the time being i can't do anything about that other than telling you to wait for an update to trinkets.
That's true... it's gonna be a challenge to try and do that in batch, i think it can be done, but thanks for notifying me either way
Uhh, was wondering - does it let you specify the order in which the patches are inserted? Some patches may modify each other's hijack or their code, such as the FuSoYa's screen scrolling pipes modifies code from GPS, and if you last insert GPS, glitch or a crash could happen, because the latter reverts the pipes hijack.
Isn't the order normally from top to bottom of the list file? Try to check again, i'm not sure if i have it in my version or not, but if that's the case i'll mention that somewhere in the next update
(thanks everyone for the compliments btw, i appreciate it)
Uhh, was wondering - does it let you specify the order in which the patches are inserted? Some patches may modify each other's hijack or their code, such as the FuSoYa's screen scrolling pipes modifies code from GPS, and if you last insert GPS, glitch or a crash could happen, because the latter reverts the pipes hijack.
Tools used: UberASMTool 1.5, PIXI 1.32, GPS 1.4.4 and AddmusicK 1.0.9.
Incredibly ingenious tool. I easily recommend it to be featured. The initial setup isn't so hard, and the results after? A nifty "ROM Hacking Manager" toolbar inside Lunar Magic that makes your like way easier when developing your SMW Hack. Kudos to you, Burning Loaf.
However, I must point one small thing, but consider it if you're planning on update this tool: Be cautious with the "Auto Insert All Custom Sprites" option. While it works fine and it is quite a useful addition, it does introduce a small problem: say your sprite spawns another sprite, and the number is configurable inside the .asm file rather than an extra byte. Since the aforementioned option does potentially rearrange the sprites, since it uses alphabetical order, thus forcing the user to open all the .asm files of the sprites that do have the ability to spawn so they can fix the projectile number. And this can occur several times. My suggestion for the next update is: Tweak this option to either append the new sprites (or delete) maintaining the old order... or issue an warning about this particularity when the sprites console opens. That's all.