#Error adding Cannonballs

1 messages · Page 1 of 1 (latest)

vapid dust
#

you gotta add registers.h to your source folder

flat comet
#

Okay

#

Where is that file? Do I download it? Do I make it?

vapid dust
#

you download it from the newer ds repository

flat comet
#

Okay

#

Again I get the error, but it's telling me to include enemy.h. I think there is one more step

#

Not finished, again include game.h

#

Fucking hell

#

It was the same error which made me took so long to implement the Actor Spawner code hack

vapid dust
#

I'm working on it

#

I think ima have to rewrite this part

#

because this crap

flat comet
#

I wish you good luck to fix this.

karmic quest
#

LMAO newer ds float usage spotted

vapid dust
#

yea

flat comet
weak depot
#

just rewrite the whole thing tbh

#

make an actor that renders a model and moves at a constant speed in the update function

#

and has collision

vapid dust
#

It's not that bad and all I need to do is make it work

weak depot
#

i suppose just don’t like janky newer shit

vapid dust
#

yea same

#

if it was for my hack I would rewrite it too

flat comet
#

I don't wanna overuse Newer music

vapid dust
#

oh I already got a working cannonball patch saved somewhere it just doesn't have support of vertical ones

flat comet
#

Vertically cannonballs from a pipe weren't used in SMB3

#

I wanna use the horizontal ones only, I think it goes better

#

Also to fit with the original game I'll change the cannonballs' color to gray.

#

If possible

vapid dust
#

use all the files in that folder

#

thay are all needed

#

and your going to have to change "1802" to the file id of your cannon ball texture

flat comet
#

For replaces.x I think I place it in source

vapid dust
#

no that goes in the same folder as the makefile

flat comet
#

Oh

vapid dust
#

you can add a file to your rom or replace an unused file

flat comet
#

Okay

#

Do I do that first or do I run "make and insert" first?

vapid dust
#

you can replace file 1802 with it since it's an unused file or you can replace another unused file or you could add your own

flat comet
#

Do I replace the file first or do I insert the code hack first?

marsh sinew
#

doesnt really matter

flat comet
#

It shows a file ID, and world6.nbmsd

#

Idk if it's unused or not

vapid dust
#

yea thans unused

#

its from an unused worlmap selector

#

kinda like what mario wii had

flat comet
#

It works, the command window closes instantly

vapid dust
#

that means it compliled

flat comet
#

It replaces the Spin Block unused actor 255, right?

vapid dust
#

yes

flat comet
#

Also I'll change the color to gray to match with the original game

vapid dust
#

so place one in your level and test it out

flat comet
#

is it easy?

vapid dust
#

but first can you try placing the actor down and taking a screensoot so we can confirm that it works

flat comet
#

Okay

#

Let me boot up DesmuMe

#

I did use the Spin Block unused actor as well

#

255

#

Ignore the beetle please btw

#

What did I do wrong? Is there one more step?

vapid dust
#

did you place the unused spinblock 255 in the level?

flat comet
#

Yes

vapid dust
flat comet
#

Okay, where do I find the folder with levels?

vapid dust
#

click on the area of a level that you would like to replace and then press this

flat comet
#

Okay

#

I think I forgot something

vapid dust
#

can you send me a screenshot of the file that has the rom in it and a screenshot of the source folder

flat comet
#

I'll do it

#

Did I forgot something

#

Also in the first image I have also more other files

#

I only wanted to screenshot a part of the template

vapid dust
#

for the first one can you show me what the whole folder looks like

#

and you can delete the actorspawner.o and actorspawner.d files

#

those shouldn't be there

flat comet
#

Don't ask why I have those images in the folder.

#

I wanted to edit the swollen groun texture for my castle

vapid dust
flat comet
#

Yes it's there

#

What do I do?

vapid dust
#

can you send a screenshot of everything in in the folder that contains replaces.x

#

I need to be able to see it so I can makesure you have all the needed files

flat comet
#

Okay

vapid dust
#

try running "make clean" then compile it again

flat comet
#

Did that and the error returned

#

Would you give me a new makefile to solve this error?

vapid dust
#

try this one

flat comet
#

Here we go this error stills show up

vapid dust
flat comet
#

Okay now it works, it closes automatically

vapid dust
#

now try loading into that level I sent you

flat comet
#

The cannonballs still doesn't spawn

#

What's happening?

vapid dust
#

idk everything works on my end

flat comet
#

Then I mostly forgot one last thing

#

Do I need the unused sprite to have the code behavior or does it has it automatically?

vapid dust
#

what do you mean by code behavior

flat comet
#

I mean the behaviour for the cannonball found in the code

#

Somehow I did replace the unused sprite by the cannonball sprite

#

What did I do wrong? Is there something I should include?

flat comet
#

I swear they don't need spritesets

flat comet
#

It's so hard, maybe I fucked something up

flat comet
#

I thought it looked easy

flat comet
#

I don't think asking on NSMBHD will work btw

#

It went downhill (I think)

#

Oh this looks kinda outdated since the error doesn't appear anymore

mossy venture
vapid dust
#

It’s a newer code hack

#

That’s not happening

mossy venture
#

Now it's explained why the code dont have addresses