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

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- 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 February 10th, 2010, 05:13 PM

pyg pyg is offline
BANNED USER
 
Join Date: Jan 2009
Location: a small farm
Posts: 340
Thanks: 73
Thanked 103 Times in 42 Posts
pyg is on a distinguished road
Default combineMods.py

Quote:
Originally Posted by pyg
I intend to release another version of DMG and I would like to test it further by creating combined mods for interested parties. If you want to put together a game with a lot of mods or would like a package of a certain set of mods, let me help. You get the combined mods you want and I get free testing.
And here it is. The included utility (combineMods.py) is a functional replacement for Llamabeast's combineMods. It probably contains bugs but many of them have been worked out doing the mods for Blood Red and Lunar Sea games.

The following would generate the equivalent of the Blood Red mod:
Code:
./combineMods.py 2 CBcomplete_1.6.dm TombKings.dm City\ of\ Wonders.dm Jomon\ broken.dm Warhammer\ Skaven.dm themiskyra_MA3.dm Warhammer\ Dwarfs.dm Arga\ Dis.dm Warhammer\ Ogre\ Kingdoms.dm BLOODRED
And for Lunar Sea:
Code:
./combineMods.py 1 CBcomplete_1.6.dm diversity.dm holywar.dm sitemod.dm CPCS.dm LUNARSEA
This utility has moved to here. I removed the attachment because I don't want to update in both places.

Last edited by pyg; May 14th, 2010 at 10:10 PM..
Reply With Quote
The Following 3 Users Say Thank You to pyg For This Useful Post:
  #2  
Old March 27th, 2010, 09:26 PM

pyg pyg is offline
BANNED USER
 
Join Date: Jan 2009
Location: a small farm
Posts: 340
Thanks: 73
Thanked 103 Times in 42 Posts
pyg is on a distinguished road
Default Re: combineMods.py

OP now contains utility.
Reply With Quote
  #3  
Old April 2nd, 2010, 10:42 AM

mehrunes_dagon mehrunes_dagon is offline
Corporal
 
Join Date: Dec 2006
Location: Jotunheim
Posts: 66
Thanks: 7
Thanked 7 Times in 7 Posts
mehrunes_dagon is on a distinguished road
Bug Re: combineMods.py

ups, does not work under *nix

ImportError: No module named DMG

and after renamin dmg/ to DMG/ is still does not work

ImportError: cannot import name D3M

'''and string d3m is nowhere to be found'''

By the way, perl mod-combiner malfunctions, so i am impatiently waitin for a workin replacement
Reply With Quote
  #4  
Old April 2nd, 2010, 02:37 PM

pyg pyg is offline
BANNED USER
 
Join Date: Jan 2009
Location: a small farm
Posts: 340
Thanks: 73
Thanked 103 Times in 42 Posts
pyg is on a distinguished road
Default Re: combineMods.py

Quote:
Originally Posted by mehrunes_dagon View Post
ups, does not work under *nix

ImportError: No module named DMG

and after renamin dmg/ to DMG/ is still does not work

ImportError: cannot import name D3M

'''and string d3m is nowhere to be found'''

By the way, perl mod-combiner malfunctions, so i am impatiently waitin for a workin replacement
Sounds like you moved things around after unzipping. Best place to unzip is in mods/ After unzipping there should be a combineMods.py, a DMG.py, and a dmg/ Doing ./combineMods.py should give you usage help text. Moving combineMods.py to a different directory than DMG.py will give you the results described above.
Reply With Quote
  #5  
Old April 2nd, 2010, 04:23 PM

pyg pyg is offline
BANNED USER
 
Join Date: Jan 2009
Location: a small farm
Posts: 340
Thanks: 73
Thanked 103 Times in 42 Posts
pyg is on a distinguished road
Default Re: combineMods.py

Here is an Asia themed mod containing EA-LA TC, Yomi-Jomon, EA Atreus, Goguryeo, Shangri-La, and EA-LA * Qayan.
Attached Files
File Type: zip asia.zip (840.0 KB, 206 views)
Reply With Quote
The Following User Says Thank You to pyg For This Useful Post:
  #6  
