PDA

View Full Version : Mod Crashes While Loading



General Tspoon
26th Mar 10, 11:37 AM
I've recently started messing around with some modding stuff and am creating my own mod. Specifically, I've added a new race. The problem is, when i try to play a single player game with my Mod, it gets to the very end of the loading screen, and crashes to desktop when it's loading "Front End".

I've tried searching everywhere for a solution, or what this might mean but i can't find one. Any ideas anyone?


Cheers

MatthCoFreak
26th Mar 10, 11:56 AM
I suggest you add -luatrace to your shortcut, run again your game until you crash, and then grab the hw2.log file in the /Bin/Release directory and post it here.

General Tspoon
26th Mar 10, 1:56 PM
Already had that added actually, forgot to post it. Here it is(One of the many....)




Homeworld2.exe caused an Access Violation in module Homeworld2.exe at 001b:00503a4c.
Error occurred at 3/26/2010 18:33:30.
Homeworld2.exe, run by Eamon.
Microsoft Windows XP?.
1 processor(s), type 586.
2048 MBytes physical memory.
Read from location 00000010 caused an access violation.

MiniDump saved to file 'C:\Program Files\Sierra\Homeworld2\Bin\Release\3-26-2010_18_33_30_MiniDump.dmp'

Registers:
EAX=00000000 CS=001b EIP=00503a4c EFLGS=00010246
EBX=102f0700 SS=0023 ESP=0012fd74 EBP=0012fde4
ECX=0000001c DS=0023 ESI=101350f0 FS=003b
EDX=00000000 ES=0023 EDI=09f54b00 GS=0000
Bytes at CS:EIP:
8b 40 10 8b 4d e0 8b 11 6a 01 50 ff 52 78 8d 45

Call Stack:
0x00503A4C: GSLobbySessionDesc::operator= ()
0x005DBC15: getLibraryID ()

0x004952A1: GSLobbySessionDesc::operator= ()
0x00490C11: GSLobbySessionDesc::operator= ()

0x004911D2: GSLobbySessionDesc::operator= ()


Stack dump:



