• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.
hey, i am atm testin the map exporter/maker.
when i try to build the map with the maker, i miss a adj-mod.txt. whats this?

also a problem: the maker dont access the map folder. need to copy the exe in it. would be nice if i dont need to do this.

edit: mh, fixed the error by adding an exception to handle it.
 
Last edited:
I got an error pup-up during map extraction, but the tool continued its work until he reached tile 819,135.

Using latest beta tools.

The log:

Code:
Log of MapExtractor v1.0.2.0
Logging started at: 13/07/2008 11.11.49 UTC

Successfully reached start.
Since there were no arguments, doing default extract
Extracting from command -extract
Successfully created exported maps directory.
Successfully created default images.txt
Extracting images with following parameters: OffsetX=0 OffsetY=0 ImageSizeX=117 ImageSizeY=45 NumImagesX=8 NumImagesY=8
Loading lightmap at C:\Programmi\Paradox Interactive\Victoria\map
Lightmap1 successfully loaded.
Lightmap1 tile data successfully loaded
Doing the following image: Offset=(0,0), Size=(117,45)
Doing the following image: Offset=(0,45), Size=(117,45)
Extracting grayscale of (0,0), Size=(117,45)
Extracting grayscale of (0,45), Size=(117,45)
Extracting ownership image of (0,45), Size=(117,45)
Extracting tile image of (0,45), Size=(117,45)
Extracting ownership image of (0,0), Size=(117,45)
Extracting border image of (0,45), Size=(117,45)
Done doing the following image: Offset=(0,45), Size=(117,45)
Doing the following image: Offset=(0,90), Size=(117,45)
Extracting grayscale of (0,90), Size=(117,45)
Extracting tile image of (0,0), Size=(117,45)
Extracting border image of (0,0), Size=(117,45)
Done doing the following image: Offset=(0,0), Size=(117,45)
Doing the following image: Offset=(0,135), Size=(117,45)
Extracting grayscale of (0,135), Size=(117,45)
Extracting ownership image of (0,90), Size=(117,45)
Extracting tile image of (0,90), Size=(117,45)
Extracting border image of (0,90), Size=(117,45)
Done doing the following image: Offset=(0,90), Size=(117,45)
Doing the following image: Offset=(0,180), Size=(117,45)
Extracting grayscale of (0,180), Size=(117,45)
Extracting ownership image of (0,135), Size=(117,45)
Extracting tile image of (0,135), Size=(117,45)
Extracting border image of (0,135), Size=(117,45)
Done doing the following image: Offset=(0,135), Size=(117,45)
Doing the following image: Offset=(0,225), Size=(117,45)
Extracting grayscale of (0,225), Size=(117,45)
Extracting ownership image of (0,180), Size=(117,45)
Extracting tile image of (0,180), Size=(117,45)
Extracting ownership image of (0,225), Size=(117,45)
Extracting tile image of (0,225), Size=(117,45)
Extracting border image of (0,180), Size=(117,45)
Done doing the following image: Offset=(0,180), Size=(117,45)
Doing the following image: Offset=(0,270), Size=(117,45)
Extracting grayscale of (0,270), Size=(117,45)
Extracting border image of (0,225), Size=(117,45)
Done doing the following image: Offset=(0,225), Size=(117,45)
Doing the following image: Offset=(0,315), Size=(117,45)
Extracting grayscale of (0,315), Size=(117,45)
Extracting ownership image of (0,270), Size=(117,45)
Extracting ownership image of (0,315), Size=(117,45)
Extracting tile image of (0,270), Size=(117,45)
Extracting tile image of (0,315), Size=(117,45)
Extracting border image of (0,315), Size=(117,45)
Done doing the following image: Offset=(0,315), Size=(117,45)
Doing the following image: Offset=(117,0), Size=(117,45)
Extracting grayscale of (117,0), Size=(117,45)
Extracting border image of (0,270), Size=(117,45)
Done doing the following image: Offset=(0,270), Size=(117,45)
Doing the following image: Offset=(117,45), Size=(117,45)
Extracting grayscale of (117,45), Size=(117,45)
Extracting ownership image of (117,0), Size=(117,45)
Extracting tile image of (117,0), Size=(117,45)
Extracting ownership image of (117,45), Size=(117,45)
Extracting tile image of (117,45), Size=(117,45)
Extracting border image of (117,0), Size=(117,45)
Done doing the following image: Offset=(117,0), Size=(117,45)
Doing the following image: Offset=(117,90), Size=(117,45)
Extracting grayscale of (117,90), Size=(117,45)


