Author Topic: Help asked; Crashes apparently caused by SCP  (Read 2802 times)

0 Members and 1 Guest are viewing this topic.

Help asked; Crashes apparently caused by SCP
Hey everyone, i've been a long time lurker here and a Freespace modder, and been enjoying the SCP mods very much for my game. Recently i've gotten some very bad problems after upgrading to 3.6.10 a few months ago. I'm mostly receiving crashes when i'm trying to load levels when SCP is active as a mod. I've decided to check what the problem was, and noticed that after I turned off SCP, the original FS2 works fine.

I'm wondering how I can fix this problem, seeing as i love having these amazing models in my game. Apparently any mod using SCP makes the game crash during the loading of a level.

Today i've received this peculiar message when i wanted to test out my new level i've been making (I'm busy making random-ish levels and start to piece them together for future use as a campaign):


Error: Bad ID in model file <bombardier.pof>
File:J:\src\cvs\fs2_open_3_6_9.final\code\Model\ModelRead.cpp
Line: 2014
[This filename points to the location of a file on the computer that built this executable]

Call stack:
------------------------------------------------------------------
------------------------------------------------------------------

Interestingly, I don't have any J: partition or disk. This laptop uses 2 hard disks, with E: being the last partition. My CD/DVD player never pointed to J: as well. Also i didnt use any virtual disks.

I've been looking around if i could re-install the SCP but it didnt seem to work. Using the updater resulted in being done within 2 seconds.

Thus, I really am curious how i can fix this problem. I don't have retail FS2 anymore so I can't clean reinstall. GoG.com is a good site but i dont have creditcard/paypal (Plus, i dont trust either of them =P).

I hope to hear from you guys soon! I'll occupy my time continuing on my levels, at least FRED2 works fine.

- JC
I'm all about getting the most out of games, so whenever I discover something very strange or push the limits, I upload them here:

http://www.youtube.com/user/JCDentonCZ

-----------------

The End of History has come and gone.

 

Offline The E

  • He's Ebeneezer Goode
  • Moderator
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: Help asked; Crashes apparently caused by SCP
Which campaign were you using? Which version of the fs_open executable? Could you try again, this time using a debug build (should have a "d" after the version number, like "fs2_open_3_6_10d.exe"), and then post the log file (fs2_open.log, located in <freeSpace-Directory>\data\) here?

The line "File:J:\src\cvs\fs2_open_3_6_9.final\code\Model\ModelRead.cpp" doesn't actually refer to any file on your computer, it refers to a file on the computer that built the executable.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 
Re: Help asked; Crashes apparently caused by SCP
Which campaign were you using? Which version of the fs_open executable? Could you try again, this time using a debug build (should have a "d" after the version number, like "fs2_open_3_6_10d.exe"), and then post the log file (fs2_open.log, located in <freeSpace-Directory>\data\) here?

The line "File:J:\src\cvs\fs2_open_3_6_9.final\code\Model\ModelRead.cpp" doesn't actually refer to any file on your computer, it refers to a file on the computer that built the executable.

1: The normal Freespace 2 Campaign, also tested Destiny of Peace and Awakenings.

2: The fs_open executable's version is 3_6_9 and 3_6_10. I always launched with the launcher though, version 5.5c. It seems to point to version 3_6_9.

3: During testing of fs_open_3_6_10_debug, when entering the Tech Center I received this strange message. Not sure if it helps.


Warning: Couldn't open texture 'glass'
referenced by model 'fighter01.pof'

File: ModelRead.cpp
Line: 3285


Call stack:
------------------------------------------------------------------
    read_model_file()    model_load()    techroom_select_new_entry()    techroom_change_tab()    techroom_init()    game_enter_state()    gameseq_set_state()    game_process_event()    gameseq_process_events()    game_main()    WinMain()    WinMainCRTStartup()    kernel32.dll 75a04911()
    ntdll.dll 76ffe4b6()
    ntdll.dll 76ffe489()
------------------------------------------------------------------


After which it CTD'd back to Vista.

Testing again in normal 3_6_10, i receive CTD's right after choosing Campaign or Tech Center. No debug message apparently.

4: I've attached the file of fs2_open.log. I hope it helps. ^^

- JC


[attachment deleted by admin]
I'm all about getting the most out of games, so whenever I discover something very strange or push the limits, I upload them here:

http://www.youtube.com/user/JCDentonCZ

-----------------

The End of History has come and gone.

 

Offline The E

  • He's Ebeneezer Goode
  • Moderator
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: Help asked; Crashes apparently caused by SCP
Damn, I feel stupid. There is a simple thing you could try. Redownload the mediaVPs from the release thread. For some reason, the installer has been handing out corrupted copies for some time now, so downloading them manually might solve your problems. Also, does it crash without the mediaVPs enabled?
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 
Re: Help asked; Crashes apparently caused by SCP
Problem still isn't solved. I reinstalled manually, without results. I don't know what the problem might be, but as said, a clean reinstall just isn't one of my options. So there has to be some other way to fix it.

Once again i can still play FS2, but without the mediavp mod. Everything works fine in that normal version.

Hope to see more help soon if possible!

Edit: Launcher updated to 5.5d, newest Night build used for Windows, March 19 2009. Didnt fix the problem. As far as GPU drivers i believe my drivers are fully up to date. I will check this out as soon as i can.

- JC
« Last Edit: March 21, 2009, 06:45:20 pm by JCDNWarrior »
I'm all about getting the most out of games, so whenever I discover something very strange or push the limits, I upload them here:

http://www.youtube.com/user/JCDentonCZ

-----------------

The End of History has come and gone.

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: Help asked; Crashes apparently caused by SCP
I'm pretty sure the issue here is corrupted MediaVPs. You sure you deleted the old ones when you did that fresh download from the forum release thread? (Not from Turey's installer.)

 

