I decided to post because I got annoyed by this error and would like to solve this problem once and for all.
The problem is: I was debugging my mod using 3.6.10 RC2 INF build and after giving lot of useful information it sends this message:
---------------------------
Assertion Failed!
---------------------------
Assert: sip->primary_bank_weapons[i] >= 0File: Ship.cppLine: 3853Call
stack:------------------------------------------------------------------ parse_ship() parse_shiptbl()
parse_modular_table() ship_init() game_init() game_main() WinMain() WinMainCRTStartup() kernel32.dll
7c817077()------------------------------------------------------------------[ This info is in the clipboard so you can
paste it somewhere now ]Use Ok to break into Debugger, Cancel to exit.
---------------------------
OK Anuluj
---------------------------
FRED debugger:
---------------------------
Assertion Failed!
---------------------------
Assert: sip->primary_bank_weapons[i] >= 0
File: Ship.cpp
Line: 3853
Call stack:
------------------------------------------------------------------
fred2_open_3_6_10_RC2_INF_debug.exe 0053aae4()
fred2_open_3_6_10_RC2_INF_debug.exe 0054075d()
fred2_open_3_6_10_RC2_INF_debug.exe 00525f13()
fred2_open_3_6_10_RC2_INF_debug.exe 00540c94()
fred2_open_3_6_10_RC2_INF_debug.exe 00457abe()
fred2_open_3_6_10_RC2_INF_debug.exe 0044d831()
fred2_open_3_6_10_RC2_INF_debug.exe 009c6972()
fred2_open_3_6_10_RC2_INF_debug.exe 009c62d4()
fred2_open_3_6_10_RC2_INF_debug.exe 009c3e79()
fred2_open_3_6_10_RC2_INF_debug.exe 009c4315()
USER32.dll 7e368734()
USER32.dll 7e37bdf1()
USER32.dll 7e378ea0()
USER32.dll 7e37ce7c()
ntdll.dll 7c90e473()
------------------------------------------------------------------
[ This info is in the clipboard so you can paste it somewhere now ]
Use Ok to break into Debugger, Cancel to exit.
---------------------------
OK Anuluj
---------------------------
I'm attaching two files that have something to do with debugging ,can you tell me where to find debug_filter.cfg so I can provide even more accurate info?
There is also one thing you should know.
I had an assertion problem in other mod after I have reskinned TAC1 and solved it by removing the maps.
Some info about maps:
Diffuse and shine maps were grayscale ,uncompressed JPGs made with Infran view from 3.6.10 mediavps maps.
Normal map was unchanged and Glow map was changed to blue throught "swap colors" function in Infran view.
This other mod though had different problem ,error popped up on when TAC1 was inserted there ,not at the start.
In regular FRED it just caused CTD.
Command line options for my main mod:
C:\Games\Freespace2\fs2_open_3_6_10_RC2_INF_debug.exe -mod Main\Root,Main\core -spec -glow -env -mipmap -missile_lighting -normal -3dshockwave -dualscanlines -targetinfo -rearm_timer -ballistic_gauge -ship_choice_3d -weapon_choice_3d -3dwarp -warp_flash -mod Main\terra -height -ambient_factor 0 -no_emissive_light -spec_exp 11 -spec_point .6 -spec_static .8 -spec_tube .4 -ogl_spec 80
Main mod is split into smaller directories ,Root and Core have everything that is needed to run freespace and Terra have terran shipset.
I'm attaching .tbms ,but they may spoil the campaign suprise (though they are without descriptions and WIP).
The log file without "1" in name is the one given by the FRED debug.
I have Polish version of Windows XP Proffesional.
System specs:
Graphic Card: NVIDIA GeForce 9600 GT
Card's RAM: 512,00 MB
Installed Drivers: nv4_disp.dll
Sound Device: Realtek high Definition Audio
Total Disk Space on C: 292 ,97 GB
Free Disk Space on C: 236,30 GB
Total Disk Space on D: 156 ,25 GB
Free Disk Space on D: 114,03 GB
Freespace 2 is installed in C:/Games/Freespace2
Windows Error reporting in System Information:
2009-05-01 11:37 Application Error Aplikacja powodująca błąd fred2_open_3_6_10d-20090303_r5083.exe, wersja 1.0.0.1, moduł powodujący błąd fred2_open_3_6_10d-20090303_r5083.exe, wersja 1.0.0.1, adres błędu 0x005f513d.

2009-05-01 11:43 Application Error Aplikacja powodująca błąd fred2_open_3_6_10_rc2.exe, wersja 1.0.0.1, moduł powodujący błąd fred2_open_3_6_10_rc2.exe, wersja 1.0.0.1, adres błędu 0x0017cfc6.

2009-05-01 11:45 Application Error Aplikacja powodująca błąd fred2_open_3_6_10_rc2.exe, wersja 1.0.0.1, moduł powodujący błąd fred2_open_3_6_10_rc2.exe, wersja 1.0.0.1, adres błędu 0x0017cfc6.

2009-05-01 11:46 Application Error Aplikacja powodująca błąd fred2_open_3_6_10_rc2.exe, wersja 1.0.0.1, moduł powodujący błąd fred2_open_3_6_10_rc2.exe, wersja 1.0.0.1, adres błędu 0x0017cfc6.

2009-05-01 11:47 Application Error Aplikacja powodująca błąd fred2_open_3_6_10_rc2.exe, wersja 1.0.0.1, moduł powodujący błąd fred2_open_3_6_10_rc2.exe, wersja 1.0.0.1, adres błędu 0x000bd921.

2009-05-01 21:14 Application Error Aplikacja powodująca błąd fs2_open_3_6_10_rc1_inf.exe, wersja 1.0.0.1, moduł powodujący błąd fs2_open_3_6_10_rc1_inf.exe, wersja 1.0.0.1, adres błędu 0x000912ca.

2009-05-02 20:14 Application Error Aplikacja powodująca błąd fs2_open_3_6_10_rc1_inf_debug.exe, wersja 1.0.0.1, moduł powodujący błąd fs2_open_3_6_10_rc1_inf_debug.exe, wersja 1.0.0.1, adres błędu 0x003e3f2c.

2009-05-02 20:16 Application Error Aplikacja powodująca błąd fs2_open_3_6_10_rc1_inf_debug.exe, wersja 1.0.0.1, moduł powodujący błąd fs2_open_3_6_10_rc1_inf_debug.exe, wersja 1.0.0.1, adres błędu 0x003e3f2c.

2009-05-02 20:44 Application Error Aplikacja powodująca błąd fred2_open_3_6_10_rc2_inf_debug.exe, wersja 1.0.0.1, moduł powodujący błąd fred2_open_3_6_10_rc2_inf_debug.exe, wersja 1.0.0.1, adres błędu 0x00171637.

2009-05-02 20:45 Application Error Aplikacja powodująca błąd fred2_open_3_6_10_rc2_inf_debug.exe, wersja 1.0.0.1, moduł powodujący błąd fred2_open_3_6_10_rc2_inf_debug.exe, wersja 1.0.0.1, adres błędu 0x00171637.

2009-05-02 21:04 Application Hang Aplikacja zawieszająca helpctr.exe, wersja 5.1.2600.5512, moduł zawieszenia hungapp, wersja 0.0.0.0, adres zawieszenia 0x00000000.

That's all ,tell me if you need translation of something or I have forgotten something in this ocean of information.
(And please don't get mad on me because of those tons of info ,I really got upset because of those assertions)
[attachment deleted by evil Tolwyn]