DSPCalculator / dsp-calc

戴森球计划量化计算器(新UI版)
https://dsp-calc.pro/
Mulan Permissive Software License, Version 2
55 stars 6 forks source link

Data source tool #10

Open Martin-Pitt opened 6 months ago

Martin-Pitt commented 6 months ago

Heya, very cool calculator! It's been fun seeing this develop over time, it's a different approach and way of thinking that I really appreciate.

Regarding the data, I have made a tool to extract data from the game for use in calculators such as mine at dsp-ratios.com and other online tools called dsp-parser: https://github.com/Martin-Pitt/dsp-parser/

For now you can rely on the data in the /dist/ folder, for example items.json, recipes.json, etc: https://github.com/Martin-Pitt/dsp-parser/blob/main/dist/data/items.json https://github.com/Martin-Pitt/dsp-parser/blob/main/dist/data/recipes.json

I'm still working on extracting data but I've been using it in dsp-ratios so far with good success.

Also had developed a way to extract all the icons and combine it into a spritesheet image automatically: https://github.com/Martin-Pitt/dsp-parser/tree/main/dist/spritesheets

I'm just putting this issue here in case you are not aware of it or were looking for an easier way to extract data from the game for future. I know how hard it can be to keep things updated and managing it all.

Apologies for all the english, I don't speak chinese but hope that any translation tools you use may convey my message :)

makuwa8992 commented 6 months ago

Thank you very much for your advice!

I never thought that people in other countries would notice this project. It pleasantly surprised me.

Previously, I used my own mod and tools to export and convert game data for use in the calculator. In the 0.10 update, the development team replaced "strings.json" with "localizer.cs" and other alternatives for translations. Consequently, I had to invest some time in modifying my tools accordingly. As my calculator requires data not only from the original game but also from "GenesisBook" and "TheyComeFromVoid" mods, it may potentially be compatible with other large mods featuring unique recipes and items in the future. So, I might still have to use my own tools.

Regarding spritesheet images, JimmyZJX has recently developed a set of automatic compression and layout tools which render manual intervention unnecessary at present.

Once again, thank you sincerely for your kindness. Prior to your mention of it, I was unaware that there was a Japanese translation available for this game. In the meantime, considering that there may be non-Chinese speakers like you who will notice this repository instead of using "factoriolab" habitually, perhaps we should consider expanding our efforts towards supporting other languages?

My English proficiency is also limited, and I have utilized some translation tools to assist in conveying this paragraph in a better way. I hope you can understand what I mean.