Little help? (Application Error!)

Little help? (Application Error!)

Discuss maps & map creation - from concept to execution to the ever elusive release.

Moderator: Moderators

Post Reply
pikn
Posts: 9
Joined: 14 Feb 2006, 09:24

Little help? (Application Error!)

Post by pikn »

I've spent the day trying to figure out where I've gone wrong, and I'm giving up at this point. I've read through every tutorial in the wiki and I don't see where I am going wrong.

I've tried a variety of bizarre combinations of things I thought I might have been doing wrong, but nothing seems to help. I've made a texture/height/metal map, all 24 bit, with the right sizes (1024x1024 and 129x129 on the height/metal). They appear to compile fine. I come out with my .smf and .smt files, as well as the two mini files (can someone please tell me what those are? I don't see any mention of them in any of the tutorials). I've created my own .smd file, as well as used someone elses. I use 7-zip to compress the 3 files (and even tried compressing them with the mini files :? ) and make my .sd7 file. Put it in my maps directory and go to give it a shot.

This is where I may be going wrong - I've only tried to play them within the battleroom, and in no other way. When I click on my map from the list I get this error:

Main window ------->
====================
Access violation at address 00555187 in module 'TASClient.exe'. Read of address 00000000.
====================
Details ------->
====================
Exception class: EAccessViolation
Exception address: 00555187
----------------------------------------------------------------------------------------------------
Stack list, generated 2/14/2006 3:23:25 AM
[00555187] Utility.LoadMiniMap (Line 224, "Utility.pas" + 17) + $B
[004042C7] System.@HandleAnyException + $33
[0054DFC1] BattleFormUnit.TBattleForm.MapListClick (Line 1509, "BattleFormUnit.pas" + 3) + $3E
[0045B3C8] Controls.TControl.Click + $64
[00452C8C] StdCtrls.TCustomListBox.CNCommand + $20
[0045B230] Controls.TControl.WndProc + $188
[0045E17B] Controls.TWinControl.WndProc + $157
[00452BC2] StdCtrls.TCustomListBox.WndProc + $5A
[0045B000] Controls.TControl.Perform + $24
[0045E2B3] Controls.DoControlMsg + $23
[0045E90B] Controls.TWinControl.WMCommand + $B
[0045B230] Controls.TControl.WndProc + $188
[0045E17B] Controls.TWinControl.WndProc + $157
[0041AFB4] Classes.TThreadList.UnlockList + $4
[0042B4D0] Graphics.FreeMemoryContexts + $98
[0045E17B] Controls.TWinControl.WndProc + $157
[0041AFB4] Classes.TThreadList.UnlockList + $4
[0042B4D0] Graphics.FreeMemoryContexts + $98
[0045DDF8] Controls.TWinControl.MainWndProc + $2C
[0045E17B] Controls.TWinControl.WndProc + $157
[0045DDF8] Controls.TWinControl.MainWndProc + $2C
[00424C1C] Classes.StdWndProc + $14
[0045E25F] Controls.TWinControl.DefaultHandler + $D7
[0045B7D0] Controls.TControl.WMLButtonUp + $10
[00452C39] StdCtrls.TCustomListBox.WMLButtonDown + $69
[0045B746] Controls.TControl.WMMouseMove + $6E
[0045B230] Controls.TControl.WndProc + $188
[00490A5F] VirtualTrees.TVTHeader.InHeader (Line 10977, "VirtualTrees.pas" + 8) + $D
[0045E17B] Controls.TWinControl.WndProc + $157
[0045E0AD] Controls.TWinControl.WndProc + $89
[004747C1] Forms.TCustomForm.WndProc + $421
[0041AFB4] Classes.TThreadList.UnlockList + $4
[0042B4D0] Graphics.FreeMemoryContexts + $98
[0045DDF8] Controls.TWinControl.MainWndProc + $2C
[0045DE0D] Controls.TWinControl.MainWndProc + $41
[00424C1C] Classes.StdWndProc + $14
[0045DFA3] Controls.TWinControl.IsControlMouseMsg + $13
[0045E17B] Controls.TWinControl.WndProc + $157
[00452BC2] StdCtrls.TCustomListBox.WndProc + $5A
[0045DDF8] Controls.TWinControl.MainWndProc + $2C
[00424C1C] Classes.StdWndProc + $14
[00477B31] Forms.TraverseClients + $19
[0042F196] Contnrs.TComponentList.GetItems + $A
[004B84A9] AppEvnts.TCustomApplicationEvents.DoMessage + $D
[0047ABF7] Forms.TApplication.ProcessMessage + $83
[0047AC2E] Forms.TApplication.HandleMessage + $A
[0047AE4E] Forms.TApplication.Run + $96
[00569D15] TASClient.TASClient (Line 69, "E:\Projekti\Trenutni\TASpringAddon\TASClient.dpr" + 30) + $2
----------------------------------------------------------------------------------------------------
System : Windows XP Professional, Version: 5.1, Build: A28, "Service Pack 2"
Processor: AMD, AMD Athlon(tm) 64 Processor 3000+, 1800 MHz MMX
Display : 1280x1024 pixels, 32 bpp
----------------------------------------------------------------------------------------------------
List of loaded modules:
[00320000] C:\games\TASpring\zlibwapi.dll
<10000000> 1.2.2.0 - 1.2.2
zlib data compression library
[00400000] C:\games\TASpring\TASClient.exe
(no version info)
[10000000] C:\games\TASpring\UnitSync.dll
(no version info)
[5AD70000] C:\WINDOWS\system32\uxtheme.dll
6.0.2900.2180 - 6.00.2900.2180 (xpsp_sp2_rtm.040803-2158)
Microsoft UxTheme Library
[5D090000] C:\WINDOWS\system32\comctl32.dll
5.82.2900.2180 - 5.82 (xpsp_sp2_rtm.040803-2158)
Common Controls Library
[5EDD0000] C:\WINDOWS\system32\olepro32.dll
5.1.2600.2180 - 5.1.2600.2180
[662B0000] C:\WINDOWS\system32\hnetcfg.dll
5.1.2600.2180 - 5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)
Home Networking Configuration Manager
[71A50000] C:\WINDOWS\System32\mswsock.dll
5.1.2600.2180 - 5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)
Microsoft Windows Sockets 2.0 Service Provider
[71A90000] C:\WINDOWS\System32\wshtcpip.dll
5.1.2600.2180 - 5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)
Windows Sockets Helper DLL
[71AA0000] C:\WINDOWS\system32\WS2HELP.dll
5.1.2600.2180 - 5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)
Windows Socket 2.0 Helper for Windows NT
[71AB0000] C:\WINDOWS\system32\WS2_32.dll
5.1.2600.2180 - 5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)
Windows Socket 2.0 32-Bit DLL
[71AD0000] C:\WINDOWS\system32\wsock32.dll
5.1.2600.2180 - 5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)
Windows Socket 32-Bit DLL
[72D10000] C:\WINDOWS\system32\msacm32.drv
5.1.2600.0 - 5.1.2600.0 (xpclient.010817-1148)
Microsoft Sound Mapper
[72D20000] C:\WINDOWS\system32\wdmaud.drv
5.1.2600.2180 - 5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)
WDM Audio driver mapper
[73000000] C:\WINDOWS\system32\winspool.drv
5.1.2600.2180 - 5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)
Windows Spooler Driver
[732E0000] C:\WINDOWS\system32\RICHED32.DLL
5.1.2600.0 - 5.1.2600.0 (xpclient.010817-1148)
Wrapper Dll for Richedit 1.0
[73D90000] C:\WINDOWS\system32\CRTDLL.dll
4.0.1183.1 - 4.00
Microsoft C Runtime Library
[74E30000] C:\WINDOWS\system32\RICHED20.dll
5.30.23.1221 - 5.30.23.1221
Rich Text Edit Control, v3.0
[763B0000] C:\WINDOWS\system32\comdlg32.dll
6.0.2900.2180 - 6.00.2900.2180 (xpsp_sp2_rtm.040803-2158)
Common Dialogs DLL
[76B40000] C:\WINDOWS\system32\winmm.dll
5.1.2600.2180 - 5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)
MCI API DLL
[76BF0000] C:\WINDOWS\system32\PSAPI.dll
5.1.2600.2180 - 5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)
Process Status Helper
[76C30000] C:\WINDOWS\system32\WINTRUST.dll
5.131.2600.2180 - 5.131.2600.2180 (xpsp_sp2_rtm.040803-2158)
Microsoft Trust Verification APIs
[76C90000] C:\WINDOWS\system32\IMAGEHLP.dll
5.1.2600.2180 - 5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)
Windows NT Image Helper
[76F20000] C:\WINDOWS\system32\DNSAPI.dll
5.1.2600.2180 - 5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)
DNS Client API DLL
[76F60000] C:\WINDOWS\system32\WLDAP32.dll
5.1.2600.2180 - 5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)
Win32 LDAP API DLL
[76FB0000] C:\WINDOWS\System32\winrnr.dll
5.1.2600.2180 - 5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)
LDAP RnR Provider DLL
[76FC0000] C:\WINDOWS\system32\rasadhlp.dll
5.1.2600.2180 - 5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)
Remote Access AutoDial Helper
[76FD0000] C:\WINDOWS\system32\CLBCATQ.DLL
2001.12.4414.258 - 2001.12.4414.258
[77050000] C:\WINDOWS\system32\COMRes.dll
2001.12.4414.258 - 2001.12.4414.258
[77120000] C:\WINDOWS\system32\oleaut32.dll
5.1.2600.2180 - 5.1.2600.2180
[773D0000] C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\comctl32.dll
6.0.2900.2180 - 6.0 (xpsp_sp2_rtm.040803-2158)
User Experience Controls Library
[774E0000] C:\WINDOWS\system32\ole32.dll
5.1.2600.2180 - 5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)
Microsoft OLE for Windows
[77A80000] C:\WINDOWS\system32\CRYPT32.dll
5.131.2600.2180 - 5.131.2600.2180 (xpsp_sp2_rtm.040803-2158)
Crypto API32
[77B20000] C:\WINDOWS\system32\MSASN1.dll
5.1.2600.2180 - 5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)
ASN.1 Runtime APIs
[77BD0000] C:\WINDOWS\system32\midimap.dll
5.1.2600.2180 - 5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)
Microsoft MIDI Mapper
[77BE0000] C:\WINDOWS\system32\MSACM32.dll
5.1.2600.2180 - 5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)
Microsoft ACM Audio Filter
[77C00000] C:\WINDOWS\system32\version.dll
5.1.2600.2180 - 5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)
Version Checking and File Installation Libraries
[77C10000] C:\WINDOWS\system32\msvcrt.dll
7.0.2600.2180 - 7.0.2600.2180 (xpsp_sp2_rtm.040803-2158)
Windows NT CRT DLL
[77D40000] C:\WINDOWS\system32\user32.dll
5.1.2600.2180 - 5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)
Windows XP USER API Client DLL
[77DD0000] C:\WINDOWS\system32\advapi32.dll
5.1.2600.2180 - 5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)
Advanced Windows 32 Base API
[77E70000] C:\WINDOWS\system32\RPCRT4.dll
5.1.2600.2180 - 5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)
Remote Procedure Call Runtime
[77F10000] C:\WINDOWS\system32\GDI32.dll
5.1.2600.2180 - 5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)
GDI Client DLL
[77F60000] C:\WINDOWS\system32\SHLWAPI.dll
6.0.2900.2180 - 6.00.2900.2180 (xpsp_sp2_rtm.040803-2158)
Shell Light-weight Utility Library
[7C800000] C:\WINDOWS\system32\kernel32.dll
5.1.2600.2180 - 5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)
Windows NT BASE API Client DLL
[7C900000] C:\WINDOWS\system32\ntdll.dll
5.1.2600.2180 - 5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)
NT Layer DLL
[7C9C0000] C:\WINDOWS\system32\shell32.dll
6.0.2900.2180 - 6.00.2900.2180 (xpsp_sp2_rtm.040803-2158)
Windows Shell Common Dll
----------------------------------------------------------------------------------------------------
Active Controls hierarchy:
TListBox "MapList"
TPanel "MapPanel"
TPanel "Panel1"
TBattleForm "BattleForm"
----------------------------------------------------------------------------------------------------
===========================

