GithubHelp home page GithubHelp logo

Comments (11)

galtgendo avatar galtgendo commented on July 17, 2024

...tested with another map, this time with Corruption map. Again, one Shadow Orb isn't highlighted.

It's not a matter of map position though, it's probably an internal order of the counted objects.

from terrafirma.

mrkite avatar mrkite commented on July 17, 2024

Strange. I'll have to look into what's happening.

from terrafirma.

galtgendo avatar galtgendo commented on July 17, 2024

...:sweat:...
OK, this is a dupe of #36 after all.
It just happens to be that both of the non-highlighted objects were submerged.
If you happen to have a map were a large object is partially submerged, you may sometimes (on lower zoom level or when textures aren't used) see that the object is partially highlighted (just the part above water level).

from terrafirma.

galtgendo avatar galtgendo commented on July 17, 2024

...however, I've found a different typo: in res/items.json, Space Gun is incorrectly listed with the same id as Bottled Water.

from terrafirma.

galtgendo avatar galtgendo commented on July 17, 2024

...funny, you've failed to address my last comment...

from terrafirma.

galtgendo avatar galtgendo commented on July 17, 2024

Actually, I'm a bit curious: how do you produce those res json files in the first place ?
Cause given their size, it doesn't seem to be by manual entry...

from terrafirma.

mrkite avatar mrkite commented on July 17, 2024

I didn't comment on it, sorry, but I did fix it. I just haven't pushed it yet.

The json files are generated by a web tool. I've been contemplating porting the tool over to Qt and sticking it into Terrafirma.

from terrafirma.

galtgendo avatar galtgendo commented on July 17, 2024

...correct me, if I'm wrong, but doesn't that tool get its values from the executable ?
Not that I know which tool you're talking about, I simply don't see any file among loose data that would contain such info.
Also, such tool would still need a history database - I didn't check if you're actually using 'min' fields from header.json, but I'm nearly certain that those are history related.
Cause if so, it might be tricky to get it to work with both Windows and Linux executables...

from terrafirma.

mrkite avatar mrkite commented on July 17, 2024

Pretty much all the data is gotten from reverse engineering the executable. The header stuff definitely is (and I do use min and max). The tool just gives a nice way of editing the jsons.

from terrafirma.

galtgendo avatar galtgendo commented on July 17, 2024

...I wonder if there's a freeware tool not written in C#, that is able to do some of the more basic stuff dnSpy/ILSpy are doing - some of basic bytecode reversing at least...

from terrafirma.

galtgendo avatar galtgendo commented on July 17, 2024

...I mean something scriptable, like able to list contained classes, then dump the selected ones...

from terrafirma.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.