On the made hunt to convert some of the smaller items from SR3 over to SR4 (like the items that were turned into combined costumes, or items that were left out/replaced).
I am wondering what exactly is needed for an item of clothing in the SR3 and/or SR4 engines.
Looking through different VPP_PC packfiles I can see the following is needed for 1 item in game:
2 custmesh_******.str2_pc files, one male and one female (with an f designation at the end of the number for the female)
2 *_pc.cmorph_pc files (male starts with cm_ and female variant starts with cf_)
the customize_item.asm (or variants like dlc1_customize_item.asm that is in the dlc1.vpp_pc pack file for SR3).
A version of customization_items.xtbl (or dlc*_customization_items.xtbl for a dlc)
A version of customization_outfits.xtbl (or dlc*_customization_outfits.xtbl for dlc)
And possibly the Customization_stores.xtbl (so the items are listed at the correct store).
It was mentioned in another thread that mesh and morphs inside the str2_pc pack files might be compatible between SR3 and SR4, but what about the separate cmorph_pc file that works with the str2_pc?
http://www.saintsrowmods.com/forum/...h-armor-was-it-removed.3363/page-3#post-33142
And if Someone was to make a custom vpp (example: SR3_customize_items.vpp_pc) that repacked the str2's into a SR4 format and included extra tables like the DLC's do.
Would this work as a stand alone mod.
In other words, if the vpp was created correctly a user would just drop this single file into the "cache" folder and the engine would add the additions from the tables in the vpp to the games existing tables. As well as load the cmorph and str2's so the player would see and be able to use the items in the game.
For current SR4 mods we do a really rough install.
We modify existing tables or str2's and drop those modified files into the root folder along with a copy of the asm files.
Then we use the SR4 tools stream2update to get the asm file to work with the changed files in the root directory.
I actually want to go the route of creating unique vpp's that with add content, instead of replacing content.
What we can currently do (9/7/2013) is this.
We are currently able to use Minimaul's version 1.8 SR4 toolkit is to unpack/repack SR4 str2, vpp's, and etc. As well as Update ASM files (this is a great tool set and I would be lost without it).
Use the SR3 unpack/repack texture tool set to extract DDS files from the cpeg/gpeg files within the str2's (allowing modification and repacking of the textures).
With Gibbed SR3 toolset we can convert SR3 ASM's to an XML format (then use an xml editor like notepad++ to extract relevant data for an item).
We are still missing an ASM to XML/XML to ASM tool for SR4 (the gibbed SR3 version crash's when trying to read an SR4 ASM file).
And I am currently unsure on the cmorph_pc files. If this has changed from SR3 to SR4, then a conversion tool will be needed as well for the older items to be carried over to SR4.
Hopefully with the SDK coming in the future we will be able to create completely new content and create versions of that content not only for SR4 but for SR3 as well.
If I missed anything that is needed for an item of clothing, please let me know what it is...
Thanks in advance
I am wondering what exactly is needed for an item of clothing in the SR3 and/or SR4 engines.
Looking through different VPP_PC packfiles I can see the following is needed for 1 item in game:
2 custmesh_******.str2_pc files, one male and one female (with an f designation at the end of the number for the female)
2 *_pc.cmorph_pc files (male starts with cm_ and female variant starts with cf_)
the customize_item.asm (or variants like dlc1_customize_item.asm that is in the dlc1.vpp_pc pack file for SR3).
A version of customization_items.xtbl (or dlc*_customization_items.xtbl for a dlc)
A version of customization_outfits.xtbl (or dlc*_customization_outfits.xtbl for dlc)
And possibly the Customization_stores.xtbl (so the items are listed at the correct store).
It was mentioned in another thread that mesh and morphs inside the str2_pc pack files might be compatible between SR3 and SR4, but what about the separate cmorph_pc file that works with the str2_pc?
http://www.saintsrowmods.com/forum/...h-armor-was-it-removed.3363/page-3#post-33142
And if Someone was to make a custom vpp (example: SR3_customize_items.vpp_pc) that repacked the str2's into a SR4 format and included extra tables like the DLC's do.
Would this work as a stand alone mod.
In other words, if the vpp was created correctly a user would just drop this single file into the "cache" folder and the engine would add the additions from the tables in the vpp to the games existing tables. As well as load the cmorph and str2's so the player would see and be able to use the items in the game.
For current SR4 mods we do a really rough install.
We modify existing tables or str2's and drop those modified files into the root folder along with a copy of the asm files.
Then we use the SR4 tools stream2update to get the asm file to work with the changed files in the root directory.
I actually want to go the route of creating unique vpp's that with add content, instead of replacing content.
What we can currently do (9/7/2013) is this.
We are currently able to use Minimaul's version 1.8 SR4 toolkit is to unpack/repack SR4 str2, vpp's, and etc. As well as Update ASM files (this is a great tool set and I would be lost without it).
Use the SR3 unpack/repack texture tool set to extract DDS files from the cpeg/gpeg files within the str2's (allowing modification and repacking of the textures).
With Gibbed SR3 toolset we can convert SR3 ASM's to an XML format (then use an xml editor like notepad++ to extract relevant data for an item).
We are still missing an ASM to XML/XML to ASM tool for SR4 (the gibbed SR3 version crash's when trying to read an SR4 ASM file).
And I am currently unsure on the cmorph_pc files. If this has changed from SR3 to SR4, then a conversion tool will be needed as well for the older items to be carried over to SR4.
Hopefully with the SDK coming in the future we will be able to create completely new content and create versions of that content not only for SR4 but for SR3 as well.
If I missed anything that is needed for an item of clothing, please let me know what it is...
Thanks in advance
Last edited: