Repository navigation
Adding Custom Characters
ProgSys edited this page May 2, 2025
·
87 revisions
Right now only possible with the Pre-Release Version:
- Pretty-Prinny will crash the game
- Pre-Release Version
- Run Map Editor setup at least once
To create a new character you need to create a .zip file inside mod\CustomCharacters with the following file structure.
| Name | Description |
|---|---|
| character.json | Declares and defines custom characters |
| sprites | Folder with custom sprites (*.SH) |
| img | Folder with custom images, like portraits (*.TX2) |
The json file is where you declare all the resources and define new characters. You can find a full example below.
| Field | Required | Description |
|---|---|---|
| name | Yes | Name of the character mod |
| author | Name of mod creator | |
| description | Mod description | |
| sprites | List of custom Sprites definitions | |
| ├── identifier | Yes | An unique identifier. Can be used to override original sprites. |
| └── file | Yes | Filename to sprite, located inside "sprites" folder |
| faces | List of custom portrait definitions | |
| ├── identifier | Yes | An unique identifier. Can be used to [override original sprites](#override original portraits). |
| ├── fileHD | Yes* | Filename to tx2, located inside "img" folder |
| └── fileSD | Yes* | Filename to tx2, located inside "img" folder |
| characters | List of custom Character definitions | |
| ├── identifier | Yes | An unique identifier. |
| ├── spriteIdentifier | Yes | Reference to a defined sprite identifier. |
| ├── faceIdentifier | Yes | Reference to a defined face (portrait) identifier. |
| ├── deriveFrom | Optional | Can be defined to inherit settings for a previously defined character. Useful if you just want to change a few stats or color table. |
| ├── isRecruitable | Optional | Default true. Defines if character can be recruited in the dark assembly. |
| ├── recruitGroupName | Optional | Used to group characters into a row in the dark assembly (variance). Characters with the same Group Name will share the row. |
| ├── name | Yes | The name of the character. Number of characters is limited |
| ├── title | Yes | The title/class of the character. Number of characters is limited |
| └── ... | The other values mirror the data table CHAR_E.DAT. |
Warning
All file names are case sensitive! The name in the json and in zip must be fully identical!
If you just want to override existing sprites, to create an HD mod for example, then you can simply use the numerical game identifier disa::<id of sprite>. For example disa::2210 will override the Prinny sprite. The numerical id can be found inside ANM files.
{
"name": "My Amazing Character Mod",
"author": "My Name",
"description": "Elum Epsum texto maxo",
"sprites": [
{
"identifier" : "gaiaSprite",
"file" : "GAIA.sh"
}
],
"faces": [
{
"identifier" : "gaiaFace",
"fileHD" : "GAIAFace.tx2"
}
],
"characters": [
{
"identifier" : "gaia",
"spriteIdentifier": "gaiaSprite",
"faceIdentifier": "gaiaFace",
"recruitGroupName": "gaia",
"name": "Gaia",
"title": "Lovebringer",
"type": 3,
"unknownValue0x3d": 1,
"gender": 2,
"unknownValue0x40": 3,
"paletteIndex": 0,
"learnSpeed": 12,
"jumpPower": 20,
"weaponMasteryBaseStats": [15,15,20,15,10,20,15,0],
"stats": {
"hp": 10,
"sp":10,
"attack":10,
"defence":10,
"intelligence":10,
"speed":10,
"hit":10,
"resistence":10
},
"immunity":0,
"unknownValue0x58":100,
"unknownValue0x60":20,
"throwingRange":5,
"helpID": 2,
"baseStats": {
"hp": 16,
"sp": 10,
"attack":11,
"defence":7,
"intelligence":10,
"speed":12,
"hit":11,
"resistence":10
},
"movement": 6,
"movementType": 0,
"experienceScale": 5,
"unknownValue0x77": 1,
"unknownValue0x79": 10,
"unknownValue0x7b": 10,
"unknownValue0x7d": 10,
"unknownValue0x7f": 0,
"unknownValue0x81": 0,
"unknownValue0x83": 10,
"counter": 1
},
{
"identifier" : "gaia2",
"deriveFrom": "gaia",
"spriteIdentifier": "gaiaSprite",
"faceIdentifier": "gaiaFace",
"recruitGroupName": "gaia",
"name": "Gaia 2",
"paletteIndex": 1
}
]
}