Assetpath (Command Line Parameter): Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
__NOTOC__
__NOTOC__
== [[Command Line Parameters|Command Line Parameter]] ==
== [[Command Line Parameters|Command Line Parameter]] ==
: {{launchparam|assetpath|options}}
: {{launchparam|assetpath|path}}


The new command line argument '''-assetpath''' will point the client to the piggs folders, in load order.
The new command line argument '''-assetpath''' will point the client to the piggs folders, in load order.


:'''Options:'''
** '''piggs'''
** '''homecoming''' (for live)
** '''hc-beta''' (for beta)


* This parameter is meant to be used twice in the command line. Once to point to the piggs folder, and again to point to the current install or desired game client.
Currently, there are 2 folders storing pigg files:
* {{launchparam|assetpath}} is intended to be used with the {{launchparam|legacylayout}} command line parameter when '''''not''''' launching the game with Tequila, Island Rum, or the Homecoming launcher.
:*<code><COH Install Directory>/assets/Issue24</code> is for all of the original COH pigg files.
* The default is <code>-assetpath piggs -assetpath homecoming</code>.
:*<code><COH Install Directory>/assets/live</code> is for all of the piggs added or altered by Homecoming.
* Files in the data folder (eg: a standard vidiotmaps install) will still be applied as before.
 
* When running City of Heroes without a Homecoming launcher, the game client needs to be directed to both of the above folders by either separating each folder path by a semicolon, or by using '''-assetpath''' twice in the command string (one of each folder).  
* If additional pigg file assets are created for the game, this command can point to those files and tell the game to check the new folder. For example, <code>-assetpath assets\mods</code>
* In  [[Issue 26 Page 5]], three options were created to be used with '''-assetpath''': "''piggs''", "''homecoming''", and "''hc_beta''". However, Homecoming has since revised the directory structure for the game files, and these options no longer point to the correct folders.
* This command line parameter was added by Homecoming in [[Issue 26 Page 5]].
* This command line parameter was added by Homecoming in [[Issue 26 Page 5]].




'''Editor's Note:''' Having a little trouble getting the "piggs" and "homecoming" options to work. The game logs show the HC Launcher is using <code>-assetpath assets/Issue24 -assetpath assets/live</code> to launch the game, which does appear to work.
==Examples==
 
{{launchparam|assetpath|assets/Issue24;assets/live}}
 
  {{launchparam|assetpath|assets/Issue24}} {{launchparam|assetpath|assets/live}}
==Example==
  {{launchparam|assetpath|piggs}} {{launchparam|assetpath|homecoming}}




==Also==
==Also==
* {{launchparam|legacylayout}}
* {{launchparam|legacylayout}}
 
* {{launchparam|assetpath}}
 
* {{launchparam|auth}}
* {{launchparam|profile}}





Latest revision as of 07:27, 4 January 2024

Command Line Parameter

-assetpath path

The new command line argument -assetpath will point the client to the piggs folders, in load order.


Currently, there are 2 folders storing pigg files:

  • <COH Install Directory>/assets/Issue24 is for all of the original COH pigg files.
  • <COH Install Directory>/assets/live is for all of the piggs added or altered by Homecoming.
  • When running City of Heroes without a Homecoming launcher, the game client needs to be directed to both of the above folders by either separating each folder path by a semicolon, or by using -assetpath twice in the command string (one of each folder).
  • If additional pigg file assets are created for the game, this command can point to those files and tell the game to check the new folder. For example, -assetpath assets\mods
  • In Issue 26 Page 5, three options were created to be used with -assetpath: "piggs", "homecoming", and "hc_beta". However, Homecoming has since revised the directory structure for the game files, and these options no longer point to the correct folders.
  • This command line parameter was added by Homecoming in Issue 26 Page 5.


Examples

-assetpath assets/Issue24;assets/live
-assetpath assets/Issue24 -assetpath assets/live


Also