Szczuku Posted December 1, 2023 Share Posted December 1, 2023 Like the title states; if I want to look through the game's code, how do I go about doing that. Like, I know that tuning.lua has most of the stuff that I'd probably be interested in. But how do you guys find new content? Do devs always leave //NEW CONTENT comments that you can easily ctrl+f to or what? Or character/npc lines, what file and how do you search it? There's gotta be like thounds of lines in there; how'd you find Sharboi's unimplemented speech? Link to comment Share on other sites More sharing options...
grm9 Posted December 1, 2023 Share Posted December 1, 2023 search for "sharkboi" duh, you can get the prefab of the thing under mouse using print(c_select().prefab), then search for the prefab and in the files that have it in the name Link to comment Share on other sites More sharing options...
Szczuku Posted December 1, 2023 Author Share Posted December 1, 2023 1 minute ago, grm9 said: search for "sharkboi" duh, you can get the prefab of the thing under mouse using print(c_select().prefab), then search for the prefab and in the files that have it in the name Ah, I forgot to mention in the op; I was wondering how do you search for new stuff without knowing the prefab name. I didn't know the .prefab method. Thanks Link to comment Share on other sites More sharing options...
Yuuko Posted December 1, 2023 Share Posted December 1, 2023 https://semanticdiff.com/blog/visual-studio-code-compare-files/ You can go to C:\Program Files (x86)\Steam\steamapps\common\Don't Starve Together\data\databundles and extract the scripts.zip file to its own folder. Set yourself on public release, extract, then switch to beta, extract, then run the folder comparison tool. Link to comment Share on other sites More sharing options...
Cassielu Posted December 1, 2023 Share Posted December 1, 2023 Sort by date modified Link to comment Share on other sites More sharing options...
Hornete Posted December 1, 2023 Share Posted December 1, 2023 9 hours ago, Szczuku said: [snip] Hiya, me and @penguin0616 handle a repository with a good chunk of versions and their (lua) scripts. (Commit names go by VersionID - ManifestID) https://github.com/penguin0616/dst_gamescripts/tree/willow_wigfrid_meta The beta scripts are currently on their own branch here, and I personally use Github desktop (you can use any Git GUI, I've been meaning to give Gitkraken more of a shot!) to view differences. For example, eyyy, did you know moon base is centered now on new generations? That's a change that happened! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.