{"id":16086085,"url":"https://github.com/jayfoxrox/thps2-tools","last_synced_at":"2025-03-18T06:30:40.034Z","repository":{"id":77255860,"uuid":"211664680","full_name":"JayFoxRox/thps2-tools","owner":"JayFoxRox","description":"A collection of tools for Tony Hawk's Pro Skater 2 (Neversoft Big Guns engine)","archived":false,"fork":false,"pushed_at":"2020-01-03T23:20:37.000Z","size":22,"stargazers_count":23,"open_issues_count":3,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-16T17:39:19.648Z","etag":null,"topics":["activision","apocalypse","disassembly","file-formats","game","hawk","level","neversoft","reverse-engineering","thps","thps2","thps3","thps4","tony","tools"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JayFoxRox.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-09-29T13:08:57.000Z","updated_at":"2025-03-03T17:53:07.000Z","dependencies_parsed_at":"2023-02-27T09:31:18.545Z","dependency_job_id":null,"html_url":"https://github.com/JayFoxRox/thps2-tools","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JayFoxRox%2Fthps2-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JayFoxRox%2Fthps2-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JayFoxRox%2Fthps2-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JayFoxRox%2Fthps2-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JayFoxRox","download_url":"https://codeload.github.com/JayFoxRox/thps2-tools/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244169268,"owners_count":20409688,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["activision","apocalypse","disassembly","file-formats","game","hawk","level","neversoft","reverse-engineering","thps","thps2","thps3","thps4","tony","tools"],"created_at":"2024-10-09T13:10:25.417Z","updated_at":"2025-03-18T06:30:39.714Z","avatar_url":"https://github.com/JayFoxRox.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"This is a collection of tools for Tony Hawk's Pro Skater 2.\n\nThere's a lot of overlap with these other games, potentially based on the Neversoft Big Guns engine:\n\n- SW: Skeleton Warriors\n- AP: Apocalypse\n- MDK: MDK (PlayStation)\n- SM: Spiderman\n- THPS1!April9: Tony Hawk's Pro Skater 1 (April 9 1999 build)\n- THPS1!July7: Tony Hawk's Pro Skater 1 (July 7 1999 build)\n- THPS1!July10: Tony Hawk's Pro Skater 1 (July 10 1999 build)\n- THPS1: Tony Hawk's Pro Skater 1\n- SM2: Spider-Man 2: Enter: Electro\n- THPS2: Tony Hawk's Pro Skater 2\n- THPS2X: Tony Hawk's Pro Skater 2x\n- MH: Mat Hoffman's Pro BMX\n- THPS3: Tony Hawk's Pro Skater 3 (PlayStation / N64)\n- SDH: Sea-Doo Hydrocross (PlayStation)\n- THPS4: Tony Hawk's Pro Skater 4 (PlayStation)\n\n\n## Known formats\n\n### DDX: extract-ddx.py (THPS2X-Xbox)\n\nExtracts THPS2X DDX files (Texture collections).\n\n### DDM: disassemble-ddm.py (THPS2X-Xbox)\n\nMake THPS2X DDM files (Material collections) human-readable.\n\n### TRG: disassemble-trg.py (THPS1 / THPS2 / SM)\n\nMake THPS2 TRG files (Scripts / Commands and level meta-data) human-readable.\n\nA lot of this is based on SYMBOLS.TDF, which is included in THPS2 (Windows).\n\n### PRK: disassemble-prk.py (THPS2 / THPS2X)\n\nDisassembles THPS2 PKR files (User created skatepark).\n\n### PKR: extract-pkr.py (?)\n\nExtracts PKR file.\n\n### PSX: psxviewer.c (THPS1 / THPS2 / SM)\n\nViewer for PSX files.\n\nStolen from https://gist.github.com/iamgreaser/2a67f7473d9c48a70946018b73fa1e40\n\n\n## Unknown formats\n\nThere's additional file formats which are commonly found in THPS2:\n\n- BON (THPS2X-Xbox) = Likely mesh and texture for characters.\n- REC (THPS2-Windows) = Replay files\n- THPS2 CRETEX.BIN = A list of items for skater editor.\n- THPS2 PRE = Container format for small files, assembled from S files\n- THPS2 PSX = Level files (psxviewer.c exists, but Blender 2.80 importer would be good)\n- THPS2 FNT = Font glyph map\n- THPS2 CD.HET/CD.HEP = List of files on CD\n- THPS2 CD.HED/CD.WAD = Container for files on CD\n- THPS2 SBL = Some debug symbols\n- THPS2 SFX = Some sound-effect list\n- THPS2 TS = Trick list\n\n\n\n## Other formats\n\n### STR\n\nPlayStation STR video file format. See https://github.com/m35/jpsxdec/blob/readme/jpsxdec/PlayStation1_STR_format.txt\n\n### SFX.VAB (THPS1!-PlayStation)\n\nPlayStation VAB audio file format.\n\n### CT.PAL (THPS1!-PlayStation)\n\nMicrosoft RIFF Palette.\n\n### title_h.zlb (THPS1!-PlayStation)\n\n`gunzip` to extract BMR image; 640x480, 16 bit per pixel little-endian grayscale.\n\n### BMR (THPS1!-PlayStation)\n\nRaw image files, 16 bit per pixel, with 8 byte zero-footer.\nTypically 640x480, or 512x240.\n\n### SYMBOLS.TDF (THPS2-Windows)\n\nThis was likely assembled from a SYMBOLS.S (using a tool called stotdf.exe)\n\n### PSH (THPS2-Windows)\n\nHeader files\n\n### S\n\nAssembler directives. The following files are named in other files, or exist.\nThe assembler was either something custom, or common.\nPossibly different tools were used for different tasks.\n\n#### SCRIPT.S\n\nThis uses another tool to handle S files.\n\n### BMP (THPS2-Windows)\n\nWindows Bitmap.\n\n### DDS (THPS2X-Xbox)\n\nDirectDraw Surface file.\n\n### WAV (THPS2-Windows)\n\nRIFF file format for audio.\nWindows version uses: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, mono 44100 Hz.\n\n### TXT\n\nMost of these are left-overs from debugging / development.\n\nHowever, there's some additional files which the game potentially uses.\n\n#### CDPARKS.TXT\n\nList of user created parks that are included with the game.\n\n\n## Further reading\n\n* [Hex Editing Created Parks (THPS2)](http://webcache.googleusercontent.com/search?q=cache:uUdAddR8ZGoJ:planettonyhawk.gamespy.com/Viewf0fe.php)\n* [Mick West Blog article: Practical Hash IDs (Used in Tony Hawk engine)](http://cowboyprogramming.com/2007/01/04/practical-hash-ids/)\n* [Mick West Blog article: Evolve Your Hierarchy (Used in later Tony Hawk games; also describes earlier games)](http://cowboyprogramming.com/2007/01/05/evolve-your-heirachy/)\n* [THPS blender importer/exporter (io_thps_scene)](https://github.com/denetii/io_thps_scene)\n* [PSX file format documentation](https://gist.github.com/iamgreaser/b54531e41d77b69d7d13391deb0ac6a5)\n* [List of all bruteforced filenames in THPS1 (PlayStation)](https://gist.github.com/iamgreaser/ee48ac4adb0a18fc8928eb8494703730)\n* [spidey-tools](https://github.com/krystalgamer/spidey-tools)\n\n\n## License\n\nThe files in this repository may be used under MIT License (see LICENSE.md) unless noted otherwise in the respective file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjayfoxrox%2Fthps2-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjayfoxrox%2Fthps2-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjayfoxrox%2Fthps2-tools/lists"}