Important Message

You are browsing the archived Lancers Reactor forums. You cannot register or login.
The content may be outdated and links may not be functional.


To get the latest in Freelancer news, mods, modding and downloads, go to
The-Starport

CRC and voice.

The general place to discuss MOD''ing Freelancer!

Post Mon Feb 07, 2005 3:59 am

CRC and voice.

I've been working hard on Beta 2 of Warriors of the Sky, and I have finally pinpointed and eliminated almost all of the crash bugs, except for one of them.

In SP, and ONLY in SP, I'm getting a CTD that involves only one error message from Spew:

WARNING: invalid MSG id (2168981258) for voice profile (0xb4902287)

Ok... so basically, I have two sort've stupid questions here:

1. The Factions voices are all working just fine in MP. Why is this (apparantly) causing an error in SP?

2. I see this MSG id... but I cannot find it. And the voice profile is obviously a CRC... how do I do a reverse-lookup of FL CRCs? CRC Calc only goes one way ... so is there something else I can use? I'd really like to know why this error's occuring, obviously...

Post Mon Feb 07, 2005 6:30 am

If you look in the source of FLModelTool you'll see the only way of reversing crc numbers... A look up table of EVERY name you may want to reverse In the .utf files in /audio the filenames are already crc'd. Good luck!

Post Mon Feb 07, 2005 1:27 pm

3029344903 = atc_leg_m01

There's your voice profile, I don't have the messages stored in my DB yet - I'll try and look up the message when I do.

Post Mon Feb 07, 2005 2:21 pm

ARGH, that is a warning I have sometimes, too, but haven't messed about it because I have just some temporary bases plus copies of the two Luxury Liners, and the warning does not produce a CTD for me. However, what I have experienced is that there can be CTDs without any message in FLSpew conveying the cause, or even just in usual situations, i.e. I try something and dye, click respanw, CTD. Next time I do the same, I dye, click respawn and no CTD. (Atm there is just the plain systems, no encounters or anything that could appear randomly except the dynamic asteroids ).

Post Mon Feb 07, 2005 11:52 pm

@Accushot:

Uhm, where did you get that? <does reverse lookup of number>

Oh... I get it. You took 0xb4902287 and converted it to decimal, and then looked it up in ... the UTF? But how did you associate it with atc_leg_m01.utf?

I just looked in that UTF, and I don't see 0xb4902287... the closest match was 0xB496E54D. Sooooooo... why is FL trying to grab that message from that UTF, and then failing?

@Mephistopheles:

I, too, suspect there are a lot've lock situations that don't show up in Spew. But voice errors tied to Faction and location are one of the few things I know that will cause CTD very easily... and I'm getting very tired of watching FL hang in OpenSP, seemingly at "random".

I already know that there are a few things in Oceania that drive SP crazy, though... so I'm working on an SP-compatible mini-system that I can set as the start location for SP games, that'll give players an introduction to the world of my mod without being a crash-prone and Mission-less experience

Post Tue Feb 08, 2005 1:17 am

The voice profiles aren't retreived from the utf files, rather in the ini files that reference them. So, if you get the CRC value of the first entry in "voices_space_male.ini" - which is "atc_leg_m01" - you should get 3029344903 which is equal to 0xb4902287. Your missing number

Post Tue Feb 08, 2005 3:44 am

Oh!!!

So you're reversing the CRC... aha... I thought you were referring to the labels of the RIFF chunks sitting inside the UTF files... lol... my bad.

So you've been putting the CRCs of things into a database, and then did a lookup. Very cool... it would've taken me ages to figure that out...

Return to Freelancer General Editing Forum