Jump to content

Open Community  ·  387 members

Stardew Valley

Help for creating my own Mod


Lailarisha

Recommended Posts

Hello, I'm new here, so sorry if this isn't the place to ask for help.

 

I just want someone who can guide me to create my own mod for Stardew Valley. Not something big, I just want to try to create a mod that changes the dialogue of some characters.

 

I tried to see some guides at youtube but I can't find anything for this specifically.

 

If anyone has some tips or know where is a good page or youtube video about this, it will be a big help for me.

Link to comment
Share on other sites

  • 4 months later...

Ok I know you're only asking about dialogoue but i replied to someone elses post which involved a little more but i'm just gonna copy and paste that, hopefully you can get some useful information out of it.

I'm not going to be good at giving you a tutorial on this as i only learned to edit files myself less then a week ago but in that time i have edited lots of sprite and have seen how easy it is to edit dialogue so i will do my best to pass on my limited knowledge.

Use the link on this guide to download XNB Node

https://community.pl...n-redux.109131/

(i know the link says starbound but ignore that, it is the correct link)

I used that tutorial to learn about xnode but you can just google a video on how to use it but basically if you go into your stardew valley files you will find lots of xnb files, this programme lets you unpack those files so you can read them in note pad and edit anything you start to understand. so dialogue for instance would be easy because i know there is a dialogues folder so you would just unpack the xnb in that folder, open in notepad, edit the lines of the characters you want to then repack the xnb and place it back into the dialogues folder, if you didnt mess the code up and only edited what was already there the file will have no errors and will be compatible with any version of the game (i think) also unpacking xnb files is how you reveal the sprite sheets so you can edit them as much as you want then repack them and put them back where you found them. If you want to get more technical you can edit the xnb files of existing mods, i find this useful as existing mods like Artisan Valley allow you to create machines that produce items so all you would do is unpack and open the Artisan Valley XNB file in notepad, find a machines code that already exists, look carefully and see the pattern between machines so you can figure out where 1 code starts and 1 finishes, then copy from start to finish the whole code of 1 machine and paste it into the code so it fits like all the other machines, then edit the ID at the top to a number that doesn't currently exist (scroll to the bottom and use then next number in line, so if 30 is at bottom use 31). once you've done that the rest of the machines detail are yours to edit including the .png file which will be the sprite sheet (new machines wont have a sprite sheet so you will have to create one and put it into the folder with the artisan valley xnb and other machine sprites, i suggest copy and pasting an existing machine sprite and then drawing over it on another layer to make sure your frames are not overlapping.

Anyway I think that's enough rambling, hopefully you can take something from all that.
Like i say I haven't modded anything in my life and within 4 days i've created 10 items and 9 machines and i still dont know jack about coding so don't give up, you can do it! Just keep looking at the code and comparing it and you will start to make sense of what the values represent.

Remember to always back-up your files before installing mods!

-Ink Suru

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...