Offline Herra Tohtori

  • The Academic
  • 211
  • Bad command or file name
Re: Help asked; Crashes apparently caused by SCP
Quote from: JCDNWarrior's log
Found root pack 'D:\games\mediavps\MV_Advanced.vp' with a checksum of 0x08a62d20
Found root pack 'D:\games\mediavps\MV_Assets.vp' with a checksum of 0xb8c5d655
Found root pack 'D:\games\mediavps\mv_core.vp' with a checksum of 0x0a0213e0
Found root pack 'D:\games\mediavps\mv_effects.vp' with a checksum of 0xb2296226
Found root pack 'D:\games\mediavps\mv_music.vp' with a checksum of 0xcca92482

..

Searching root pack 'D:\games\mediavps\MV_Advanced.vp' ... 2610 files
Searching root pack 'D:\games\mediavps\MV_Assets.vp' ... 1679 files
Searching root pack 'D:\games\mediavps\mv_core.vp' ... 72 files
Searching root pack 'D:\games\mediavps\mv_effects.vp' ... 1022 files
Searching root pack 'D:\games\mediavps\mv_music.vp' ... 15 files

Quote from: My log
Found root pack 'G:\Pelit\FreeSpace2\mediavps-trad\MV_Advanced.vp' with a checksum of 0x08a62d20
Found root pack 'G:\Pelit\FreeSpace2\mediavps-trad\MV_Assets.vp' with a checksum of 0xb8c5d655
Found root pack 'G:\Pelit\FreeSpace2\mediavps-trad\MV_Core.vp' with a checksum of 0x0a0213e0
Found root pack 'G:\Pelit\FreeSpace2\mediavps-trad\MV_Effects.vp' with a checksum of 0xb2296226
Found root pack 'G:\Pelit\FreeSpace2\mediavps-trad\mv_music.vp' with a checksum of 0xbbd92e16

..

Searching root pack 'G:\Pelit\FreeSpace2\mediavps-trad\MV_Advanced.vp' ... 2610 files
Searching root pack 'G:\Pelit\FreeSpace2\mediavps-trad\MV_Assets.vp' ... 1867 files
Searching root pack 'G:\Pelit\FreeSpace2\mediavps-trad\MV_Core.vp' ... 139 files
Searching root pack 'G:\Pelit\FreeSpace2\mediavps-trad\MV_Effects.vp' ... 1032 files
Searching root pack 'G:\Pelit\FreeSpace2\mediavps-trad\mv_music.vp' ... 32 files


You're missing files which basically means the files are corrupt (or in the case of mv_music.vp, wrong version most likely since the checksum is different) even though the checksums appear correct. This troubles me. It would seem to suggest that the checksums that the log shows aren't actually generated *check*sums but rather more like version verifiers or something. The only one that seems OK is the mv_advanced.vp, which isn't much use without the rest of the stuff working correctly. This requires some research...

I don't know how these checksums work, but you can run MD5 checksum tests for the VP's you've downloaded to verify that they are (or in your case are NOT) the correct ones. Checksums are available at the release thread.

You could also tell which mirror gave you the corrupt files. It might help solving these issues since we've been having a lot of corrupt mediavp related problems recently (mostly due to the web installer downloading corrupt files but also an occasional manual download corruption); The ones hosted at FreeSpaceMods are what I have and I haven't gotten any corrupt downloads from there so I may as well recommend trying them... so try downloading the files from here and check that the hashes match the given checksums.
There are three things that last forever: Abort, Retry, Fail - and the greatest of these is Fail.

 

