Daimonin
Members login
Sign Up!      problems?
N F
* Daimonin Forum
Home Help Search Calendar

Welcome Guest, you have to register to post here.
Search

News

Stats
74116 Posts in 6716 Topics by 8115 Members
Latest Member: salvafrench
Daimonin Forum  |  Development  |  Arches  |  Topic: Why are the collected arches in SVN? « previous next »
Pages: [1] Go Down Print
Topic: Why are the collected arches in SVN?  (Read 416 times)
smacky
Administrator
*
*
*
*
*


Karma: +114/-98
Posts: 5254



View Profile
« on: March 13, 2007, 06:26:07 pm »

From Skype:
Code:
[17:50:16] Jeff G: They are going to love me for committing collected arches: daimonin.0 is 11MB :|
[17:50:25] Longir: lol
[17:51:11] Jeff G: still, if you want to see your pretty lake/oasis on the test server ...
[17:51:27] Longir: exactly
[17:53:08] Smacky: *grumble* ive never understood why we have to have the arches as individual files and the collected arches on svn
[17:54:24] Jeff G: I suppose it's not really necessary.
[17:55:29] Smacky: im going to ask on the devteam forum
[17:55:37] Longir: we could just have daimonin.0, archetypes, animations, artifacts, bmaps.  that's fine, that's all the server cares about (daimonin.0 is the other 4 combined)
[17:56:16] Smacky: i would say have the uncollected arches on svn
[17:56:19] Longir: the only reason(s) for seperate arch files is for use in the editor
[17:56:44] Jeff G: I think what Smacky means is that they don't have to be on SVN and can be collected by individuals and for the test server locally
[17:57:04] Smacky: and for access by humans (and artists ;))
[17:57:06] Longir: test server needs a collected arch file though
[17:57:09] Jeff G: Then nobody has to download huge files
[17:57:16] Smacky: yes grommit
[17:58:12] … longir, the test server could collect them itself during the restart process. only takes a couple of seconds
[17:58:13] Jeff G: Hey - I am officially an artist now - I can use Gimp to chop bits out of water tiles and make fmasks!
[17:58:28] Longir: it doesn't need the seperate arch files
[17:58:54] Jeff G: The test server can't collect them though, it needs to be done by the editor
[17:58:57] Longir: exactly
[17:59:15] Smacky: so how do you make the collected files if not from the separate files?
[17:59:24] Longir: the server uses the archetypes and animations files
[17:59:35] Jeff G: So it's a manual process. With the present setup, the server always gets the latest collected arches
[17:59:45] Longir: you make it from the seperate files in the editor or edit archetypes and animations files
[18:00:15] Jeff G: Open editor - go to Resources and click on Collect archetypes
[18:00:20] Smacky: so create a standalone collecting program that the server can run without needing gridarta to hold its hand
[18:00:40] Jeff G: How's your Java, Smacky?
[18:00:47] Smacky: or just extract the code from gridarta
[18:01:15] … hehe well the code obviously exists is my point
[18:01:36] Longir: that's fine, rewrite the /restart (or dmon_loop.sh) to collect arches, artifacts, animations, bmaps then ./daimonin_server
[18:01:41] Smacky: its just not accessible except as part of gridarta
[18:01:56] … or that
[18:04:04] Longir: all I know of the collection though is it gets all the info from the archs and splits it into archetypes and animations and points to the proper number bmaps entries then those 3 plus artifacts gets packaged into daimonin.0 which gets sent to the client as daimonin.p0
Logged

Cheristheus
Administrator
*
*
*


Karma: +0/-0
Posts: 754



View Profile
« Reply #1 on: March 17, 2007, 02:27:29 pm »

Afaik the collection is in svn so people can compile and run the server out of svn without needing to have Java+Gridarta running before that.
Otoh, generated files shouldn't be checked in, so a "nightly build" of daimonin.0 etc. outside SVN would probably be more reasonable.
Logged

Cher Smiley
smacky
Administrator
*
*
*
*
*


Karma: +114/-98
Posts: 5254



View Profile
« Reply #2 on: October 29, 2007, 01:09:18 pm »

Hm, didn't go very far...

OK then, why do we have to
Code:

cp arch/* server/lib/


Why does the server not read the files it needs directly from ../arch/, like it reads directly from ../maps/ ?
Logged

Torchwood
MapMaster
*
*
*


Karma: +34/-5
Posts: 948



View Profile
« Reply #3 on: April 20, 2008, 01:33:40 pm »

Add arch collecting code to the server or have it done through a small standalone program. So it can be done automatically by the sever, rather than having to commit collections to various SVNs

Sorry to resurrect an old thread ... but some progress on this one.  BadMotorFinger says he is good at Java and C coding, so I spoke to him on IRC the other day and asked him to look into this.

He found that if you start the editor with a -C command line option then the editor will start without a GUI and will go straight into arch collection mode!  Unfortunately, it is slightly broken in that once the collection has finished the editor process does not terminate (so if you called this from the server startup process, you wouldn't know when it had finished).

I asked BMF if he knew why, but he hasn't replied.

Does anyone have contact with the Gridarta developers?  Maybe this could be fixed and then we have our standalone arch collection application ... which would mean we wouldn't need to commit all the collection files every time we do an arch change (I think).
« Last Edit: April 20, 2008, 02:13:39 pm by Torchwood » Logged

smacky
Administrator
*
*
*
*
*


Karma: +114/-98
Posts: 5254



View Profile
« Reply #4 on: April 20, 2008, 02:16:53 pm »

I have split the above post to a relevant thread in a public forum and notified the gridarta dev(s) on IRC.

We had a discussion on IRC about this the other day. If anyone logs IRC, please post it.
Logged

Pages: [1] Go Up Print 
Daimonin Forum  |  Development  |  Arches  |  Topic: Why are the collected arches in SVN? « previous next »
Jump to:  

Page created in 0.091 seconds with 19 queries.
Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks
Copyright 2008 Daimonin MMORPG  •  Terms of Service  •  XHTML  •  Daimonin sourceforge open source project