ROM Hack [Release] Sm4shCommand

HeartBound

Well-Known Member
Member
Joined
Feb 11, 2016
Messages
159
Trophies
0
Age
33
XP
105
Country
Canada
What exactly do I do with the Angle on the Hitbox() thing? Is 0 down, left, right, or up, and what would be 360 to that, and which is clockwise/coutnerclockwise
0 is forward, 90 is up, 180 is backward 270 is down, 361 is the sakurai angle. But numbers are in hexadecimal.
 
Last edited by HeartBound,

Spawn_32

Active Member
Newcomer
Joined
Mar 17, 2016
Messages
30
Trophies
0
Age
25
XP
59
Country
Where can I edit Pacman's fruits? I found them in the item folder, but for example the key has two actions and they both have one hitbox, and none of them match the actual hitbox (the key does 15% damage, but the hitboxes were 8% and 22%, I edited them and it changed nothing)
 

GudPiggeh

Well-Known Member
Newcomer
Joined
Jun 23, 2015
Messages
79
Trophies
0
Age
22
XP
88
Country
United States
Where can I edit Pacman's fruits? I found them in the item folder, but for example the key has two actions and they both have one hitbox, and none of them match the actual hitbox (the key does 15% damage, but the hitboxes were 8% and 22%, I edited them and it changed nothing)
Are you sure it isn't in the weapons folder?
 

Spawn_32

Active Member
Newcomer
Joined
Mar 17, 2016
Messages
30
Trophies
0
Age
25
XP
59
Country
Are you sure it isn't in the weapons folder?
Yep. Pac-Man only has a weirdly-named weapon, and the fire hydrant and the water from it, "bigpacman", and the trampoline. I tested the weirdly named weapon to see if it was the fruits, but it didn't seem like it.

Also, I tried editing Dedede's gordos and now they don't have hitboxes, like the problem I had previously with some other moves, which I didn't really solve, I just deleted those files and started from fresh. Apparently it's still happening, and I have no idea why.
 
Last edited by Spawn_32,

Awesomeness

Dangerously Optimistic Hope
Member
Joined
Jun 21, 2012
Messages
167
Trophies
0
XP
153
Country
United States
Does anyone else have trouble editing Ness, specifically his fair? When I do so in game, the game crashes when I use an aerial. And when opening the code for the fair, AnimCmd tells me that "index was out of range. Must be non-negative and less the size of the collection. Parameter name: index."

I'm thinking that AnimCmd doesn't really like saving his fair.

Edit: The game seems to crash if I edit Ness at all.
 
Last edited by Awesomeness,

Spawn_32

Active Member
Newcomer
Joined
Mar 17, 2016
Messages
30
Trophies
0
Age
25
XP
59
Country
What the heck, after checking, it seems that what's happening with the hitboxes is that some of the arguments are moving forward to the next parameter, so for example Effect was 0x14 I believe, now Trip is 14, Trip was 0, now Hitlag is 0, Hitlag was 1, now SDI is 1, etc.
This didn't happen with earlier ones like ID, Bone, Damage, Angle, etc.

EDIT: I found out what's wrong with a lot of moves I edit. The hitboxes break because a lot of "Size" parameters are decimal numbers (not the decimal/hexadecimal type, but the decimal as in they are 3.5 (they have a fraction of a number)
When this happens, the decimal part of the number acts like as the next parameter, and thus breaks the whole command, or maybe even event from that point forward.
 
Last edited by Spawn_32,

HeartBound

Well-Known Member
Member
Joined
Feb 11, 2016
Messages
159
Trophies
0
Age
33
XP
105
Country
Canada
What the heck, after checking, it seems that what's happening with the hitboxes is that some of the arguments are moving forward to the next parameter, so for example Effect was 0x14 I believe, now Trip is 14, Trip was 0, now Hitlag is 0, Hitlag was 1, now SDI is 1, etc.
This didn't happen with earlier ones like ID, Bone, Damage, Angle, etc.

EDIT: I found out what's wrong with a lot of moves I edit. The hitboxes break because a lot of "Size" parameters are decimal numbers (not the decimal/hexadecimal type, but the decimal as in they are 3.5 (they have a fraction of a number)
When this happens, the decimal part of the number acts like as the next parameter, and thus breaks the whole command, or maybe even event from that point forward.
Change your computer's properties for decimals
 

holyluigi

Active Member
Newcomer
Joined
Sep 25, 2015
Messages
44
Trophies
0
Age
27
XP
105
Country
Gambia, The
Sorry for the noob question. Can this be used with SaltySD?
I never modded before. changing music worked and now I wanted to change Falcon's F-air sweetspot damage as a test.