#################################
An exception has occurred.
#################################
Exception: System.AccessViolationException
	Derived from System.SystemException
	Derived from System.Exception
13/07/2008 11.12.20
Message: Tentativo di lettura o scrittura della memoria protetta. Spesso questa condizione indica che altre parti della memoria sono danneggiate.
Source: System.Drawing

STACK TRACE
Int32 GdipSaveImageToFile(System.Runtime.InteropServices.HandleRef, System.String, System.Guid ByRef, System.Runtime.InteropServices.HandleRef)
   in System.Drawing.SafeNativeMethods.Gdip.GdipSaveImageToFile(HandleRef image, String filename, Guid& classId, HandleRef encoderParams)
   in System.Drawing.Image.Save(String filename, ImageCodecInfo encoder, EncoderParameters encoderParams)
   in System.Drawing.Image.Save(String filename, ImageFormat format)
   in MapUtility.Extraction.ExtractTileImage(Lightmap map, Rectangle bounds)
   in MapUtility.Extraction.ExtractSection(Lightmap lm, Rectangle bounds)
   in MapUtility.Extraction.ExtractFileTask.TaskOverride()
   in CoreLib.Task.DoTask(Int32 index, TaskQueue tq)
   in CoreLib.TaskQueue.DoWork(Object value)
   in System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   in System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   in System.Threading.ThreadHelper.ThreadStart(Object obj)

