ImageServer (Slash Command): Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 2: Line 2:
{{SlashCommandArticle|command=ImageServer|options=<string> <string>|note=Sets game to Image Server mode.}}
{{SlashCommandArticle|command=ImageServer|options=<string> <string>|note=Sets game to Image Server mode.}}


<span style="color: red;">UNKNOWN FUNCTIONALITY</span>
*  The {{slashcommand|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: <code>C:\COHsource C:\COHtarget</code>. 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 {{slashcommand|notga}} and {{slashcommand|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!


*  The {{slashcommand|ImageServer}} command takes two arguments or <strings>. The first string is the source directory path and second string is the target directory path.
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 \>
* This is a developer command, and not intended for players to use.


10.csv (<-- filename)
<pre>
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"
</pre>


===STEPS:===
# 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.
# Execute the {{slashcommand|imageserver}} command either in-game or as a command line parameter. For example, <code>/imageserver "C:\COHsource" "C:\COHtarget"</code>.


'''Editor's Notes:''' When the slash command <code>/ImageServer C:\Games\Homecoming\assets C:\COHgraphics</code> is run in game, the following results occur in the [[Console (Command Line Parameter)|console]]:
 
:: <code>###Image Server Mode! Taking Costumes from C:\Games\Homecoming\assets and putting them in C:\COHgraphics</code>
==Command Line Parameter==
:: <code>###Image Server Mode! Now monitoring for .csv files in C:\Games\Homecoming\assets</code>
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>. When used as a command line parameter the {{shlashcommand|imageserver}} executes before the game client gets to the login screen.
The above source and target directories are semi-random paths I made up and are not correct because this command deals with the game server, not the game client that players install and play. I'm not certain if the source directory is a .pigg file on the game server that contains costume parts, or if it is an external directory containing costume parts that are to be inputted into the game server. Also it appears a .csv spreadsheet file may be involved in the source directory. Obviously, the /imageserver command probably has something to do with costume parts, but it might also be related to any image in the game.




==Example==
==Example==
  /imageserver C:\Games\Homecoming\assets C:\COHgraphics
  /imageserver C:\COHsource C:\COHtarget
 


==Also==
* {{slashcommand|imageServer}}
* {{slashcommand|nojpg}}
* {{slashcommand|notga}}




[[Category:Slash Commands]]
[[Category:Slash Commands]]
[[Category:Command Line Parameters]]

Revision as of 00:56, 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 Template:Shlashcommand executes before the game client gets to the login screen.


Example

/imageserver C:\COHsource C:\COHtarget


Also