Module list: names, addresses, sizes, time stamps and file times:
C:\Program Files\Sierra\Homeworld2\Bin\Release\Memory.dll, loaded at 0x00320000 - 33280 bytes - 3fe0ce01 - file date is 12/17/2003 13:43:30
C:\Program Files\Sierra\Homeworld2\Bin\Release\Platform.dll, loaded at 0x00330000 - 98304 bytes - 3fe0ce5f - file date is 12/17/2003 13:45:04
C:\Program Files\Sierra\Homeworld2\Bin\Release\Debug.dll, loaded at 0x00350000 - 10752 bytes - 3fe0cdfd - file date is 12/17/2003 13:43:26
C:\Program Files\Sierra\Homeworld2\Bin\Release\Localizer.dll, loaded at 0x00360000 - 94208 bytes - 3fe0ce59 - file date is 12/17/2003 13:44:58
C:\Program Files\Sierra\Homeworld2\Bin\Release\FileIO.dll, loaded at 0x00380000 - 155648 bytes - 3fe0ce52 - file date is 12/17/2003 13:44:50
C:\Program Files\Sierra\Homeworld2\Bin\Release\ZLib.dll, loaded at 0x003b0000 - 49152 bytes - 3fe0ce3b - file date is 12/17/2003 13:44:28
C:\Program Files\Sierra\Homeworld2\Bin\Release\lua.dll, loaded at 0x003c0000 - 73728 bytes - 3fe0ce66 - file date is 12/17/2003 13:45:12
C:\Program Files\Sierra\Homeworld2\Bin\Release\luaconfig.dll, loaded at 0x003e0000 - 57344 bytes - 3fe0ce6b - file date is 12/17/2003 13:45:16
C:\Program Files\Sierra\Homeworld2\Bin\Release\util.dll, loaded at 0x003f0000 - 36864 bytes - 3fe0ce7e - file date is 12/17/2003 13:45:34
C:\Program Files\Sierra\Homeworld2\Bin\Release\Homeworld2.exe, loaded at 0x00400000 - 5562368 bytes - 527a5220 - file date is 12/23/2003 20:21:42
C:\Program Files\Sierra\Homeworld2\Bin\Release\divxmedialib.dll, loaded at 0x00970000 - 86016 bytes - 3f3bc007 - file date is 8/14/2003 18:08:56
C:\Program Files\Sierra\Homeworld2\Bin\Release\DivxDecoder.dll, loaded at 0x00990000 - 397312 bytes - 3f3bc002 - file date is 8/14/2003 18:08:56
C:\Program Files\Sierra\Homeworld2\Bin\Release\FileParser.dll, loaded at 0x00a00000 - 86016 bytes - 3f3bc005 - file date is 8/14/2003 18:08:56
C:\Program Files\Sierra\Homeworld2\Bin\Release\hw2box.dll, loaded at 0x00a20000 - 9728 bytes - 3fe0ce78 - file date is 12/17/2003 13:45:28
C:\Program Files\Sierra\Homeworld2\Bin\Release\objects.dll, loaded at 0x00a30000 - 1093632 bytes - 3fe0cfaa - file date is 12/17/2003 13:50:36
C:\Program Files\Sierra\Homeworld2\Bin\Release\console.dll, loaded at 0x00be0000 - 5632 bytes - 3fe0cf2d - file date is 12/17/2003 13:48:30
C:\Program Files\Sierra\Homeworld2\Bin\Release\GL.dll, loaded at 0x024e0000 - 294912 bytes - 3fe0cfbd - file date is 12/17/2003 13:50:54
C:\Program Files\Sierra\Homeworld2\Bin\Release\seFDAudio.dll, loaded at 0x02f50000 - 40960 bytes - 3fe0cee8 - file date is 12/17/2003 13:47:20
C:\Program Files\Zwunzi\zwunzi.dll , loaded at 0x02f70000 - 602112 bytes - 4b9e6e2b - file date is 3/15/2010 17:28:10
C:\WINDOWS\system32\ctagent.dll , loaded at 0x031c0000 - 57344 bytes - 3f81126c - file date is 10/6/2003 06:57:50
C:\WINDOWS\system32\atioglx2.dll , loaded at 0x032f0000 - 9535488 bytes - 4756116c - file date is 12/5/2007 02:48:52
C:\Program Files\Sierra\Homeworld2\Bin\Release\gslobby.dll, loaded at 0x10000000 - 135168 bytes - 3fe0cf28 - file date is 12/17/2003 13:48:24
C:\WINDOWS\system32\xpsp2res.dll , loaded at 0x20000000 - 2897920 bytes - 411096b9 - file date is 8/4/2004 07:56:36
C:\WINDOWS\System32\dxdiagn.dll , loaded at 0x4f680000 - 2113536 bytes - 41109696 - file date is 8/4/2004 07:56:42
C:\WINDOWS\system32\dbghelp.dll , loaded at 0x59a60000 - 640000 bytes - 4802a0b2 - file date is 4/14/2008 00:11:52
C:\WINDOWS\system32\uxtheme.dll , loaded at 0x5ad70000 - 218624 bytes - 4802a11e - file date is 4/14/2008 00:12:08
C:\WINDOWS\system32\NETAPI32.dll , loaded at 0x5b860000 - 337408 bytes - 48f61b90 - file date is 10/15/2008 16:34:24
C:\WINDOWS\system32\comctl32.dll , loaded at 0x5d090000 - 617472 bytes - 44ef1b36 - file date is 8/25/2006 15:45:58
C:\WINDOWS\system32\opengl32.dll , loaded at 0x5ed00000 - 713728 bytes - 411096f8 - file date is 8/4/2004 07:56:44
C:\WINDOWS\system32\mslbui.dll , loaded at 0x605d0000 - 25088 bytes - 4110972f - file date is 8/4/2004 07:56:44
C:\WINDOWS\system32\GLU32.dll , loaded at 0x68b20000 - 122880 bytes - 41109697 - file date is 8/4/2004 07:56:42
C:\WINDOWS\system32\atioglxx.dll , loaded at 0x69000000 - 5435392 bytes - 47560aaf - file date is 12/5/2007 02:19:36
C:\WINDOWS\system32\WS2HELP.dll , loaded at 0x71aa0000 - 19968 bytes - 4802a164 - file date is 4/14/2008 00:12:10
C:\WINDOWS\system32\WS2_32.dll , loaded at 0x71ab0000 - 82432 bytes - 4802a163 - file date is 4/14/2008 00:12:10
C:\WINDOWS\system32\WSOCK32.dll , loaded at 0x71ad0000 - 22528 bytes - 4802a170 - file date is 4/14/2008 00:12:10
C:\WINDOWS\system32\MPR.dll , loaded at 0x71b20000 - 59904 bytes - 4802a105 - file date is 4/14/2008 00:11:58
C:\WINDOWS\system32\msacm32.drv , loaded at 0x72d10000 - 20480 bytes - 3b7dfe2a - file date is 8/29/2002 12:00:00
C:\WINDOWS\system32\wdmaud.drv , loaded at 0x72d20000 - 23552 bytes - 4802a12c - file date is 4/14/2008 00:12:46
C:\WINDOWS\system32\DDRAW.dll , loaded at 0x73760000 - 266240 bytes - 411096a0 - file date is 8/4/2004 07:56:42
C:\WINDOWS\system32\DCIMAN32.dll , loaded at 0x73bc0000 - 8704 bytes - 4110969f - file date is 8/4/2004 07:56:42
C:\WINDOWS\system32\KsUser.dll , loaded at 0x73ee0000 - 4096 bytes - 4802a0d6 - file date is 4/14/2008 00:11:56
C:\WINDOWS\system32\dsound.dll , loaded at 0x73f10000 - 367616 bytes - 4802a0f6 - file date is 4/14/2008 00:11:52
C:\WINDOWS\system32\MSCTF.dll , loaded at 0x74720000 - 294400 bytes - 411096ea - file date is 8/4/2004 07:56:42
C:\WINDOWS\System32\wbem\wbemsvc.dll, loaded at 0x74ed0000 - 43520 bytes - 4802a129 - file date is 4/14/2008 00:12:08
C:\WINDOWS\System32\wbem\wbemprox.dll, loaded at 0x74ef0000 - 18944 bytes - 4802a128 - file date is 4/14/2008 00:12:08
C:\WINDOWS\System32\wbem\wbemcomn.dll, loaded at 0x75290000 - 214528 bytes - 4802a122 - file date is 4/14/2008 00:12:08
C:\WINDOWS\System32\wbem\fastprox.dll, loaded at 0x75690000 - 473600 bytes - 49901d48 - file date is 2/9/2009 12:10:48
C:\WINDOWS\system32\MSVCP60.dll , loaded at 0x76080000 - 413696 bytes - 4802a187 - file date is 4/14/2008 00:12:02
C:\WINDOWS\system32\NTDSAPI.dll , loaded at 0x767a0000 - 67072 bytes - 4802a117 - file date is 4/14/2008 00:12:02
C:\WINDOWS\system32\winmm.dll , loaded at 0x76b40000 - 176128 bytes - 4802a13c - file date is 4/14/2008 00:12:10
C:\WINDOWS\system32\WINTRUST.dll , loaded at 0x76c30000 - 176640 bytes - 4802a12a - file date is 4/14/2008 00:12:10
C:\WINDOWS\system32\imagehlp.dll , loaded at 0x76c90000 - 144384 bytes - 411096a9 - file date is 8/4/2004 07:56:42
C:\WINDOWS\system32\DNSAPI.dll , loaded at 0x76f20000 - 147968 bytes - 485bed11 - file date is 6/20/2008 17:46:58
C:\WINDOWS\system32\WLDAP32.dll , loaded at 0x76f60000 - 172032 bytes - 4802a12e - file date is 4/14/2008 00:12:10
C:\WINDOWS\system32\CLBCATQ.DLL , loaded at 0x76fd0000 - 498688 bytes - 4802a0b9 - file date is 4/14/2008 00:11:50
C:\WINDOWS\system32\COMRes.dll , loaded at 0x77050000 - 792064 bytes - 4802a0ce - file date is 4/14/2008 00:11:52
C:\WINDOWS\system32\oleaut32.dll , loaded at 0x77120000 - 553472 bytes - 411096f3 - file date is 8/4/2004 07:56:44
C:\WINDOWS\system32\WININET.dll , loaded at 0x771b0000 - 667136 bytes - 4b30573f - file date is 12/22/2009 05:21:06
C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\comctl32.dll, loaded at 0x773d0000 - 1054208 bytes - 4802a094 - file date is 4/14/2008 00:12:52
C:\WINDOWS\system32\ole32.dll , loaded at 0x774e0000 - 1287168 bytes - 4802a111 - file date is 4/14/2008 00:12:02
C:\WINDOWS\system32\SETUPAPI.dll , loaded at 0x77920000 - 983552 bytes - 411096b0 - file date is 8/4/2004 00:56:46
C:\WINDOWS\system32\CRYPT32.dll , loaded at 0x77a80000 - 599040 bytes - 4802a0d7 - file date is 4/14/2008 00:11:52
C:\WINDOWS\system32\MSASN1.dll , loaded at 0x77b20000 - 58880 bytes - 4aa180a8 - file date is 9/4/2009 21:03:36
C:\WINDOWS\system32\midimap.dll , loaded at 0x77bd0000 - 18944 bytes - 4802a0ec - file date is 4/14/2008 00:11:58
C:\WINDOWS\system32\MSACM32.dll , loaded at 0x77be0000 - 71680 bytes - 4802a117 - file date is 4/14/2008 00:11:58
C:\WINDOWS\system32\version.dll , loaded at 0x77c00000 - 18944 bytes - 4802a11d - file date is 4/14/2008 00:12:08
C:\WINDOWS\system32\msvcrt.dll , loaded at 0x77c10000 - 343040 bytes - 4802a188 - file date is 4/14/2008 00:12:02
C:\WINDOWS\system32\ADVAPI32.dll , loaded at 0x77dd0000 - 617472 bytes - 49901d48 - file date is 2/9/2009 12:10:48
C:\WINDOWS\system32\RPCRT4.dll , loaded at 0x77e70000 - 585216 bytes - 49e5f46d - file date is 4/15/2009 14:51:26
C:\WINDOWS\system32\GDI32.dll , loaded at 0x77f10000 - 286720 bytes - 49006fbe - file date is 10/23/2008 12:36:14
C:\WINDOWS\system32\SHLWAPI.dll , loaded at 0x77f60000 - 474112 bytes - 4b1e1b10 - file date is 12/8/2009 09:23:28
C:\WINDOWS\system32\Secur32.dll , loaded at 0x77fe0000 - 56832 bytes - 4a433476 - file date is 6/25/2009 08:25:26
C:\Program Files\Sierra\Homeworld2\Bin\Release\MSVCR70.dll, loaded at 0x7c000000 - 344064 bytes - 3c36e574 - file date is 8/14/2003 18:08:58
C:\WINDOWS\system32\kernel32.dll , loaded at 0x7c800000 - 989696 bytes - 49c4f482 - file date is 3/21/2009 14:06:58
C:\WINDOWS\system32\ntdll.dll , loaded at 0x7c900000 - 714752 bytes - 49901d48 - file date is 2/9/2009 12:10:48
C:\WINDOWS\system32\SHELL32.dll , loaded at 0x7c9c0000 - 8461312 bytes - 48580a39 - file date is 6/17/2008 19:02:20
C:\WINDOWS\system32\USER32.dll , loaded at 0x7e410000 - 578560 bytes - 4802a11b - file date is 4/14/2008 00:12:08

