Skip to content

Commit

Permalink
Merge pull request #51 from lhearachel/pl_poke_icon-decomp
Browse files Browse the repository at this point in the history
Dump the contents of pl_poke_icon and rebuild from sources
  • Loading branch information
lhearachel authored Sep 24, 2023
2 parents aac6baa + d7a65cd commit 42230aa
Show file tree
Hide file tree
Showing 1,048 changed files with 1,672 additions and 6 deletions.
5 changes: 4 additions & 1 deletion platinum.us/rom.rsf
Original file line number Diff line number Diff line change
Expand Up @@ -303,9 +303,12 @@ RomSpec
File nuts_data.narc
File pl_item_data.narc

Root /poketool/icongra
HostRoot res/pokemon
File pl_poke_icon.narc

Root /
HostRoot res/prebuilt
File poketool/icongra/pl_poke_icon.narc
File poketool/icongra/poke_icon.narc
File poketool/pokefoot/pokefoot.narc
File data/mmodel/mmodel.narc
Expand Down
Binary file added res/pokemon/.shared/icon_palette.NCLR
Binary file not shown.
36 changes: 36 additions & 0 deletions res/pokemon/.shared/pl_poke_icon_anim_01.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"labelEnabled": true,
"sequenceCount": 2,
"frameCount": 2,
"sequences": [{
"frameCount": 1,
"loopStartFrame": 0,
"animationElement": 0,
"animationType": 1,
"playbackMode": 1,
"frameData": [{
"frameDelay": 1,
"resultId": 0
}]
}, {
"frameCount": 1,
"loopStartFrame": 0,
"animationElement": 0,
"animationType": 1,
"playbackMode": 1,
"frameData": [{
"frameDelay": 1,
"resultId": 1
}]
}],
"animationResults": [{
"resultType": 0,
"index": 0
}, {
"resultType": 0,
"index": 1
}],
"resultCount": 2,
"labels": ["CellAnime0", "CellAnime1"],
"labelCount": 2
}
109 changes: 109 additions & 0 deletions res/pokemon/.shared/pl_poke_icon_anim_02.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
{
"labelEnabled": true,
"sequenceCount": 6,
"frameCount": 12,
"sequences": [{
"frameCount": 1,
"loopStartFrame": 0,
"animationElement": 0,
"animationType": 1,
"playbackMode": 1,
"frameData": [{
"frameDelay": 1,
"resultId": 0
}]
}, {
"frameCount": 2,
"loopStartFrame": 0,
"animationElement": 0,
"animationType": 1,
"playbackMode": 2,
"frameData": [{
"frameDelay": 4,
"resultId": 0
}, {
"frameDelay": 4,
"resultId": 1
}]
}, {
"frameCount": 2,
"loopStartFrame": 0,
"animationElement": 0,
"animationType": 1,
"playbackMode": 2,
"frameData": [{
"frameDelay": 6,
"resultId": 0
}, {
"frameDelay": 6,
"resultId": 1
}]
}, {
"frameCount": 2,
"loopStartFrame": 0,
"animationElement": 0,
"animationType": 1,
"playbackMode": 2,
"frameData": [{
"frameDelay": 12,
"resultId": 0
}, {
"frameDelay": 12,
"resultId": 1
}]
}, {
"frameCount": 2,
"loopStartFrame": 0,
"animationElement": 0,
"animationType": 1,
"playbackMode": 2,
"frameData": [{
"frameDelay": 20,
"resultId": 0
}, {
"frameDelay": 20,
"resultId": 1
}]
}, {
"frameCount": 3,
"loopStartFrame": 0,
"animationElement": 2,
"animationType": 1,
"playbackMode": 2,
"frameData": [{
"frameDelay": 32,
"resultId": 2
}, {
"frameDelay": 2,
"resultId": 3
}, {
"frameDelay": 2,
"resultId": 4
}]
}],
"animationResults": [{
"resultType": 0,
"index": 0
}, {
"resultType": 0,
"index": 1
}, {
"resultType": 2,
"index": 0,
"positionX": 0,
"positionY": 0
}, {
"resultType": 2,
"index": 0,
"positionX": 1,
"positionY": 0
}, {
"resultType": 2,
"index": 0,
"positionX": -1,
"positionY": 0
}],
"resultCount": 5,
"labels": ["CellAnime0", "CellAnime1", "CellAnime2", "CellAnime3", "CellAnime4", "CellAnime5"],
"labelCount": 6
}
109 changes: 109 additions & 0 deletions res/pokemon/.shared/pl_poke_icon_anim_03.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
{
"labelEnabled": true,
"sequenceCount": 6,
"frameCount": 12,
"sequences": [{
"frameCount": 1,
"loopStartFrame": 0,
"animationElement": 0,
"animationType": 1,
"playbackMode": 1,
"frameData": [{
"frameDelay": 1,
"resultId": 0
}]
}, {
"frameCount": 2,
"loopStartFrame": 0,
"animationElement": 0,
"animationType": 1,
"playbackMode": 2,
"frameData": [{
"frameDelay": 4,
"resultId": 0
}, {
"frameDelay": 4,
"resultId": 1
}]
}, {
"frameCount": 2,
"loopStartFrame": 0,
"animationElement": 0,
"animationType": 1,
"playbackMode": 2,
"frameData": [{
"frameDelay": 6,
"resultId": 0
}, {
"frameDelay": 6,
"resultId": 1
}]
}, {
"frameCount": 2,
"loopStartFrame": 0,
"animationElement": 0,
"animationType": 1,
"playbackMode": 2,
"frameData": [{
"frameDelay": 12,
"resultId": 0
}, {
"frameDelay": 12,
"resultId": 1
}]
}, {
"frameCount": 2,
"loopStartFrame": 0,
"animationElement": 0,
"animationType": 1,
"playbackMode": 2,
"frameData": [{
"frameDelay": 20,
"resultId": 0
}, {
"frameDelay": 20,
"resultId": 1
}]
}, {
"frameCount": 3,
"loopStartFrame": 0,
"animationElement": 2,
"animationType": 1,
"playbackMode": 2,
"frameData": [{
"frameDelay": 32,
"resultId": 2
}, {
"frameDelay": 2,
"resultId": 3
}, {
"frameDelay": 2,
"resultId": 4
}]
}],
"animationResults": [{
"resultType": 0,
"index": 0
}, {
"resultType": 0,
"index": 1
}, {
"resultType": 2,
"index": 0,
"positionX": 0,
"positionY": 0
}, {
"resultType": 2,
"index": 0,
"positionX": 1,
"positionY": 0
}, {
"resultType": 2,
"index": 0,
"positionX": -1,
"positionY": 0
}],
"resultCount": 5,
"labels": ["CellAnime0", "CellAnime1", "CellAnime2", "CellAnime3", "CellAnime4", "CellAnime5"],
"labelCount": 6
}
77 changes: 77 additions & 0 deletions res/pokemon/.shared/pl_poke_icon_cell_01.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
{
"labelEnabled": true,
"extended": true,
"cellCount": 2,
"mappingType": 0,
"cells": [{
"cellAttrs": {
"hFlip": false,
"vFlip": false,
"hvFlip": false,
"boundingRect": true,
"boundingSphereRadius": 6
},
"maxX": 15,
"maxY": 15,
"minX": -16,
"minY": -16,
"oamCount": 1,
"OAM": [{
"Attr0": {
"YCoordinate": 240,
"Rotation": false,
"SizeDisable": false,
"Mode": 0,
"Mosaic": false,
"Colours": 16,
"Shape": 0
},
"Attr1": {
"XCoordinate": 496,
"RotationScaling": 0,
"Size": 2
},
"Attr2": {
"CharName": 0,
"Priority": 0,
"Palette": 0
}
}]
}, {
"cellAttrs": {
"hFlip": false,
"vFlip": false,
"hvFlip": false,
"boundingRect": true,
"boundingSphereRadius": 6
},
"maxX": 15,
"maxY": 15,
"minX": -16,
"minY": -16,
"oamCount": 1,
"OAM": [{
"Attr0": {
"YCoordinate": 240,
"Rotation": false,
"SizeDisable": false,
"Mode": 0,
"Mosaic": false,
"Colours": 16,
"Shape": 0
},
"Attr1": {
"XCoordinate": 496,
"RotationScaling": 0,
"Size": 2
},
"Attr2": {
"CharName": 16,
"Priority": 0,
"Palette": 0
}
}]
}],
"labels": ["CellAnime0", "CellAnime1"],
"labelCount": 2
}
Loading

0 comments on commit 42230aa

Please sign in to comment.