View Single Post
  #8  
Old March 6th, 2009, 01:16 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: DomModGen (AnyAny/IndyFunPits)

I've been adding features to dmg so that now it can, with minimal hints, add arbitrary .dm files. To test it I've generated a very large mod set in the Late Era with all the original nations plus Rohan, Trolls, Carthacia, Seraphim, Haida Gwaii, The Hoburg Alliance, Urdheim, Machaka Spider Cult, Padmassa, Sar Elad, Skavenblight, plus just for fun CBM 1.41 and CPCS .04. It comes with all the necessary .tga files (repackaged) as well.

I'm sure there are some conflicts/bugs somewhere but I haven't discovered them yet. This is for demo/testing purposes.

Code:
#!/usr/bin/env python                                                                                                       
# -*- Mode: Python; tab-width: 4 -*-                                                                                        

from DMG import D3M

mod = D3M(era=3, modname="DMG MegaMod")
mod.add_all_nations()
dm = open("CBcomplete_1.41.dm", "rb").read()
mod.add_dm(dm, False)
dm = open("CPCS.dm", "rb").read()
mod.add_dm(dm)
dm = open("rohan.dm", "rb").read()
mod.add_dm(dm)
dm = open("troll_kingdom.dm", "rb").read()
mod.add_dm(dm)
dm = open("CarthaciaE.dm", "rb").read()
mod.add_dm(dm)
dm = open("Crusade.dm", "rb").read()
mod.add_dm(dm)
dm = open("haida.dm", "rb").read()
mod.add_dm(dm)
dm = open("Hoburg_D3SE.dm", "rb").read()
mod.add_dm(dm)
dm = open("kobold.dm", "rb").read()
mod.add_dm(dm)
dm = open("machakaspidercult.dm", "rb").read()
mod.add_dm(dm)
dm = open("padmassa_ea.dm", "rb").read()
mod.add_dm(dm)
dm = open("sarelad.dm", "rb").read()
mod.add_dm(dm)
dm = open("Warhammer Skaven.dm", "rb").read()
mod.add_dm(dm)                                                        

print mod
Attached Files
File Type: zip dmg_mega.zip (1.14 MB, 196 views)

Last edited by pyg; March 6th, 2009 at 01:28 AM..
Reply With Quote
The Following 2 Users Say Thank You to pyg For This Useful Post: