Personal Custom Login Screen: Difference between revisions

From OuroDev
No edit summary
No edit summary
 
(9 intermediate revisions by 4 users not shown)
Line 1: Line 1:
== Custom Login ==
This tutorial explans how to create your own login screen for City of Heroes that will override the image supplied by the server.
<Strong>Creating a Custom Login/Loading Screen</Strong>


Needed:  
====Software Needed:====
* Image creator (or image)
* Perl
* Leo's texture_converter tool


# 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.
*Perl - I would recommend downloading the latest version from [http://strawberryperl.com/ Strawberry Perl]
# Save image in the texture_converter\texture_sources\GUI\CREATION\HybridUI\LoginScreen named "COH_LogInScreen_Background.png" (or whatever file type)
*[[:File:Texture converter tool.7z|Texture_converter tool]]
# Create/modify the textinfo.txt file to have the following line: COH_LogInScreen_Background.png -rbg -nomips 1024x768
*Your favourite image manipulation software
# Run the texture_converter.pl script
# If you get an error similar to "sleep(2147450879) too large at texture_converter.pl line 13." that's okay.
# Browser to texture_converter\texture_library\GUI\CREATION\HybridUI\LoginScreen and your COH_LogInScreen_Background.texture" file should be there
# Create the library tree in your client executable folder \data\texture_library\GUI\CREATION\HybridUI\LoginScreen\ and paste the texture file there.
# Launch your client to see your screen!


TODO: Shortcuts/Links, Graphic Examples, Cleaner instructions
====Steps:====


----
#Install Perl
OLD NOTES:
#Extract the texture tool zip file to a suitable directory i.e. {{ms|C:\texture_converter}}
Customizing a single client loading/login page:
#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!


Use one of Leo's tools:  
[[File:Login Template.jpg|left|thumb|Login screen template|link=Special:FilePath/Login_Template.jpg]]
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.
https://www.cohtitan.com/forum/index.php?topic=11201.msg191097#msg191097
http://mmocomicindex.com/comicindex/index.php?title=(CoH)_Splasher
 
Still checking with the creator for how the randomizer works
 
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.
 
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.

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