forked from ReScrap/ScrapHacks
Daniel Seiller
8d92f25b8c
- Started implementing new parser for chunked data - Started documenting data formats - Started dissector for network protocol - Added AI-Graph renderer (converts .pth files to python data you can import into Blender) - Added Script to convert savefile to JSON - Added (old) parser for chunked data format - Added basic parser for LFVF data section (Vertex Data) - Added script to analyze and filter read trace generated with frida script - Added various Frida scripts
22 lines
321 B
Markdown
22 lines
321 B
Markdown
# Structure of Graph
|
|
|
|
```cpp
|
|
template<size_t n>
|
|
struct Node {
|
|
float pos[n],
|
|
}
|
|
|
|
template<size_t n>
|
|
struct Edge {
|
|
uint32_t num_edge_nodes,
|
|
Node<n> nodes[],
|
|
}
|
|
|
|
template<size_t n>
|
|
struct Graph {
|
|
uint32_t num_nodes,
|
|
Node<n> nodes[],
|
|
uint32_t num_edges,
|
|
Edge<n> edges[],
|
|
}
|
|
```
|