Skip to content

Q: DS:DC - Exporting all "Find files" results as JSON? And/or text UUIDs for ObjectUUID in JSON exports? #86

Description

@anijatsu

My goal is to mod Death Stranding: Director's Cut to hide/remove the distracting button prompts when the player character loses balance. There is a preference in HUD options to switch those off, but it impacts way more than just the balancing prompts - it includes interacting with objects/enemies, etc.

So far I managed to locate and erase the text corresponding to the "Shift weight left/right" prompts in localizedtextresources objects (Which in turn are located in Initial/localized/sentences/ds_ui/ds_action_icon/simpletext.core), but I am not sure how to now approach the hiding of the icons themselves.

Image

My theories so far is that there could be either a logic file that triggers the entire UI element - the icon + localized string - to show up.
Failing that, there should at least be a definition of the UI itself which defines how/where this element shows up.

I hoped there simply would be a .core file which references both the icon and the localizedtextresource object alongside it, but I haven't figured out a good way to search for those. "Find references to..." doesn't give me enough information - it does give me a few files, but having looked through them, I didn't spot any related entries...

So that's it for background.

Exporting JSONs from Find Files?

I was looking through interface/ds/ds_ui_general_icon.core and thought I could make the search a little faster. Knowing that #15 and #40 are already reported, is there a way to instead export a selection of items from "Find Files" window into a set of JSON files, the way that it is already possible to do on a per-file basis?

That'd make it a little easier because then I could try to cross-reference files using UUIDs of the objects through text search.

Readable/alphanumeric format for ObjectUUID in exported JSON files?

But I also noticed that within the exported JSON files ObjectUUID is not presented as text, I assume it's encoded somehow.
E.g.:

[
	{
		"$type": "DSUIHUDPolygonElementResource",
		"ObjectUUID": {
			"$type": "GGUUID",
			"Data0": -84,
			"Data1": -79,
			"Data2": 100,
			"Data3": -72,
			"Data4": 73,
			"Data5": 31,
			"Data6": 78,
			"Data7": 31,
			"Data8": -121,
			"Data9": -34,
			"Data10": -40,
			"Data11": 80,
			"Data12": -107,
			"Data13": -42,
			"Data14": -18,
			"Data15": 20
		},

where in the program it shows up a copyable text format:
{b864b1ac-1f49-1f4e-87de-d85095d6ee14}

I'd be grateful for advice!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions