.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

BCT Commander- Save $6.00
World Supremacy- Save $10.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 2: The Ascension Wars

Reply
 
Thread Tools Display Modes
  #1  
Old February 25th, 2004, 12:32 AM

mgarnett mgarnett is offline
Private
 
Join Date: Feb 2004
Location: Australia
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
mgarnett is on a distinguished road
Default Re: JAVA programmer? (and Win-DomMap, and some GIMP)

Hi all,

I also have compiled a working windows Version of the DomMap generator. I have also started work on afront end to allow variable changing etc.

I am new to the forum and see that Arryn has also started work on a front end. Let me know if you need any help. I'll keep working on mine just in case you don't get any time to finish.

By the way Arryn, I was finally able to view the TGA files.

Thanks

Mark Garnett
Brisbane Australia
Reply With Quote
  #2  
Old February 25th, 2004, 01:38 AM

alexti alexti is offline
First Lieutenant
 
Join Date: Dec 2003
Location: Calgary, Canada
Posts: 762
Thanks: 0
Thanked 0 Times in 0 Posts
alexti is on a distinguished road
Default Re: JAVA programmer? (and Win-DomMap, and some GIMP)

Quote:
Originally posted by Arryn:
Second, and more pointedly, if I apply "window-dressing" to the app, it will be a major (ie: almost complete) rewrite of the code, not just a recompile. This will render moot any source control between a Windows GUI Version and a linux console Version.
If you'll do window UI using Qt, you will be able to compile the same code on Linux and Windows (and Mac). And AFAIR, Qt is free for GPL-ed projects.
Reply With Quote
  #3  
Old February 25th, 2004, 01:53 AM
Arryn's Avatar

Arryn Arryn is offline
Major General
 
Join Date: Jan 2004
Location: twilight zone
Posts: 2,247
Thanks: 0
Thanked 0 Times in 0 Posts
Arryn is on a distinguished road
Default Re: JAVA programmer? (and Win-DomMap, and some GIMP)

Quote:
Originally posted by alexti:
If you'll do window UI using Qt, you will be able to compile the same code on Linux and Windows (and Mac). And AFAIR, Qt is free for GPL-ed projects.
I don't see a Qt/GPL Version for Windows. Also, if I'm going to write cross-platform code, I'd rather do it in Java. The only advantage to writing in C++ would be to use the (obviously non-portable) MFC libraries.

But thanks for clueing me in that there is a cross-platform compiler besides those from Borland and IBM.

[ February 24, 2004, 23:53: Message edited by: Arryn ]
__________________
Visit my Dominions II site
Reply With Quote
  #4  
Old February 25th, 2004, 03:03 PM

Leif_- Leif_- is offline
Sergeant
 
Join Date: Sep 2003
Location: Norway
Posts: 346
Thanks: 0
Thanked 0 Times in 0 Posts
Leif_- is on a distinguished road
Default Re: JAVA programmer? (and Win-DomMap, and some GIMP)

I've finally managed to get the "blur and bump-map" script to work with Gimp's batch mode - although unfortunately I had to hard-code the color values into the script. (I'm sure it's possible to send them in as parameters, but I don't know enough scheme to get it done.)

I've put the working script up at http://home.Online.no/~rmoldskr/Domi...blur-batch.scm

Place it in Gimp's scripts directory (~/.gimp-1.2/scripts on unix machines) and you can run it from the command line by typing gimp-1.2 -b '(script_fu_blur_random_map_batch "./random.tga")' - Alternatively, just add this as the Last line of run_dommap.sh
__________________
"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]
Reply With Quote
  #5  
Old February 25th, 2004, 03:27 PM

alexti alexti is offline
First Lieutenant
 
Join Date: Dec 2003
Location: Calgary, Canada
Posts: 762
Thanks: 0
Thanked 0 Times in 0 Posts
alexti is on a distinguished road
Default Re: JAVA programmer? (and Win-DomMap, and some GIMP)

Quote:
Originally posted by Arryn:
quote:
Originally posted by alexti:
If you'll do window UI using Qt, you will be able to compile the same code on Linux and Windows (and Mac). And AFAIR, Qt is free for GPL-ed projects.
I don't see a Qt/GPL Version for Windows.
I can't find it on their site either and now their current Version is 3.xx. But if I'm not mistaken, 2.xx Version was GPL-ed, so it can be obtained from somewhere else. and btw, it's not compiler, it's a GUI library (plus few extra libraries and tools)

Quote:
Also, if I'm going to write cross-platform code, I'd rather do it in Java. The only advantage to writing in C++ would be to use the (obviously non-portable) MFC libraries.
The use of MFC is only advantageous in commercial projects, where you're getting paid for fixing MFC bugs ;-)
Reply With Quote
  #6  
Old February 25th, 2004, 05:20 PM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default Re: JAVA programmer? (and Win-DomMap, and some GIMP)

Quote:
Originally posted by Leif_-:
I've finally managed to get the "blur and bump-map" script to work with Gimp's batch mode
Looks like you got it to work. And I thank you. Some of the GIMPers will be able to make use of it.

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. WHen I run your new script I get much farther than before but I get this...
Gtk-WARNING **: cannot open display:
even though Im not asking for a displayed finish. I even deleted the display line out of the script completely and it gave me that error

[ February 25, 2004, 15:21: Message edited by: Gandalf Parker ]
__________________
-- 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!)
Reply With Quote
  #7  
Old February 25th, 2004, 05:57 PM

Leif_- Leif_- is offline
Sergeant
 
Join Date: Sep 2003
Location: Norway
Posts: 346
Thanks: 0
Thanked 0 Times in 0 Posts
Leif_- is on a distinguished road
Default Re: JAVA programmer? (and Win-DomMap, and some GIMP)

Quote:
Originally posted by Gandalf Parker:
Looks like you got it to work. And I thank you. Some of the GIMPers will be able to make use of it.

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. WHen I run your new script I get much farther than before but I get this...
Gtk-WARNING **: cannot open display:
even though Im not asking for a displayed finish. I even deleted the display line out of the script completely and it gave me that error
Yes, I believe that is a flaw with Gimp - it actually needs to open its menu window, even when just doing batch-processing; so it needs an X display just to start. Terribly annoying.
__________________
"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]
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On

Forum Jump


All times are GMT -4. The time now is 12:04 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.