Forum > Software Development

[NEWS][C++] Blizzard Modcraft Community Launcher

(1/3) > >>

glararan:
Hello
today i present Modcraft Community Launcher based on Blizzard style!

What it do?
- Change realmlist everytime you click on button "Play"
- News from Website (you can code php system for fast news)
- Patch system (If patch doesnt exist, Launcher will create him with version 0, after start patching, if patch exist, everytime you launch Launcher it will check version of your patch)

How working patching?
Inside your new patch exist file named by your conf in Launcher. Inside file you will write(basic update_sequence)

--- Code: ---add PATHtoFILE
extract PATHtoFILE pathTOextractDESTINATION
delete PATHtoFILE
--- End code ---

How working check version?
Inside file "version" or what you want name it is number of patch version... after it will check on http://your.domain/updatelist.php?versi ... IONofPATCH
Here you will add "Up to date" for no next patches or link to next patch

How to change URL of Web inside Launcher, how to compile?
You must use Qt creator -> MainWindow.ui click on webView and in right panel change url
For compile use Qt creator

How to change settings of Launcher?
Go to source -> Utils.cpp -> Line 25

--- Code: ---    // OPEN SOURCE SETTINGS - Can be change
    _settings->setValue("ProjectName", "OpenSource"); <--- for config
    _settings->setValue("ProjectVer", "3.3.5a"); <--- for config
    _settings->setValue("ProjectRealm", "set realmlist 127.0.0.1"); <--- for realmlist writing
    _settings->setValue("ProjectWebURL", "http://modcraft.tk"); <--- for button "Web"
    _settings->setValue("ProjectForumURL", "http://modcraft.tk"); <--- for button "Forum"
    _settings->setValue("ProjectPatchName", "patch-V.MPQ"); <--- where updater looking for version
    _settings->setValue("ProjectPatchVersionFile", "version"); <--- contain value of patch version
    _settings->setValue("ProjectPatchSequence", "update_sequence"); <--- name of update sequence
    _settings->setValue("ProjectPatchChangelog", "changelog"); <--- for future
    _settings->setValue("ProjectUpdateList", "http://test.glararan.eu/updatelist.php"); <--- where downloader search for patch checking
--- End code ---

Source for launcher
Use launcher.rar for website content

Version: 1.0
Downloading & Updating system based on Ravash Launcher [unfinished?]

Bug reports write here please.


In future:
- Languages
- Old Blizzard updating system (changelog preview)

Ever0n:
Any updates on this project?

glararan:
No, it's dead, but you can develop it. You have free source code. I just end with WoW developing.

Serifaz:
has anyone successfully compiled this. I try with qtcreator. but it won't compile.
Is this normal?

glararan:
Qt version?

Navigation

[0] Message Index

[#] Next page

Go to full version