Difference between revisions of "Content Packs"

From Pokémon 3D Wiki
Jump to navigation Jump to search
m
m
Line 10: Line 10:
Content Packs are essentially a way to customize the game experience without altering any game features. All changes done by Content Packs are aesthetic.
Content Packs are essentially a way to customize the game experience without altering any game features. All changes done by Content Packs are aesthetic.


== Preparation, directories and in-game activation ==
In order to properly create a Content Pack, you should create a new game, get a Pokémon on that new save file and enable the SandBoxMode. You can do that by opening the player.dat file with Notepad.


<gallery>
All Content Packs are located in the ContentPacks directory, and each Content Pack is represented by a directory with a "info.dat" file in it.<br />
File:content_packs_SemiHD.png|[[Pokémon3D]] with the "[[OriQual Texture Pack|OriQual]]" content pack.
They will appear in the game when you click on the Pokéball icon on the top right corner of the main menu. (The ContentPack menu)
File:content_packs_normal.png|Pokémon3D without any content packs.
All Content Packs can be activated there. The order in which the Content Packs are represented in this list is the same as their loading order.
</gallery>
Content Packs can be used with Online profiles.


== Installation ==
== Basic Structure ==
=== Requirements ===
A Content Pack consists of at least a folder in the ContentPacks directory and the "info.dat" file.
To install a content pack, the ContentPacks folder has to exist in your [[Pokemon folder]]. Also, the Save folder has to exists with an options.dat in it. This can be achieved by starting the game once and press F3 at least once and close the game again.
If you want to add content files like music and textures to the ContentPack, the game searches the ContentPack folders as if they were the "Content" folder of the game.


=== Install a content pack ===
This means if you have a file located in "Pokemon\Content\Textures\test.xnb", to replace that file ingame with your own version, you put that file here: "Pokemon\ContentPacks\<yourcontentpack>\Textures\test.xnb".
After finding and downloading a content pack, copy the folder into the ContentPacks folder. After that's done, open the options.dat in the Save folder.
There is a line called "ContentPacks|". Add the name of the folder of the content pack after the "|". If you want to load multiple content packs, you have to add more separated by a comma (","), e.g. "ContentPacks|UIPack,TexturePack,MusicPack". The order the content packs are sorted is actually important because if multiple content packs contain the same texture, the texture from the content pack that is listed '''first''' is loaded. The other textures are ignored.


=== File placements ===
A Content Pack can replace all texture, song and sound files (.xnb files) inside the original Content folder of the game, except the "GameJolt" logo which will always be loaded through the original Content folder.
The files in the content packs are placed in relation to their actual position in the "[[Content]]" folder. If the texture "\Pokemon\Content\Textures\Texture1.xnb" should be replaced, one has to create the texture "\Pokemon\ContentPacks\yourcontentpackname\Textures\Texture1.xnb".
 
==== Texture files ====
Texture files are simple .xnb files containing a new texture to be displayed in-game. This can be a GUI texture, a in-game object texture like the door of a house or an NPC sprite. Even Pokémon animation textures can be replaced using the content packs.
For HD texture packs, the game cannot automatically find larger textures. So one has to create a file called "exceptions.dat" that is located in the root folder of the content pack. This file contains single texture replacements, not the whole texture files. An example line:
<pre>Textures\BarkTown|0,0,16,16|Textures\Cherrygrove|0,0,16,16</pre>
This line replaces the texture at 0,0 in the texturepack “Textures\BarkTown” with the same texture coordinates from the cherrygrove texturepack.
<gallery>
File:textureexception.png|The difference between the texture packs.
</gallery>
 
==== Sound and Music files ====
Similar to the texture files, the sound and music files are .xnb files. They only need their respective .wma file which contains the actual music or sound file. So for music and sounds, there needs to be two files for each track, the .xnb file and the .wma file. These have to be in the same location.
 
== List of Content Packs ==
 
[http://pokemon3d.net/forum/resources/ Check the forum, it has all the updated "Resources" of the game!]
 
== Trivia ==
* The loaded content packs are listed in the debug screen (F3).
 
== Version history ==
{|class="wikitable"
|-
! Version
! Changes
|-
| 0.23
|
* First implementation
|-
| 0.24
|
* Multiple content pack support
* Fixed some GUIs aren't loaded properly with content packs.
* Maps and scripts can be loaded through content packs
|-
| 0.25
|
*Content pack submenu in the main menu.
|-
| 0.26
|
*Fixed various crashes pertaining to content pack loading
|}


{{Pokemon3D}}
{{Pokemon3D}}
{{FilePaths}}
{{FilePaths}}

Revision as of 00:01, 26 July 2014

What is a Content Pack?

A Content Pack is a bundle of files stored in a folder in the Pokemon\ContentPacks\ directory that can change:

  • Music
  • Sounds
  • Textures ( GUI, NPC, Entity and Tilesets )
  • Fonts
  • Models

One can have multiple Content Packs activated and they replace the content that they find in decending order. Content Packs are essentially a way to customize the game experience without altering any game features. All changes done by Content Packs are aesthetic.

Preparation, directories and in-game activation

In order to properly create a Content Pack, you should create a new game, get a Pokémon on that new save file and enable the SandBoxMode. You can do that by opening the player.dat file with Notepad.

All Content Packs are located in the ContentPacks directory, and each Content Pack is represented by a directory with a "info.dat" file in it.
They will appear in the game when you click on the Pokéball icon on the top right corner of the main menu. (The ContentPack menu) All Content Packs can be activated there. The order in which the Content Packs are represented in this list is the same as their loading order. Content Packs can be used with Online profiles.

Basic Structure

A Content Pack consists of at least a folder in the ContentPacks directory and the "info.dat" file. If you want to add content files like music and textures to the ContentPack, the game searches the ContentPack folders as if they were the "Content" folder of the game.

This means if you have a file located in "Pokemon\Content\Textures\test.xnb", to replace that file ingame with your own version, you put that file here: "Pokemon\ContentPacks\<yourcontentpack>\Textures\test.xnb".

A Content Pack can replace all texture, song and sound files (.xnb files) inside the original Content folder of the game, except the "GameJolt" logo which will always be loaded through the original Content folder.


Development cycle | Version history | Future versions


Help | Controls | Launcher | Menu screen | Options | FAQ


Technical | Savefile structure | Game Mods | Content Packs

Game Folder
Content ContentPacks GameModes Saves Screenshots Game Executable
Pokemon Data ContentPack Folder GameMode folder Savegame folder Version History
Data Maps Moves Scripts Control Files Content GameMode.dat Party.dat Player.dat Options.dat
poke battle structures V1 V2 trainer worldmap