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.

Wayforward *.TS4/*.TS8 (NDS?)

Featured Replies

  • Author
  • Localization

LolHacksRule, posted Tue Jul 13, 2021 6:15 pm (65179)


I'm trying to datamine a game from Wayforward, being Looney Tunes: Duck Amuck for the Nintendo DS, most of the textures aren't in archives, but and I suspect they are raw in the following files. I think the header has information about the height and width but I'm not too sure or even know the compression format. Any advice on these files?
  • Author
  • Localization

grandshot, posted Wed Jul 14, 2021 6:05 pm (65198)


Seems like paletized format, but simple substitution of values from tables (which looks like rgba data) by their IDs from Info structs cannot give any result approximate to textures.
Template below:

Code:
struct HEADER {
    int16 flag; // 1 for ts8 and 0 for ts4
    uint16 numInfo; //palette ids??
    uint32 numTables; //palettes?
};

struct INFO {
    uint16 tableId[4]; // sometimes can be biggest then numTables. Some bits interprets as flags?
};

struct TABLE {
    if( header.flag ) ubyte value[64]; //64 bytes table for ts8
    else ubyte value[32]; //and 32 for ts4
};

HEADER header;
INFO info[header.numInfo];
TABLE table[header.numTables];
  • Author
  • Localization

LolHacksRule, posted Sun Jul 18, 2021 6:50 pm (65247)


Thank you so much, I tried TileMolester but I still cannot read the images.
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.