Old April 2nd, 2010, 04:34 PM
kennydicke's Avatar

kennydicke kennydicke is offline
Corporal
 
Join Date: Feb 2010
Location: Winston, OR, USA
Posts: 87
Thanks: 153
Thanked 12 Times in 6 Posts
kennydicke is on a distinguished road
Default Re: combineMods.py

Hmm, sounds like a good time for me to try out Shangri-La. Thanks you!
Reply With Quote
  #7  
Old April 3rd, 2010, 12:33 AM

mehrunes_dagon mehrunes_dagon is offline
Corporal
 
Join Date: Dec 2006
Location: Jotunheim
Posts: 66
Thanks: 7
Thanked 7 Times in 7 Posts
mehrunes_dagon is on a distinguished road
Bug Re: combineMods.py

the utility has a nice side-effect of checking if all the graphics is referenced correctly

unfortunately there is a bug which becomes visible when a processed mod contains commented-out line like

-spr1 ".\Angmar\Winged Uruloki\Winged_Uruloki_1.tga"
-spr2 ".\Angmar\Winged Uruloki\Winged_Uruloki_2.tga"

combineMods.py tries to find these files, fails and prints error message

Bad File Name: {name of tga}

Last edited by mehrunes_dagon; April 3rd, 2010 at 12:36 AM.. Reason: angle brackets ignored in 1st version of my post
Reply With Quote
  #8  
Old April 5th, 2010, 08:49 AM

pyg pyg is offline
BANNED USER
 
Join Date: Jan 2009
Location: a small farm
Posts: 340
Thanks: 73
Thanked 103 Times in 42 Posts
pyg is on a distinguished road
Default Re: combineMods.py

Quote:
Originally Posted by mehrunes_dagon View Post
the utility has a nice side-effect of checking if all the graphics is referenced correctly

unfortunately there is a bug which becomes visible when a processed mod contains commented-out line like

-spr1 ".\Angmar\Winged Uruloki\Winged_Uruloki_1.tga"
-spr2 ".\Angmar\Winged Uruloki\Winged_Uruloki_2.tga"

combineMods.py tries to find these files, fails and prints error message

Bad File Name: {name of tga}
Don't worry about the error message to much, it still creates the mod. If it was a commented out sprite it's still going to complain, sorry. You can turn off the sprite compilation by changing line 8 where it says 'packTGAs = True' to 'packTGAs = False'. This will also save space as you wont' have duplicate copies of all the graphics.

It should also be telling you that how many nations, monsters, spells, etc. it combined. It DOES NOT check to make sure those numbers are within safe limits. Usually new spells is the first to go over (~135 I think).
Reply With Quote
The Following User Says Thank You to pyg For This Useful Post:
  #9  
Old April 8th, 2010, 11:33 PM

pyg pyg is offline
BANNED USER
 
Join Date: Jan 2009
Location: a small farm
Posts: 340
Thanks: 73
Thanked 103 Times in 42 Posts
pyg is on a distinguished road
Default Re: combineMods.py

OK, here is a mod of stuff I enjoy using together. It is a bit like the Lunar Sea mod. This combo adds a lot of magical options. It uses up all the spell slots so it's not compatible with anything else. Contains:

CBM 1.6
Endgame Diversity
Holy War Divine + Sacreds and Priests
FW Thugs
CPCS
Mytheology
Attached Files
File Type: zip carne_adobada.zip (2.50 MB, 195 views)
Reply With Quote
The Following 2 Users Say Thank You to pyg For This Useful Post:
  #10  
Old April 9th, 2010, 06:45 AM

Sombre Sombre is offline
BANNED USER
 
Join Date: Feb 2007
Posts: 5,463
Thanks: 165
Thanked 324 Times in 190 Posts
Sombre is on a distinguished road
Default Re: combineMods.py

I think that combination deserves its own thread. A lot of people would probably like that pack and it could be used for some simply set up MP games.
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 11:53 PM.


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