Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

Mario Tennis Aces .CBTEX, .CBNTX

Featured Replies

  • Author
  • Localization

CosmicDreams, posted Wed Sep 26, 2018 9:15 pm (38840)


So, MTA seems to store most of it's UI textures in .CBTEX files.
Looking at them in a hex editor shows that they are probably BNTX(A standard switch texture container)
Image
It's definitely compressed data, but can it be decompressed?
That is my question.

There is other compressed formats in the game(CBFMD, CBNTX etc etc), and there is a decompression script for them.
https://www.vg-resource.com/thread-29836.html (Source)
https://mega.nz/#!i5h03IRB!s7BYtPqmW9R4Vww1u_En-e24qbSXsnIwiCqgbwSASjU (BMS Script)

But apparently these CBTEX files use different compression.
Just thought i'd mention that too.

Here's a sample CBTEX:
https://cdn.discordapp.com/attachments/419711036837330956/494616951738466313/lyt_titlelogo_color.cbtex

And a sample CBNTX for comparisons sake:
https://cdn.discordapp.com/attachments/419711036837330956/494617475644784650/mario.cbntx
  • Author
  • Localization

Demonslayerx8, posted Thu Sep 27, 2018 10:11 am (38846)


sadly some of those texture files uses a different format that RTB is unable to figure out, just like the cubemaps since they're pretty much BNTX textures.
  • Author
  • Localization

CosmicDreams, posted Fri Sep 28, 2018 9:11 pm (38868)


Different format?
How would we know if the format is different if the data is compressed?
  • Author
  • Localization

CosmicDreams, posted Sat Sep 29, 2018 10:34 am (38875)


If the CBTEX stuff can't be decompressed, can the CBNTX and CBFMD files be re-compressed?
  • Author
  • Localization

Demonslayerx8, posted Tue Oct 02, 2018 9:42 am (38938)


CosmicDreams wrote:
Different format?
How would we know if the format is different if the data is compressed?

As in different texture type that is unknown and not documented, so getting them to export properly isn't pretty much a top priority to researchers.

CosmicDreams wrote:
If the CBTEX stuff can't be decompressed, can the CBNTX and CBFMD files be re-compressed?

there's no tool to re-compress or rebuild the files.
  • Author
  • Localization

LolHacksRule, posted Thu Apr 04, 2019 1:05 am (46452)


Fun fact, 2.3.0 has a portion of GZip compressed CBTEX :). It's waluigi_all_alb_l.cbtex and more.
  • Author
  • Localization

LolHacksRule, posted Sat Jun 15, 2019 3:48 pm (48810)


SimonTime figured out the compression! https://github.com/simontime/MarioTenni ... compressor

I don't think recompressing with 0x50 is necessary as some files are compressed as of updates with only deflate, making the game handle multiple compression types over one primary, meaning you likely could use modified deflates over modified 0x50s for any 0x50 file.

CBVFX: Compressed Binary VFX (NW_PTCL)
CBPTL: Compressed Binary ParTicLe (NW_PTCL)
CBFMD: Compressed Binary CaFe MoDel (BFRES)
CBTEX: Compressed Binary TEXture (BNTX for Switch)
CBNTX: Compressed Binary NX Texture (BNTX, Switch ONLY).

New compression was added as of updates, I'll say them later.
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.