SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|
Thread Tools | Display Modes |
05-10-24, 03:55 AM | #1 |
Seaman
Join Date: Jul 2015
Posts: 34
Downloads: 22
Uploads: 0
|
sh3xtractjson tool to extract silent hunter 3 files into json format for comparision
This little tool parses your folder looking for .dat, .sim, .zon, .dsd, .cam, .val, .sdl, .off files, and serializes them to JSON format, saving into a new file with a .json extension.
I was trying to compare some modded files to see changes, and I gave up because it was exhausting to compare using S3D. I couldn't find any tool for this (am I blind?) but I found a GitHub project by skwasjer with sources used for S3D and I played around. I hope it can be useful for someone. Probably needs some fixes, etc., because I am lazy, this is probably hacky and I didn't test much, but it works for me and here is the source: I named it in the spirit of "sh3" tools https://github.com/bukowa/sh3xtractjson, and here you can download it: https://github.com/bukowa/sh3xtractjson/releases. |
05-10-24, 05:24 AM | #2 |
The Analyst
|
Sounds very interesting and I will look at the tool when I have time. Sounds very interesting and I will look at the tool when I have time.
Do all the files mentioned have to be available or can you only select individual files? If so, then your tool can also be used for SH5.
__________________
Best regards, GrenSo “Mankind must put an end to war, or war will put an end to mankind.” - J.F.K. |
05-10-24, 05:30 AM | #3 | |
Seaman
Join Date: Jul 2015
Posts: 34
Downloads: 22
Uploads: 0
|
Quote:
It uses skwasjer code from here https://github.com/skwasjer/SilentHunter so if that works with SH5 then yes. |
|
|
|