Graal Forums  

Go Back   Graal Forums > Private forums > Graal4 Forums > Graal V4 Main Forum
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 01-27-2006, 12:25 AM
petro1212 petro1212 is offline
Angelus
petro1212's Avatar
Join Date: Mar 2003
Location: The Moon
Posts: 445
petro1212 is on a distinguished road
Send a message via AIM to petro1212 Send a message via MSN to petro1212
Graal Update Packages!

GUPD's, Graal Update Packadges

Since no one posted any "FAQ" about them before and little playerworlds are using them I decided to type up a small guide so that people/servers will use them more oftenly.

What are gupd's?
gupd's are basicly packadges containing info needed to automaticly run updates and/or show updates in the Graalv4 "Update" tab.

Every time a Graalv4 client logs onto any given server it will check if the file basepack.gupd excists on the server and attempt to run it.

You can edit/create gupd files with any kind of word/text editor. Best would be to automaticly assign them to the editor of your choice for fast editing.

Be sure to add file *.gupd to your server's folder configurations. You could also put it in a more private folder to prevent other staff from editing them.

gupd file example:
Quote:
GRPKG001
NAME Graal Packages
VERSION 1.00
PLATFORM any
SUBPACKAGE basepackage_win.gupd
SUBPACKAGE basepackage_linux.gupd
SUBPACKAGE basepackage_mac.gupd
USECHECKSUM false
PROTECTOVERWRITE true
FLAG popupforoptionalpackages=false
This gupd file can be found in your Graal game folder within the subfolder updatepackages

Most of the actions inside of the gupd are pretty easy to understand;
NAME, will display the name of the packadge. Giving the "basepack" the name of your server would be wise I guess, since it will show up ontop of the "tree" in the update tab.

PLATFORM, will allow you to limit files for a certain system. Possible flags; any,win,linux,mac

VERSION, Increase this number wich each update you make to a specific package. This way players can see if the package has been update, they can click "Update" if a packadge version is diffrent from the one they downloaded before.

SUBPACKAGE, list the files you wish to be added into the tree. You can use this to split up your gupd files instead of making one "huge" file containing everything that needs to be updated. (Not a great way of putting it =P)

Item description, example:
Quote:
DESCRIPTION
Welcome to the download menu!
Choose a package on the left side of
the screen and then click on "Download".
DESCRIPTIONEND
MODE ,available package modes: base - updates are checked at each login (can be slow if it contains many files), required - updates are checked if the local version differs, optional - only downloaded if the user downloads it, we will improve this soon though to display a special window where it tells you about optional updates (like new RCs)

FLAG popupforoptionalpackages=false/true, Putting this in a optional pack (When the MODE isn't set to required) will create a popup where the player can choose to download it. Cancel/Ok

FILE FOLDERNAME+FILENAME, these are basicly the files that the packadge downloads. You are required to list the exact location on your server.
e.g FILE levels/images/block.png
Do every "FILE ..." on a new line
The files are put in the same folder as on your server. It might be wise to use nicely arranged foldernames containing your server name; e.g levels/Npulse/images/ ect
But than again that is totaly up to you, also try to prefix your server files (See "Lance's sticky post")

PS: Note that that there are functions that I did not list thats either because
1) I'm not 100% sure of their function
2) I'm not aware of these functions

Also note that I am not an expert just a goofball trying to get people to use gupd's more extensively. Imagine a server like unholy nation having a optional update for the heads that where added for Each Month (wow... that would save us some ingame lag now)
__________________

Last edited by petro1212; 01-27-2006 at 04:41 PM..
  #2  
Old 01-27-2006, 12:55 AM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Looks quite good, may be we should add this on wiki.graal.net.
Two things:
- with the update packages people can only download files which they normally can do too, so it should not be any security problem
- available package modes: base - updates are checked at each login (can be slow if it contains many files), required - updates are checked if the local version differs, optional - only downloaded if the user downloads it, we will improve this soon though to display a special window where it tells you about optional updates (like new RCs)
  #3  
Old 01-27-2006, 04:43 PM
petro1212 petro1212 is offline
Angelus
petro1212's Avatar
Join Date: Mar 2003
Location: The Moon
Posts: 445
petro1212 is on a distinguished road
Send a message via AIM to petro1212 Send a message via MSN to petro1212
Quote:
Originally Posted by Stefan
Looks quite good, may be we should add this on wiki.graal.net.
Two things:
- with the update packages people can only download files which they normally can do too, so it should not be any security problem
- available package modes: base - updates are checked at each login (can be slow if it contains many files), required - updates are checked if the local version differs, optional - only downloaded if the user downloads it, we will improve this soon though to display a special window where it tells you about optional updates (like new RCs)
Thanks for the additional information, anyhow my goal was just to post it and get people that manage a server to actualy be aware that the automatic/optional updates also work on their server. Since I noticed that not many of the "Classic/Hosted" server staff where aware of the gupd's.
__________________
  #4  
Old 04-01-2006, 05:09 AM
Warcaptain Warcaptain is offline
Banned
Warcaptain's Avatar
Join Date: Jun 2001
Location: Virginia, USA
Posts: 2,086
Warcaptain is on a distinguished road
Send a message via ICQ to Warcaptain Send a message via AIM to Warcaptain Send a message via Yahoo to Warcaptain
Can you select it to download the whole contents of a folder?

IE the contents of folder levels/images/ ???

That way it wont need to have like 3000 lines for 3000 files.. can just put them in one folder.
  #5  
