| ||
| Views: 14,036,556 |
Home
| Forums
| Uploader
| Wiki
| Object databases
| IRC
Rules/FAQ | Memberlist | Calendar | Stats | Online users | Last posts | Search |
04-06-21 12:43 AM |
| Guest: | ||
| 0 users reading Intro Cameras | 1 bot |
| Main - Archived forums - SMG documentations and tutorials - Intro Cameras | New reply |
| shibboleet |
| ||
![]() Fire Mario DROP TABLE users; Level: 118 Posts: 572/4661 EXP: 17985743 Next: 397171 Since: 07-07-12 Last post: 233 days ago Last view: 27 days ago |
It seems that the Intro Cameras are different than any other. They operate differently, and can only be edited by hex, not like anarchy, plain hex.
The file format is canm and the coordinates (Possibly, this can be it. But, I can be wrong) would be shown by changing the view to view the numbers as Float, and making it organize it as Big Endian u32 (4 bytes) Also, to not confuse stuff, we already know how the coordinates and scales are done, so I know what to edit. ____________________ a |
| MK7tester |
| ||
![]() Magikoopa I'm back Level: 99
Posts: 971/3145 EXP: 9968484 Next: 31515 Since: 07-07-12 From: Dolphic Island Last post: 1483 days ago Last view: 1481 days ago |
Are you talking about the Fly-In Camera or the Star Select introduction camera? |
| shibboleet |
| ||
![]() Fire Mario DROP TABLE users; Level: 118 Posts: 582/4661 EXP: 17985743 Next: 397171 Since: 07-07-12 Last post: 233 days ago Last view: 27 days ago |
Star select introduction camera. ____________________ a |
| MK7tester |
| ||
![]() Magikoopa I'm back Level: 99
Posts: 972/3145 EXP: 9968484 Next: 31515 Since: 07-07-12 From: Dolphic Island Last post: 1483 days ago Last view: 1481 days ago |
Ah, those, i've always wanted to edit those, nice find.
But it'll be tricky to edit. |
| shibboleet |
| ||
![]() Fire Mario DROP TABLE users; Level: 118 Posts: 583/4661 EXP: 17985743 Next: 397171 Since: 07-07-12 Last post: 233 days ago Last view: 27 days ago |
Yeah, knowing that there is no hex pattern worth shit.
It still can be seen a coordinates, but if you edit them, crash. ____________________ a |
| MK7tester |
| ||
![]() Magikoopa I'm back Level: 99
Posts: 974/3145 EXP: 9968484 Next: 31515 Since: 07-07-12 From: Dolphic Island Last post: 1483 days ago Last view: 1481 days ago |
Well then that's too bad, we cant even edit them? Bummer. :sob: |
| shibboleet |
| ||
![]() Fire Mario DROP TABLE users; Level: 118 Posts: 584/4661 EXP: 17985743 Next: 397171 Since: 07-07-12 Last post: 233 days ago Last view: 27 days ago |
Yes we can, I probably just didn't do it right. ____________________ a |
| MK7tester |
| ||
![]() Magikoopa I'm back Level: 99
Posts: 983/3145 EXP: 9968484 Next: 31515 Since: 07-07-12 From: Dolphic Island Last post: 1483 days ago Last view: 1481 days ago |
It would be good if Whitehole could attain a capability for editing this kind of stuff. |
| NWPlayer123 |
| ||
|
Member Imma Snuggle You Level: 105
Posts: 818/3604 EXP: 12228936 Next: 33324 Since: 07-07-12 From: Colorado Last post: 1986 days ago Last view: 144 days ago |
Yes however even anarchy doesn't support it since it's not a BCSV so it crashes/doesnt load
So....we would have to parse this manually once we figure out how it works in the first place ____________________ "I hate playing musical chats" ~ Quote of the month |
| Phantom Wings |
| ||
|
Normal user Level: 16 Posts: 6/46 EXP: 17631 Next: 2625 Since: 07-08-12 Last post: 2627 days ago Last view: 2627 days ago |
It's a keyframe setup. The header is size 0x20 with constant values. Following that are keyframe indexers. Listed in order, they are:
0x20 x_pos 0x2C y_pos 0x38 z_pos 0x44 dir_x 0x50 dir_y 0x5C dir_z 0x68 unknown 0x74 unknown Each keyframe indexer is size 0xC keyframe_indexer: 0x00 element_count 0x04 table_start_index 0x08 blank If element_count is 1, then the camera will use only 1 float value for that field throughout the intro. Otherwise, if element count is greater than 1, then the camera will use multiple keyframes which are 3 floats each: keyframe: 0x00 time 0x04 0x08 The value table is at 0x80. It starts with a uint value for its size and then lists the table values as floats. It seems to always end with the floating point values 0.1, 1E+9 and NAN. |
| shibboleet |
| ||
![]() Fire Mario DROP TABLE users; Level: 118 Posts: 602/4661 EXP: 17985743 Next: 397171 Since: 07-07-12 Last post: 233 days ago Last view: 27 days ago |
oh wow, that's a ton of help you just showed there. Thanks!
Is there anything else? ____________________ a |
| Phantom Wings |
| ||
|
Normal user Level: 16 Posts: 7/46 EXP: 17631 Next: 2625 Since: 07-08-12 Last post: 2627 days ago Last view: 2627 days ago |
I think that's it for the .canm files. There's just the two unknown values which might be worth messing around with. |
| shibboleet |
| ||
![]() Fire Mario DROP TABLE users; Level: 118 Posts: 603/4661 EXP: 17985743 Next: 397171 Since: 07-07-12 Last post: 233 days ago Last view: 27 days ago |
Yeah, I could look into those for a bit.
But really, so it's not coordinates that make it move? Or is what's listed above controls the camera and what it does. ____________________ a |
| NWPlayer123 |
| ||
|
Member Imma Snuggle You Level: 105
Posts: 836/3604 EXP: 12228936 Next: 33324 Since: 07-07-12 From: Colorado Last post: 1986 days ago Last view: 144 days ago |
Ohgod, keyframes. That should be SPLEDNIFOROUS (bad spelling) >.< ____________________ "I hate playing musical chats" ~ Quote of the month |
| shibboleet |
| ||
![]() Fire Mario DROP TABLE users; Level: 118 Posts: 606/4661 EXP: 17985743 Next: 397171 Since: 07-07-12 Last post: 233 days ago Last view: 27 days ago |
Yeah, it will be a pain to edit ;-; ____________________ a |
| NWPlayer123 |
| ||
|
Member Imma Snuggle You Level: 105
Posts: 837/3604 EXP: 12228936 Next: 33324 Since: 07-07-12 From: Colorado Last post: 1986 days ago Last view: 144 days ago |
I know how much of a pain keyframes are just by working with flash. And this is in 3D too, so there's a whole new axis ____________________ "I hate playing musical chats" ~ Quote of the month |
| shibboleet |
| ||
![]() Fire Mario DROP TABLE users; Level: 118 Posts: 607/4661 EXP: 17985743 Next: 397171 Since: 07-07-12 Last post: 233 days ago Last view: 27 days ago |
Plus, have the coordinates even been found? Or are they just not used, and we have to go to the pain-in-the-ass part. ____________________ a |
| NWPlayer123 |
| ||
|
Member Imma Snuggle You Level: 105
Posts: 838/3604 EXP: 12228936 Next: 33324 Since: 07-07-12 From: Colorado Last post: 1986 days ago Last view: 144 days ago |
I can *try* making a reader to parse it. ____________________ "I hate playing musical chats" ~ Quote of the month |
| shibboleet |
| ||
![]() Fire Mario DROP TABLE users; Level: 118 Posts: 608/4661 EXP: 17985743 Next: 397171 Since: 07-07-12 Last post: 233 days ago Last view: 27 days ago |
Anything is welcome to help with this.
You can try, and I hope it works ![]() ____________________ a |
| Phantom Wings |
| ||
|
Normal user Level: 16 Posts: 8/46 EXP: 17631 Next: 2625 Since: 07-08-12 Last post: 2627 days ago Last view: 2627 days ago |
The file still stores the coordinates, they just aren't stored as 3D Vectors. Instead they are broken up into single values that can be animated individually. Each coordinate is then interpolated according to the keyframe time, value and transition_speed fields. Imagine one individual graph for each of the x_pos, y_pos and z_pos values. Each graph is plotted with its value over time. The curves of the graph are controlled by the transition_speed. |
| Main - Archived forums - SMG documentations and tutorials - Intro Cameras | New reply |
|
Page rendered in 0.029 seconds. (2048KB of memory used) MySQL - queries: 29, rows: 235/235, time: 0.022 seconds.
Acmlmboard 2.064 (2018-07-20)© 2005-2008 Acmlm, Xkeeper, blackhole89 et al. |