Dim@
26th Mar 10, 4:10 PM
Aaargh!

We seriously need a stickied thread, in capital letters, dedicated to this!

You need to post, NOT
"errorlog.txt"

BUT

"Hw2.log".

General Tspoon
26th Mar 10, 7:36 PM
Feck, sorry, my bad. But actually, on reading through the HW2.log file i managed to solve the problem myself.....it turned out that i had not replaced some ship names in mad state files with newer ones. I also had misspelled a ship name.


Just a quick question though.... you know the way all the ship names and descriptions are contained within an excel sheet(i assume), as every ship just gives a reference number in to required fields. Where abouts is this file? It'd be a lot handier to do that than to edit every name seperately

MatthCoFreak
27th Mar 10, 3:40 AM
You're talking about the '$1542' thingy you can find as strings in most ship names and the like ? They're in the English.big (or whatever the language of your game is), in files named 'ships.ucs' and such, that you can edit with plain text editors.

However, I don't remember the name of the folder you must create in your /data folder to put them and see the modifications with the -overridebigfile command. It has been a long time since I didn't have a look in those.

General Tspoon
27th Mar 10, 8:34 AM
Cool, thanks. I'll try just extracting english.big, then altering that file and then repacking it. That should do the trick.

Cheers for your help

General Tspoon
27th Mar 10, 10:02 AM
Right, tried that, and edited the entries in ships.ucs, and changed the corresponding entries in the .ship files. I compiled the .english and .big folders again and replaced the originals.

