ROM Hack WIP Don't Starve mods

falcorr

Well-Known Member
OP
Member
Joined
Sep 26, 2019
Messages
139
Trophies
0
XP
746
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: 192
  • DontStarve_QuickWork_v393216_v1.0.6_0100751007ADA000.rar
    222.1 KB · Views: 173
  • DontStarve_DisplayFoodValues_v393216_v1.0.6_0100751007ADA000.rar
    39.7 KB · Views: 247
  • DontStarve_ChesterGlommerNonTargets_v393216_v1.0.6_0100751007ADA000.rar
    8.1 KB · Views: 141
  • DontStarve_StatusValues_v393216_v1.0.6_0100751007ADA000.rar
    7.9 KB · Views: 183
  • DontStarve_FrequentAutosave_v393216_v1.0.6_0100751007ADA000.rar
    8.1 KB · Views: 130
Last edited by falcorr,

SkullHex2

Well-Known Member
Member
Joined
Feb 27, 2017
Messages
246
Trophies
0
XP
1,304
Country
United States
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
27
XP
37
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
 

Nana2007nt

Active Member
Newcomer
Joined
Dec 25, 2021
Messages
26
Trophies
0
Age
38
XP
78
Country
Vietnam
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.
Hi can you help me mods for don't starve version 1.0.9...
Thanks so much.
 
Last edited by Nana2007nt,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Veho @ Veho:
    Look, it's China. They know what it's like when you give a poll to half a billion trolls.
    +1
  • K3Nv2 @ K3Nv2:
    How much dollar do you think it is?
  • Veho @ Veho:
    ONE MILLION DOLLA
    +1
  • Veho @ Veho:
    I know the pricing of electronics nowadays isn't "how much it actually costs" but "how much we can get away with", but putting up a poll is just cynical.
    +1
  • K3Nv2 @ K3Nv2:
    Probably $150 someone said Anbernic said around the same price as rg556
  • Julie_Pilgrim @ Julie_Pilgrim:
    you know which game i wish they would rerelease
  • Julie_Pilgrim @ Julie_Pilgrim:
    sonic unleashed
  • K3Nv2 @ K3Nv2:
    Make it a happy meal toy
  • Julie_Pilgrim @ Julie_Pilgrim:
    that game's engine is really fucking intensive so it runs like literal shit on xbox 360 and ps3
  • Veho @ Veho:
    Nah I'm getting value creep again. I look at a $50 console "but for just a few more dollars you could get XYZ" and I end up considering the Steam Deck.
    +1
  • Julie_Pilgrim @ Julie_Pilgrim:
    like the lighting in that game was genuinely so good
  • Veho @ Veho:
    Not getting dragged into that again.
  • Julie_Pilgrim @ Julie_Pilgrim:
    i dont get why they didn't port the one game that ran the worst on consoles, to pc
  • Julie_Pilgrim @ Julie_Pilgrim:
    like you port everything to pc except the one game where it would make the most sense. why. what do you gain from this
  • Julie_Pilgrim @ Julie_Pilgrim:
    is sega just personally fucking with me? are they laughing while watching me through my kinect camera as i get up to restart my xbox for the third time because the game froze again
  • K3Nv2 @ K3Nv2:
    Buy handhelds from five below better quality
  • K3Nv2 @ K3Nv2:
    Valve probably going to do another refresh of the deck this fall with rog ally like specs tbh
    +1
  • Veho @ Veho:
    A smaller form factor would be nice too.
    +1
  • K3Nv2 @ K3Nv2:
    A shield portable 2 would be nice aye Nvidia
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    The big leap in all things tech is when carbon based chips start hitting.
  • Psionic Roshambo @ Psionic Roshambo:
    Longer battery life cooler temps and faster! What's not to like lol (probably expensive as hell)
  • AncientBoi @ AncientBoi:
    [checks my dildo(s) batteries, coolant and lube] :O [promptly replaces them] :D
    K3Nv2 @ K3Nv2: https://anbernic.com/products/rg-cube well there we go $160