Language…
10 users online:  AmperSam, BeeBoo190, Cappaque,  idol, jferrerfaj, Mary's Dreamland, reevebarusadar8, RetroYuuki, Scags, TheRedCrystal - Guests: 325 - Bots: 116
Users: 70,845 (2,353 active)
Latest user: BeeBoo190

Custom Powerups v3.4.2 - DISCONTINUED

Patch

Originally posted by Skewer
I'm also under the impression the patch breaks Piranha Plants after patching the "Piranha Fix" patch.

Nope, I used both patches in my hack and had no problem.
Must be a special case.
It could be that the patch could have affected an address used by the piranha plant patch (or maybe the piranha plants themselves?)
I'm reorganizing all of the code because it's a bit hard to read, hopefully I'll be able to release a new version at the end of the March (or later, that will depend on my free time). The next update will also feature some bug fixes, especially those SA-1-only ones.

I've added something nice that I'd like to share when inserting new Mario ExGFX, instead of putting this:
Code
freedata
label:
	incbin powerup_files/exgfx.bin


And modifying a few tables, you will only need to use this really useful macro that I made:
Code
%insert_gfx(gfx_filename)


gfx_filename is the name of your graphics file, such as mario.bin, mario_raccon.bin, etc.:
Code
%insert_gfx(mario)
%insert_gfx(mario_raccoon)


It will handle three things:
1) Insert the .bin file
2) Modifying the table that's used to get the graphics location
3) Protecting the .bin data when inserted

So you won't be modifying some "sensitive" parts of the patch and it's easier to use.

Another feature is that I separated a lot of codes and hijacks to make the update process easier (I think) for those people who have modified some code of the patch to add their code. There are a LOT of files now, though. Here is a pic of how the main folder looks now.
These files are/will be commented to make them easier to understand.

I have plans about making an .html readme/tutorial like AddMusicK and VWF Dialogues Patch with screenshots and nice formatting for those who doesn't like the txt file.

-------------------------------------------
@Rykon-V73:
1: That sounds like that you are using the wrong graphics, I think you're using the graphics for the question block that only becomes visible when a POW/P-Switch is active.

2: Black palette? If you haven't modified the palette tables in powerup_data.asm you shouldn't have a black palette, unless you mean the powerup item which uses palette A (the yellow one).

3: That sounds... weird. Have you modified the tile numbers that the broken ice block parts uses? (they are on powerup_defs.asm)

4: Yeah, I know about that. I'm not sure how to fix that without doing a lot of things. I'll look into it after I finish my goals for the next update.

@Video tutorial: I could make a simple one which only shows how to insert them, but not to edit the files and related things, that would be a really long tutorial. It wouldn't have voice either, I can't speak understandable English I only can write it. Haha.

@Piranha Patch: Huh, is it the 83+69 patch or the one that fixes the classic piranhas plants?
GitHub

I've put this project into GitHub because it seems a good place to put this and you can see how's the progress on this now :)

The asm files on that page aren't ready to be inserted and I still have to upload a few .asm files.

Now have some IRC logs about the next update:

Quote
<LX5> the patch works like the last update, but people will be able to modify the code and be able to include awesome things
<LX5> like modifying the DMA routines to allow a 32*32 player

<LX5> http://puu.sh/nKEgx/4b618b1358.png this is how the main folder looks now
<LX5> so if you want to modify some of these codes, you won't be searching it on a big file

<LX5> I may include a few addons and mods with the update
<LX5> like a dma_engine.asm that allows a 32x32 player

<LX5> also, another positive thing is that people will be able to distribute their powerups more easily
<LX5> because you will only need to put a file in each folder: powerup_main_code, powerup_image_code and probably modifying some things in powerup_misc_data
<LX5> as well adding a files in the addon folder for those powerups that requires separate patches to work correctly, like the ice flower powerup that needs a patch to have the ice block without inserting a custom sprite

<LX5> the next update won't force you to patch all of the powerups, you will need to download them separately and of course I will include a little readme in each powerup that has a guide of how to add them properly
<LX5> so you will download the main patch and then you will download ice_flower.zip or something like that and follow the instructions that are on the zip
Originally posted by from first post
Download 2.0

Powerup downloads to be available soon:
- Ice flower
- Hammer suit
- Boomerang suit
- Rocket boots
- Shell suit

Working on the rest, they will be available later.

Add-ons downloads:
- Dynamic Z compatibility


Finally I can say that this patch is complete, probably this will be the version that I'll upload on SMWC if I don't find more bugs within the main code of the patch (without including powerups).
Weren't those in the pack before?
Yes, but you now will decide what to insert by downloading the powerups separately. Pretty much I made this because it was eating an insane amount of space.
Maybe instead of downloading the power-ups separately, you could pick which power-ups would be inserted in the defines or something like that.
I considered that, but it would be a problem with some defines that are needed inside of patch's code. Mostly with powerup numbers.
Oh, ok, but where would we get the power-ups then?
From the first post on this thread. I'll post here once I get these ready.

Fun fact: While doing this I thought in the possibility of making a simple tool that adds them automatically, but then I remembered that I don't know how to code tools. lel.
Oh, I'll wait.

And maybe somebody else could make the tool for you...
I actually really like how the new system is on this, much simpler and easier to use, plus it is more optimized. Amazing job as usual LX5!
Your layout has been removed.
Asar found this error:


Alright, fixed.

Download the lastest release here (2.0.1)

Also, the first batch of powerups will be available later this week, I'm currently working on the ice flower, it's almost ready. Stay tuned!
Asar does work for finding errors! Just one:


Nice, I forgot about that one.

Same download link (2.0.1).
Please hurry up with the powerups. I'm really impatient.
My Mode 0 guide.

My Discord server. It has a lot of archived ASM stuff, so check that out!

Be more patient, please.

I have a few things to do that aren't related to release the powerups.

Patch