Hard Light Productions Forums

General FreeSpace => FreeSpace & FreeSpace Open Support => Topic started by: Galahir950 on June 06, 2014, 07:28:53 pm

Title: FS2:SCP Steam Issue
Post by: Galahir950 on June 06, 2014, 07:28:53 pm
I get this error when I try to run SCP on the Steam Version. It is when I click on the Ready Room door.

ERANGE: String error. Please Report.
Trying to put into 127 byte buffer:
yellow_glow2_small-neb.tga
ntdll.dll! ZwWaitForSingleObject + 21 bytes
kernel32.dll! WaitForSingleObjectEx + 67 bytes
kernel32.dll! WaitForSingleObject + 18 bytes
fs2_open_3_7_0.exe! <no symbol>
fs2_open_3_7_0.exe! <no symbol>
fs2_open_3_7_0.exe! <no symbol>
fs2_open_3_7_0.exe! <no symbol>
fs2_open_3_7_0.exe! <no symbol>
fs2_open_3_7_0.exe! <no symbol>
<no module>! <no symbol>
<no module>! <no symbol>
SHELL32.dll! StrStrW + 6633231 bytes
<no module>! <no symbol>
<no module>! <no symbol>
<no module>! <no symbol>
<no module>! <no symbol>
<no module>! <no symbol>
<no module>! <no symbol>
<no module>! <no symbol>
<no module>! <no symbol>
<no module>! <no symbol>
<no module>! <no symbol>
SHELL32.dll! StrStrW + 2896485 bytes
<no module>! <no symbol>
fs2_open_3_7_0.exe! <no symbol>

This is my Launcher File

#
# DO NOT EDIT THIS FILE
#

[launcher]
exe_filepath = C:\Program Files (x86)\Steam\steamapps\common\Freespace 2\fs2_open_3_7_0.exe
game_flags = -ambient_factor 0 -no_emissive_light -spec_exp 11 -spec_point .6 -spec_static .8 -spec_tube .4 -ogl_spec 80 -spec -glow -env -mipmap -missile_lighting -3dshockwave -post_process -soft_particles -fxaa -targetinfo -orbradar -rearm_timer -ballistic_gauge -ship_choice_3d -weapon_choice_3d -3dwarp -warp_flash -restricted -multilog -mipmap
active_mod = mediavps_3612

Title: Re: FS2:SCP Steam Issue
Post by: General Battuta on June 06, 2014, 07:32:31 pm
FUUUUUCK we should've thought of this *sob*

The problem is that your filepath is too long. We built FSO to work in C:\Games\FreeSpace2, not in C:\Program Files (x86)\Steam\steamapps\common\Freespace 2\

When it tries to load in files in the latter directory, the path is too long and it freaks out - there are more than 128 characters in the path + filename.

Can you move the Steam install directory using Steam Mover? Move it to a shorter location, like C:\Games\FreeSpace2\, and everything should be fine...
Title: Re: FS2:SCP Steam Issue
Post by: Mongoose on June 06, 2014, 07:43:36 pm
What exactly is the technical code limitation that makes things derp out if the filepath is too long, and just how involved would it be to finally change it?
Title: Re: FS2:SCP Steam Issue
Post by: The E on June 07, 2014, 05:34:55 am
A stopgap fix will be in 3.7.2 RC3, a more permanent one will happen in the next stable release (When we get support for zip archives as VP file replacements)
Title: Re: FS2:SCP Steam Issue
Post by: MP-Ryan on June 07, 2014, 06:16:40 pm
A stopgap fix will be in 3.7.2 RC3, a more permanent one will happen in the next stable release (When we get support for zip archives as VP file replacements)

You guys have slated ZIP support over VPs?  Damnit you're awesome.