Thanks in advance
Eric
User avatar
child
Posts: 19
Joined: 14 Feb 2006, 08:22

Post by child »

Looks like the client dies when it tries to generate the minimap-preview for your map.

You can also try to launch spring directly, choose to be server and select random enemies from the list, then look for your map in the list.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Post by Forboding Angel »

thats an error with your map

post all the details of your map and I will be happy to help.

I need dimentions of every bmp/jpg you are trying to pump into mapconv.

oh also, use the code tags to post your smd as well.
pikn
Posts: 9
Joined: 14 Feb 2006, 09:24

Post by pikn »

Texture.bmp = 1024x1024
Height.bmp = 129x129
Metal.bmp = 129x129

For my Texture I just did plain green. All the same color.
For Hieght I made most of it a dark grey with a hill in the center.
For Metal it's almost all black, with two areas of red. The red is all one shade.

I used a .bat file and MapConv.exe to convert it. The text in the .bat is:
"mapconv.exe -l -x 255 -n 0 -m Metal.bmp -a Height.bmp -t Texture.bmp -o aaa.smf -c .3"

aaa.smf, aaa.smt, mini.bmp, and mini.dds get made.

I used this for my .smd:

=========
[MAP]
{
Description=Lot of metal in middle but look out for kbot walking over the mountains;
TidalStrength=20;
Gravity=130;
MaxMetal=0.03;

ExtractorRadius=400;
MapHardness=100;

DetailTex=mydetailtex.bmp;
AutoShowMetal=1;

[ATMOSPHERE]
{
Skybox=space.dds;

FogColor=0.7 0.7 0.8;
FogStart=0.2;

CloudColor=0.9 0.9 0.9;
SkyColor=0.1 0.15 0.7;

SunColor=1.0 1.0 1.0;
CloudDensity=0.55;

MinWind=5;
MaxWind=20;
}
[WATER]
{
WaterTexture=mywatertexture.jpg;
WaterSurfaceColor=0.4 0.6 0.8;
WaterPlaneColor=0.4 0.6 0.8;

WaterBaseColor=0.4 0.6 0.8;
WaterAbsorb=0.004 0.004 0.002;

WaterMinColor=0.1 0.1 0.3;
WaterDamage=20;
}
[LIGHT]
{
SunDir=0 1 2;

GroundAmbientColor=0.4 0.4 0.4;
GroundSunColor=0.7 0.7 0.7;

GroundShadowDensity=0.8;

UnitAmbientColor=0.3 0.3 0.3;
UnitSunColor=0.8 0.8 0.8;
UnitShadowDensity=0.8;

SpecularSunColor=0.3 0.3 0.3;
}
[TEAM0]
{
StartPosX=600;
StartPosZ=600;
}
[TEAM1]

{
StartPosX=3600;
StartPosZ=3600;
}
[TEAM2]
{
StartPosX=3600;
StartPosZ=600;
}
[TEAM3]
{
StartPosX=600;
StartPosZ=3600;

}
[TEAM4]
{
StartPosX=2000;
StartPosZ=600;
}
[TEAM5]

{
StartPosX=2000;
StartPosZ=3600;
}
//Up to [TEAM9]
[TERRAINTYPE0]
{
name=default;
hardness=1;
tankmovespeed=1;
kbotmovespeed=1;
hovermovespeed=1;
shipmovespeed=1;

}
}
=========

