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.

The Legend of Heroes: Trails of Cold Steel .phyre textures and .itf fonts

Featured Replies

  • Author
  • Localization

TheUkrainianBard, posted Thu Dec 28, 2017 8:51 am (31076)


Better late than never.
Slightly enhanced for mainly export (vertical flip) DXT3 & ARGB8888 reading, although no LA88

UPD: removed the file because of Acewell's update
  • Author
  • Localization

Acewell, posted Thu Dec 28, 2017 2:50 pm (31085)


TheUkrainianBard wrote:
(vertical flip) DXT3 & ARGB8888 reading, although no LA88

great! script updated with your additions and added support for "LA88",
let me know if it works for you or not, the only samples i had are in the first post. :)
  • Author
  • Localization

TheUkrainianBard, posted Fri Dec 29, 2017 4:05 am (31099)


Thank you for your bother, Acewell.
Turns out there is no LA88 but L8. I swear I've seen LA88 somewhere...

The file attached is what I believe is an exhaustive sample list. There is one file that doesn't open (apart from L8) but is ought to be RGBA8888. It's in separate folder.
  • Author
  • Localization

Acewell, posted Fri Dec 29, 2017 3:50 pm (31113)


okay script updated again, it works with all your samples now. :D
the problem with that rgba8888 image was the case sensitvity in type check.
DDS.phyre and dds.phyre are considered 2 different things, so i just lower cased everything stored in the variable. :)
  • Author
  • Localization

TheUkrainianBard, posted Sat Dec 30, 2017 1:05 am (31116)


Thanks and Happy New Year's!
Until Cold Steel 2, which is set for "early 2018" release.
  • Author
  • Localization

makc_ar, posted Sat Jan 27, 2018 10:16 pm (31982)


Width and height to .itf fonts?
  • Author
  • Localization

TheUkrainianBard, posted Thu Feb 15, 2018 12:00 am (32466)


Works with Trails of Cold Steel II _IF_ you change line 39 from
Code:
    bs.seek((myIndex   tmp) - 0x52, NOESEEK_ABS)
to
Code:
    bs.seek((myIndex   tmp) - 0x56, NOESEEK_ABS)
  • Author
  • Localization

Acewell, posted Thu Feb 15, 2018 9:10 am (32471)


see thats the problem with this format, there is really no versioning aside from platform that i see to distinguish phyre from one game to the next, but there is subtle changes in how some data is stored. the only sure way to make a catch-all phyre script is to read the phyre structure properly and i'm just not interested in reproducing official specs. i just recently made a phyre script for another game and the width and height was stored just before "PTexture2D" instead of 0x52 and 0x56 back and the next game might change again, so it becomes endless tinkering. to simplify i think there should be a different script for each game because these are really one-time use scripts anyway and it only takes a second to move a conflicting script out of the python folder, i mean once you convert all the textures from that game you won't need that script again. i'd rather just modify the line and rename the script instead of adding new if statements, checks, conditions etc every other week when the next game is extracted. :)

this should probably go in a new thread but here is the simple modification :D

tex_TheLegendofHeroesTrailsofColdSteel2_phyre.zip

  • Author
  • Localization

TheUkrainianBard, posted Thu Apr 05, 2018 12:04 am (33813)


This should work on 100% of ToCS II PC textures.
  • Author
  • Localization

Acewell, posted Thu Apr 05, 2018 8:18 am (33819)


makc_ar wrote:
The Legend of Heroes Trails of Cold Steel II .phyre

posted a script for that game in my previous post above yours back in February :)
  • Author
  • Localization

makc_ar, posted Thu Apr 05, 2018 9:55 am (33823)


Image

Thanks a lot my friends for helping.
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.