Now I'm getting "Error Lua -- Incorrect use of push table/pop table"


Copy of my Hw2.log


Sat Mar 27 16:55:47 2010
Loaded Archive: 'Homeworld2.big'
UTIL -- filepath failure, path doesn't exists 'C:\Program Files\Sierra\Homeworld2\data\locale\english'
Loaded Archive: 'english.big'
Loaded Archive: 'Human.big'
UTIL -- filepath failure, missing alias 'LOCALE:engine.dat'
UTIL -- filepath failure, missing alias 'LOCALE:engine.ucs'
UTIL -- filepath failure, missing alias 'LOCALE:ships.dat'
UTIL -- filepath failure, missing alias 'LOCALE:ships.ucs'
UTIL -- filepath failure, missing alias 'LOCALE:resource.dat'
UTIL -- filepath failure, missing alias 'LOCALE:resource.ucs'
UTIL -- filepath failure, missing alias 'LOCALE:ui.dat'
UTIL -- filepath failure, missing alias 'LOCALE:ui.ucs'
UTIL -- filepath failure, missing alias 'LOCALE:events.dat'
UTIL -- filepath failure, missing alias 'LOCALE:events.ucs'
UTIL -- filepath failure, missing alias 'LOCALE:ATI.dat'
UTIL -- filepath failure, missing alias 'LOCALE:ATI.ucs'
UTIL -- filepath failure, missing alias 'LOCALE:levelDesc.dat'
UTIL -- filepath failure, missing alias 'LOCALE:levelDesc.ucs'
UTIL -- filepath failure, missing alias 'LOCALE:buildresearch.dat'
UTIL -- filepath failure, missing alias 'LOCALE:buildresearch.ucs'
Uing ..profiles\ for profiles folder
UTIL -- filepath failure, missing alias 'locale:scripts/keybindings.lua'
KeyBinding: Could not find or error loading key bind file (locale:scripts/keybindings.lua)
LOCALIZER -- Requested string range doesn't exists '3203'
LOCALIZER -- Requested string range doesn't exists '3230'
LOCALIZER -- Requested string range doesn't exists '1100'
LOCALIZER -- Requested string range doesn't exists '1101'
LOCALIZER -- Requested string range doesn't exists '1102'
GAME -- Using player profile Tspoon
Changing from a 32 bit colour depth in winNT (5.1 build 2600), Service Pack 3
Using ATI Technologies Inc.'s 2.1.7169 Release Radeon X800 GTO (Omega 3.8.442) renderer (Suspected driver is atioglxx.dll 6.14.10.7169)
Loaded Archive: 'englishSpeech.big'
Loaded Archive: 'Music.big'
SOUND -- created destination [ fdaudio ], handle [ 4 ] with [ 48 ] channels created
SOUND -- created destination [ fda streamer ], handle [ 5 ] with [ 8 ] channels created
Build name: The Dust Wars - AutoBuild3569 - Ordered by smmatte
Built by : mrbuild
Data path : C:\Program Files\Sierra\Homeworld2\data
UTIL -- filepath failure, missing alias 'locale:fontmap.lua'
LUA -- incorrect use of PushTable/PopTable -- FATAL EXIT -- luaconfig/922:! --stack trace-- 0x003E1D57: LuaConfig::PopTable () 0x00490737: GSLobbySessionDesc::operator= () 0x005A63D6: getLibraryID () 0x0048EA46: GSLobbySessionDesc::operator= ()

TON_Viper
27th Mar 10, 4:53 PM
Looks like you messed something up when editing the files inside the english.big file.

You could try keeping the files extracted and just use -overrideBigFile to see if that works. If it doesn't, then the error is in one of the files. If it does, then the english.big file itself is possibly corrupt.