I used 7-zip to compress the .smd, .smf, .smt files into an .sd7 file, using default settings.
I get my .sd7 file, put it in my maps directory and try it out, and outcomes what I posted above.

I don't think I missed anything.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Post by Forboding Angel »

Umm ok, your missing a feature map for one thing. If you aren't using mothers mapconv then you should be. You MUST have a feature map for mothers conv.

Make sure you get the unoptimized version.

Feature map is:

terrain map divided by 8 = 128 (in this case) Do not add a pixel on the feature map.
User avatar
Maelstrom
Posts: 1950
Joined: 23 Jul 2005, 14:52

Post by Maelstrom »

It could be the settings you are using in 7-zip. Try setting everything like this:
Image
(from Maps:Compiling)

Thats the settings I use, and they have never failed me.
pikn
Posts: 9
Joined: 14 Feb 2006, 09:24

Post by pikn »

Those are the default settings, and I used those also.
pikn
Posts: 9
Joined: 14 Feb 2006, 09:24

Post by pikn »

I just tried using "MapConv -8/31 Test Build", made a feature map at 128x128, solid black. Didn't work
Tried again with a 255 red dot and a 254 red dot, same errors.
Re-extracted the mapconv file and tried to make the map that it COMES WITH, same error.
While compiling I'd get two errors: "Failed to open DIB file geovent.bmp" and "Unknown DIB file format"
I went and grabbed geovent.bmp from the old compiling I was using, which removed the one error.
Went into the .bat file and noticed:
mapconv.exe -i -x 200 -n -10 -m 257m.bmp -a 257h.bmp -t 2kt.bmp -o test.smf -f fs.txt -c .5
It was using fs.txt. I changed that to the feature .bmp that came with it. All errors while compiling were gone at this point, but I still end up with the same error when I try the map.

