LED Question

Talk about Severance Blade of Darkness modifications and maps here. No tips or tech support questions please, use the forum above. Note that the game is rated 18 so some content may be unsuitable for younger readers.

Moderators: prospero, Ade

Post Reply
User avatar
IrateGiant
Dragon
Posts: 328
Joined: Fri Jan 08, 2010 12:35 pm
Location: Spain
Contact:

Post by IrateGiant »

Yes, in "compiler.bat" was the problem SR, here my wonderfull map! [:D][:I]

Image

Now, i´ll try to continue with my ideas [8D][;)]

User avatar
prospero
Ancient Dragon
Posts: 1735
Joined: Wed Nov 21, 2001 1:42 am
Location: United Kingdom

Post by prospero »

[:D] I see you have cracked the case. Excellent.[8D]

Sir Random
Dragon
Posts: 737
Joined: Thu Nov 15, 2001 12:58 am
Location: Ireland
Contact:

Post by Sir Random »

Beautiful! [:D]

You have now opened Pandora's box, there's no going back... [;)]

Hey Pro, can you help with my savegame problem?

User avatar
IrateGiant
Dragon
Posts: 328
Joined: Fri Jan 08, 2010 12:35 pm
Location: Spain
Contact:

Post by IrateGiant »

<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote"><i>Originally posted by prospero</i>

Don't be disheartened IG. You are doing more than fine. This sort of weirdness happens now and then. I still get it and I have been doing it for years.<hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote">
Thanks pro, I really like all the world around BOD, and if i can count with the help, I think I can improve! Thanks!! [:D][;)]

User avatar
IrateGiant
Dragon
Posts: 328
Joined: Fri Jan 08, 2010 12:35 pm
Location: Spain
Contact:

Post by IrateGiant »

Hi guys! I am looking for the tool "genmmp", but "http://blade-of-darkness.bigtruck-canad ... en_mmp.htm", the download file "genmmp" is for "BODLoader"(is changed), and here "http://www.uco.es/~cc0luesr/RecursosBlade/texturas.htm" the file is corrupted. Can anyone upload the program to "MODDB"?

I want to create the files. ".mmp" and ".DAT" with all the textures. [:)]

Sir Random
Dragon
Posts: 737
Joined: Thu Nov 15, 2001 12:58 am
Location: Ireland
Contact:

Post by Sir Random »

Here's genmmp, just copy and save as genmmp.py

Code: Select all

##############################################################################
## genmmp v 1.0 - by Masklin - May-2001
##############################################################################

import BaBx
import sys

BODHome = "C:/Codemasters/Severance/"
sys.path.append(BODHome+"Lib/PythonLib")
sys.path.append(BODHome+"Lib/PythonLib/Idle")
sys.path.append(BODHome+"Lib/PythonLib/lib-tk")
sys.path.append(BODHome+"Lib/PythonLib/DLLs")

import os
import re

Bitmaps = []
MMPName = ""

def process (dirname):
	
   global Bitmaps
   global MMPName
   files = os.listdir(dirname)
   files.sort()
   for file in files:   
     basename = os.path.basename (file)
     name,ext = os.path.splitext (basename)
     if ext == '.bmp':
        print "genmmp: Found ",basename
        name=re.split ("__", name, 1)[0] 

    	Bitmaps.append(BaBx.BitmapData(name,basename,1))
    	
   if len (Bitmaps):

     print "genmmp: processing bitmaps..."
     MMPName = os.path.basename (dirname)
     os.chdir (MMPName)
     BaBx.ProcessBitmaps(Bitmaps)

   else:
      print "genmmp: bmp files not found at ", dirname



def save ():
	
   global Bitmaps
   global MMPName
    	
   if len (Bitmaps):
     print "genmmp: generating "+MMPName+".mmp file..."
     BaBx.SaveFile(MMPName+".mmp")
        
     print "genmmp: generating "+MMPName+".dat file..."
     file = open (MMPName+".dat", 'wt')
     file.write ('1\n')
     for bm in Bitmaps:
         file.write ('%s\n%s\n'%(bm.BMPName, bm.InternalName))
     file.close()

   else:
      print "genmmp: bmp files not found at ", dirname


User avatar
IrateGiant
Dragon
Posts: 328
Joined: Fri Jan 08, 2010 12:35 pm
Location: Spain
Contact:

Post by IrateGiant »

Many thanks SR! I´ll continue with the map [:)]

esfumato
Dragon
Posts: 264
Joined: Wed Dec 11, 2002 7:36 pm
Location: Spain
Contact:

Post by esfumato »

You don't need Genmmp.py anymore.

Sgi1981 did a software that extract, and compile your own textures into an mmp file.

I think that Genmmp.py could be fine, only because it generates automatically your *.dat file to load them in LED.

User avatar
prospero
Ancient Dragon
Posts: 1735
Joined: Wed Nov 21, 2001 1:42 am
Location: United Kingdom

Post by prospero »

Make sure you edit the line:

BODHome = "C:/Codemasters/Severance/"

if you your folder structure is different.[;)]

User avatar
IrateGiant
Dragon
Posts: 328
Joined: Fri Jan 08, 2010 12:35 pm
Location: Spain
Contact:

Post by IrateGiant »

Thanks guys!

esfumato

Yes, I usually use the tool "bmp_to_mmp" of Sgi1981 to create textures files, but i need to generate the file ".DAT" for the maps in LED. [:)]

prospero

Yes, my first attempt, I forgot to edit this line [:D]

User avatar
Tomash
Dragon
Posts: 247
Joined: Sat Oct 25, 2008 11:23 am
Location: Russia
Contact:

Post by Tomash »

<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote">
but i need to generate the file ".DAT" for the maps in LED.
<hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote">

SGIMMP Workstation has a tool for it

User avatar
Tomash
Dragon
Posts: 247
Joined: Sat Oct 25, 2008 11:23 am
Location: Russia
Contact:

Post by Tomash »

1) Select bmp-files of your mmp-archive

2) [File] -> [Export textures list]

If you will add some new textures later then use this method again and choose your DAT-file you wanna update

User avatar
IrateGiant
Dragon
Posts: 328
Joined: Fri Jan 08, 2010 12:35 pm
Location: Spain
Contact:

Post by IrateGiant »

[:O] Thanks Tomash!, I didn't know this [:)]

User avatar
IrateGiant
Dragon
Posts: 328
Joined: Fri Jan 08, 2010 12:35 pm
Location: Spain
Contact:

Post by IrateGiant »

I need help guys. My pc is crazy! [:D], This afternoon, i open "LED" to continue with my map, but the tools don´t appear. Here a pic:

Image

As the picture shows the tools are selected, but don´t appear. [xx(]

I tried to remove the tools and re-open from the file .rar, but nothing. What happens? [B)]

Sir Random
Dragon
Posts: 737
Joined: Thu Nov 15, 2001 12:58 am
Location: Ireland
Contact:

Post by Sir Random »

You need to delete this file:

Led_d.ini

Usually in the Windows folder.

in my Win7, it's in:
C:\Users\NAME\AppData\Local\VirtualStore

LED will create a new .ini when you restart it.

Btw, there's nothing wrong with your PC, I think everyone gets that problem at some stage. LED has a few bugs, but you'll learn to work around them.

Post Reply