Format [.FTC, .FTM] Dream soccer

Textures, recreate headers, conversions, algorithms and parsing of image files
HPAndroid
Posts: 67
Joined: Sun Mar 04, 2018 1:29 am

Format [.FTC, .FTM] Dream soccer

Post by HPAndroid »

Can someone help me to open these formats? :)
Image
------------------------------------------------------------------------------------------------------------------------------------------------------------
Image

Thank for all!
Acewell
Posts: 706
Joined: Fri Aug 08, 2014 1:06 am

Re: Format [.FTC, .FTM] Dream soccer

Post by Acewell »

what is the full game name and platform from which the sample came from?
is this the game?
https://play.google.com/store/apps/deta ... 3&hl=en_US

here is Quickbms script to convert your one ftc sample to pvr. :D

Code: Select all

# script for QuickBMS http://aluigi.altervista.org/quickbms.htm

get ZSIZE asize
get NAME basename
string NAME + .pvr
idstring "FTC4"
get SIZE long
get FLAG byte
get FLAG2 byte
get FLAG3 byte
get FLAG4 byte
get WIDTH short
get HEIGHT short
get FORMAT short //??
get MIPS short //??
savepos OFFSET
math ZSIZE - OFFSET

log memory_file 0x0 0x34
//build pvr header
goto 0x0 -1
put 0x03525650 long -1
put 0x0 long -1
if FORMAT == 0xe
    put 0x6 long -1 //ETC1
elif FORMAT == 0x21
    put 0x17 long -1 //ETC2 RGBA
endif
put 0x0 long -1
put 0x0 long -1
put 0x0 long -1
put HEIGHT long -1
put WIDTH long -1
put 0x1 long -1
put 0x1 long -1
put 0x1 long -1
put MIPS long -1
put 0x0 long -1

append
log NAME 0x0 0x34 -1
clog NAME OFFSET ZSIZE SIZE
append


supports ETC1 and ETC2 RGBA
you can open the resulting pvr file in PVRTexTool or maybe XnView with the pvr plugin for converting to usable.

the ftm file is a model, you can clearly see the vertex and indices data.
maybe try "Hex2obj" or "Model Researcher" to convert the data to common exchange format. :)
Last edited by Acewell on Sat Nov 14, 2020 12:08 am, edited 1 time in total.
HPAndroid
Posts: 67
Joined: Sun Mar 04, 2018 1:29 am

Re: Format [.FTC, .FTM] Dream soccer

Post by HPAndroid »

Acewell wrote:what is the full game name and platform from which the sample came from?
is this the game?
https://play.google.com/store/apps/deta ... 3&hl=en_US

here is Quickbms script to convert your one ftc sample to pvr. :D

Code: Select all

# script for QuickBMS http://aluigi.altervista.org/quickbms.htm

get ZSIZE asize
get NAME basename
string NAME + .pvr
idstring "FTC4"
get SIZE long
get FLAG byte
get FLAG2 byte
get FLAG3 byte
get FLAG4 byte
get WIDTH short
get HEIGHT short
get FORMAT short //??
get MIPS short //??
savepos OFFSET
math ZSIZE - OFFSET

log memory_file 0x0 0x34
//build pvr header
goto 0x0 -1
put 0x3525650 long -1
put 0x0 long -1
put 0x6 long -1 //ETC1
put 0x0 long -1
put 0x0 long -1
put 0x0 long -1
put HEIGHT long -1
put WIDTH long -1
put 0x1 long -1
put 0x1 long -1
put 0x1 long -1
put MIPS long -1
put 0x0 long -1

append
log NAME 0x0 0x34 -1
clog NAME OFFSET ZSIZE SIZE
append

supports ETC1
you can open the resulting pvr file in PVRTexTool or XnView with the pvr plugin for converting to usable.

the ftm file is a model, you can clearly see the vertex and indices data.
maybe try "Hex2obj" or "Model Researcher" to convert the data to common exchange format. :)



Thank you very much! It will be very helpful to me! :D
Can I ask you a question on the marginal :?: How do we understand and edit the .dat file :)
Dananx Davids
Posts: 2
Joined: Wed Jul 31, 2019 9:39 pm

Re: Format [.FTC, .FTM] Dream soccer

Post by Dananx Davids »

How to convert .pvr to .ftc?