Page 1 of 3

[GUIDE] Making a Launcher-Patcher for ANY osROSE

PostPosted: Tue Aug 03, 2010 2:01 pm
by merlon
Note: Before Reading this Guide,
Understand that I DO NOT OWN Triad Patcher , NOR AM I THE CODER OF IT.)


Let me explain what this tutorial will teach you how to do.
a. You will learn to setup XXAMP

b. You will have a custom skinnable launcher/patcher.
c. You will allow people to automatically patch fast.
d. Your launcher looks similar to this at the end

Image

Okay before we start,
Lets download all the nessessary files,
You will need:

XXAMP (or a webhost):
http://sourceforge.net/projects/xampp/files/XAMPP


WinRar:
http://rarlabs.com/download.htm
WinRAR archiver, a powerful tool to process RAR

the ZIP files
Triad Patcher + Packer:
http://www.mediafire.com/?mqzctjmdiny[/url]

A Binder (Optional) : http://download.cnet.com/Hotfusion-File ... 95406.html
Hotfusion, File Binder

Hex Editor(Optional) :
http://download.cnet.com/Hex-Workshop/3 ... tag=button

The Index:
[I] Setting up XXAMP/Website
[II] Configuring up a Launcher/Patcher
[III] Setting up Patch
[IV] Hexing the "About" Section to your likings
[V] Binding the Config.tpc into the Launcher

The Guide:

[I] Setting up XXAMP/Website
We're going to extract and Install XXAMP To a NEW FOLDER.
Name it Anything you like,
Then look for the file called setup_xampp.bat

Image

