|
|
|
 |

February 25th, 2004, 07:16 PM
|
Sergeant
|
|
Join Date: Sep 2003
Location: Norway
Posts: 346
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: JAVA programmer? (and Win-DomMap, and some GIMP)
Quote:
Originally posted by PhilD:
Too bad, really. Me, I like the result, and I'll probably add a switch to dommap to launch this script on the .tga... ugly kludge, but if the maps look better...
|
I'm working on a perl script right now to do batch production of maps processed with this script. I'll put it up somewhere when it's ready.
__________________
"Freefall, my old nemesis! All I have to do is activate my compressed gas rocket boots and I will cheat you once again! Belt control ON!…On?" [i]Othar Trygvasson[i]
|

February 25th, 2004, 09:28 PM
|
Sergeant
|
|
Join Date: Sep 2003
Location: Norway
Posts: 346
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: JAVA programmer? (and Win-DomMap, and some GIMP)
Quote:
Originally posted by Leif_-:
I'm working on a perl script right now to do batch production of maps processed with this script. I'll put it up somewhere when it's ready.
|
Okay, I'm finished with the perl script now. It basically lets you create a number of maps with dommap, prettifies them with the Gimp script, zips up the maps in individual zip-files, generates thumbnails and builds a (very basic) web-page where the maps can be downloaded from. (The web-page thing can be turned off)
The script can be found at http://home.Online.no/~rmoldskr/dominions.html and an example web-page with a handfull of generated maps on it can be found at http://home.Online.no/~rmoldskr/Domi...nion_maps.html
__________________
"Freefall, my old nemesis! All I have to do is activate my compressed gas rocket boots and I will cheat you once again! Belt control ON!…On?" [i]Othar Trygvasson[i]
|

February 25th, 2004, 09:37 PM
|
 |
Corporal
|
|
Join Date: Jan 2004
Posts: 151
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: JAVA programmer? (and Win-DomMap, and some GIMP)
Magnificent
|

February 25th, 2004, 10:01 PM
|
 |
Shrapnel Fanatic
|
|
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
|
|
Re: JAVA programmer? (and Win-DomMap, and some GIMP)
Quote:
Originally posted by Leif_-:
Okay, I'm finished with the perl script now. It basically lets you create a number of maps with dommap, prettifies them with the Gimp script, zips up the maps in individual zip-files, generates thumbnails and builds a (very basic) web-page where the maps can be downloaded from. (The web-page thing can be turned off)
|
Wow, you are good. Sounds like what I have running (minus the gimp part) but you got there alot faster than I did. I will definetly take a look at it.
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
|

February 25th, 2004, 10:34 PM
|
Sergeant
|
|
Join Date: Sep 2003
Location: Norway
Posts: 346
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: JAVA programmer? (and Win-DomMap, and some GIMP)
Quote:
Originally posted by Gandalf Parker:
Unfortunately it still wont quite fill my needs because Im hard-headed and dont load GUIs on my servers. Everything I do with the maps so far uses no console display.
|
I came across something here http://gug.sunsite.dk/tutorials/tomcat17/ about using virtual frame-buffers to allow Gimp to do batch processing from a text console. As far as I understand, you'd have to install X Window on the machine to get the frame-buffer, but you wouldn't have to actually start X Window as such.
Would that help you?
__________________
"Freefall, my old nemesis! All I have to do is activate my compressed gas rocket boots and I will cheat you once again! Belt control ON!…On?" [i]Othar Trygvasson[i]
|

February 25th, 2004, 10:48 PM
|
 |
Major General
|
|
Join Date: Jan 2004
Location: twilight zone
Posts: 2,247
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: JAVA programmer? (and Win-DomMap, and some GIMP)
I've posted a link to Leif's page on my site so that it may be easily found in the future (no forum searching needed).
|

February 25th, 2004, 10:58 PM
|
 |
First Lieutenant
|
|
Join Date: Sep 2003
Location: Bordeaux, France
Posts: 794
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: JAVA programmer? (and Win-DomMap, and some GIMP)
Quote:
Originally posted by Leif_-:
quote: Originally posted by Leif_-:
I'm working on a perl script right now to do batch production of maps processed with this script. I'll put it up somewhere when it's ready.
|
Okay, I'm finished with the perl script now. It basically lets you create a number of maps with dommap, prettifies them with the Gimp script, zips up the maps in individual zip-files, generates thumbnails and builds a (very basic) web-page where the maps can be downloaded from. (The web-page thing can be turned off)
Great job!
Actually, I think the maps look reasonable now - they certainly don't have the polished look of hand-drawn maps, but they seem good enough.
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|