Open main menu
Home
Random
Log in
Settings
About Stardew Valley Wiki
Disclaimers
Stardew Valley Wiki
Search
Changes
← Older edit
Newer edit →
Modding:Editing XNB files
(view source)
Revision as of 18:58, 3 June 2017
4 bytes added
,
18:58, 3 June 2017
correction: can only pack/unpack on Windows
Line 2:
Line 2:
This page explains how to create a mod which replaces game files in order to change game data, images, and maps.
This page explains how to create a mod which replaces game files in order to change game data, images, and maps.
+
+
'''Creating an XNB mod is only possible on Windows, since there's no tool to unpack or pack XNB files on Linux or Mac.'''
==Intro==
==Intro==
Line 50:
Line 52:
## Find the file you want to edit in the <tt>Contents</tt> folder.
## Find the file you want to edit in the <tt>Contents</tt> folder.
## Copy it into XNB Extract's <tt>Packed</tt> folder.
## Copy it into XNB Extract's <tt>Packed</tt> folder.
−
##
On Windows, double
-click <tt>UnpackFiles.bat</tt>
. On Linux/Mac, run the command inside <tt>UNPACK FILES.bat</tt>
.
+
##
Double
-click <tt>UnpackFiles.bat</tt>
(Windows only)
.
# Edit the unpacked file (see below).
# Edit the unpacked file (see below).
# Repack the file for the game:
# Repack the file for the game:
−
##
On Windows, double
-click <tt>PackFiles.bat</tt>
. On Linux/Mac, run the command inside <tt>PackFiles.bat</tt>
.
+
##
Double
-click <tt>PackFiles.bat</tt>
(Windows only)
.
## Move the repacked <tt>.xnb</tt> file back to the original location.
## Move the repacked <tt>.xnb</tt> file back to the original location.
Pathoschild
translators
8,437
edits