ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Fri Oct 19, 2018 8:20 pm

All times are UTC




Post new topic  Reply to topic  [ 14 posts ] 
Author Message
PostPosted: Sat Aug 26, 2017 8:00 am 
User avatar

Joined: Sun Aug 17, 2014 7:27 pm
Posts: 1150
Game: http://store.steampowered.com/app/53868 ... Cold_Steel
Image


Attachments:
.phyre.rar [3.81 MiB]
Downloaded 145 times
.itf Fonts.rar [2.07 MiB]
Downloaded 169 times
Top
   
PostPosted: Tue Aug 29, 2017 5:56 am 
User avatar

Joined: Fri Aug 08, 2014 1:06 am
Posts: 516
here is a Noesis python script to open your *.dds.phyre and *.png.phyre samples :D
*script updated Dec 29, 2017*
Attachment:
tex_TheLegendofHeroesTrailsofColdSteel_phyre.zip [1.13 KiB]
Downloaded 151 times

supports dxt1, dxt3, dxt5, rgba32, argb32 and L8

_________________
Quickbms.com link thread
Search bms scripts


Last edited by Acewell on Fri Dec 29, 2017 3:45 pm, edited 8 times in total.

Top
   
PostPosted: Thu Dec 28, 2017 8:51 am 

Joined: Sun May 01, 2016 10:06 pm
Posts: 79
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


Last edited by TheUkrainianBard on Fri Dec 29, 2017 3:35 am, edited 1 time in total.

Top
   
PostPosted: Thu Dec 28, 2017 2:50 pm 
User avatar

Joined: Fri Aug 08, 2014 1:06 am
Posts: 516
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. :)

_________________
Quickbms.com link thread
Search bms scripts


Top
   
PostPosted: Fri Dec 29, 2017 4:05 am 

Joined: Sun May 01, 2016 10:06 pm
Posts: 79
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.


Attachments:
samples.zip [309.54 KiB]
Downloaded 65 times
Top
   
PostPosted: Fri Dec 29, 2017 3:50 pm 
User avatar

Joined: Fri Aug 08, 2014 1:06 am
Posts: 516
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. :)

_________________
Quickbms.com link thread
Search bms scripts


Top
   
PostPosted: Sat Dec 30, 2017 1:05 am 

Joined: Sun May 01, 2016 10:06 pm
Posts: 79
Thanks and Happy New Year's!
Until Cold Steel 2, which is set for "early 2018" release.


Top
   
PostPosted: Sat Jan 27, 2018 10:16 pm 
User avatar

Joined: Sun Aug 17, 2014 7:27 pm
Posts: 1150
Width and height to .itf fonts?


Top
   
PostPosted: Thu Feb 15, 2018 12:00 am 

Joined: Sun May 01, 2016 10:06 pm
Posts: 79
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)


Attachments:
samples.zip [119.51 KiB]
Downloaded 55 times
Top
   
PostPosted: Thu Feb 15, 2018 9:10 am 
User avatar

Joined: Fri Aug 08, 2014 1:06 am
Posts: 516
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
Attachment:
tex_TheLegendofHeroesTrailsofColdSteel2_phyre.zip [1.04 KiB]
Downloaded 114 times

_________________
Quickbms.com link thread
Search bms scripts


Top
   
PostPosted: Wed Apr 04, 2018 8:51 pm 
User avatar

Joined: Sun Aug 17, 2014 7:27 pm
Posts: 1150
The Legend of Heroes Trails of Cold Steel II .phyre
Game: http://store.steampowered.com/app/74849 ... d_Steel_II
Image

Example: https://www24.zippyshare.com/v/Kbr5ndjl/file.html


Top
   
PostPosted: Thu Apr 05, 2018 12:04 am 

Joined: Sun May 01, 2016 10:06 pm
Posts: 79
This should work on 100% of ToCS II PC textures.


Top
   
PostPosted: Thu Apr 05, 2018 8:18 am 
User avatar

Joined: Fri Aug 08, 2014 1:06 am
Posts: 516
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 :)

_________________
Quickbms.com link thread
Search bms scripts


Top
   
PostPosted: Thu Apr 05, 2018 9:55 am 
User avatar

Joined: Sun Aug 17, 2014 7:27 pm
Posts: 1150
Image

Thanks a lot my friends for helping.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 14 posts ] 

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited