![]() | ||
Views: 25,966,830 |
Home
| Forums
| Uploader
| Wiki
| Object databases
| IRC
Rules/FAQ | Memberlist | Calendar | Stats | Online users | Last posts | Search |
07-07-25 10: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: 1300883 Next: 13306 Since: 07-07-12 Last post: 2655 days ago Last view: 1031 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: 105 ![]() Posts: 834/3145 EXP: 12153347 Next: 108913 Since: 07-07-12 From: Dolphic Island Last post: 3036 days ago Last view: 3034 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: 1300883 Next: 13306 Since: 07-07-12 Last post: 2655 days ago Last view: 1031 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: 129 Posts: 866/5087 EXP: 25001838 Next: 47816 Since: 07-07-12 Last post: 2643 days ago Last view: 1205 days ago |
It'll soon be able to edit animations? That's going to be awesome ![]() ____________________
|
MK7tester |
| ||
![]() Magikoopa I'm back Level: 105 ![]() Posts: 841/3145 EXP: 12153347 Next: 108913 Since: 07-07-12 From: Dolphic Island Last post: 3036 days ago Last view: 3034 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: 1300883 Next: 13306 Since: 07-07-12 Last post: 2655 days ago Last view: 1031 days ago |
Only if you don't know how to use the command line, which is incredibly easy to use. |
Arisotura |
| ||
![]() Star Mario hax Level: 166 ![]() Posts: 777/9093 EXP: 59778159 Next: 409527 Since: 07-03-12 From: in a box ![]() Last post: 9 days ago Last view: 2 days ago |
MK7tester |
| ||
![]() Magikoopa I'm back Level: 105 ![]() Posts: 851/3145 EXP: 12153347 Next: 108913 Since: 07-07-12 From: Dolphic Island Last post: 3036 days ago Last view: 3034 days ago |
But really, it isn't that simple. |
shibboleet |
| ||
![]() Fire Mario DROP TABLE users; Level: 125 Posts: 507/4661 EXP: 21927615 Next: 526549 Since: 07-07-12 Last post: 1787 days ago Last view: 800 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: 105 ![]() Posts: 852/3145 EXP: 12153347 Next: 108913 Since: 07-07-12 From: Dolphic Island Last post: 3036 days ago Last view: 3034 days ago |
Well still, lacking visual is lacking charm. But I credit you for your work. |
Arisotura |
| ||
![]() Star Mario hax Level: 166 ![]() Posts: 778/9093 EXP: 59778159 Next: 409527 Since: 07-03-12 From: in a box ![]() Last post: 9 days ago Last view: 2 days ago |
Gericom |
| ||
Member Normal user Level: 16 Posts: 30/40 EXP: 17432 Next: 2824 Since: 07-07-12 Last post: 4301 days ago Last view: 4144 days ago |
MK7tester |
| ||
![]() Magikoopa I'm back Level: 105 ![]() Posts: 857/3145 EXP: 12153347 Next: 108913 Since: 07-07-12 From: Dolphic Island Last post: 3036 days ago Last view: 3034 days ago |
We aren't going to be using that. Sorry. |
shibboleet |
| ||
![]() Fire Mario DROP TABLE users; Level: 125 Posts: 552/4661 EXP: 21927615 Next: 526549 Since: 07-07-12 Last post: 1787 days ago Last view: 800 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: 1300883 Next: 13306 Since: 07-07-12 Last post: 2655 days ago Last view: 1031 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: 1300883 Next: 13306 Since: 07-07-12 Last post: 2655 days ago Last view: 1031 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: 1300883 Next: 13306 Since: 07-07-12 Last post: 2655 days ago Last view: 1031 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: 100951 Next: 1324 Since: 07-08-12 Last post: 3780 days ago Last view: 2753 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: 1300883 Next: 13306 Since: 07-07-12 Last post: 2655 days ago Last view: 1031 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: 1300883 Next: 13306 Since: 07-07-12 Last post: 2655 days ago Last view: 1031 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.048 seconds. (2048KB of memory used) MySQL - queries: 27, rows: 236/236, time: 0.018 seconds. ![]() © 2005-2008 Acmlm, Xkeeper, blackhole89 et al. |