I think I'm just going to give up. It makes me beleive that something is wrong with my computer or TA install. No one else seems to be having trouble making maps, and I can't seem to make *anything* work.
User avatar
genblood
Posts: 862
Joined: 19 Jan 2005, 03:37

Post by genblood »

I got a question for you pikn,

What other files where in the folder other then the mapconv.exe
and the bmps.? You should have the mapconv.exe, geovent.bmp,
nvdxt.exe and your map bmp files. If you need help, convert
the bmp files to png and zip them up. I'll compile the map for
you. I'll send you the info on how I did it.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Post by Forboding Angel »

-f should be feature.bmp

a la

-f feature.bmp
pikn
Posts: 9
Joined: 14 Feb 2006, 09:24

Post by pikn »

FeatureCreator.cpp
FeatureCreator.h
fs.txt
MapConv.cpp
MapConv.exe
ReadMe.1st
Spring.exe
Test.bat

I added Geovent.bmp, but it was not in it origionally.
nvcdxt.exe was in the directory of the other mapconv I was using, but didn't come in the new one.
User avatar
FizWizz
Posts: 1998
Joined: 17 Aug 2005, 11:42

Post by FizWizz »

nvdxt.exe is needed to compile maps. I recommend you take it from your other mapconv setup, and then try recompiling your map with nvdxt.exe in your mapconv folder.
mufdvr222
Posts: 681
Joined: 01 May 2005, 09:24

