SR2 NPC Table Cruncher

Hello

I'm trying to edit NPCs in SR2 using the npc table cruncher from the alpha tools, however it needs a batch file to make it work.

IdolNinja made an example on how to do it for the vehicle table cruncher on this page:
https://www.saintsrowmods.com/forum...usy-until-the-sdk-can-be-released.2891/page-2

So I used the vehicle batch and edited it to this:
sr2_npc_table_crunch.exe -output_name npc_swat.cvtf -variant_table tables\npc_swat.xtbl -character_table tables\npc_swat_cha.xtbl -design_table tables\npc_swat_des.xtbl -preset_table tables\npc_swat_pre.xtbl
pause

However when running it the cmd window opens but doens't do anything, it doesn't create the CVTF.
What do I need to put in the batch file in order for the NPC cruncher to put the xtbls into a CVTF file?
 
Last edited:
My first suggestion would be to run the tool without any arguments to verify that you get the output from the tool. This means you are actually running the tool and the paths are correct, etc. The second one would be that the tool claims to only take -output_name, -variant_table and an optional -output_dir argument. Where did you get the -character_table and -preset_table arguments?

Note that I haven't use this tool and wasn't on SR2, but we can figure this out.
 
My first suggestion would be to run the tool without any arguments to verify that you get the output from the tool. This means you are actually running the tool and the paths are correct, etc. The second one would be that the tool claims to only take -output_name, -variant_table and an optional -output_dir argument. Where did you get the -character_table and -preset_table arguments?

Note that I haven't use this tool and wasn't on SR2, but we can figure this out.

Um... Well heheh, I'm like a big rookie in this kind of stuff so I kinda opened up the vehicle cruncher as an example, which had cust_table and then the customization xtbl. So I thought I had to do the same for the peds so created those arguments for all 4 xtbls for the character :s I know this is big newbie mistake, I really don't know how to work with this kind of stuff. I'll try what you mentioned in your reply.

Well if I run the vehicle table cruncher without any arguments I shows an instruction how to use the tool.

If I do the same for the ped table crunher it doesn't do anything, the CMD just opens and does nothing.
 

Attachments

  • Veh.JPG
    Veh.JPG
    56.4 KB · Views: 636
  • Ped.JPG
    Ped.JPG
    35 KB · Views: 652
If I do the same for the ped table crunher it doesn't do anything, the CMD just opens and does nothing.
Are you sure you're using the latest cruncher? It hasn't updated in a long time, but when I run it I get the following output:

Code:
sr2_npc_table_crunch.exe
Usage: sr2_npc_table_crunch.exe [-output_dir <dir>] -output_name <npc_name> -variant_table <variant table filename>

You can find the latest version of the file here: https://github.com/volition-inc/Sha...r/tools/npc_cruncher/sr2_npc_table_crunch.exe
 
Back
Top