Views: 11,240,560 Home | Forums | Uploader | Wiki | Object databases | IRC
Rules/FAQ | Memberlist | Calendar | Stats | Online users | Last posts | Search
09-30-20 11:30 AM

0 users reading PyBCK - Animation Reader | 1 bot

Main - Archived forums - SMG hacking tools development - PyBCK - Animation Reader New reply

Pages: 1 2
Posted on 01-11-13 09:38 PM Link | #5363
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.



python bck.py [flag] ...

-e: Exports the BCK to a text file, with the BCK filename and optionally, the name of the text file, as an argument

Posted on 01-12-13 11:22 AM Link | #5529
Is there any usage to this? I mean, nice job but can't bmdviewer2 detect joint info?

Posted on 01-12-13 12:53 PM Link | #5558
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.

Posted on 01-12-13 01:08 PM Link | #5568
It'll soon be able to edit animations? That's going to be awesome :O


[04/15/2018]gridatttack: I still think the whole smg2.5 team are still in middle school lol
[04/15/2018]gridatttack: and they are 14yrs old

cosmological: There's no one in Russia who doesn't agree with Putin, probably because his ideas are that great

Posted on 01-12-13 01:10 PM Link | #5572
How will that work? It's a Python program so it'll be REALLY hard to use.

Posted on 01-12-13 01:11 PM Link | #5573
Only if you don't know how to use the command line, which is incredibly easy to use.

Posted on 01-12-13 02:29 PM Link | #5598
That's blarg. Command line feels totally unnatural unless you're a Linux-nerd.

Anyway, that's a nice tool. I hope it can help us understand how animation data works.

NSMBHD - Kafuka - Jul
melonDS the most fruity DS emulator there is


Posted on 01-12-13 02:33 PM Link | #5600
Eww Linux Suxxxxx ASDFA

But really, it isn't that simple.

Posted on 01-12-13 02:36 PM Link | #5601
Running a command line? Isn't too hard. Unless you know all the values and which goes where and what does what.


Posted on 01-12-13 02:37 PM (rev. 2 of 01-12-13 02:38 PM) Link | #5602
Well still, lacking visual is lacking charm. But I credit you for your work.

Posted on 01-12-13 02:38 PM Link | #5603
Um guys, back on topic please...

NSMBHD - Kafuka - Jul
melonDS the most fruity DS emulator there is


Posted on 01-12-13 02:58 PM Link | #5615
You can also export bck and bca with mkds course modifier. It exportes to ma (maya ascii). You can find in tools menu.

Posted on 01-12-13 02:59 PM Link | #5617
We aren't going to be using that. Sorry.

Posted on 01-15-13 02:02 PM Link | #6263
Well, it's still useful to use

That is, if it's functional enough...


Posted on 01-15-13 07:18 PM Link | #6308
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>
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__
File "C:\Users\Person\Generic Code\pybmd\pybck\btypes.py", line 155, in pack
File "C:\Users\Person\Generic Code\pybmd\pybck\btypes.py", line 179, in pack_part
File "C:\Users\Person\Generic Code\pybmd\pybck\btypes.py", line 76, in pack
TypeError: 'int' does not support the buffer interface

Posted on 01-16-13 07:30 PM Link | #6459
Now I've managed to fix the error, but it produces incorrect BCK files.


Posted on 02-09-13 08:58 PM Link | #14595
blank, if you're ever on these forums, can you please take a look?

Posted on 02-10-13 02:41 AM Link | #14620
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.

Posted on 02-10-13 07:50 AM Link | #14644
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.

Posted on 02-16-13 08:09 PM Link | #15781
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.
Pages: 1 2

Main - Archived forums - SMG hacking tools development - PyBCK - Animation Reader New reply

Page rendered in 0.027 seconds. (2048KB of memory used)
MySQL - queries: 27, rows: 237/237, time: 0.019 seconds.
[powered by Acmlm] Acmlmboard 2.064 (2018-07-20)
© 2005-2008 Acmlm, Xkeeper, blackhole89 et al.