Post by mufdvr222 »

Remove the skybox tag from your .smd and retry, I had a similar problem turned out I had a bad Cubemap.
User avatar
Weaver
Posts: 644
Joined: 07 Jul 2005, 21:15

Post by Weaver »

To test a map, you do not have to have an SMD and you don't need to compress it. It will work with just the SMF and SMT in the map folder. Yes you will get an error message but the map will load.
User avatar
mother
Posts: 379
Joined: 04 May 2005, 05:43

Post by mother »

pikn wrote:FeatureCreator.cpp
FeatureCreator.h
fs.txt
MapConv.cpp
MapConv.exe
ReadMe.1st
Spring.exe
Test.bat

I added Geovent.bmp, but it was not in it origionally.
nvcdxt.exe was in the directory of the other mapconv I was using, but didn't come in the new one.
All that download is supposed to provide is a replacement MapConv.exe.

Just copy that exe to the directory you currently use for compiling, maybe rename it mapconv2.exe or mmapconv.exe, etc., and modify your batch file appropriately(FA).

If this isn't a matter of not providing the proper environment (other proggies/files ala Gen/Fiz), and its not a bad skybox (good catch muf)then I would look seriously at the structure of your archives(Maelstrom). I would in fact strongly consider doing what Weaver suggested to test that fact.

PS Myself excluded, you've been getting help from the best of the best here...
User avatar
genblood
Posts: 862
Joined: 19 Jan 2005, 03:37

Post by genblood »

pikn,

Have you resolved your map issue ...

Here is a screen shot of my last maps folder layout.


Image


Post more info and I'll try to help you out ...
Post Reply

Return to “Map Creation”