(Sorry , I already installed XXAMP , So I can't help you install that part)

Okay , After thats done , Locate the "HTDOCS" Folder in the "XXAMPP" Folder.
Image

Then delete EVERYTHING and make a new folder called "Patcher" Inside of it.

Image

Now that that's done, Extract the website files into the patcher folder.
This will be for your news page and stuff.
Now open the news and patchlist file in notepad , and edit it
Look at the SS Below to config yours..
Image

After your done , Save , Close , And Run XXAMP_START.exe

Congratz , Your website for your patcher thingy is now ready.

http://127.0.0.1/patcher/ <--- This is your website.

[II] Configuring up a Launcher/Patcher

Extract your Triad Patcher files ,
Go into the Configs folder.
Popup Your Config.ini and Langauges.ini file in notepad.
Okay time for teh boring stuff :D.
Config your files like I did.
But make sure your change your files to YOUR OWN LINK.

Image

  1. about_header =(your server name)
  2. News = http://127.0.0.1/patcher/news.html
  3. Register =(your register page) (i didnt include one look around on the forums for this)
  4. patchs_list = http://127.0.0.1/patcher/patchlist.ini
  5.  


Okay , theres a difference for Acturus and Normal OSIRose.
Acturus uses a file called RuffProtect.exe or Whatever you use.

OSIRose just launches via TRose.exe

If you're using Acturus:
  1. exec_file = RuffProtect.exe
  2. exec_args = YOURIPHERE
  3.  


If you're using OSIRose:
  1. exec_file = TRose.exe
  2. exec_args = @TRIGGER_SOFT@ _server 127.0.0.1


Langauges.ini is your file that displays the messages on the launcher.
Feel free to edit it to your likings , No one is stopping you...

Okay , Save your changes and lets config the .tpc file for your stuff.

Pop open Triad-Configurater:
Image

First Row: Select Languages.ini (YOURS)
Second Row: Select Config.ini (YOURS)
Last Row: Select a output file (NAME MUST BE CONFIG.TPC , DO NOT CHANGE!!!!)

[III] Setting up Patch

This is easier than it sounds.
Okay most patchers here on RageZone or dev-osrose,
Will implant your patch files DIRECTLY , into the VFS and pack them or whatever.
(No clue how to properly explain this)

But iRose , Will look directly into the 3DData Folder before it checks the VFS for the files.
So you're in luck , But If you're using NaRose.. Nah .. Your not in luck o.o

So open your Triad Packer .
Click Add, Then select the file you want to add to your patch.
Next you're going to put the directory of where you want it to extract.
Lets say I'm using a loading screen
Its Probably 3DData\Control\Loading\ROSE.JPG
So I'm gonna set "3DDATA\Control\Loading\Rose.jpg" As my Destination File.
Image

After your done ,Pack it and save the file
Your Result :

Image

Okay , Now put that TPP File into your XXAMP/HTDOCS/PATCHER/PATCHS/ Folder
I named my file Result.tpp.
So once its in there ,go back to your patchlist.ini
You're going to add this line

http://127.0.0.1/patcher/patchs/Result.tpp = 1

If you read above , = 1 , means you will download the file.
But = 0 , Means you will not get that file , and we don't want that

http://127.0.0.1/patcher/patchs/Result.tpp
Is your link , that the user is downloading from.

Save it , And you're almost done.

[IV] Hexing the "About" Section to your likings
You're gonna need a Hex Editor , One that you like.
I prefer Hex Workshop , And I hex with that.
I will not go into detail on this , Because Hexing confuses the fuck out of me.
Image
I wish you best of luck with this part.

[V] Binding the Config.tpc into the Launcher

Okay , Hiding the Config.tpc might help.. (Not Always)
First , Open up your HotFusion Binder.
Then Click Add and Add the config.tpc with theese settings.
Also , do the same for the GRF.dll

Image

Okay then add the Launcher.exe with theese settings

Image

Now You can change the icon with anyone you like.
I provided you one from Akai's Launcher
( I don't take credit for it)

When you're done, Put the Launcher in the Rose Directory.
Now open it.
Congratz You made a launcher

Image

Note: Binding the Config.TPC Into the Launcher May cause it to be picked up as a virus.
I'm not positive about this , but its possible.
The file is still safe though.

Well , Enjoy...
Please say thanks or reply to this topic >_>
Don't just take without commenting plox Dx

(If you're handing this out to your players , Instead of 127.0.0.1 , You use your WAN IP)

-IP Dns. You can find your WAN-IP At http://whatismyip.com

Please do not flame me if this guide sucks >_>
I often don't write stuff o.o

Some Extra Stuff to Know:
1. Skin.BMP can be edited to reskin the launcher
2. Your files can be easily stolen from the 3ddata like this.

Credits
PurpleYuoko (Person who said that 3DDATA Folder can sub. for the VFS Files in iRose)
Nitro Concept Group (I think they made Triad? I don't know..)
Unknown (For writing this horrible guide)
Me (For working my ass off to make this guide look good and work.)

EDIT: i guess it can be used for all of them, who knew (credits go to purple youko.)

Re: [GUIDE] Making a Launcher-Patcher for OSiROSE (only osir

PostPosted: Thu Aug 05, 2010 2:28 pm
by PurpleYouko
FYI
This should also work for Pre-evo osProse since it uses the 3ddata folder in the same way as irose

Re: [GUIDE] Making a Launcher-Patcher for OSiROSE (only osir

PostPosted: Thu Aug 05, 2010 4:03 pm
by merlon
OK youko i guess ill change it... get more hits that way too lol

@offtopic i wonder why osirose and osrose have less hits than prose ???? hmmm

Re: [GUIDE] Making a Launcher-Patcher for OSiROSE (only osir

PostPosted: Thu Aug 05, 2010 5:20 pm
by Raavi
merlon wrote:OK youko i guess ill change it... get more hits that way too lol

@offtopic i wonder why osirose and osrose have less hits than prose ???? hmmm

Probly because Pre evo wasn't so long live, and it is not realy stable (As far as i tested it).

Re: [GUIDE] Making a Launcher-Patcher for ANY osROSE

PostPosted: Thu Aug 05, 2010 5:29 pm
by merlon
WOW congrats Raavi! and i thought irose was out for like 6 months or something like that, how long was prose out??

Re: [GUIDE] Making a Launcher-Patcher for ANY osROSE

PostPosted: Thu Aug 05, 2010 5:42 pm
by Raavi
merlon wrote:WOW congrats Raavi! and i thought irose was out for like 6 months or something like that, how long was prose out??

Not more then 2 months as far as i can remmber.

Re: [GUIDE] Making a Launcher-Patcher for ANY osROSE

PostPosted: Thu Aug 05, 2010 5:51 pm
by merlon
wow! i cant really believe that! it was official right?

Re: [GUIDE] Making a Launcher-Patcher for ANY osROSE

PostPosted: Thu Aug 05, 2010 5:59 pm
by Choseal
Please stay on-topic..

Re: [GUIDE] Making a Launcher-Patcher for ANY osROSE

PostPosted: Thu Aug 05, 2010 6:26 pm
by merlon
Ok you heard him! back on topic lol! choseal anything you see thats wrong with the guide?

Re: [GUIDE] Making a Launcher-Patcher for ANY osROSE

PostPosted: Fri Aug 06, 2010 2:02 pm
by PurpleYouko
Raavi wrote:
merlon wrote:WOW congrats Raavi! and i thought irose was out for like 6 months or something like that, how long was prose out??

Not more then 2 months as far as i can remmber.

Off topic again (I can get away with it cuz I'm a mod and lmame loves me :lol: )
pre-evo was out for almost a year. It opened in September as a beta server and ran to the following August before being replaced by evolution