Custom Game Loader is a program designed to make game loader/patching easy for both the admins and clients.
In short, it's a program designed for MMOs such as World of Warcraft, Lineage 2, Ragnarok Online 2 and etc. Think of Prana Updater, but better.
ZIPs are a bit buggy. A useless error message appears, but it still unzips.
FEATURES
Streamlined and easy to use GUI
Resumable Downloads
RAR and ZIP Support
Game directory auto find. Automatically finds the game directory so you don't have to
Open source! Uses fully documented code so that anyone can customize the program
FREE as in beer and freedom!
Supports multiple MMOs! More MMO support on the way!
Uses the registry to keep file clutter to a minimal
Uses customizable INI files for easy customization (supports older Prana Updater config files!!)
Easy portability. CGL can be placed anywhere on the HDD. No need to stick the exe in the game directory.
HOW TO USE:
Using CGL is easy. For the client, all they need to do is run the program. It'll automatically download the updates, install them and then allow for the user to run the game. There's nothing to set up or configure. Everything is automatic.
CGL searches the registry for the MMO specified by the admin. If it finds it, it can retrieve the game directory and the exe to run. If it doesn't find it, it'll perform a quick hard drive search for the game. For the advanced users, there's a manual find as well.
For the admins, all that needs to be is the updater.cfg and updates.list file needs to be in the same directory as your update files on a website that's accessible through HTTP. I haven't given the program FTP support yet.
Here are those files.
updater.cfg
[Config]
# The Config Links go Here!
# This is the location of where your configuration files should be located
Config_Link=https://ultraedge.net/Archive/cgl
# Obviously, your Homepage address goes here
Homepage=https://ultraedge.net
# Edit this field for files used to redirect your clients to your private server.
# For example. If you're running World of Warcraft, you may want to change this to
# realmlist.wtf. For Lineage II, this value is automatically changed to the host file.
# So, for those running L2, skip this
ClientInfo=mclientinfo.xml
# Custom Game Loader automatically sets this.
AppName=102.0
# Place the name of the exe CGL will need to run to start the game
ClientName=wow.exe
# CGL automatically sets this.
FileName=uroLoader
# Put in your server's domain name or IP address. This is used to determine if your server
# is offline or online
IpResolve=ultraedge.shacknet.nu
CGLIpResolve=ultraedge.shacknet.nu
[ClientInfo]
Playlist=track04.mp3
# The Account and Inter are the ports of the login and game servers. Account = Login server. And Inter = Game Server.
Account=3724
Inter=8085
# This is the name of the game. CGL uses this to determine what game it should look for on the client's machine.
# Here is what is supported:
# World of Warcraft
# Lineage II
# Ragnarok Online
# The casing doesn't matter. Just the name of the game will due with no spaces.
Display=World of Warcraft
updates.list
#------------------------------------------------------
# This area tells Custom Game Loader which files to download to the client's computer
# The default area is the main game directory.
#------------------------------------------------------
[Updates]
Update_1=https://ultraedge.net/Archive/cgl/music4.rar
Update_2=https://ultraedge.net/Archive/cgl/hosts.rar
#-------------------------------------------------------
# This section tells Custom Game Loader where the updates should be downloaded to on the
# client's computer.
#
# Default -- Main Custom Game Loader Directory
# Hosts -- In the host directory (C:\Windows\System32\drivers\etc)
# Game -- The Main game directory
#--------------------------------------------------------
[Custom]
Readme.rar=Default
music2.rar=Default
music3.rar=Default
notice2.rar=Default
hosts.rar=Hosts
#--------------------------------------------------------
# This area tells custom game loader to run files after it downloads them.
# You have to have the file compressed in a rar or zip file.
# bar.rar=script.exe -- This tells CGL to uncompress bar.rar and execute script.exe
#--------------------------------------------------------
[Execute]
#-----------------------------------------------------
# This will allow Custom Game Loader to display a message after extracting a file.
# bar.rar=This file is a rar file -- This allows a message to appear whenever you
# specify text to a particular file. Very useful if you want to warn users about certain
# files to run or not run.
#-----------------------------------------------------
[Message]
Now, there's one more thing needed to get your clients connected to you. Be sure to give them the main executable. The one provided has the exe and the system.ini file. The system.ini file contains the location to where to download the config files shown above. Once it downloads that, it'll immediately delete the system.ini file and work from the registry.
It's pretty self explanatory.
The software is still in beta stage as there are some bugs I'd need to fix and stuff like that. If you have any questions, please reply to this thread and I'll see if I can respond as quickly as possible.
------------------------------------------------------------------------------------------
The source code appears to be too large for this forum. So, check out the mirror here:
http://ultraedge.net:88/forums/viewtopic.php?f=15&t=5





Reply With Quote![[C#] Free open source game loader/patcher](http://ragezone.com/hyper728.png)


