Content Packs

From Pokémon 3D Wiki
Revision as of 06:10, 21 February 2013 by Orion (talk | contribs) (Changed the content pack name stated under the first picture from "SemiHD" to "OriQual".)
Jump to navigation Jump to search

A content pack is a collection of graphics, music, sounds, maps and scripts to change the in-game textures, music and story. They are folders located in the ..\Pokemon\ContentPacks\ folder. They can contain various files, they have to be in the .xnb format to work. For maps and scripts, the file format is .dat. The game takes all content that is in the ContentPacks and replaces the original content with the found content. All content that isn't affected by the content packs is loaded normally. Files loaded from a content pack don't actually replace the files in the Content folder, but rather gets loaded instead the files from this folder.

Installation

Requirements

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.

Install a content pack

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

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: Textures\BarkTown|0,0,16,16|Textures\Cherrygrove|0,0,16,16
This line replaces the texture at 0,0 in the texturepack “Textures\BarkTown” with the same texture coordinates from the cherrygrove texturepack.

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.

Map files

The map files are maps that can replace or add maps to the story of the game. They are located in a folder called \Pokemon\ContentPacks\yourcontentpackname\maps\. To link to maps in the content packs, one doesn't have to add a path to the warps in the map files, the game finds them automatically when the content pack is registered in the options.dat.

Script files

The script files are similar to the map files, they are only placed in another location called \Pokemon\ContentPacks\yourcontentpackname\Scripts\. Else, they work the same way as map files, one can add scripts to maps as if they were in the Scripts folder in the Pokemon folder if the content pack is saved in the options.dat.

Special files

There are special files that can change different parts of the game. For now, only one file is existing, the intro.dat

Intro.dat

The intro.dat is a file located in the root folder of the content pack. This file contains all the information needed to change the intro dialogue with Professor Oak. This file consists of many different lines. Here is an example file:
SkinFiles|Ethan,14 - This line determines the skin files the player can choose.
SkinNames|Ethan,Youngster - This line determines the name of the skins.
SkinColors|248;176;32,56;88;200 - This line determines the background color of the skins.
IntroMusic|barktown - This line sets the background music while the intro is running.
PokemonAppear|2-4 - This line sets the Pokémon that can appear in the intro scene. "0" means all Pokémon.
StartMap|barktown.dat - This is the start map.
StartPosition|0,2,0 - This is the location the player spawns on the start map.
StartLocationName|New Bark Town - This is the name of the location the player spawns in.
StartYaw|0 - This is the rotation the camera is turned after starting the game.

List of Content Packs

MCT.png = Music / Sounds

TCP.png = Textures

OCP.png = Other content

A
MCT.png Anime music collection for Pokemon3D
B
TCP.png B2/W2 OverWorld Texture Pack 1
D
MCT.png Daziman's Epic HD Music Pack
F
MCT.png Final Fantasy Music Pack
TCP.png First Content Pack for 0.23
G
TCP.png "Gold" styled UI Texture pack
H
MCT.png HGSS Music Pack
O
TCP.pngMCT.png OriQual Texture pack
P
TCP.png Perspective Fix
TCP.png Pocket Monsters Green
MCT.png Pokémon 3D GB Sounds Music Pack

Trivia

  • The loaded content packs are listed in the debug screen (F3).

Version history

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

Development cycle | Version history | Future versions


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


Technical | Savefile structure | Game Mods | Content Packs