Tutorial:Modding Strings: Difference between revisions

From PMDOWiki
Imbion (talk | contribs)
Imbion (talk | contribs)
No edit summary
 
Line 1: Line 1:
{{stub}}
Strings in PMDO are stored in files specifically for them, with the <code>.resx</code> extension. Although strings may be literally defined in scripting files, they are best to be globally stored for the sake of enabling translations.
 
* strings.resx = Contains hardcoded text for the base game
* stringsEx.resx = Contains text for developer-made content such as battle messages for move effects


== File location ==
Strings for the entire game are stored in the following two files:
* <code>strings.resx</code>: Contains hardcoded text for the base game
* <code>stringsEx.resx</code>: Contains text for developer-made content such as battle messages for move effects


Individual ground files have their own strings.resx file.
Individual ground files have their own strings.resx file.


== Modifying Strings ==
Strings may be edited using the game's [[dev mode]]. Any new string files in a [[mod]] will be added to the strings found originally in the game, for comparability's sake.


When modding these strings, any string files in the mod are applied ON TOP of the original.
[[Category:Tutorial]]

Latest revision as of 14:08, 26 October 2025

Strings in PMDO are stored in files specifically for them, with the .resx extension. Although strings may be literally defined in scripting files, they are best to be globally stored for the sake of enabling translations.

File location

Strings for the entire game are stored in the following two files:

  • strings.resx: Contains hardcoded text for the base game
  • stringsEx.resx: Contains text for developer-made content such as battle messages for move effects

Individual ground files have their own strings.resx file.

Modifying Strings

Strings may be edited using the game's dev mode. Any new string files in a mod will be added to the strings found originally in the game, for comparability's sake.