Offline chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: Help asked; Crashes apparently caused by SCP
This just came up on SCP internal:

Quote from: taylor
The fast crc method checks the last couple megs of the file, not the first.  This checks a little bit of the data, but it's mostly a combination of size verification and index verification (since the index is at the end of the file).  If the file is short then it most likely means that the end of the file is missing or corrupted (but certainly not always).  So with this we get two different checks pretty quickly, more verification than a simple file size check can give us.  The current data size that it reads is just 2meg though, and with large VPs containing a lot of files (like the new MediaVPs) it may not be enough to do a full check of the file index.  That could be considered a bug in the code, though such CRC checking of VPs was originally intended to be obsolete with compressed VPs, in which the index is compressed and has built-in data integrity checking.
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 
Re: Help asked; Crashes apparently caused by SCP
Sorry for the late reply; I wanted to say that I appreciate all the help so far, but I haven't been able to fix my problem so far. It's not as bad as it could be, the core game works and FRED2 works fine too, which is all I need for now. I am thinking of trying to recover the entire original game files, place in new map, and try to install SCP over it to see if it works. It's the closest thing to a re-install, even though i'm not fully sure which maps involve the core game files and which are modded.

If anyone has any new insights, ideas or suggestions, I would be happy to hear! Thanks for everything so far.

- JC
I'm all about getting the most out of games, so whenever I discover something very strange or push the limits, I upload them here:

http://www.youtube.com/user/JCDentonCZ

-----------------

The End of History has come and gone.

 

Offline Herra Tohtori

  • The Academic
  • 211
  • Bad command or file name
Re: Help asked; Crashes apparently caused by SCP
Unlike Windows, it is not necessary to "clean sweep" or purge-remove FS2_Open in normal troubleshooting process. You don't need to delete the game and rebuild it, since you can very effectively determine what data the game uses - as is demonstrated by the fact that the "core game" (I assume you refer to using no mediaVP's or mods) works normally. However, if you really want to do it... Here's how to ensure "tabula rasa" in a very easy and fast way without any risk of losing data:

1. Rename your current FS2 directory to FS2_broken or something like that. Then, create a new directory for the game, let's say C:\Games\FreeSpace2\ . Don't delete the old directory outright before you've made sure that you've taken any files from it that you don't want to re-download or recreate.

2. Open your old "broken" FS2 dir and locate the following files:

root_fs2.vp  -  6,255 KB
smarty_fs2.vp - 120,241 KB
sparky_fs2.vp - 254,457 KB
sparky_hi_fs2.vp - 259,026 KB
stu_fs2.vp - 169,108 KB
tango1_fs2.vp - 191,297 KB
tango2_fs2.vp - 71,073 KB
tango3_fs2.vp - 49,314 KB
warble_fs2.vp - 116 073 KB


3. Open the new, currently empty ..\FreeSpace2\ directory and copy the aforementioned files into that directory. You now have all the original FS2 data that you need in the directory (although you may want to add multiplayer mission packs and cutscene packs, but these files are what you really need, everything else is optional). In fact you can install FS2_Open on a computer by simply using this method; the game takes care of creating necessary registry entries and cache directory and ini files.

4. Aquire the latest Launcher.exe and a FreeSpace2 Open executable. At the moment I recommend getting the 3.6.10 RC1 (release candidate 1) build from here.

5. Start the launcher, select the executable, configure settings and start the game to make sure everything works. If done correctly, you should now have a working FS2_Open installation with the original, retail FS2 data.

6. Download the mediaVP files manually from a location that gives you intact files. Check that the downloaded data matches the given verification checksums after you have extracted the VP files from the 7z files (or whichever compression is used). Sometimes even if the download is uncorrupted, the extraction phase can cause some corruption, though this is rare...

7. Create a mod directory ( ..\FreeSpace2\mediavps\ ) and place the extracted MediaVP files in this directory.

8. Enable mediaVP's via Launcher.


Of course, you can skip a lot of job by simply removing or renaming your current, obviously broken mediavps directory as well as removing or renaming the ..\FreeSpace2\data\ to ..\FreeSpace2\broken_data\ and just do the steps 6-8, and if it doesn't still work, we'll need to take look at the file integrity of the mediaVP mirrors in general.

