Personal Custom Login Screen: Difference between revisions

From OuroDev
No edit summary
No edit summary
 
(10 intermediate revisions by 4 users not shown)
Line 1: Line 1:
This tutorial explans how to create your own login screen for City of Heroes that will override the image supplied by the server.


Customizing a single client loading/login page:  
====Software Needed:====


Use one of Leo's tools:
*Perl - I would recommend downloading the latest version from [http://strawberryperl.com/ Strawberry Perl]
cohsplansher for random/custom login generation. Once the .texture file is it also can be packaged into a pigg for lower performance impacts and regular.
*[[:File:Texture converter tool.7z|Texture_converter tool]]
https://www.cohtitan.com/forum/index.php?topic=11201.msg191097#msg191097
*Your favourite image manipulation software
http://mmocomicindex.com/comicindex/index.php?title=(CoH)_Splasher


Still checking with the creator for how the randomizer works
====Steps:====


Additionally package an image using the texture_creator (texture_converter.7z) and then place the texture in bin/data/texture_library/ inside whatever subfolder was used to create the texture. Loading pages should use the -nomips flag to prevent distortion.
#Install Perl
#Extract the texture tool zip file to a suitable directory i.e. {{ms|C:\texture_converter}}
#Create an image file of any major type (jpg, bmp, png, dds). <br>The image MUST be 1024 pixels by 1024 pixels, but only 1024 by 768 is displayed.
#Save image in the {{ms|texture_converter\texture_sources\GUI\CREATION\HybridUI\LoginScreen}} directory named {{ms|COH_LogInScreen_Background.png}} (or whatever file type)
#In the same directory create a file called {{ms|textinfo.txt}} which has the following contents:
#:<source>COH_LogInScreen_Background.png -rbg -nomips 1024x768</source>
#Run the texture_converter.pl script
#:{{ms|C:\> perl texture_converter.pl}}
#If you get an error similar to "sleep(2147450879) too large at texture_converter.pl line 13." that's okay.
#Browse to {{ms|texture_converter\texture_library\GUI\CREATION\HybridUI\LoginScreen}} and your {{ms|COH_LogInScreen_Background.texture}} file should be there
#Create the library tree in your client executable folder {{ms|\data\texture_library\GUI\CREATION\HybridUI\LoginScreen\}} and paste the texture file there.
#Launch your client to see your screen!


For example: Login screen is located and named: bin\data\texture_library\GUI\CREATION\HybridUI\LoginScreen\COH_LogInScreen_Background.texture and is clipped and stretched from 1024x800 (for some godawful reason) to 1024x600. Still a WIP to get the exact figures locked in and looking good.
[[File:Login Template.jpg|left|thumb|Login screen template|link=Special:FilePath/Login_Template.jpg]]

Latest revision as of 20:58, 2 May 2022

This tutorial explans how to create your own login screen for City of Heroes that will override the image supplied by the server.

Software Needed:

Steps:

  1. Install Perl
  2. Extract the texture tool zip file to a suitable directory i.e. C:\texture_converter
  3. Create an image file of any major type (jpg, bmp, png, dds).
    The image MUST be 1024 pixels by 1024 pixels, but only 1024 by 768 is displayed.
  4. Save image in the texture_converter\texture_sources\GUI\CREATION\HybridUI\LoginScreen directory named COH_LogInScreen_Background.png (or whatever file type)
  5. In the same directory create a file called textinfo.txt which has the following contents:
    COH_LogInScreen_Background.png -rbg -nomips 1024x768
  6. Run the texture_converter.pl script
    C:\> perl texture_converter.pl
  7. If you get an error similar to "sleep(2147450879) too large at texture_converter.pl line 13." that's okay.
  8. Browse to texture_converter\texture_library\GUI\CREATION\HybridUI\LoginScreen and your COH_LogInScreen_Background.texture file should be there
  9. Create the library tree in your client executable folder \data\texture_library\GUI\CREATION\HybridUI\LoginScreen\ and paste the texture file there.
  10. Launch your client to see your screen!
File:Login Template.jpg
Login screen template