Kitty Corp Meow Mix Forums

Super Smash Bros. Brawl Hacking => Programming => Topic started by: PPXEXE on January 01, 2012, 01:43:45 PM



Title: Article Floating Point Editor "Update"
Post by: PPXEXE on January 01, 2012, 01:43:45 PM
Article Floating Point Editor

Download - http://forums.kc-mm.com/Gallery/BrawlView.php?Number=24493
-

This is an Article Floating Point Editor, this was made to make PSA Articles editing simple and easy without the hassle of using an hex editor to do very simple task such as making Samus missiles move faster, or making luigi's fire balls last longer.

All Floating point data currently added is from

http://opensa.dantarion.com/wiki/Article_Floating_Points

Okay, the Update is complete, with a whole revamped design.

All Missing Found Articles have been added.

Articles have been reorganazined, and set into Tables.

Bugs from the previous version have been fixed.

.Pac files don't over write now, and instead are now saved into the "EditedFiles" folder. This way unwanted mistakes are a simple fix.

Degrees, and Radians  values have been fixed.

A newly added CustomFloatingPoints.txt : for  organizing of found information about Articles.

A New "Update" Key, that uploads new articles from the OpenSA Source page.

Updated Credits/About

Data Splitter has been changed from "-" to "l"

Two short-cut keys are added for fast scrolling  to move to next/previous Offset. "w - for scrolling up" and "s - for scrolling down"

Note: To save changes you have to press "Enter" after inputting the change.

Credits:
Programming: ShyGuy
Article Data Extraction: Dantarion
Code Organization: PPXEXE


Title: Re: Article Floating Point Editor
Post by: Gigan X3 on January 01, 2012, 05:28:10 PM
Ness seems to be missing in action.


Title: Re: Article Floating Point Editor
Post by: PPXEXE on January 01, 2012, 05:43:34 PM
Ness is included.  He's right under Game n Watch.

I have to go over some of these characters again, it's hasn't been updated in a while. New Articles have been added since his was created. So Updates will be coming in more quickly then thought.


Title: Re: Article Floating Point Editor
Post by: Gigan X3 on January 01, 2012, 05:54:01 PM
Sorry, I meant Lucas xD

Well done, this makes stuff much easier for me.


Title: Re: Article Floating Point Editor
Post by: PPXEXE on January 01, 2012, 05:58:30 PM
No problem, and thank you.

After you said something i went back, and notice there have been changes since i've updated stuff. So Ness will be getting some stuff added as well.

Also re-download for Lucas. I just added him a moment ago thanks to MarioDK noting me that he was missing.


Title: Re: Article Floating Point Editor
Post by: Gigan X3 on January 01, 2012, 08:26:52 PM
ROBOT only has information and stuff available for his gyro, is it my file or is there something I'm missing?


Title: Re: Article Floating Point Editor
Post by: PPXEXE on January 01, 2012, 08:33:41 PM
No your file isn't missing anything. I'm currently working on updating ALL the characters. Before R.O.B only had info on his gyro but his article data has been updated. Please give me some time to gather all the data, I will update soon.


Title: Re: Article Floating Point Editor
Post by: Gigan X3 on January 02, 2012, 12:07:14 AM
Oh Very well, need any help with the other characters? Marth for example has no article data at all. Again, thanks for this tool :D


Title: Re: Article Floating Point Editor
Post by: KingJigglypuff on January 02, 2012, 08:01:10 AM
This program is amazing. I thank you for your hard work on this. And I have a mild notification. The floating points for the Pokemon's Stamina aren't there.


Title: Re: Article Floating Point Editor
Post by: PPXEXE on January 02, 2012, 09:55:54 AM
Your welcome, and I know. The program is currently going through a full revamp, so things like this doesn't happen again. Please be patient, i'm sure i'll have it completely updated before the end of the day.


Title: Re: Article Floating Point Editor
Post by: PPXEXE on January 02, 2012, 06:40:30 PM
Okay, the Update is complete, with a whole revamped design.

All Missing Found Articles have been added.

Articles have been reorganazined, and set into Tables.

Bugs from the previous version have been fixed.

.Pac files don't over write now, and instead are now saved into the "EditedFiles" folder. This way unwanted mistakes are a simple fix.

Degrees, and Radians  values have been fixed.

A newly added CustomFloatingPoints.txt : for  organizing of found information about Articles

A New "Update" Key, that uploads new articles from the OpenSA Source page.

Updated Credits/About

Data Splitter has been changed from "-" to "l"

Two short-cut keys are added for fast scrolling  to move to next/previous Offset. "w - for scrolling up" and "s - for scrolling down"


Title: Re: Article Floating Point Editor "Update"
Post by: KingJigglypuff on January 02, 2012, 06:48:19 PM
Alright. :)
But I think the download seems to be broken atm. :/


