Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gust_g1t: support for type 0x48 (3DS) #66

Open
smiRaphi opened this issue Aug 2, 2022 · 2 comments
Open

gust_g1t: support for type 0x48 (3DS) #66

smiRaphi opened this issue Aug 2, 2022 · 2 comments

Comments

@smiRaphi
Copy link

smiRaphi commented Aug 2, 2022

None of the textures from Spirit Camera - The Cursed Memoir work
0x48_3ds_spirit_cam.zip

@VitaSmith
Copy link
Owner

Thanks. I'll try to take a look when I get a chance, but it could be a long while...

@eArmada8
Copy link

eArmada8 commented Jan 11, 2025

More information on 0x48 (and possibly 0x47, which is apparently the same format without the alpha):

0x48, according to Project_G1M, a form of ETC1 texture that is specific to the PICA200. The ETC1 texture (4 bytes per pixel, 4-bit alpha, etc1a4, I think?) is vertically flipped, endian swapped, tiled with linear 2x2 etc blocks - I think? This is based on the headers in Noesis (which itself is closed source) that Project_G1M depends on.

I attached a sample g1t, and decoded .dds files (using noesis to decode the textures to r8g8b8a8).
00000468.zip

I also found a program that can do 3ds texture conversion, and it has an ETC1 mode and ETC1A4 mode, which I suspect correspond to 0x47 and 0x48 respectively.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants