Use "ThomasJepp.SaintsRow.Stream2.exe <filename> update"
Edit: But as I said before, you should really do this step when you build the packfiles, otherwise I can't guarantee it will work correctly - it uses the order of the files in the ASM to decide how to create the str2_pc file.
I thank you sir for the info on how it uses the order of the files in the ASM
to decide how to create the str2_pc file.
I was able to build the packfiles for my SRIV gun textures mod with the
ThomasJepp.SaintsRow.BuildPackfileGUI.exe and updated
the ASM files consecutively using each new ASM from
the previously built .str2_pc as I
added each .str2_pc to the mod.
What would you recommend in the case when a .str2_pc file needs to be
removed
from the mod and then the ASM files require updating ?
This mod now contains 10 .str2_pc files in which the present ASM files reflect.
How would one update the ASM files to now refer to the 9 remaining .str2_pc files ?
( I have the full legal Steam version installed in the default location
--> C:\Program Files (x86) \Steam\SteamApps\common\Saints Row IV )
Below are the files for my SRIV gun textures mod located within the
SRIV default root folder. ( shown above )
main_streaming_weapons.asm_pc -- to be updated minus the removed file
items_containers.asm_pc -- to be updated minus the removed file
AssaultRifle_A_high.str2_pc
assaultrifle_a_sk1_high.str2_pc
HeavyPistol_A_high.str2_pc
heavypistol_gold_high.str2_pc
heavypistol_onyx_high.str2_pc
pump_shotgun_camo.str2_pc
PUMP_SHOTGUN_high.str2_pc
SMG_LARGE_A_high.str2_pc
smg_large_pink.str2_pc
SMG_SMALL_A_high.str2_pc --
to be removed from mod
--------------------------------------
These are the batch files I made that are located in the folder shown below
that contains all the tools ( ThomasJepp.SaintsRow.Stream2.exe )
V:\z-SR4-ModdingV\0-Tools\ThomasJepp.SaintsRow-rev54\
Batch_Update_MainStreamingWeaponsASM.bat
ThomasJepp.SaintsRow.Stream2.exe main_streaming_weapons.asm_pc update
Pause
Batch_Update_itemsContainersASM.bat
ThomasJepp.SaintsRow.Stream2.exe items_containers.asm_pc update
Pause
Are these batch files written correctly to update the ASM files located within the
SRIV default root folder ?
Is the
ThomasJepp.SaintsRow.Stream2.exe scripted to find or know the SRIV default root folder
thus updating the ASM files located therein or are the directory paths required to be written in the batch file?
Is it possible to have the ASM files along with their associated .str2_pc files contained together and located
in their own separate folder and then updating them there by specifying the containing folder's directory in the batch script ?
If so, how would that be written in the batch file ?
Is it possible to have the ASM files along with their associated .str2_pc files contained together and located
in the same folder where the ThomasJepp.SaintsRow-rev54 tools are and writing the batch file to run the
ThomasJepp.SaintsRow.Stream2.exe and update the ASM files within that same folder ?
If so, how would that be written in the batch file ?
As you stated about the ASM update method via batch running the
ThomasJepp.SaintsRow.Stream2.exe
that you "can't guarantee it will work correctly", would it be possible to manually update the ASM files by
using your two new modes to Stream2 - "toxml" and "toasm" - to convert ASM files to/from easily editable XML files?
Could it be done by deleting the ASM script lines referring to the .str2_pc file (
SMG_SMALL_A_high.str2_pc )
that is no longer contained in the mod ?
When converting an ASM to an XML file:
ThomasJepp.SaintsRow.Stream2.exe items_containers.asm_pc toxml
In what folder or where will this create the
items_containers.xml ?
Is it possible to have the ASM file to be converted located in it's own separate folder
by specifying the containing folder's directory in the batch script ?
If so, how would that be written in the batch file ?
Is there a possibility perhaps in a future revision that there may be a G.U.I. version of the ASM toxml/toasm application ?
Thank you Minimaul for all of your excellent work.