hutcheb / acd

Rockwell ACD Tools
Apache License 2.0
37 stars 12 forks source link

Listing Forces #7

Open mutigozel opened 7 months ago

mutigozel commented 7 months ago

Is there a way to extract forces? Any kind of hint would be much appreciated. I'm suspecting it has to do something with xrefs.dat. Any hints to parse xrefs?

hutcheb commented 7 months ago

I have been assuming that the XRefs database contains information to help with finding out where tags are being referenced.

I'd probably start looking at the RxTagCollection in the comps database. It has a list of tags as well a record for each tag. I haven't decoded what information those records contain about the tag though so it could contain information about forces.

I have been using an sql lite viewer for Pycharm to browse the generated sqllite database via the parent_id/object_id relationships. Been meaning to dump those to files to make it easier to browse.

mutigozel commented 7 months ago

Do you have any guide on how to parse xrefs? It doesn't seem to follow any pattern.