Views: 20,069,391 |
Home
| Forums
| Uploader
| Wiki
| Object databases
| IRC
Rules/FAQ | Memberlist | Calendar | Stats | Online users | Last posts | Search |
04-27-24 04:41 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: 1239683 Next: 74506 Since: 07-07-12 Last post: 2219 days ago Last view: 594 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: 11581581 Next: 280545 Since: 07-07-12 From: Dolphic Island Last post: 2600 days ago Last view: 2598 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: 1239683 Next: 74506 Since: 07-07-12 Last post: 2219 days ago Last view: 594 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: 23825683 Next: 556017 Since: 07-07-12 Last post: 2206 days ago Last view: 769 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: 11581581 Next: 280545 Since: 07-07-12 From: Dolphic Island Last post: 2600 days ago Last view: 2598 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: 1239683 Next: 74506 Since: 07-07-12 Last post: 2219 days ago Last view: 594 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: 56284062 Next: 203582 Since: 07-03-12 From: in a box Last post: 1 day ago Last view: 1 day ago |
MK7tester |
| ||
Magikoopa I'm back Level: 104 Posts: 851/3145 EXP: 11581581 Next: 280545 Since: 07-07-12 From: Dolphic Island Last post: 2600 days ago Last view: 2598 days ago |
But really, it isn't that simple. |
shibboleet |
| ||
Fire Mario DROP TABLE users; Level: 123 Posts: 507/4661 EXP: 20896047 Next: 335219 Since: 07-07-12 Last post: 1351 days ago Last view: 364 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: 11581581 Next: 280545 Since: 07-07-12 From: Dolphic Island Last post: 2600 days ago Last view: 2598 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: 56284062 Next: 203582 Since: 07-03-12 From: in a box Last post: 1 day ago Last view: 1 day ago |
Gericom |
| ||
Member Normal user Level: 16 Posts: 30/40 EXP: 16612 Next: 3644 Since: 07-07-12 Last post: 3864 days ago Last view: 3707 days ago |
MK7tester |
| ||
Magikoopa I'm back Level: 104 Posts: 857/3145 EXP: 11581581 Next: 280545 Since: 07-07-12 From: Dolphic Island Last post: 2600 days ago Last view: 2598 days ago |
We aren't going to be using that. Sorry. |
shibboleet |
| ||
Fire Mario DROP TABLE users; Level: 123 Posts: 552/4661 EXP: 20896047 Next: 335219 Since: 07-07-12 Last post: 1351 days ago Last view: 364 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: 1239683 Next: 74506 Since: 07-07-12 Last post: 2219 days ago Last view: 594 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: 1239683 Next: 74506 Since: 07-07-12 Last post: 2219 days ago Last view: 594 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: 1239683 Next: 74506 Since: 07-07-12 Last post: 2219 days ago Last view: 594 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: 96200 Next: 6075 Since: 07-08-12 Last post: 3344 days ago Last view: 2316 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: 1239683 Next: 74506 Since: 07-07-12 Last post: 2219 days ago Last view: 594 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: 1239683 Next: 74506 Since: 07-07-12 Last post: 2219 days ago Last view: 594 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.049 seconds. (2048KB of memory used) MySQL - queries: 27, rows: 233/233, time: 0.015 seconds. Acmlmboard 2.064 (2018-07-20) © 2005-2008 Acmlm, Xkeeper, blackhole89 et al. |