If I understood everything right I am supposed to open the fighter from animcmd/fighter/captain
then view parse animation \motion\fighter\captain\body\main.bch

Then I double clicked AttackAirF in "Workspace". After that I double clicked on Main in "command lists"
Then I changed the "Unknown=19" from "Special_Hitbox"to Unknown=30

then I saved as and put the 5 files on my sd card in the folder: SaltySD\smash\data\animcmd\fighter\captain

Launched FBI deinstalled previous saltySD update and installed the saltySD.cia again to apply the new update with changed Fair. But it didn't change. Did I do something wrong or doesn't sm4sh command work with saltysd?
One more optional question. Why are there all moves multiple times in Workspace?. I am pretty sure that I found everything about 4 times but when I change one all copies are changed.
 

Ordim3n

Well-Known Member
Member
Joined
Dec 14, 2015
Messages
413
Trophies
0
Location
Planet earth
XP
257
Country
Canada
Sorry for the noob question. Can this be used with SaltySD?
I never modded before. changing music worked and now I wanted to change Falcon's F-air sweetspot damage as a test.

If I understood everything right I am supposed to open the fighter from animcmd/fighter/captain
then view parse animation \motion\fighter\captain\body\main.bch

Then I double clicked AttackAirF in "Workspace". After that I double clicked on Main in "command lists"
Then I changed the "Unknown=19" from "Special_Hitbox"to Unknown=30

then I saved as and put the 5 files on my sd card in the folder: SaltySD\smash\data\animcmd\fighter\captain

Launched FBI deinstalled previous saltySD update and installed the saltySD.cia again to apply the new update with changed Fair. But it didn't change. Did I do something wrong or doesn't sm4sh command work with saltysd?
One more optional question. Why are there all moves multiple times in Workspace?. I am pretty sure that I found everything about 4 times but when I change one all copies are changed.
Maybe you forgot to save the changes
 

HeartBound

Well-Known Member
Member
Joined
Feb 11, 2016
Messages
159
Trophies
0
Age
33
XP
105
Country
Canada
Sorry for the noob question. Can this be used with SaltySD?
I never modded before. changing music worked and now I wanted to change Falcon's F-air sweetspot damage as a test.

If I understood everything right I am supposed to open the fighter from animcmd/fighter/captain
then view parse animation \motion\fighter\captain\body\main.bch

Then I double clicked AttackAirF in "Workspace". After that I double clicked on Main in "command lists"
Then I changed the "Unknown=19" from "Special_Hitbox"to Unknown=30

then I saved as and put the 5 files on my sd card in the folder: SaltySD\smash\data\animcmd\fighter\captain

Launched FBI deinstalled previous saltySD update and installed the saltySD.cia again to apply the new update with changed Fair. But it didn't change. Did I do something wrong or doesn't sm4sh command work with saltysd?
One more optional question. Why are there all moves multiple times in Workspace?. I am pretty sure that I found everything about 4 times but when I change one all copies are changed.
The path is wrong
SaltySD\smash\data\animcmd\fighter\captain
should be
SaltySD\smash\animcmd\fighter\captain
 

holyluigi

