Changes

Jump to navigation Jump to search
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.
  
translators
8,404

edits

Navigation menu