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.

True Crime: New York City .TAG Texture Files

Featured Replies

  • Author
  • Localization

WillWNTD, posted Sat Apr 02, 2022 5:30 pm (70825)


Hi, I was trying to edit True Crime: New York City textures and found that they can be partially opened in TextureFinder, so I suppose the file structure is not that complicated. Could someone take a look and help me if possible? Thanks in advance.

Here are some screenshots of the textures opened in TextureFinder:
https://imgur.com/a/OhGm26t

Sample file below.
  • Author
  • Localization

rabatini, posted Sun Apr 03, 2022 4:04 pm (70834)


have images dxt5 and raw mixed.
the ideal thing is separate them from file.



Image
  • Author
  • Localization

WillWNTD, posted Sat Apr 09, 2022 3:22 pm (70984)


rabatini wrote:
have images dxt5 and raw mixed.
the ideal thing is separate them from file.

[email protected]

Image


Got it. How did you extract an image separately? Did you use TextureFinder too?
  • Author
  • Localization

WillWNTD, posted Fri Jun 03, 2022 5:36 pm (71818)


Bump.

@Allen can you take a look, please? thanks in advance
  • Author
  • Localization

spiritovod, posted Fri Jun 03, 2022 11:13 pm (71825)


Here is script for extracting separate files from .tag (which are texture collections). In subfolders there will be raw DXT1/5 textures, the rest are bitmap fonts/texts in most cases (in other formats like bgra5551).

true_crime_tag.bms

  • Author
  • Localization

Allen, posted Sat Jun 04, 2022 2:54 pm (71842)


Noticed this thread.
Thanks rabatini and spiritovod for sharing the information.

Here is some of my analysis:
This is a Noesisy python script, just for viewing.
If you want to edit font textures, you will need to write custom tools, just for reference.

format:
4 = font 16bpp rgba4444
12 = dxt1
15 = dxt5

Some coordinate data is included in front of the font texture data. For example, X,Y coordinates, char width, char height.

TAG File Format 010 Editor Binary Template:
https://gist.github.com/leeao/dcde28347 ... 60f792744f

tex_TrueCrimeNewYorkCity_tag.zip

  • Author
  • Localization

rabatini, posted Sat Jun 04, 2022 4:51 pm (71845)


Allen wrote:
Noticed this thread.
Thanks rabatini and spiritovod for sharing the information.

Here is some of my analysis:
This is a Noesisy python script, just for viewing.
If you want to edit font textures, you will need to write custom tools, just for reference.

format:
4 = font 16bpp rgba4444
12 = dxt1
15 = dxt5

Some coordinate data is included in front of the font texture data. For example, X,Y coordinates, char width, char height.

TAG File Format 010 Editor Binary Template:
https://gist.github.com/leeao/dcde28347 ... 60f792744f


Nice Allen.

He can use MummGGtool to edit and insert some textures, but it will have to put coord manually Width and height, bpp etc..
Better than nothing

download/file.php?id=12101
  • Author
  • Localization

WillWNTD, posted Mon Jun 06, 2022 7:07 pm (71880)


Thanks to all of you for your help! I was able to extract and edit the font texture, but I couldn't reimport it using MummGGtool. Can any of you guys explain to me how I can see the coordinate data, width, height, etc?
  • Author
  • Localization

Allen, posted Thu Jun 09, 2022 4:13 pm (71917)


WillWNTD wrote:
Thanks to all of you for your help! I was able to extract and edit the font texture, but I couldn't reimport it using MummGGtool. Can any of you guys explain to me how I can see the coordinate data, width, height, etc?


I wrote a Noesis tool plugin specifically for fonts.
It allows you to edit font coordinates and replace textures.
The default texture is DDS 32-bit RGBA format.
To get the coordinates you can use the PhotoShop ruler tool.
The default X, Y is the upper left coordinate, and the height is stored at half the normal height.


Select the tag file and right-click, select the corresponding operation to extract or import.
The default is to add a new file with the extension _repack.tag.
Character encoding are arranged in order of size.
If a new code is added, if the code is not continuous, that is, the code difference is greater than 1, the corresponding intermediate code data needs to be filled.
The encoding is limited to a maximum of 255.

*EDIT*:
Important
Don't forget to check Noesis menu bar->Tools->Display Plugin Tools.

make sure both tex and tool .py script in plugins/python folder.

Image
Image

tool_tag_font.zip

  • Author
  • Localization

WillWNTD, posted Sat Jun 11, 2022 7:39 pm (71969)


Allen wrote:
WillWNTD wrote:
Thanks to all of you for your help! I was able to extract and edit the font texture, but I couldn't reimport it using MummGGtool. Can any of you guys explain to me how I can see the coordinate data, width, height, etc?


I wrote a Noesis tool plugin specifically for fonts.
It allows you to edit font coordinates and replace textures.
The default texture is DDS 32-bit RGBA format.
To get the coordinates you can use the PhotoShop ruler tool.
The default X, Y is the upper left coordinate, and the height is stored at half the normal height.

put .py to plugins floder.
Select the tag file and right-click, select the corresponding operation to extract or import.
The default is to add a new file with the extension _repack.tag.
Character encoding are arranged in order of size.
If a new code is added, if the code is not continuous, that is, the code difference is greater than 1, the corresponding intermediate code data needs to be filled.
The encoding is limited to a maximum of 255.
Image


Thanks Allen, but unfortunately it didn't work for me. I put the plugin in the noesisv4464\plugins\python folder and also reloaded the plugins through Noesis but it seems that it is not recognized. I tested it on two different computers and it didn't work, did I do something wrong? Your other plugin for viewing textures worked perfectly.

Image
  • Author
  • Localization

Allen, posted Sun Jun 12, 2022 1:20 am (71973)


WillWNTD wrote:

Thanks Allen, but unfortunately it didn't work for me. I put the plugin in the noesisv4464\plugins\python folder and also reloaded the plugins through Noesis but it seems that it is not recognized. I tested it on two different computers and it didn't work, did I do something wrong? Your other plugin for viewing textures worked perfectly.

Image

Sorry, forgot to tell you:
you need to check Noesis menu bar->Tools->Display Plugin Tools.

make sure both tex and tool .py script in plugins/python folder.
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.