Title: Re: Article Floating Point Editor "Update"
Post by: PPXEXE on January 02, 2012, 06:53:00 PM
"Fixed"


Title: Re: Article Floating Point Editor "Update"
Post by: TheShyGuy on January 02, 2012, 08:12:34 PM
Heres a vid of me using my program. I edit the bone that links (article)bow is attached to first in hex - the old way - dingos way. Then i do it using my program. Its simply an easier way to edit articles floating point values for psas.  I saw that some of you guys made some nice gfx out of my ext gfx editor. So heres another/updated toy =).

-unknown 3 in opensa is the value of the bone index that links bone is attached to, jsyk
-if you wnna see what im actually doing, your probably going to have to fullscreen the vid.

http://www.youtube.com/watch?v=KNQvesXlFnE



Title: Re: Article Floating Point Editor "Update"
Post by: aidanshin on January 03, 2012, 05:29:42 AM
I saw it but some of the points are still not clear.


Title: Re: Article Floating Point Editor "Update"
Post by: PPXEXE on January 03, 2012, 10:24:11 AM
Pretty much, this program simplifies Article editing. Before you would have had to use some type of hex editing program to do something simple like increase the size of Samus Charge Beam, or Slow down Falco's lasers. Which would had before taken a lot of digging to get your desired results, and now it can be done in a snap.


Title: Re: Article Floating Point Editor "Update"
Post by: DoctorFlux(Mariodk) on January 03, 2012, 10:39:01 AM
you can also know get a article like mario´s Fludd to be on HeadN bone instead of HipN bone now alot easyer?


Title: Re: Article Floating Point Editor "Update"
Post by: PPXEXE on January 03, 2012, 11:02:40 AM
Can You now get Mario's Fludd Article on the HeadN Bone now, instead of the HipN a lot easier now?

No, This doesn't move the article from bone to bone, only edits the current article. But that's a great idea, i'll see if Shyguy will add the feature.

Any other ideas to help improve the FPE will be welcomed.


Title: Re: Article Floating Point Editor "Update"
Post by: DoctorFlux(Mariodk) on January 03, 2012, 11:15:24 AM
make the GUI alot easy and maybe like as PSA so it feel like you PSAing a char. but here you PSAing a article  
so it can be PSA just for floating points/articles


Title: Re: Article Floating Point Editor "Update"
Post by: TheShyGuy on January 03, 2012, 02:22:37 PM
that gui is pretty easy to use, not sure how its not. But how is it not? You simply open a file, and edit the values. Anyways, yeah you can change marios fludd attachment bone. Its part of the articles floating point - which bone it attaches to. You can do it with any character when an article is anchored to a specific bone. Itd be pointless to make it look like psa because its meant to be a simple program, making it like psa would destroy the point.


Title: Re: Article Floating Point Editor "Update"
Post by: KingJigglypuff on January 03, 2012, 07:07:48 PM
>.>
<.<
This may be out of the question...but...
Maybe try to merge PSA and the Article Floating Point Editor?


Title: Re: Article Floating Point Editor "Update"
Post by: PPXEXE on January 03, 2012, 07:09:08 PM
that's not happening.....lol, i've talked about the idea before


Title: Re: Article Floating Point Editor "Update"
Post by: Spex130 on January 03, 2012, 07:20:54 PM
I don't know if this has been asked, but how exactly would you change the an Article's bone anchor using the AFPE?


Title: Re: Article Floating Point Editor "Update"
Post by: PPXEXE on January 03, 2012, 07:41:16 PM
I don't know if this has been asked, but how exactly would you change the an Article's bone anchor using the AFPE?

You currently can't do that with this program, maybe a future version will though.


Title: Re: Article Floating Point Editor "Update"
Post by: TheShyGuy on January 03, 2012, 08:55:28 PM
yeh, you can. I just said you did. As long as the article is anchored to a bone -actually i cant remember if you can change it if its not anchored. -- Its been a long time since i did a psa, so i cant remember if  all articles  anchor to a bone or if it matters if it did in the first place. But if you wnna change the bone, just change it like any other floating point(dont forget to change the edit value to integer--thats important).  If  you wanna add your own offsets, go inside the customfloatingpoint.txt file and add it.

Ex.

-you  figured out links bow anchors to his left hand bone.
-its offset is 1234C(not really), default value is 67(not hex)

open up the customfloatingpoints.txt

and do this:
------------------
Code:
[char]
Link
[table]
Bow
[Data]
1234C |  67 | links bow bone
--------------------
Notes*
-data splitter is a new line per data row
-row data splitter is a '|' char
-layout of data is : 
Code:
offset(hex) | default value | description

-layout of character is:

