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

This Month's Specials

The Star & the Crescent- Save $9.00
winSPWW2- Save $6.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening > Scenarios, Maps and Mods

Reply
 
Thread Tools Display Modes
  #1  
Old June 2nd, 2007, 02:23 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 Dominions Skin browser

I have thrown together a small Java utility, the Dominions Skins Browser. It is a GUI tool that makes it quick and easy to change the graphical skin of Dominions 3.

You need to have a Java 1.4 runtime installed to use this. To run it, simply download the jar-file and either double-click on it or start it from the command-line with "java -jar DominionsSkinBrowser.jar". Source code is included in the jar, and is released into the public domain.

On startup, it tries to locate your dominions3 directory -- it should be able to find it on most Linux and Windows installations, don't know about Mac. (If it doesn't find it automatically, you can locate it manually though the "Browse" button.)

Once it has found the dominions3 directory, it looks for a subdirectory skins. If it doesn't already exists the program will create it.

You can now choose from the skins in the dominions3/skins/ directory on a list on the left side of the screen. On the right, you can see any description or screenshots of the skin (more about those in a bit.)

The first time you run it, there will probably be only one choice, "Illwinter default" -- an automatic backup of the current graphics that the program made when it created the skins/ directory.

There are a couple of old skins I made available here. Unzip this file into the skins directory and restart the Skins browser. You should now have a few skins to choose between.

Select the skin you like and press "Activate." The skin is now installed and you can start Dominions 3.

Skins, as this program understands it, are subdirectories under dominions3/skins which contains three things: variants of the tga image files read by Dominions, screenshots (any file with names like Screenshot_XX.jpg where XX is a number) and a file skin_description.dsc which contains the version number, the name of the author and a description of the skin. Look to the example skins for the format of this file.

(Right now the program is not all that useful, really: it's not that difficult to copy a set of tga files into the dominions3 directory by hand, but I hope to add support for an online repository at a later stage.)
__________________
"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
  #2  
Old June 2nd, 2007, 02:43 PM
Ballbarian's Avatar

Ballbarian Ballbarian is offline
Colonel
 
Join Date: May 2005
Location: Kansas, USA
Posts: 1,538
Thanks: 289
Thanked 194 Times in 94 Posts
Ballbarian will become famous soon enough
Default Re: Dominions Skin browser

Great idea Leif.

WinXP here, but I use a non standard location for dom3. When I use browse to locate the dom3 directory, it properly creates the skin folder and creates the Illwinter_Default backup of original image files, but nothing appears in the skin browser. No skins appear ready for activation.

I am afraid that I have broken it.
__________________
RanDom v2 - Map gen & Semirandomizer.
Province Editor - Custom province creation made easier.
God Editor - Custom pretender creation made easier.
Map Forge - Map editor
Reply With Quote
  #3  
Old June 2nd, 2007, 02:49 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: Dominions Skin browser

Quote:
Ballbarian said:
I am afraid that I have broken it.
Already?! -- Do you get the "Illwinter_Default" choice in the list? Have you tried browsing for the Dominions 3 directory again? (I'm afraid the program doesn't remember where it found it the last time.)
__________________
"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
  #4  
Old June 2nd, 2007, 03:47 PM
Ballbarian's Avatar

Ballbarian Ballbarian is offline
Colonel
 
Join Date: May 2005
Location: Kansas, USA
Posts: 1,538
Thanks: 289
Thanked 194 Times in 94 Posts
Ballbarian will become famous soon enough
Default Re: Dominions Skin browser

"C:\Games\dominions3" shows in the Dom3 dir field after I have used the browse button to locate it, but the "Illwinter_Default" choice does not appear in the list. I have tried several restarts and pointing to various levels of the directory tree including pointing to the Skins and the Illwinter_Default directory as well. (Using Java 1.5)
__________________
RanDom v2 - Map gen & Semirandomizer.
Province Editor - Custom province creation made easier.
God Editor - Custom pretender creation made easier.
Map Forge - Map editor
Reply With Quote
  #5  
Old June 2nd, 2007, 04:01 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: Dominions Skin browser

Could you open a CMD window, cd to the directory where you have the DominionsSkinBrowser.jar and run the comman "java -jar DominionsSkinBrowser.jar > DSB.txt" Browse to your Dom3 directory, then close the DominionsSkinBrowser. Send me the DSB.txt file
__________________
"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
  #6  
Old June 2nd, 2007, 04:36 PM
Ballbarian's Avatar

Ballbarian Ballbarian is offline
Colonel
 
Join Date: May 2005
Location: Kansas, USA
Posts: 1,538
Thanks: 289
Thanked 194 Times in 94 Posts
Ballbarian will become famous soon enough
Default Re: Dominions Skin browser

Done and sent to the address in your profile.
__________________
RanDom v2 - Map gen & Semirandomizer.
Province Editor - Custom province creation made easier.
God Editor - Custom pretender creation made easier.
Map Forge - Map editor
Reply With Quote
  #7  
Old June 2nd, 2007, 06:03 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: Dominions Skin browser

Hmmm multiple skins leads me to think about setting my icons so that I swap the skins for each nation I play. I would be fun to swap a leafy green forest skin when playing Pangaea for more of a stone skin playing Ulm.
__________________
-- 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
  #8  
Old June 3rd, 2007, 04:50 AM

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: Dominions Skin browser

Quote:
Ballbarian said:
Done and sent to the address in your profile.
Huh. The program has actually found the Illwinter_Default skin; so it has to be a display problem, but everything looks right here.

Try to download the example skins I linked to in my first post, and put those in the skins directory. Then, if nothing happens, try to resize the application window.
__________________
"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
  #9  
Old June 3rd, 2007, 04:51 AM

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: Dominions Skin browser

Quote:
Gandalf Parker said:
Hmmm multiple skins leads me to think about setting my icons so that I swap the skins for each nation I play. I would be fun to swap a leafy green forest skin when playing Pangaea for more of a stone skin playing Ulm.
Good point. I'll add some comman-line switches so it can run in batch-mode without the GUI.
__________________
"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
  #10  
Old June 3rd, 2007, 10:28 AM
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: Dominions Skin browser

Glad to see you back Leif. Id love to see some of your Dom2 stuff regenerated.
__________________
-- 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
Reply

Bookmarks


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 05:06 PM.


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