Old 04-01-2006, 08:12 AM
napo_p2p napo_p2p is offline
oh snaps
napo_p2p's Avatar
Join Date: Sep 2003
Location: Pismo Beach, California
Posts: 2,118
napo_p2p has a spectacular aura aboutnapo_p2p has a spectacular aura about
Send a message via AIM to napo_p2p Send a message via MSN to napo_p2p
Quote:
Originally Posted by Warcaptain
That way it wont need to have like 3000 lines for 3000 files.. can just put them in one folder.
I am not sure a player will want to download a 3000 file update. And it'll be pretty harsh to force them to do it upon logon.
__________________
Scito hoc super omnia.
Haec vita est tua una sola.
Dum vita superest, utere maxime quoque puncto, momento, et hora quae habes.
Tempus neminem non manet.
Noli manere tempus.
Carpe Diem

Seize the Day.
  #6  
Old 04-01-2006, 09:16 AM
Warcaptain Warcaptain is offline
Banned
Warcaptain's Avatar
Join Date: Jun 2001
Location: Virginia, USA
Posts: 2,086
Warcaptain is on a distinguished road
Send a message via ICQ to Warcaptain Send a message via AIM to Warcaptain Send a message via Yahoo to Warcaptain
Was just an example >_>
  #7  
Old 04-01-2006, 09:46 AM
napo_p2p napo_p2p is offline
oh snaps
napo_p2p's Avatar
Join Date: Sep 2003
Location: Pismo Beach, California
Posts: 2,118
napo_p2p has a spectacular aura aboutnapo_p2p has a spectacular aura about
Send a message via AIM to napo_p2p Send a message via MSN to napo_p2p
Quote:
Originally Posted by Warcaptain
Was just an example >_>
Bad example. Not a bad idea.

I like Warcaptain's idea because you can just put files to be part of an update package in (for example): levels/updates. And instead of editing .gupd files everytime you add/remove files, you can juse edit what are in folders.
__________________
Scito hoc super omnia.
Haec vita est tua una sola.
Dum vita superest, utere maxime quoque puncto, momento, et hora quae habes.
Tempus neminem non manet.
Noli manere tempus.
Carpe Diem

Seize the Day.
  #8  
Old 04-01-2006, 02:11 PM
Maniaman Maniaman is offline
Registered User
Join Date: Aug 2005
Posts: 326
Maniaman is on a distinguished road
I posted a small tutorial on the Graal bible for this a while back.
http://wiki.graal.net/index.php/Crea...pdate_Packages
__________________

Current Maloria Event: (click to go to it)
  #9  
Old 08-01-2006, 01:21 AM
Rapidwolve Rapidwolve is offline
Registered User
Join Date: Jul 2006
Posts: 1,241
Rapidwolve is an unknown quantity at this point
Quote:
Originally Posted by petro1212
GUPD's, Graal Update Packadges

...
How did you yourself learn how to do it if no one uploaded a FAQ? o_O

Last edited by Sam; 08-01-2006 at 08:51 AM.. Reason: reduced quoted text
  #10  
Old 08-01-2006, 04:04 PM
ApothiX ApothiX is offline
Okiesmokie
Join Date: May 2004
Posts: 1,447
ApothiX is on a distinguished road
Quote:
Originally Posted by Rapidwolve
How did you yourself learn how to do it if no one uploaded a FAQ? o_O
Graal/updatepackages/, all of the options are pretty straight forward.
__________________


[06:24:19] * Parts: Skyld (i=silent@unaffiliated/skyld) ("Perhaps Okiesmokie did not realise that I like the boys. ")
  #11  
Old 08-01-2006, 07:44 PM
KuJi KuJi is offline
Banned
Join Date: Apr 2004
Location: Staten Island, New York
Posts: 2,202
KuJi will become famous soon enough
Send a message via ICQ to KuJi Send a message via AIM to KuJi Send a message via MSN to KuJi Send a message via Yahoo to KuJi
Quote:
Originally Posted by Rapidwolve
How did you yourself learn how to do it if no one uploaded a FAQ? o_O
Above your post (around 3-4 months ago :O) he posted a wiki on it which helped me to on how to do it aswell. Read
  #12  
Old 08-02-2006, 03:33 PM
Tim25 Tim25 is offline
Registered User
Tim25's Avatar
Join Date: Apr 2003
Location: Michigan
Posts: 22
Tim25 is on a distinguished road
Send a message via AIM to Tim25
So, i've been playing around with the update packages, they seem pretty simple to understand. However, how do I download the G2K2 music files? I see there are three kingdommusic subpackages in there, but I don't know how to use them, or where to enter them...
__________________
  #13  
Old 08-02-2006, 04:27 PM
KuJi KuJi is offline
Banned
Join Date: Apr 2004
Location: Staten Island, New York
Posts: 2,202
KuJi will become famous soon enough
Send a message via ICQ to KuJi Send a message via AIM to KuJi Send a message via MSN to KuJi Send a message via Yahoo to KuJi
Uhm...

Go on Graal --> Click Start --> Click Start --> Click Install Packages

look for GK Music (1/2/3) and click Install on each. Now wait o.O
  #14  
Old 08-02-2006, 06:16 PM
Tim25 Tim25 is offline
Registered User
Tim25's Avatar
Join Date: Apr 2003
Location: Michigan
Posts: 22
Tim25 is on a distinguished road
Send a message via AIM to Tim25
Uh....wow I feel like an idiot. I never even saw that damn button there. Thanks!
__________________
  #15  
Old 08-02-2006, 10:05 PM
KuJi KuJi is offline
Banned
Join Date: Apr 2004
Location: Staten Island, New York
Posts: 2,202
KuJi will become famous soon enough
Send a message via ICQ to KuJi Send a message via AIM to KuJi Send a message via MSN to KuJi Send a message via Yahoo to KuJi
Quote:
Originally Posted by Tim25
Uh....wow I feel like an idiot. I never even saw that damn button there. Thanks!
Hehe yeah
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 06:00 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.