FSH to PNG BMS script and FSH reimport png

Textures, recreate headers, conversions, algorithms and parsing of image files
devsuperle98
Posts: 5
Joined: Mon Nov 19, 2018 9:45 am

FSH to PNG BMS script and FSH reimport png

Post by devsuperle98 »

I've been trying to edit FSH files...but some are highly compressed...I used a FSH to PVR bMS script to convert it to PVR ..but I'm still finding trouble editing it in Photoshop...
Can somebody,with a proper knowledge on BMS scripting help me out? :( is there a script that could convert and reimport FSH to PNG and vice versa...that is extract FSH into its PNG files....and reimporting these PNG files into FSH???
I would be deeply grateful if a solution could be provided....
episoder
Posts: 123
Joined: Fri Oct 27, 2017 7:36 pm

Re: FSH to PNG BMS script and FSH reimport png

Post by episoder »

no. won't work. assuming you talking about fifa fsh files. the scripts i wrote extract and reinject just the texture data chunks. this data is etc or some other pvr aka erikson style mobile compression. converting this to png is not possible with qbms. the extarction of those singular or multiple file containers could potentially be done in noesis. i don't really care tho, since the re-conversion backwards into those fsh file containers is not possible. todo that, the file container should be exactly replicated, which can't be done without the precise format specification.
devsuperle98
Posts: 5
Joined: Mon Nov 19, 2018 9:45 am

Re: FSH to PNG BMS script and FSH reimport png

Post by devsuperle98 »

Any convenient PVR editors other than Photoshop or pvrtextool?

For quickbms,should we edit/modify the same file we extracted from the FSH...or can we create a new file and rename so it matches the extracted name and then reimport?

So u are saying the FSH files can only be converted to PVR formats and no other formats,sir?
Last edited by devsuperle98 on Fri Dec 07, 2018 1:26 pm, edited 1 time in total.
devsuperle98
Posts: 5
Joined: Mon Nov 19, 2018 9:45 am

Re: FSH to PNG BMS script and FSH reimport png

Post by devsuperle98 »

Also....do u know FIFA android modding?
episoder
Posts: 123
Joined: Fri Oct 27, 2017 7:36 pm

Re: FSH to PNG BMS script and FSH reimport png

Post by episoder »

the file you wanna reimport gotta be the same width, height, format, same amount of mipmaps and overall filesize and data structure. how you edit or copypaste this isyour problem, as long as the file is a correct and valid pvr file with this particular name, yes.

i dunno about any other file formats that allows the etc and astc compression as a data block format. there's a modified specification to output etc and astc into the dds container, but i think this specification is not official and i don't care to find an image editor that implemented this inofficial format support. hence why the pvr (the actual gpu manufacturer) specification as the safe choice.

and... no... i'm not into fifa modding (or soccer in general). :)
luiscarlosapeu
Posts: 8
Joined: Wed Jan 22, 2020 2:57 pm

Re: FSH to PNG BMS script and FSH reimport png

Post by luiscarlosapeu »

This case certainly has to do with the headache in modifying club uniforms, which most of the time do not work perfectly within the game, even if the final reimportation to Kits_etc.Big and then to .OBB is a success.
The problem I also believe is in the source, in this case, the .PVR files, maybe editing via PVRTexTool (even encoding to ETC) changes the default values ​​at the root of the .PVR file exorbitantly and I believe that Photoshop is more effective to save the file with the same root characteristics as the original, but the question is to find a valid Photoshop Plugin, I still haven't been able to modify it since I always have conflict on my PS with the PVR-plugin (have found in sites).
Do you know any plug-in that is valid for all versions of Photoshop?