Extracting ownership image of (117,90), Size=(117,45)
Extracting tile image of (117,90), Size=(117,45)
Extracting border image of (117,90), Size=(117,45)
Done doing the following image: Offset=(117,90), Size=(117,45)
Doing the following image: Offset=(117,135), Size=(117,45)
Extracting grayscale of (117,135), Size=(117,45)
Extracting ownership image of (117,135), Size=(117,45)
Extracting tile image of (117,135), Size=(117,45)
Extracting border image of (117,135), Size=(117,45)
Done doing the following image: Offset=(117,135), Size=(117,45)
Doing the following image: Offset=(117,180), Size=(117,45)
Extracting grayscale of (117,180), Size=(117,45)
Extracting ownership image of (117,180), Size=(117,45)
Extracting tile image of (117,180), Size=(117,45)
Extracting border image of (117,180), Size=(117,45)
Done doing the following image: Offset=(117,180), Size=(117,45)
Doing the following image: Offset=(117,225), Size=(117,45)
Extracting grayscale of (117,225), Size=(117,45)
Extracting ownership image of (117,225), Size=(117,45)
Extracting tile image of (117,225), Size=(117,45)
Extracting border image of (117,225), Size=(117,45)
Done doing the following image: Offset=(117,225), Size=(117,45)
Doing the following image: Offset=(117,270), Size=(117,45)
Extracting grayscale of (117,270), Size=(117,45)
Extracting ownership image of (117,270), Size=(117,45)
Extracting tile image of (117,270), Size=(117,45)
Extracting border image of (117,270), Size=(117,45)
Done doing the following image: Offset=(117,270), Size=(117,45)
Doing the following image: Offset=(117,315), Size=(117,45)
Extracting grayscale of (117,315), Size=(117,45)
Extracting ownership image of (117,315), Size=(117,45)
Extracting tile image of (117,315), Size=(117,45)
Extracting border image of (117,315), Size=(117,45)
Done doing the following image: Offset=(117,315), Size=(117,45)
Doing the following image: Offset=(234,0), Size=(117,45)
Extracting grayscale of (234,0), Size=(117,45)
Extracting ownership image of (234,0), Size=(117,45)
Extracting tile image of (234,0), Size=(117,45)
Extracting border image of (234,0), Size=(117,45)
Done doing the following image: Offset=(234,0), Size=(117,45)
Doing the following image: Offset=(234,45), Size=(117,45)
Extracting grayscale of (234,45), Size=(117,45)
Extracting ownership image of (234,45), Size=(117,45)
Extracting tile image of (234,45), Size=(117,45)
Extracting border image of (234,45), Size=(117,45)
Done doing the following image: Offset=(234,45), Size=(117,45)
Doing the following image: Offset=(234,90), Size=(117,45)
Extracting grayscale of (234,90), Size=(117,45)
Extracting ownership image of (234,90), Size=(117,45)
Extracting tile image of (234,90), Size=(117,45)
Extracting border image of (234,90), Size=(117,45)
Done doing the following image: Offset=(234,90), Size=(117,45)
Doing the following image: Offset=(234,135), Size=(117,45)
Extracting grayscale of (234,135), Size=(117,45)
Extracting ownership image of (234,135), Size=(117,45)
Extracting tile image of (234,135), Size=(117,45)
Extracting border image of (234,135), Size=(117,45)
Done doing the following image: Offset=(234,135), Size=(117,45)
Doing the following image: Offset=(234,180), Size=(117,45)
Extracting grayscale of (234,180), Size=(117,45)
Extracting ownership image of (234,180), Size=(117,45)
Extracting tile image of (234,180), Size=(117,45)
Extracting border image of (234,180), Size=(117,45)
Done doing the following image: Offset=(234,180), Size=(117,45)
Doing the following image: Offset=(234,225), Size=(117,45)
Extracting grayscale of (234,225), Size=(117,45)
Extracting ownership image of (234,225), Size=(117,45)
Extracting tile image of (234,225), Size=(117,45)
Extracting border image of (234,225), Size=(117,45)
Done doing the following image: Offset=(234,225), Size=(117,45)
Doing the following image: Offset=(234,270), Size=(117,45)
Extracting grayscale of (234,270), Size=(117,45)
Extracting ownership image of (234,270), Size=(117,45)
Extracting tile image of (234,270), Size=(117,45)
Extracting border image of (234,270), Size=(117,45)
Done doing the following image: Offset=(234,270), Size=(117,45)
Doing the following image: Offset=(234,315), Size=(117,45)
Extracting grayscale of (234,315), Size=(117,45)
Extracting ownership image of (234,315), Size=(117,45)
Extracting tile image of (234,315), Size=(117,45)
Extracting border image of (234,315), Size=(117,45)
Done doing the following image: Offset=(234,315), Size=(117,45)
Doing the following image: Offset=(351,0), Size=(117,45)
Extracting grayscale of (351,0), Size=(117,45)
Extracting ownership image of (351,0), Size=(117,45)
Extracting tile image of (351,0), Size=(117,45)
Extracting border image of (351,0), Size=(117,45)
Done doing the following image: Offset=(351,0), Size=(117,45)
Doing the following image: Offset=(351,45), Size=(117,45)
Extracting grayscale of (351,45), Size=(117,45)
Extracting ownership image of (351,45), Size=(117,45)
Extracting tile image of (351,45), Size=(117,45)
Extracting border image of (351,45), Size=(117,45)
Done doing the following image: Offset=(351,45), Size=(117,45)
Doing the following image: Offset=(351,90), Size=(117,45)
Extracting grayscale of (351,90), Size=(117,45)
Extracting ownership image of (351,90), Size=(117,45)
Extracting tile image of (351,90), Size=(117,45)
Extracting border image of (351,90), Size=(117,45)
Done doing the following image: Offset=(351,90), Size=(117,45)
Doing the following image: Offset=(351,135), Size=(117,45)
Extracting grayscale of (351,135), Size=(117,45)
Extracting ownership image of (351,135), Size=(117,45)
Extracting tile image of (351,135), Size=(117,45)
Extracting border image of (351,135), Size=(117,45)
Done doing the following image: Offset=(351,135), Size=(117,45)
Doing the following image: Offset=(351,180), Size=(117,45)
Extracting grayscale of (351,180), Size=(117,45)
Extracting ownership image of (351,180), Size=(117,45)
Extracting tile image of (351,180), Size=(117,45)
Extracting border image of (351,180), Size=(117,45)
Done doing the following image: Offset=(351,180), Size=(117,45)
Doing the following image: Offset=(351,225), Size=(117,45)
Extracting grayscale of (351,225), Size=(117,45)
Extracting ownership image of (351,225), Size=(117,45)
Extracting tile image of (351,225), Size=(117,45)
Extracting border image of (351,225), Size=(117,45)
Done doing the following image: Offset=(351,225), Size=(117,45)
Doing the following image: Offset=(351,270), Size=(117,45)
Extracting grayscale of (351,270), Size=(117,45)
Extracting ownership image of (351,270), Size=(117,45)
Extracting tile image of (351,270), Size=(117,45)
Extracting border image of (351,270), Size=(117,45)
Done doing the following image: Offset=(351,270), Size=(117,45)
Doing the following image: Offset=(351,315), Size=(117,45)
Extracting grayscale of (351,315), Size=(117,45)
Extracting ownership image of (351,315), Size=(117,45)
Extracting tile image of (351,315), Size=(117,45)
Extracting border image of (351,315), Size=(117,45)
Done doing the following image: Offset=(351,315), Size=(117,45)
Doing the following image: Offset=(468,0), Size=(117,45)
Extracting grayscale of (468,0), Size=(117,45)
Extracting ownership image of (468,0), Size=(117,45)
Extracting tile image of (468,0), Size=(117,45)
Extracting border image of (468,0), Size=(117,45)
Done doing the following image: Offset=(468,0), Size=(117,45)
Doing the following image: Offset=(468,45), Size=(117,45)
Extracting grayscale of (468,45), Size=(117,45)
Extracting ownership image of (468,45), Size=(117,45)
Extracting tile image of (468,45), Size=(117,45)
Extracting border image of (468,45), Size=(117,45)
Done doing the following image: Offset=(468,45), Size=(117,45)
Doing the following image: Offset=(468,90), Size=(117,45)
Extracting grayscale of (468,90), Size=(117,45)
Extracting ownership image of (468,90), Size=(117,45)
Extracting tile image of (468,90), Size=(117,45)
Extracting border image of (468,90), Size=(117,45)
Done doing the following image: Offset=(468,90), Size=(117,45)
Doing the following image: Offset=(468,135), Size=(117,45)
Extracting grayscale of (468,135), Size=(117,45)
Extracting ownership image of (468,135), Size=(117,45)
Extracting tile image of (468,135), Size=(117,45)
Extracting border image of (468,135), Size=(117,45)
Done doing the following image: Offset=(468,135), Size=(117,45)
Doing the following image: Offset=(468,180), Size=(117,45)
Extracting grayscale of (468,180), Size=(117,45)
Extracting ownership image of (468,180), Size=(117,45)
Extracting tile image of (468,180), Size=(117,45)
Extracting border image of (468,180), Size=(117,45)
Done doing the following image: Offset=(468,180), Size=(117,45)
Doing the following image: Offset=(468,225), Size=(117,45)
Extracting grayscale of (468,225), Size=(117,45)
Extracting ownership image of (468,225), Size=(117,45)
Extracting tile image of (468,225), Size=(117,45)
Extracting border image of (468,225), Size=(117,45)
Done doing the following image: Offset=(468,225), Size=(117,45)
Doing the following image: Offset=(468,270), Size=(117,45)
Extracting grayscale of (468,270), Size=(117,45)
Extracting ownership image of (468,270), Size=(117,45)
Extracting tile image of (468,270), Size=(117,45)
Extracting border image of (468,270), Size=(117,45)
Done doing the following image: Offset=(468,270), Size=(117,45)
Doing the following image: Offset=(468,315), Size=(117,45)
Extracting grayscale of (468,315), Size=(117,45)
Extracting ownership image of (468,315), Size=(117,45)
Extracting tile image of (468,315), Size=(117,45)
Extracting border image of (468,315), Size=(117,45)
Done doing the following image: Offset=(468,315), Size=(117,45)
Doing the following image: Offset=(585,0), Size=(117,45)
Extracting grayscale of (585,0), Size=(117,45)
Extracting ownership image of (585,0), Size=(117,45)
Extracting tile image of (585,0), Size=(117,45)
Extracting border image of (585,0), Size=(117,45)
Done doing the following image: Offset=(585,0), Size=(117,45)
Doing the following image: Offset=(585,45), Size=(117,45)
Extracting grayscale of (585,45), Size=(117,45)
Extracting ownership image of (585,45), Size=(117,45)
Extracting tile image of (585,45), Size=(117,45)
Extracting border image of (585,45), Size=(117,45)
Done doing the following image: Offset=(585,45), Size=(117,45)
Doing the following image: Offset=(585,90), Size=(117,45)
Extracting grayscale of (585,90), Size=(117,45)
Extracting ownership image of (585,90), Size=(117,45)
Extracting tile image of (585,90), Size=(117,45)
Extracting border image of (585,90), Size=(117,45)
Done doing the following image: Offset=(585,90), Size=(117,45)
Doing the following image: Offset=(585,135), Size=(117,45)
Extracting grayscale of (585,135), Size=(117,45)
Extracting ownership image of (585,135), Size=(117,45)
Extracting tile image of (585,135), Size=(117,45)
Extracting border image of (585,135), Size=(117,45)
Done doing the following image: Offset=(585,135), Size=(117,45)
Doing the following image: Offset=(585,180), Size=(117,45)
Extracting grayscale of (585,180), Size=(117,45)
Extracting ownership image of (585,180), Size=(117,45)
Extracting tile image of (585,180), Size=(117,45)
Extracting border image of (585,180), Size=(117,45)
Done doing the following image: Offset=(585,180), Size=(117,45)
Doing the following image: Offset=(585,225), Size=(117,45)
Extracting grayscale of (585,225), Size=(117,45)
Extracting ownership image of (585,225), Size=(117,45)
Extracting tile image of (585,225), Size=(117,45)
Extracting border image of (585,225), Size=(117,45)
Done doing the following image: Offset=(585,225), Size=(117,45)
Doing the following image: Offset=(585,270), Size=(117,45)
Extracting grayscale of (585,270), Size=(117,45)
Extracting ownership image of (585,270), Size=(117,45)
Extracting tile image of (585,270), Size=(117,45)
Extracting border image of (585,270), Size=(117,45)
Done doing the following image: Offset=(585,270), Size=(117,45)
Doing the following image: Offset=(585,315), Size=(117,45)
Extracting grayscale of (585,315), Size=(117,45)
Extracting ownership image of (585,315), Size=(117,45)
Extracting tile image of (585,315), Size=(117,45)
Extracting border image of (585,315), Size=(117,45)
Done doing the following image: Offset=(585,315), Size=(117,45)
Doing the following image: Offset=(702,0), Size=(117,45)
Extracting grayscale of (702,0), Size=(117,45)
Extracting ownership image of (702,0), Size=(117,45)
Extracting tile image of (702,0), Size=(117,45)
Extracting border image of (702,0), Size=(117,45)
Done doing the following image: Offset=(702,0), Size=(117,45)
Doing the following image: Offset=(702,45), Size=(117,45)
Extracting grayscale of (702,45), Size=(117,45)
Extracting ownership image of (702,45), Size=(117,45)
Extracting tile image of (702,45), Size=(117,45)
Extracting border image of (702,45), Size=(117,45)
Done doing the following image: Offset=(702,45), Size=(117,45)
Doing the following image: Offset=(702,90), Size=(117,45)
Extracting grayscale of (702,90), Size=(117,45)
Extracting ownership image of (702,90), Size=(117,45)
Extracting tile image of (702,90), Size=(117,45)
Extracting border image of (702,90), Size=(117,45)
Done doing the following image: Offset=(702,90), Size=(117,45)
Doing the following image: Offset=(702,135), Size=(117,45)
Extracting grayscale of (702,135), Size=(117,45)
Extracting ownership image of (702,135), Size=(117,45)
Extracting tile image of (702,135), Size=(117,45)
Extracting border image of (702,135), Size=(117,45)
Done doing the following image: Offset=(702,135), Size=(117,45)
Doing the following image: Offset=(702,180), Size=(117,45)
Extracting grayscale of (702,180), Size=(117,45)
Extracting ownership image of (702,180), Size=(117,45)
Extracting tile image of (702,180), Size=(117,45)
Extracting border image of (702,180), Size=(117,45)
Done doing the following image: Offset=(702,180), Size=(117,45)
Doing the following image: Offset=(702,225), Size=(117,45)
Extracting grayscale of (702,225), Size=(117,45)
Extracting ownership image of (702,225), Size=(117,45)
Extracting tile image of (702,225), Size=(117,45)
Extracting border image of (702,225), Size=(117,45)
Done doing the following image: Offset=(702,225), Size=(117,45)
Doing the following image: Offset=(702,270), Size=(117,45)
Extracting grayscale of (702,270), Size=(117,45)
Extracting ownership image of (702,270), Size=(117,45)
Extracting tile image of (702,270), Size=(117,45)
Extracting border image of (702,270), Size=(117,45)
Done doing the following image: Offset=(702,270), Size=(117,45)
Doing the following image: Offset=(702,315), Size=(117,45)
Extracting grayscale of (702,315), Size=(117,45)
Extracting ownership image of (702,315), Size=(117,45)
Extracting tile image of (702,315), Size=(117,45)
Extracting border image of (702,315), Size=(117,45)
Done doing the following image: Offset=(702,315), Size=(117,45)
Doing the following image: Offset=(819,0), Size=(117,45)
Extracting grayscale of (819,0), Size=(117,45)
Extracting ownership image of (819,0), Size=(117,45)
Extracting tile image of (819,0), Size=(117,45)
Extracting border image of (819,0), Size=(117,45)
Done doing the following image: Offset=(819,0), Size=(117,45)
Doing the following image: Offset=(819,45), Size=(117,45)
Extracting grayscale of (819,45), Size=(117,45)
Extracting ownership image of (819,45), Size=(117,45)
Extracting tile image of (819,45), Size=(117,45)
Extracting border image of (819,45), Size=(117,45)
Done doing the following image: Offset=(819,45), Size=(117,45)
Doing the following image: Offset=(819,90), Size=(117,45)
Extracting grayscale of (819,90), Size=(117,45)
Extracting ownership image of (819,90), Size=(117,45)
Extracting tile image of (819,90), Size=(117,45)
Extracting border image of (819,90), Size=(117,45)
Done doing the following image: Offset=(819,90), Size=(117,45)
Doing the following image: Offset=(819,135), Size=(117,45)
Extracting grayscale of (819,135), Size=(117,45)
Extracting ownership image of (819,135), Size=(117,45)
Extracting tile image of (819,135), Size=(117,45)
Extracting
 