Which is why it would be very helpful of you to tell where exactly you keep getting corrupt MediaVP's. Please tell this to us because these corruption issues are popping up way too often for it to be acceptable.
There are three things that last forever: Abort, Retry, Fail - and the greatest of these is Fail.

 

Offline Zacam

  • Magnificent Bastard
  • Administrator
  • 211
  • I go Sledge-O-Matic on Spammers
    • Steam
    • Twitter
    • ModDB Feature
Re: Help asked; Crashes apparently caused by SCP
Externally verifying the CRCs of the MediaVP files to match the debug log CRCs is not going to happen.

The fs_open engine uses the same polynomial as 7z/WinZip/etc as well as HashTab and other crc tools, but the method of calculation (In either the 2 byte passes or the full 32 or pack checks) enumerates different results than what external applications will provide.

Even though Compressed VP's are somewhen in the works, I still am not convinced that they will address much of anything other than reducing HDD space. Right now I am (still) working on re-writing the CRC code, which will be useful regardless of whether or not compressed VP's become a reality.
Report MediaVP issues, now on the MediaVP Mantis! Read all about it Here!
Talk with the community on Discord
"If you can keep a level head in all this confusion, you just don't understand the situation"

¤[D+¬>

[08/01 16:53:11] <sigtau> EveningTea: I have decided that I am a 32-bit registerkin.  Pronouns are eax, ebx, ecx, edx.
[08/01 16:53:31] <EveningTea> dhauidahh
[08/01 16:53:32] <EveningTea> sak
[08/01 16:53:40] * EveningTea froths at the mouth
[08/01 16:53:40] <sigtau> i broke him, boys

 

Offline Herra Tohtori

  • The Academic
  • 211
  • Bad command or file name
Re: Help asked; Crashes apparently caused by SCP
Externally verifying the CRCs of the MediaVP files to match the debug log CRCs is not going to happen.


I should probably elaborate that I meant the MD5 checksums that come with the MediaVP's... :p
There are three things that last forever: Abort, Retry, Fail - and the greatest of these is Fail.

 

Offline Zacam

  • Magnificent Bastard
  • Administrator
  • 211
  • I go Sledge-O-Matic on Spammers
    • Steam
    • Twitter
    • ModDB Feature
Re: Help asked; Crashes apparently caused by SCP
Ah right. Forgot about those. Heh. Silly me.

Hopefully the ability to have the engine check against that file (probably under a different name by then) will be possible.

Depends on how they plan on header embedding on the compressed vps. I look forward to working on it.
Report MediaVP issues, now on the MediaVP Mantis! Read all about it Here!
Talk with the community on Discord
"If you can keep a level head in all this confusion, you just don't understand the situation"

¤[D+¬>

[08/01 16:53:11] <sigtau> EveningTea: I have decided that I am a 32-bit registerkin.  Pronouns are eax, ebx, ecx, edx.
[08/01 16:53:31] <EveningTea> dhauidahh
[08/01 16:53:32] <EveningTea> sak
[08/01 16:53:40] * EveningTea froths at the mouth
[08/01 16:53:40] <sigtau> i broke him, boys

 
Re: Help asked; Crashes apparently caused by SCP
Alright, wanted to update; It seems everything is working fine, after moving the files into a new folder, getting the new launcher, and the 3.6.10 RC1 VPs. I notice the differences between retail FS2 and SCP FS2 much more, and gives me a lot of ideas on how to create cinematic-like levels just to show off the eye candy to those without SCP for instance.

I also like the new features in FRED2, i'm interested to test all those new features out.

Thanks for all the help, everyone. I hope to be able to serve you too by releasing some of the levels i'm messing around with. ^^

- JC
I'm all about getting the most out of games, so whenever I discover something very strange or push the limits, I upload them here:

http://www.youtube.com/user/JCDentonCZ

-----------------

The End of History has come and gone.

 

Offline Herra Tohtori

  • The Academic
  • 211
  • Bad command or file name
Re: Help asked; Crashes apparently caused by SCP
3.6.10 RC1 VPs


Eh, what. There's the 3.6.10 RC1 release of the source code project, or FS2_Open and FRED2_Open executables; then there's the 3.6.10 MediaVP release. Both of which you should by all means have, but please be specific in telling what you have, it reduces confusion significantly. ;)


Quote
I notice the differences between retail FS2 and SCP FS2 much more, and gives me a lot of ideas on how to create cinematic-like levels just to show off the eye candy to those without SCP for instance.

Great. That means there was something configured worngly in your first install directory and now things are likely working better. Did you re-download the MediaVP files from a different location?
There are three things that last forever: Abort, Retry, Fail - and the greatest of these is Fail.