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: 191
  • DontStarve_QuickWork_v393216_v1.0.6_0100751007ADA000.rar
    222.1 KB · Views: 172
  • DontStarve_DisplayFoodValues_v393216_v1.0.6_0100751007ADA000.rar
    39.7 KB · Views: 246
  • DontStarve_ChesterGlommerNonTargets_v393216_v1.0.6_0100751007ADA000.rar
    8.1 KB · Views: 140
  • DontStarve_StatusValues_v393216_v1.0.6_0100751007ADA000.rar
    7.9 KB · Views: 180
  • DontStarve_FrequentAutosave_v393216_v1.0.6_0100751007ADA000.rar
    8.1 KB · Views: 129
Last edited by falcorr,

SkullHex2

Well-Known Member
Member
Joined
Feb 27, 2017
Messages
246
Trophies
0
XP
1,302
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
  • No one is chatting at the moment.
  • S @ salazarcosplay:
    the author has the final aproval
  • S @ salazarcosplay:
    hunter x hunter
  • S @ salazarcosplay:
    he has not allowed anyone to continue it for him for example
  • Xdqwerty @ Xdqwerty:
    @salazarcosplay, theres a dragon ball af mod for budokai 3
  • Xdqwerty @ Xdqwerty:
    updated ship of harkinian, gonna install some hd texture pack
  • Xdqwerty @ Xdqwerty:
    I might download rayman revolution for my ps3
  • BigOnYa @ BigOnYa:
    I may try the new ram site, and download more RAM to my Switch. Not sure if ddr3 is the right ram
    for it tho. Edit- no it uses floppy Ram, just like @AncientBoi
    +1
  • Xdqwerty @ Xdqwerty:
    aeiou
  • BigOnYa @ BigOnYa:
    And sometimes Z
  • SylverReZ @ SylverReZ:
    @K3Nv2, MAGA supporters be wearing tin foil hats lol.
    +1
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, whats maga?
  • BigOnYa @ BigOnYa:
    It stands for Maniacs Against General Acceptance
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, people rejecting general consensus about stuff?
    +1
  • BigOnYa @ BigOnYa:
    Yup, nuh its really just Trump followers
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, im not american so i dont care about trump
    +1
  • Xdqwerty @ Xdqwerty:
    or us elections
  • BigOnYa @ BigOnYa:
    Me niether, us north Koreans don't care
  • Xdqwerty @ Xdqwerty:
    good night
  • BakerMan @ BakerMan:
    i don't care either, even if i'm american
  • BakerMan @ BakerMan:
    truth be told, i agree with psi, i dislike both candidates, but i'd probably vote trump simply because the economy was better during his presidency
  • AngryCinnabon @ AngryCinnabon:
    Just be careful, if trump ends up winning and using project 2025 America might really change...for the worse.
  • AngryCinnabon @ AngryCinnabon:
    I'm not american and even that sends shivers down my spine.
  • AngryCinnabon @ AngryCinnabon:
    anything that offers trump an opportunity to become an actual dictator
    is bad in my book, i could care less if it wasn't for that...
  • K3Nv2 @ K3Nv2:
    Canada: America's Russia
    K3Nv2 @ K3Nv2: Canada: America's Russia