ImageServer (Slash Command): Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 7: Line 7:
* This is a developer command, and not really intended for players to use (but we do have access to it).
* This is a developer command, and not really intended for players to use (but we do have access to it).
* A big shoutout to @Michiyo for figuring out how to use this command!
* A big shoutout to @Michiyo for figuring out how to use this command!


To use the command you first need a comma delimited .csv file (a text file whose values are separated by commas) containing costume inforamtion. For example: <BR \>
To use the command you first need a comma delimited .csv file (a text file whose values are separated by commas) containing costume inforamtion. For example: <BR \>
Line 24: Line 25:


===STEPS:===
===STEPS:===
# Create the source and target directories.  For example, <code>C:\COHsource<code> and <code>C:\COHtarget<code>.
# Create the source and target directories.  For example, <code>C:\COHsource</code> and <code>C:\COHtarget</code>.
# Place the .csv file inside the source directory.
# Place the .csv file inside the source directory.
# Execute the {{slashcommand|imageServer}} command either in-game or as a command line parameter. For example, <code>/imageServer "C:\COHsource" "C:\COHtarget"</code>.  
# Execute the {{slashcommand|imageServer}} command either in-game or as a command line parameter.<BR \>
For example, <code>/imageServer "C:\COHsource" "C:\COHtarget"</code>.  




==Command Line Parameter==
==Command Line Parameter==
The command can be run at log-in as a [[Command Line Parameters|Command Line Parameter]]. For example, <BR \><code>-imageServer C:\COHsource C:\COHtarget</code>.<BR \>
The command can be run at log-in as a [[Command Line Parameters|Command Line Parameter]]. For example, <BR \><code>-imageServer "C:\COHsource" "C:\COHtarget"</code>.<BR \>
When used as a command line parameter the {{launchparam|imageServer}} executes before the game client gets to the login screen.
When used as a command line parameter the {{launchparam|imageServer}} executes before the game client gets to the login screen.




==Example==
==Example==
  /imageServer C:\COHsource C:\COHtarget
  /imageServer "C:\COHsource" "C:\COHtarget"





Revision as of 01:06, 20 February 2024

Slash Command

/ImageServer <string> <string>

Sets game to Image Server mode.

  • The /ImageServer command takes two arguments or <strings>. The first string is the source directory path and second string is the target directory path. For example: C:\COHsource C:\COHtarget. The strings should not point to any directories that have data or files inside them.
  • The command takes a .csv spreadsheet file containing costume information and converts it into 2 image files (.jpg and .tga). The /notga and /nojpg commands can be used to only create one type of image file.
  • This is a developer command, and not really intended for players to use (but we do have access to it).
  • A big shoutout to @Michiyo for figuring out how to use this command!


To use the command you first need a comma delimited .csv file (a text file whose values are separated by commas) containing costume inforamtion. For example:

10.csv (<-- filename)

PARAMS: X=200,Y=400
    PARAMS: CX=2,CY=3,CZ=26
0,"pants_tight","v_leather_01","none","None","2039583","10027010",1,13227775,-3.0000001061126E-6,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"none",0,0,"lower body","pants"
1,"tight","skin_tights","!chest_v_pattern_tanker_02","None","2039583","14935011",1,13227775,-3.0000001061126E-6,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"none",0,0,"upper body","tights/skin"
2,"v_fem_head.geo/geo_head_v_asym_standard","!face_skin_v_fem_head_15","!v_sf_face_makeup_2","None","0","14935011",1,13227775,-3.0000001061126E-6,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"none",0,0,"head","standard"
3,"smooth","skin_bare","none","None","2039583","14935011",1,13227775,-3.0000001061126E-6,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"none",0,0,"upper body","tights/skin"
4,"hi_heels","combat_01","none","None","2039583","14935011",1,13227775,-3.0000001061126E-6,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"none",0,0,"lower body","pants"
5,"n_fem_clubwear_metallic_dress.geo/geo_studded_belt_05","!x_clubwear_studded_belt","none","None","2039583","7566195",1,13227775,-3.0000001061126E-6,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"none",0,0,"upper body","tights/skin"
6,"v_fem_hair.geo/geo_hair_beau_monde_01","!sf_hair_beau_monde_01","!sf_hair_r_beau_monde_twotone_mask","None","2039583","10027010",1,13227775,-3.0000001061126E-6,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"none",0,0,"head","standard"

STEPS:

  1. Create the source and target directories. For example, C:\COHsource and C:\COHtarget.
  2. Place the .csv file inside the source directory.
  3. Execute the /imageServer command either in-game or as a command line parameter.

For example, /imageServer "C:\COHsource" "C:\COHtarget".


Command Line Parameter

The command can be run at log-in as a Command Line Parameter. For example,
-imageServer "C:\COHsource" "C:\COHtarget".
When used as a command line parameter the -imageServer executes before the game client gets to the login screen.


Example

/imageServer "C:\COHsource" "C:\COHtarget"


Also