Jamie550 said:
Mikon Orod: Did you extract these files successfully before? Try using the command line arguments to finish extraction ("mapextractor -help" for details). Does this error reoccur when you try again? Do the images that were successfully extracted look correct?

- This is the first time I use your tools on Victoria.
- The images actually extracted look fine.
- Yes, I have re-tried and it happened again, but at the 4th attempt the tool finished its work without errors (I have not changed anything).
 
Mikon Orod said:
- This is the first time I use your tools on Victoria.
- The images actually extracted look fine.
- Yes, I have re-tried and it happened again, but at the 4th attempt the tool finished its work without errors (I have not changed anything).
So it did eventually work? Perhaps this could lie low for the moment...
 
Jamie550 said:
Any image editing program, the names are on the colorscales.png images

Yes and I edited them, but they are also on the other..

Example:
example.png


How do I change these?
 
Log of MapMaker v2.2.1.0
Logging started at: 2008-07-27 오전 7:29:46 UTC



#################################
An exception has occurred.
#################################
Exception: System.NullReferenceException
2008-07-27 오전 7:30:26
Message: 개체 참조가 개체의 인스턴스로 설정되지 않았습니다. (The obj. refernce is undefined as an obj. instance...<-maybe)
Source: MapMaker

STACK TRACE
Void .ctor(MapEditor.LineData)
위치: MapEditor.RadishMaker..ctor(LineData data)
위치: MapEditor.SimpleImageRadishMaker..ctor(LineData data)
위치: MapEditor.RadishMaker.MakeFile(LineData data)
위치: MapEditor.MakeFileTask.TaskOverride()
위치: CoreLib.Task.DoTask(Int32 index, TaskQueue tq)
위치: CoreLib.TaskQueue.DoWork(Object value)
위치: System.Threading.ThreadHelper.ThreadStart_Context(Object state)
위치: System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
위치: System.Threading.ThreadHelper.ThreadStart(Object obj)

(Ooops...Korean messege sorry :D )