Comments (7)
Added in commit ad79158, based on BlackDragonHunt's script. I've only tested this with about 100 files from Danganronpa Another Episode that I have here, but these all appear to decompress, and of course convert to PNG correctly.
I'm still considering this not well tested yet, tho, so if you're able to build Scarlet yourself, it would be great if you could maybe test more files from the other games, and give some feedback as to whether they convert properly or not.
from scarlet.
Thank you very much for adding the decompression!
I'm gonna test the tool, don't worry!
There are some black lines in some images. These ones are from DR2 (PSVITA) and they are gxt files compressed.
I can send you the files, if you need them.
PS: The tool doesn't delete the decompressed images after convert them to png.
from scarlet.
It would be great if you could ex. pack up and upload any files that have issues, such as these black lines.
As for the tool not deleting the decompressed images, the way it currently works might not lend itself to automatically deleting them, but I'll have a look into making that an option.
from scarlet.
Inside this zip you can find some of those files with black and grey lines.
fla_411.zip
Understood, thank you!
from scarlet.
Possibly fixed the black lines with commit 8bd483d. This still needs more testing with GXTs from other games, tho, as there's a chance that I might've broken conversion of some of them. I'll be doing that later today or tomorrow but so far it's looking alright, with previously problematic images from ex. Dengeki Bunko Fighting Climax and Puyo Puyo Tetris still converting fine.
Do feel free to try out this latest commit and check if you're still getting lines in any of the Danganronpa GXTs!
from scarlet.
Everything seems to be ok with the DR GXTs.
Thank you very much!
from scarlet.
Hm, I had to revert 8bd483d because it turned out to be causing problems with GXTs from various other games. So, for the Danganronpa GXTs, you should stay on that commit until I've worked out the correct fix for this issue; I'll also keep this report open.
Edit: commit a55415a redid some logic, and has hopefully fixed the Danganronpa GXTs without breaking any others. These, along with various GXTs from other games as listed in that commit's description, have been tested and work fine now. I hope I'll never have to mess around with that logic again, but with my luck, who knows :P
from scarlet.
Related Issues (20)
- Feature request: Parameter to skip user input HOT 2
- System.ArgumentException - Illegal Characters in path HOT 1
- convert txf to png HOT 2
- Unsupported GXT file HOT 4
- Converting .btx for DRAE:UDG PC HOT 2
- Export png to kslt
- Export GBIX to PNG HOT 12
- .png to .tex : Add support
- Custom "format detection" Attribute HOT 3
- PixelDataFormat.PixelOrderingSwizzledVita not working as expected HOT 4
- Nonstandard GXT in Vita YU-NO (no magic) HOT 9
- New KSLT format version
- Suggestion: Add support for decompression of strange journey redux files
- Index outside bounds
- Eating the end of GNF files.
- Says MPK files are not supported? HOT 1
- Unsupported GXT textures in MGS HD Collection HOT 1
- Not support txp format with ColorCount 0
- ADD SUPPORT TO SWITCH .TEX FORMAT
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scarlet.