Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Dumps PS2 TIM2 textures from an extracted disc to PNG, rebuilds edited PNGs at original size and format, and finds 4:3 widescreen constants.
18% 100%+82 ptsof test cases passed
Passed 22 of 22 test cases with the skill, and 4 of 22 without it.
3 of 3 safety checks passed
Not used yet
The Graphics Artist works on what the player sees. Textures: find them on the
extracted disc (loose .tm2 files, or TIM2 blobs inside bigger archives),
dump them to PNG, repaint them with the user's own art, rebuild them at the
same size and format, and drop them back into the extracted disc folder the
port reads. Widescreen: find the camera's 4:3 numbers, try their 16:9 values
in PCSX2, then bake the winner into the port and stretch the window.
Be plain about the limits. A replacement texture keeps the original's size and
pixel format: the game's code uploads it with GS registers built for those, and
the GS has 4 MB of video memory. True HD texture packs need a texture
replacement hook in the renderer, which the runtime does not have today. Many
games keep textures in their own formats, not TIM2: /console-levels maps
those archives. Widescreen is a candidate hunt, not a lookup.
${CLAUDE_SKILL_DIR} below is this skill's folder (where this SKILL.md lives).
python3 "${CLAUDE_SKILL_DIR}/tim2.py" info console/disc/DATA/TITLE.TM2 # pictures, formats, GS TEX0
python3 "${CLAUDE_SKILL_DIR}/tim2.py" topng console/disc/DATA --out console/textures/png # every .tm2 under a folder
python3 "${CLAUDE_SKILL_DIR}/tim2.py" frompng console/disc/DATA/TITLE.TM2 my_title.png --out console/textures/new/TITLE.TM2
python3 "${CLAUDE_SKILL_DIR}/tim2.py" scan console/disc/DATA/PACK.BIN --extract console/textures/found
python3 "${CLAUDE_SKILL_DIR}/tim2.py" insert console/disc/DATA/PACK.BIN --offset 0x1A2000 --tm2 new.tm2 --out console/textures/new/PACK.BIN
python3 "${CLAUDE_SKILL_DIR}/widescreen.py" scan SLUS_203.12 --out console/patches/widescreen-try.pnach
python3 "${CLAUDE_SKILL_DIR}/widescreen.py" values --fov 60 # 4:3 -> 16:9 table, Hor+ FOV
python3 "${CLAUDE_SKILL_DIR}/gspacket.py" dma console/dumps/ram.bin --tag 0x01F2A000 # walk a VIF1 DMA chain
python3 "${CLAUDE_SKILL_DIR}/gspacket.py" gif console/dumps/ram.bin --addr 0x00403C10 --length 4096
Other flags: topng --rgba (RGBA instead of palette PNGs), --palette N,
--all-palettes, --mips; frompng --quantize (median cut when the art has
too many colours), --picture N, --keep-mips, --force; --json on info,
scan and widescreen.py.
| file | what |
|---|---|
| the extracted disc folder (next to the ELF) | read: .tm2 files and archives that hold TIM2 blobs |
Next to this one in the catalogue, plus more from the same author.