Hello everyone! I'm pretty much new to COH2 modding, so this is maybe a frequent question to your community (sorry):
Is there any way to extract unit stats into external files (.json or .xml) from game archives?
Which archive actually store this values?
I installed COH2 Tools and Data, used Attribute Editor and Archive Viewer, but can't find any button or menu item to export them. It looks like they're stored in .xml somewhere.
Extracting unit stats
27 May 2018, 12:11 PM
#1
Posts: 40
27 May 2018, 14:07 PM
#2
1
Posts: 2885
The file you are looking for is <gamedir>/CoH2/Archives/AttribArchive.sga
27 May 2018, 16:48 PM
#3
1
Posts: 94
The tools store their XML files in <Steam common directory>/Company of Heroes 2 Tools/assets/data/attributes/instances
28 May 2018, 05:39 AM
#4
Posts: 632 | Subs: 1
To extract stats automatically, you'd probably have to write a script yourself - unless you find somebody who's already done that. Maybe send a PM to Mr.Smith, he might have something.
28 May 2018, 13:06 PM
#5
Posts: 40
Thanks everyone for help, found it.
I will write simple xml-to-sql parser, now i have everything i need
I will write simple xml-to-sql parser, now i have everything i need
28 May 2018, 13:42 PM
#6
Posts: 632 | Subs: 1
Feel free to share it here if you want - we're always interested in that kind of stuff!
PAGES (1)
1 user is browsing this thread:
1 guest
Livestreams
50 | |||||
35 | |||||
30 | |||||
9 |
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.831222.789+37
- 2.611220.735+5
- 3.34957.860+14
- 4.1110614.644+11
- 5.276108.719+27
- 6.306114.729+2
- 7.918405.694+2
- 8.262137.657+3
- 9.722440.621+4
- 10.1041674.607-2
Replay highlight
VS
- cblanco ★
- 보드카 중대
- VonManteuffel
- Heartless Jäger
Einhoven Country
Honor it
9
Download
1236
Board Info
852 users are online:
852 guests
0 post in the last 24h
7 posts in the last week
34 posts in the last month
7 posts in the last week
34 posts in the last month
Registered members: 49122
Welcome our newest member, Harda621
Most online: 2043 users on 29 Oct 2023, 01:04 AM
Welcome our newest member, Harda621
Most online: 2043 users on 29 Oct 2023, 01:04 AM