Views: 20,054,254 |
Home
| Forums
| Uploader
| Wiki
| Object databases
| IRC
Rules/FAQ | Memberlist | Calendar | Stats | Online users | Last posts | Search |
04-26-24 01:13 AM |
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: 1239446 Next: 74743 Since: 07-07-12 Last post: 2217 days ago Last view: 593 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: 11579372 Next: 282754 Since: 07-07-12 From: Dolphic Island Last post: 2599 days ago Last view: 2597 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: 1239446 Next: 74743 Since: 07-07-12 Last post: 2217 days ago Last view: 593 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: 23821138 Next: 560562 Since: 07-07-12 Last post: 2205 days ago Last view: 767 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: 11579372 Next: 282754 Since: 07-07-12 From: Dolphic Island Last post: 2599 days ago Last view: 2597 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: 1239446 Next: 74743 Since: 07-07-12 Last post: 2217 days ago Last view: 593 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/9020 EXP: 56273338 Next: 214306 Since: 07-03-12 From: in a box Last post: 7 hours ago Last view: 7 hours ago |
MK7tester |
| ||
Magikoopa I'm back Level: 104 Posts: 851/3145 EXP: 11579372 Next: 282754 Since: 07-07-12 From: Dolphic Island Last post: 2599 days ago Last view: 2597 days ago |
But really, it isn't that simple. |
shibboleet |
| ||
Fire Mario DROP TABLE users; Level: 123 Posts: 507/4661 EXP: 20892061 Next: 339205 Since: 07-07-12 Last post: 1349 days ago Last view: 362 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: 11579372 Next: 282754 Since: 07-07-12 From: Dolphic Island Last post: 2599 days ago Last view: 2597 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/9020 EXP: 56273338 Next: 214306 Since: 07-03-12 From: in a box Last post: 7 hours ago Last view: 7 hours ago |
Gericom |
| ||
Member Normal user Level: 16 Posts: 30/40 EXP: 16609 Next: 3647 Since: 07-07-12 Last post: 3863 days ago Last view: 3706 days ago |
MK7tester |
| ||
Magikoopa I'm back Level: 104 Posts: 857/3145 EXP: 11579372 Next: 282754 Since: 07-07-12 From: Dolphic Island Last post: 2599 days ago Last view: 2597 days ago |
We aren't going to be using that. Sorry. |
shibboleet |
| ||
Fire Mario DROP TABLE users; Level: 123 Posts: 552/4661 EXP: 20892061 Next: 339205 Since: 07-07-12 Last post: 1349 days ago Last view: 362 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: 1239446 Next: 74743 Since: 07-07-12 Last post: 2217 days ago Last view: 593 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: 1239446 Next: 74743 Since: 07-07-12 Last post: 2217 days ago Last view: 593 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: 1239446 Next: 74743 Since: 07-07-12 Last post: 2217 days ago Last view: 593 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: 96182 Next: 6093 Since: 07-08-12 Last post: 3342 days ago Last view: 2315 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: 1239446 Next: 74743 Since: 07-07-12 Last post: 2217 days ago Last view: 593 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: 1239446 Next: 74743 Since: 07-07-12 Last post: 2217 days ago Last view: 593 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.034 seconds. (2048KB of memory used) MySQL - queries: 29, rows: 235/235, time: 0.011 seconds. Acmlmboard 2.064 (2018-07-20) © 2005-2008 Acmlm, Xkeeper, blackhole89 et al. |