F0NT3 Posted November 2, 2023 Share Posted November 2, 2023 (edited) Does anyone know how to convert textures to PNG? In the following link you can download some textures along with the corresponding image in png format obtained from the patapon 1 remastered game. p2r-samples.zip Thanks!!! p2r-samples.zip Edited November 7, 2023 by F0NT3 sharing ripped assets is forbidden, rule 11 1 Link to comment Share on other sites More sharing options...
Engineer wssdude Posted November 3, 2023 Engineer Share Posted November 3, 2023 Please, just share the game assets, not converted ones, if you want help with how to export them yourself... Few samples directly uploaded here in zip probably the best, no need to share whole collection. You may share the tool you extracted the files with, that may help things. But not the converted assets. Link to comment Share on other sites More sharing options...
F0NT3 Posted November 3, 2023 Author Share Posted November 3, 2023 (edited) The files I shared are the ones extracted from the game (29 files with their 29 pngs matching files) Only share the files that have the png equivalent of the patapon 1 game to make it easier to try to figure out the format. The patapon 2 remastered textures where extracted from the pak file: p2r-samples.zip Edited November 3, 2023 by F0NT3 Link to comment Share on other sites More sharing options...
Engineer wssdude Posted November 3, 2023 Engineer Share Posted November 3, 2023 Ah, understood... Probably still better to not share PNGs directly but thanks for clearing it up. Didnt issue any real warnings so dont worry 🙂 Link to comment Share on other sites More sharing options...
piken Posted November 9, 2023 Share Posted November 9, 2023 (edited) One curious thing I notice is that you often see a 7 (count) followed by 7 0xFF's 🤔. You'll probably need to find and step through the decompression code to figure it out... file=4bcf6d67_480624ab_64_64_0_0, offset=0x292, wrap=20, unit=uint8 Edited November 14, 2023 by piken Fix mistake about RLE Link to comment Share on other sites More sharing options...
Engineer Solution mrmemmo_ Posted November 15, 2023 Engineer Solution Share Posted November 15, 2023 file is compress. it's lz4 compression. you can decompress it and have bitmap array ( a8 type). remake header dds (a8 type) and you have dds file. convert dds to png or something else 1 Link to comment Share on other sites More sharing options...
F0NT3 Posted November 15, 2023 Author Share Posted November 15, 2023 The file seems not to be compressed, note that the image 02a05432_4078b45a_64_64_0_0 shows several times the color if you search for it Link to comment Share on other sites More sharing options...
Engineer mrmemmo_ Posted November 16, 2023 Engineer Share Posted November 16, 2023 you can learn about lz4 compression. since i work with it quite a lot, i can recognize what it is with scattered pieces of data 02a05432_4078b45a_64_64_0_0.zip Link to comment Share on other sites More sharing options...
F0NT3 Posted November 16, 2023 Author Share Posted November 16, 2023 12 hours ago, mrmemmo_ said: you can learn about lz4 compression. since i work with it quite a lot, i can recognize what it is with scattered pieces of data 02a05432_4078b45a_64_64_0_0.zip 7.31 kB · 2 downloads Can you tell me how to decompress the file? I am using the python lz4 library and it does not work. Thanks!!! Link to comment Share on other sites More sharing options...
Engineer mrmemmo_ Posted November 21, 2023 Engineer Share Posted November 21, 2023 i use c# Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now