Code:
[char] (this is a tag, you have to include this on one line)
###char Name###
[table](table tag)
###table Name this data belongs in###(can be anything you wnna define the table data as
[data](table data tag)
#offset#(in hex) | #default value# | #description#

In order to change the articles bone anchor, simply go to its offset inside the AFPE, change the edit value to integer, and then change the numeric up/down control  value to your bones index(not in hex). 



Title: Re: Article Floating Point Editor "Update"
Post by: PPXEXE on January 03, 2012, 08:58:11 PM
@ Shyguy- I'm so sorry master, please stop. (Whack) Ouch, please it hurts....

On-Topic:

Please add the Found article bones here on the thread please, I can add them to the FPE later.


Title: Re: Article Floating Point Editor "Update"
Post by: TheShyGuy on January 03, 2012, 09:02:10 PM
Please add the Found article bones here on the thread please, I can add them to the FPE later.
lol

...i is bored...working on a simple scrolling shooter for the competition.  I got the whole thing outlined already.

--(response to below)--might get on in a few mins, not on my laptop atm

yeh, just post them here and we'll(ppxexe) will update the txt files for you guys. This way, if people are trying to  figure out some  values, and do, others wont have to also figure out what they are.


 


Title: Re: Article Floating Point Editor "Update"
Post by: PPXEXE on January 03, 2012, 09:04:08 PM
Y u No C0m3 2 Ch4T


Title: Re: Article Floating Point Editor "Update"
Post by: Spex130 on January 03, 2012, 09:10:36 PM
I'm so sorry master, please stop. (Whack) Ouch, please it hurts....

lol.


So, Shyguy.

Say I found Link's left hand is bone index 25. In hex that would be 19, correct?

It would be:

[char]
###link###
[-Table-]
###bow###
[Data]
19 |  25 | Link's Bow Bone

Then I would go to the offset (19), change to integer (25), and then change at will, right?

Would I need to do anything after that? Like, change back to hex or anything?


Title: Re: Article Floating Point Editor "Update"
Post by: TheShyGuy on January 03, 2012, 09:26:16 PM
yes 25(not hex) is 19 in hex.

But the outline would be:

[char]
Link(no need for ####)
[table##](strict tag, dont add a '-' or '#',these tags are strict..... ohh i see.)
Bow
[Data]
offset | 25 | Links Bow bone

you dont know what the offset to that bone in the data is. Offset is where in the file, is the value 25(19 hex), that represents links bow hand.



this is his actual bone offset value in hex is 2671C so heres how its would look in the text

[char]
Link
[table-]
Bow
[data]
2671C | 67  | bone that  the bows attached to

If you wanna move that now, change the value to any other bone index(with the edit value radio button on integer). Your changes immediately change the edited file and your shown the new value from the file. Once you change it, simply use the new and edited link.pac and put it in brawl. Youll see that his bow is anchored to different bone.


edit: the only times your going to need a hex calculator or know hex  is for the data offset for the text files, if your going to add or edit any. If not, then dont worry about it.


Title: Re: Article Floating Point Editor "Update"
Post by: Spex130 on January 03, 2012, 09:37:30 PM
[table##](strict tag, dont add a '-' or '#',these tags are strict..... ohh i see.)

Yeah, that got me too.


you dont know what the offset to that bone in the data is. Offset is where in the file, is the value 25(19 hex), that represents links bow hand.

this is his actual bone offset value in hex is 2671C so heres how its would look in the text

So, how would I find that offset value (2671C)? My actual project is moving Diddy's popgun. I've tried it in Tabuu, but it never worked, so knowing this would be useful.




Title: Re: Article Floating Point Editor "Update"
Post by: TheShyGuy on January 03, 2012, 09:47:18 PM
well, use OpenSa by dantarion. Open up link.pac with it. Go to articles. Change the article combobox item to what the bow is(its name isnt specifically "bow"). Youll see that the 3rd unknown value is 43. And the offset to the "start" of that articles values is 0x#####.  Open the file in a hex editor and go to that offset. Then look for the value 43(in openSa, its still in hex, so in the files its 43). Its a four byte value, so its looks like 00 00 00 43. The start of those four bytes is the offset of the bone anchor value. Youll see that the offset (in hex) is 2671C.


Title: Re: Article Floating Point Editor "Update"
Post by: Spex130 on January 03, 2012, 10:02:45 PM
Dant's Tabuu is OpenSA3 right? Will that work?


Title: Re: Article Floating Point Editor "Update"
Post by: TheShyGuy on January 03, 2012, 10:10:24 PM
i dunno how to use Tabuu, so im not sure if you can use it. But i was talking about OpenSa2 (http://anonym.to/?http://opensa.dantarion.com/wiki/OpenSA2).


Title: Re: Article Floating Point Editor "Update"
Post by: Spex130 on January 03, 2012, 10:26:22 PM
Alright. I'll give it a try.