Views: 20,051,254 |
Home
| Forums
| Uploader
| Wiki
| Object databases
| IRC
Rules/FAQ | Memberlist | Calendar | Stats | Online users | Last posts | Search |
04-24-24 03:54 PM |
Guest: |
0 users reading PyBCK - Animation Reader | 1 bot |
Main - Archived forums - SMG hacking tools development - PyBCK - Animation Reader | Hide post layouts | New reply |
Marionumber1 |
| ||
Wii U hacker Level: 55 Posts: 64/709 EXP: 1239247 Next: 74942 Since: 07-07-12 Last post: 2216 days ago Last view: 591 days ago |
This is a Python program that I made recently. It currently reads BCK files, which are the joint animations used by BMD and BDL models. Support for editing will come soon, but right now, this program can export a text file that contains all the joint information in the animation.
https://www.dropbox.com/s/195tf4bbcp7s40a/PyBCK.zip Usage: python bck.py [flag] ... Flags: -e: Exports the BCK to a text file, with the BCK filename and optionally, the name of the text file, as an argument |
MK7tester |
| ||
Magikoopa I'm back Level: 104 Posts: 834/3145 EXP: 11577507 Next: 284619 Since: 07-07-12 From: Dolphic Island Last post: 2597 days ago Last view: 2595 days ago |
Is there any usage to this? I mean, nice job but can't bmdviewer2 detect joint info? |
Marionumber1 |
| ||
Wii U hacker Level: 55 Posts: 67/709 EXP: 1239247 Next: 74942 Since: 07-07-12 Last post: 2216 days ago Last view: 591 days ago |
Like I said above, PyBCK will soon have support for editing animations. Also, bmdview2 only gives you joint information for the model, not the animations. |
Tahcryon |
| ||
Embodiment of Time Can someone lead me to a non-capitalist clothing store? Level: 128 Posts: 866/5087 EXP: 23817303 Next: 564397 Since: 07-07-12 Last post: 2203 days ago Last view: 766 days ago |
It'll soon be able to edit animations? That's going to be awesome ____________________
|
MK7tester |
| ||
Magikoopa I'm back Level: 104 Posts: 841/3145 EXP: 11577507 Next: 284619 Since: 07-07-12 From: Dolphic Island Last post: 2597 days ago Last view: 2595 days ago |
How will that work? It's a Python program so it'll be REALLY hard to use. |
Marionumber1 |
| ||
Wii U hacker Level: 55 Posts: 70/709 EXP: 1239247 Next: 74942 Since: 07-07-12 Last post: 2216 days ago Last view: 591 days ago |
Only if you don't know how to use the command line, which is incredibly easy to use. |
Arisotura |
| ||
Star Mario in this room you have a pile of apple pies Level: 163 Posts: 777/9019 EXP: 56254930 Next: 232714 Since: 07-03-12 From: in a box Last post: 12 days ago Last view: 8 hours ago |
MK7tester |
| ||
Magikoopa I'm back Level: 104 Posts: 851/3145 EXP: 11577507 Next: 284619 Since: 07-07-12 From: Dolphic Island Last post: 2597 days ago Last view: 2595 days ago |
But really, it isn't that simple. |
shibboleet |
| ||
Fire Mario DROP TABLE users; Level: 123 Posts: 507/4661 EXP: 20888697 Next: 342569 Since: 07-07-12 Last post: 1348 days ago Last view: 361 days ago |
Running a command line? Isn't too hard. Unless you know all the values and which goes where and what does what. ____________________ a |
MK7tester |
| ||
Magikoopa I'm back Level: 104 Posts: 852/3145 EXP: 11577507 Next: 284619 Since: 07-07-12 From: Dolphic Island Last post: 2597 days ago Last view: 2595 days ago |
Well still, lacking visual is lacking charm. But I credit you for your work. |
Arisotura |
| ||
Star Mario in this room you have a pile of apple pies Level: 163 Posts: 778/9019 EXP: 56254930 Next: 232714 Since: 07-03-12 From: in a box Last post: 12 days ago Last view: 8 hours ago |
Gericom |
| ||
Member Normal user Level: 16 Posts: 30/40 EXP: 16606 Next: 3650 Since: 07-07-12 Last post: 3861 days ago Last view: 3704 days ago |
MK7tester |
| ||
Magikoopa I'm back Level: 104 Posts: 857/3145 EXP: 11577507 Next: 284619 Since: 07-07-12 From: Dolphic Island Last post: 2597 days ago Last view: 2595 days ago |
We aren't going to be using that. Sorry. |
shibboleet |
| ||
Fire Mario DROP TABLE users; Level: 123 Posts: 552/4661 EXP: 20888697 Next: 342569 Since: 07-07-12 Last post: 1348 days ago Last view: 361 days ago |
Well, it's still useful to use
That is, if it's functional enough... ____________________ a |
Marionumber1 |
| ||
Wii U hacker Level: 55 Posts: 79/709 EXP: 1239247 Next: 74942 Since: 07-07-12 Last post: 2216 days ago Last view: 591 days ago |
My code almost supports editing, but I'm getting an error. Here is the code: https://www.sugarsync.com/pf/D9745722_62761472_619841
This is the error I got. Traceback (most recent call last): File "C:\Users\Person\Generic Code\pybmd\pybck\bck.py", line 249, in <module> bck.import_bck('bck_export.txt') File "C:\Users\Person\Generic Code\pybmd\pybck\bck.py", line 227, in import_bck stream << self.j3dheader File "C:\Users\Person\Generic Code\pybmd\pybck\btypes.py", line 221, in __lshift__ packer.pack(self) File "C:\Users\Person\Generic Code\pybmd\pybck\btypes.py", line 155, in pack field.pack_part(self,stream) File "C:\Users\Person\Generic Code\pybmd\pybck\btypes.py", line 179, in pack_part self.type.pack(getattr(struct,self.name),stream) File "C:\Users\Person\Generic Code\pybmd\pybck\btypes.py", line 76, in pack stream.write(string) TypeError: 'int' does not support the buffer interface |
Marionumber1 |
| ||
Wii U hacker Level: 55 Posts: 81/709 EXP: 1239247 Next: 74942 Since: 07-07-12 Last post: 2216 days ago Last view: 591 days ago |
Now I've managed to fix the error, but it produces incorrect BCK files.
https://www.sugarsync.com/pf/D9745722_62761472_619841 |
Marionumber1 |
| ||
Wii U hacker Level: 55 Posts: 129/709 EXP: 1239247 Next: 74942 Since: 07-07-12 Last post: 2216 days ago Last view: 591 days ago |
blank, if you're ever on these forums, can you please take a look? |
blank |
| ||
Normal user Level: 26 Posts: 46/129 EXP: 96167 Next: 6108 Since: 07-08-12 Last post: 3341 days ago Last view: 2313 days ago |
The only thing I noticed after a brief look that might cause problems is that you only export/import one scale, translation and rotation per joint. I don't have any BCK files at my disposal at the moment, so I can't really test it. |
Marionumber1 |
| ||
Wii U hacker Level: 55 Posts: 130/709 EXP: 1239247 Next: 74942 Since: 07-07-12 Last post: 2216 days ago Last view: 591 days ago |
Yeah, I ignore the count variable, since that would make creating this editor even more complicated. I'll take a look at the original BCK and see if any of its count variables are greater than 1. |
Marionumber1 |
| ||
Wii U hacker Level: 55 Posts: 133/709 EXP: 1239247 Next: 74942 Since: 07-07-12 Last post: 2216 days ago Last view: 591 days ago |
Kind of like I expected, many joints have more than one scale, rotation, or translation value. I'm not quite sure why joints would have more than one, but I guess I'll have to implement that. |
Main - Archived forums - SMG hacking tools development - PyBCK - Animation Reader | Hide post layouts | New reply |
Page rendered in 0.032 seconds. (2048KB of memory used) MySQL - queries: 29, rows: 236/236, time: 0.012 seconds. Acmlmboard 2.064 (2018-07-20) © 2005-2008 Acmlm, Xkeeper, blackhole89 et al. |