Active Member
Newcomer
Joined
Sep 25, 2015
Messages
44
Trophies
0
Age
27
XP
105
Country
Gambia, The
The path is wrong
SaltySD\smash\data\animcmd\fighter\captain
should be
SaltySD\smash\animcmd\fighter\captain
While that now changed something it seemed to have somehow changed the hitbox and I never touched that. I wouldn't even know where to change it. The only change I did was changing unknown=19 to 50 and poof the hitbox was pretty much gone. I'll post teh code of Fair here. Need to go to work ^^'
Asynchronous_Timer(Frames=5)
Set_bit(Unknown=0x2100000D)
Asynchronous_Timer(Frames=14)
Special_Hitbox(Unknown=0x0, Unknown=0x0, Unknown=0x4, Unknown=50, Unknown=0x20, Unknown=0x5D, Unknown=0x0, Unknown=0x1E, Unknown=3, Unknown=4, Unknown=4, Unknown=0, Unknown=0x0, Unknown=3, Unknown=0, Unknown=1, Unknown=0x2, Unknown=0x1, Unknown=0x1, Unknown=0x1, Unknown=0x0, Unknown=0x2, Unknown=0x2, Unknown=0x3, Unknown=0x1, Unknown=0x7, Unknown=0x3F, Unknown=0x0, Unknown=0xF, Unknown=0x0, Unknown=0x1, Unknown=0x0, Unknown=0x0, Unknown=0x0, Unknown=0x0, Unknown=0x0, Unknown=0x3, Unknown=0x0, Unknown=0x0, Unknown=0x0, Unknown=0x0)
Hitbox(Unknown=0x1, Unknown=0x0, Unknown=0x0, Unknown=6, Unknown=0x169, Unknown=0x50, Unknown=0x0, Unknown=0x23, Unknown=3, Unknown=0, Unknown=6, Unknown=0, Unknown=0x0, Unknown=0, Unknown=1, Unknown=2, Unknown=0x1, Unknown=0x1, Unknown=0x1, Unknown=0x0, Unknown=0x0, Unknown=0x2, Unknown=0x3, Unknown=0x1)
Synchronous_Timer(Frames=1)
Hitbox(Unknown=0x0, Unknown=0x0, Unknown=0x4, Unknown=3, Unknown=0x169, Unknown=0x50, Unknown=0x0, Unknown=0x23, Unknown=4, Unknown=7, Unknown=4, Unknown=4, Unknown=0x0, Unknown=0, Unknown=0, Unknown=0, Unknown=0x2, Unknown=0x1, Unknown=0x1, Unknown=0x1, Unknown=0x1, Unknown=0x0, Unknown=0x0, Unknown=0x2)
Hitbox(Unknown=0x1, Unknown=0x0, Unknown=0x0, Unknown=3, Unknown=0x169, Unknown=0x50, Unknown=0x0, Unknown=0x23, Unknown=3, Unknown=0, Unknown=6, Unknown=0, Unknown=0x0, Unknown=0, Unknown=2, Unknown=1, Unknown=0x1, Unknown=0x1, Unknown=0x1, Unknown=0x0, Unknown=0x0, Unknown=0x2, Unknown=0x3, Unknown=0x1)
Asynchronous_Timer(Frames=31)
Remove_All_Hitboxes()
Asynchronous_Timer(Frames=42)
Clear_bit(Unknown=0x2100000D)
Script_End()
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • NinStar @ NinStar:
    we will all die eventually
  • MysticStarlight @ MysticStarlight:
    how deep
  • mthrnite @ mthrnite:
    6 feet
  • NinStar @ NinStar:
    sorry I don't speak USA
  • Xdqwerty @ Xdqwerty:
    @mthrnite, juan's favorite measure
  • MysticStarlight @ MysticStarlight:
    with an s at the end
  • mthrnite @ mthrnite:
    sorry about your hard drive, super sucks
    +2
  • MysticStarlight @ MysticStarlight:
    I am mad because the drive isn't even that old. I never expected it to die so soon
  • mthrnite @ mthrnite:
    i'm gonna do my backups tonight for reals
    +2
  • MysticStarlight @ MysticStarlight:
    It does a clicking sound and Windows doesn't recognize it
  • mthrnite @ mthrnite:
    clicking = bad, i'd still try it on a linux box or a mac, out of desperation
  • Xdqwerty @ Xdqwerty:
    Do you recommend any way to back up?
  • MysticStarlight @ MysticStarlight:
    I will keep trying, but that clicking sound seems like the moving parts are stuck or something
  • mthrnite @ mthrnite:
    i use a mac, so I just leave time machine running, not real sure how to back up on a windows box
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Buy SSD copy everything over and no more clicking lol
  • mthrnite @ mthrnite:
    yeah clicking is bad, i don't do much recovery these days, so i don't know if the old tricks still work
  • Psionic Roshambo @ Psionic Roshambo:
    Pretty much they do but only because mechanical is still mechanical
    +1
  • Xdqwerty @ Xdqwerty:
    @Psionic Roshambo, the only hard drive i have is the one on my pc
  • Psionic Roshambo @ Psionic Roshambo:
    I had a weird thought, Sega with the Saturn it was a train wreck a pile of chips, but it does kind of fit the design philosophy of Sega at the time.... The Genesis/Sega CD/32X machine was probably loads of fun to program for
  • BigOnYa @ BigOnYa:
    Damn, the new COD coming soon is 310gb on series s/x
    +1
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, I bet a good chunk of the space games have is due to unused content
  • Psionic Roshambo @ Psionic Roshambo:
    310GBs lol ISPs hate this one trick
  • Psionic Roshambo @ Psionic Roshambo:
    DLC will be a svelt 32K download lol
  • BigOnYa @ BigOnYa:
    I think you only get like 425gb on a series s hard drive, so you get 1, 2 next gen games max
    BigOnYa @ BigOnYa: I think you only get like 425gb on a series s hard drive, so you get 1, 2 next gen games max