ROM Hack 3DST files with "texture" as first seven bytes

  • Thread starter Thread starter jsa
  • Start date Start date
  • Views Views 3,830
  • Replies Replies 2

jsa

Well-Known Member
Member
Joined
Oct 21, 2015
Messages
224
Reaction score
213
Trophies
0
Location
Devon, UK
Website
muffinti.me
XP
416
Country
United Kingdom
I'm looking at Nintendo Anime Channel (which contains some lovely plaintext Lua scripts, but that's a different story) and it seems to use a unique texture format with a `.3dst` extension (first seven bytes are "texture" (0x74 0x65 0x78 0x74 0x75 0x72 0x65) followed by multiple null bytes).
Ohana3DS doesn't seem to like it - I've also tried the custom build here - https://gbatemp.net/threads/minecraft-3ds-modding.484407/ - but it simply crashes when given NAC's 3DST files. They seem to have a different header anyway so are likely different formats with the same extension.

I can't find any CTR-SDK tools to edit these files either.

A sample file can be found here:
https://dm13bvvnwveun.cloudfront.net/inazuma/thumbs/IE26-thumbnail.3dst

I'd really appreciate a hand here as I'm quite stuck.
 
I have the same problem

--------------------- MERGED ---------------------------

Try this...
You have to open them in the texture editor. Only works once when you open the app but then you can't use them anymore until you re-open the app.
 

Attachments

I'm coming a bit late, but I was able to figure out the format of the 3DST files. The file uses little endian encoding:

The format can be one of the following:
  • 0x0: RGBA8
  • 0x1: RGB8
  • 0x2: A8
  • 0x3: The app doesn't render anything. Seems to be unused?
  • 0x4: ETC1
  • 0x5: RGBA5551
  • 0x6: RGB565
  • 0x7: RGBA4
I have made a PR to Ohana3DS last year which makes it support this format

OffsetSizeDescription
0x00x7Magic "texture"
0x70x9Padding
0x100x2Width
0x120x2Height
0x140x1?Image format
0x150x6BPadding
0x80Image data
 
  • Like
Reactions: smileyhead

Site & Scene News

Popular threads in this forum