Server Custom Login Screen: Difference between revisions
m Final tidy |
m Fixed ouro-comdev links |
||
(One intermediate revision by one other user not shown) | |||
Line 34: | Line 34: | ||
## Do not use the name of an known server or existing folder (like "bin"). | ## Do not use the name of an known server or existing folder (like "bin"). | ||
## For this example we will use "yourserver" | ## For this example we will use "yourserver" | ||
# Create a manifest file for your server. You can base it off [ | # Create a manifest file for your server. You can base it off [[Example_Manifest.xml|the example in the Ourodev wiki]] | ||
## Modify the first "launcher" in the profiles section to point to your auth server and your server's website | ## Modify the first "launcher" in the profiles section to point to your auth server and your server's website and change the patchDir from "ouro" to the name you have chosen i.e. "Yourserver" | ||
##: <code><launch exec="Ouroboros.exe" order="0" website="https://your.website.here" params="-patchDir yourserver -auth YourIpOrDomain">YourServerName</launch></code> | ##: <code><launch exec="Ouroboros.exe" order="0" website="https://your.website.here" params="-patchDir yourserver -auth YourIpOrDomain">YourServerName</launch></code> | ||
## In the "filelist" section copy the 4 file descriptions between the <code><!-- Ouroboros Patch Directory files --></code> comment | ## In the "filelist" section copy the 4 file descriptions between the <code><!-- Ouroboros Patch Directory files --></code> comment | ||
Line 51: | Line 51: | ||
## You may need to press the "Re-Validate" button to make it start. It should download the 4 piggs to your patch directory. 3 will be standard Ouroboros piggs but one will be your login texture. | ## You may need to press the "Re-Validate" button to make it start. It should download the 4 piggs to your patch directory. 3 will be standard Ouroboros piggs but one will be your login texture. | ||
If all this worked, you can distribute your manifest url to your players or potential players. Alternatively you can bundle an install of CreamSoda with your manifest as described in [ | If all this worked, you can distribute your manifest url to your players or potential players. Alternatively you can bundle an install of CreamSoda with your manifest as described in [[Volume_2_Client_setup|the Ouroboros Client Setup guide]]. |
Latest revision as of 12:36, 12 April 2020
Server Custom Login Screen This tutorial assumes you are running a server based on the Ouroboros build and can therefore use the same executables and data files but want to brand it with your own custom login screen.
Prequistes
- Have a private server
- Have somewhere to host files
- Have completed the Personal Custom Login Screen tutorial
Software Needed:
- Piglet - Got to Ourodev Archives and download Piglet.develop.7z
Summary
The City of Heroes game makes extensive use of files known as "Piggs" which are simple flat archives of game data. When you start the game client, it scans any Pigg files it finds and loads them into memory. It looks first to the core "/piggs/" folder, then any Patch Directory you may have specified and finally anything that may have been placed in the "/data/" directory. In the [Personal Custom Login Screen] tutorial we created a new login screen texture and placed in in the "/data"/ folder. In this tutorial we are going to archive that texture into a new pigg file and distribute that to our players using a manifest file.
Steps:
- Completed the [Personal Custom Login Screen] tutorial
- Create a new empty folder to use to create your pigg. For example "C:\cohpiggs"
- In that new folder create the same directory structure we created in the Personal Custom Login Screen tutorial i.e.
- \texture_library\GUI\CREATION\HybridUI\LoginScreen
- Copy the COH_LogInScreen_Background.texture you created in the Personal Custom Login Screen tutorial to the new "LoginScreen" folder.
- Unzip the Piglet programme and test it runs.
- From within the Piglet tool
- select "File", "New", "Archive from Existing Folder"
- select the "texture_library" folder
- save the new pigg file to the top folder. Give it a unique name i.e. "YourServer_login.pigg"
- Check your new pigg file by opening it from Piglet. Do this by clicking the "Open Archive" icon.
- Make the top level folder is "texture_library" and that you haven't accidentally included any other files. It should look like this:
- caption
- Place your new pigg file on a server where it can be downloaded from a url i.e.
https://yourserver/coh/YourServer_login.pigg
- Remove the COH_LogInScreen_Background.texture from your client's data directory. Otherwise you won't know if your pigg is working.
- Since you have decided to distribute your own pigg files that replace Ouroboros files you will need to create your own "Patch Directory"
- Pick a unique name for directory, probably your server name
- Do not use the name of an known server or existing folder (like "bin").
- For this example we will use "yourserver"
- Create a manifest file for your server. You can base it off the example in the Ourodev wiki
- Modify the first "launcher" in the profiles section to point to your auth server and your server's website and change the patchDir from "ouro" to the name you have chosen i.e. "Yourserver"
<launch exec="Ouroboros.exe" order="0" website="https://your.website.here" params="-patchDir yourserver -auth YourIpOrDomain">YourServerName</launch>
- In the "filelist" section copy the 4 file descriptions between the
<!-- Ouroboros Patch Directory files -->
comment- and the
<!-- Issue 24 -->
comment and in the name attribute change "ouro" for "yourserver" - for example
<file name="yourserver/DBTextures.pigg" size="116021" md5="7a705aa0259b4ba07df49e427d006163">
- and the
- Lastly change the entry for "ouro/ouro_login_v2i1.pigg" to your pigg file i.e. "yourserver/YourServer_login.pigg"
- Remove the urls for ouro pigg file and replace them with the location where you are hosting the file i.e.
- Change the size reference to the size of your new pigg in bytes
- Change the md5 reference to one generated fo your new pigg. You can generate a md5 from this website
- Upload your new manifest to a server where it can be downloaded from a url i.e.
https://yourserver/coh/manifest.xml
- Modify the first "launcher" in the profiles section to point to your auth server and your server's website and change the patchDir from "ouro" to the name you have chosen i.e. "Yourserver"
- Add your manifest to your CreamSoda client
- From within CreamSoda, click the "Options" button
- Enter your manifest url
https://yourserver/coh/manifest.xml
into the manifest field and press "Add". - You may need to press the "Re-Validate" button to make it start. It should download the 4 piggs to your patch directory. 3 will be standard Ouroboros piggs but one will be your login texture.
If all this worked, you can distribute your manifest url to your players or potential players. Alternatively you can bundle an install of CreamSoda with your manifest as described in the Ouroboros Client Setup guide.