ROM Hack WIP Don't Starve mods

falcorr

Well-Known Member
OP
Member
Joined
Sep 26, 2019
Messages
136
Trophies
0
XP
708
Country
Australia
TitleID: 0100751007ADA000

I recommend using SimpleModManager.

The game files are mostly as found on PC. This is a rough, partial re-enabling of mods. I expect they can be enabled entirely. Also, the nature of the game's files means there's a lot of room to fix bugs. Most of the game is exposed in lua.

WIP [v1.0.6 / v393216] Enable mods

Re-enables the mod menu.

Simple mods currently work, e.g. Display Food Values. Combined Status fails, for instance, so there's still work to be done.

Individual mod configuration options are currently unable to be edited in-game. You can manually change them in each modinfo.lua file.

The names of mod directories currently need to be manually added to /scripts/modindex.lua in two locations, around lines 126 and 166. Dirty, I know, but it's been rough often having no debug info and simply crashes.

The console log can now be toggled with R3.

Skips the intro movie while it's at it.


Working examples
Display Food Values (shows what items provide when browsing inventory)
Quick Work (short animations)
Status Values (numerical values under status UI elements, player temperature)
Frequent Autosave (four times a day instead of once)


Only using LayeredFS
Chester, Glommer non-targets (both no longer targeted by enemies)


For others who may want to improve on this:
  • TheSim:GetModDirectoryNames() fails due to presumably looking in the wrong location. If you can have modindex.lua discover mod directory names on its own, go for it. I've been failing to get popen / lfs things to work.
  • My initial attempts to enable in-game reloading of scripts have failed. DoReload() appears to be untenable. Haven't seen mention of the debug CTRL+R or c_reset() I found googling.
  • Mod crashes without console log info might be avoided by testing them with a new game, not loading into an existing one.
  • Mods without assets seem to be the ones likely to run. Assets cause mods.lua to fail with unpack(arg), arg undeclared, for one. Assets being anything beyond the base mod directory's modmain, modinfo, modicon files. AddPrefabPostInit seems to not work.
 

Attachments

  • DontStarve_EnableMods_v393216_v1.0.6_0100751007ADA000.rar
    30.7 KB · Views: 131
  • DontStarve_QuickWork_v393216_v1.0.6_0100751007ADA000.rar
    222.1 KB · Views: 118
  • DontStarve_DisplayFoodValues_v393216_v1.0.6_0100751007ADA000.rar
    39.7 KB · Views: 171
  • DontStarve_ChesterGlommerNonTargets_v393216_v1.0.6_0100751007ADA000.rar
    8.1 KB · Views: 88
  • DontStarve_StatusValues_v393216_v1.0.6_0100751007ADA000.rar
    7.9 KB · Views: 118
  • DontStarve_FrequentAutosave_v393216_v1.0.6_0100751007ADA000.rar
    8.1 KB · Views: 81
Last edited by falcorr,

SkullHex2

Well-Known Member
Member
Joined
Feb 27, 2017
Messages
192
Trophies
0
XP
1,129
Country
Italy
Sorry for necroposting, but I don't understand how we're supposed to do this: «The names of mod directories currently need to be manually added to /scripts/modindex.lua in two locations, around lines 126 and 166. Dirty, I know […]»
What's the format we should use?
is it needed even when using SimpleModManager?

Thank you and sorry again.
 

yobahddz

Member
Newcomer
Joined
Jan 13, 2023
Messages
8
Trophies
0
Age
26
XP
27
Country
Algeria
Can you enable mods in don't Starve together switch edition please I have the game but I and find any mods for us also we need some mods for port from PC to our switch
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Skelletonike @ Skelletonike:
    1H left, such a slow week.
  • Sonic Angel Knight @ Sonic Angel Knight:
    Okay, I had spaghetti :P
  • SylverReZ @ SylverReZ:
    Hope they made lots of spaget
  • K3N1 @ K3N1:
    Chill dog
  • SylverReZ @ SylverReZ:
    Chilli dog
  • Skelletonike @ Skelletonike:
    Damn, I'm loving the new zelda.
  • xtremegamer @ xtremegamer:
    loving the new zelda, i started a game, it was so fucking good, so i
    am waiting on my friend to get home so we can start a new one together
  • Skelletonike @ Skelletonike:
    I just dislike that they don't let me choose the voices before the game starts. Happened with botw as well, had to change to japanese and restart.
  • K3N1 @ K3N1:
    But the important question is can you choose gender
  • Skelletonike @ Skelletonike:
    Same way you can choose Gerald's gender.
  • Skelletonike @ Skelletonike:
    *Geralt, damn autocorrect.
  • Psionic Roshambo @ Psionic Roshambo:
    But can he be trans? Lol
  • K3N1 @ K3N1:
    Zelda transforms into link
  • Psionic Roshambo @ Psionic Roshambo:
    Link I'm not the princess your looking for.... *Pulls a crying game*
  • K3N1 @ K3N1:
    *skirt up* it's exactly what I always wanted
  • Skelletonike @ Skelletonike:
    Just scanned all my zelda amiibos, took a while but didn't get anything that cool, did get the lon lon ranch hylian fabrics though.
  • Skelletonike @ Skelletonike:
    It was pretty funny when I scanned wolf link and got a shit load of meat.
  • K3N1 @ K3N1:
    @Skelletonike, btw I ran that custom for mgs4 on the deck I'm amazed it got that far in game
  • K3N1 @ K3N1:
    Plug in*
  • K3N1 @ K3N1:
    Your favorite activity
  • BentlyMods @ BentlyMods:
    My fav actvity is:

    mario-dancing.gif
    BentlyMods @ BentlyMods: My fav actvity is: