Hard Light Productions Forums

General FreeSpace => FreeSpace & FreeSpace Open Support => Topic started by: HLD_Prophecy on September 06, 2017, 07:42:04 am

Title: Web cursor bitmap error?
Post by: HLD_Prophecy on September 06, 2017, 07:42:04 am
Hey all!

Upon trying to open a mission in the new FRED 2 Open 3.8.0 SSE2, I get this error:

(https://www.dropbox.com/s/u8z44x1z04d65eb/Web%20cursor%20bitmap%20error.png?raw=1)
Title: Re: Web cursor bitmap error?
Post by: The E on September 06, 2017, 08:01:42 am
I am trying to not make this sound condescending, but you really need to read the error message. It explains, in detail, the possible causes for this error and how to fix them.
Title: Re: Web cursor bitmap error?
Post by: HLD_Prophecy on September 06, 2017, 01:52:23 pm
I am trying to not make this sound condescending, but you really need to read the error message. It explains, in detail, the possible causes for this error and how to fix them.

I understand, that would be the obvious course of action. Unfortunately I am pretty sure that none of these three cases are, in fact, the case. FSO runs mods just fine. I have a legit FS2 installation. I was able to run FRED just fine a few weeks ago, which was the last time I tried it. Since then I have done only these things with my Freespace 2 directory:

1. Removed/added a few files from/to a pair of mods, NOT the MediaVPs or anything that FSO is reliant on.

2. Installed FSO 3.8.0. By which I mean that I opened the zip file and copied all the files from the zip file into my Freespace 2 directory. I opted to replace any pre-existing files that 3.8.0 included. I am using the 32-bit build.

Also,  it turns out that I am getting this error regardless of which version of FRED that I use. Sorry that I did not test that before.
Title: Re: Web cursor bitmap error?
Post by: The E on September 06, 2017, 02:17:33 pm
Please post your fs2_open.log file.  Instructions on how to do this can be found in this post.

Specifically, please run the Fred debug build and post the log from that.
Title: Re: Web cursor bitmap error?
Post by: HLD_Prophecy on September 07, 2017, 08:04:18 pm
Please post your fs2_open.log file.  Instructions on how to do this can be found in this post.

Specifically, please run the Fred debug build and post the log from that.

Thanks for the reminder, I should have done so. Will do, as soon as I've got time.
Title: Re: Web cursor bitmap error?
Post by: HLD_Prophecy on September 09, 2017, 07:52:39 am
Here's the log:

Code: [Select]
Opened log 'data/fred2_open.log', Sat Sep 09 08:49:46 2017 ...
Resetting dynamic tree node limit from 0 to 0...
Resetting dynamic tree node limit from 0 to 0...
Resetting dynamic tree node limit from 0 to 0...
Resetting dynamic tree node limit from 0 to 0...
  Initializing SDL...
Fred2 Open version: 3.8.0
Passed cmdline options:
  -mod scroll,mediavps_2014
  -window
Building file index...
Searching root 'C:\Users\Hitman\AppData\Roaming\HardLightProductions\FreeSpaceOpen\scroll\' ... 0 files
Searching root 'C:\Users\Hitman\AppData\Roaming\HardLightProductions\FreeSpaceOpen\mediavps_2014\' ... 0 files
Searching root 'C:\Users\Hitman\AppData\Roaming\HardLightProductions\FreeSpaceOpen\' ... 5 files
Searching root 'E:\Games\Freespace 2\scroll\data\missions\scroll\' ... 0 files
Searching root 'E:\Games\Freespace 2\scroll\data\missions\mediavps_2014\' ... 0 files
Searching root 'E:\Games\Freespace 2\scroll\data\missions\' ... 0 files
Found 6 roots and 5 files.
Stuffed string = [FreeSpace2]
Stuffed int: 3000
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Game Settings Table: Using Standard Loops For SEXP Arguments
Stuffed bool: true
Game Settings Table: Using standard event chaining behavior
Stuffed bool: true
Game Settings Table: External shaders are DISABLED
Stuffed bool: true
Stuffed bool: true
Stuffed string = [FS2]
Stuffed string = [FS2]
Stuffed bool: true
Found required string [#END]
Wokka!  Error opening file (strings.tbl)!
WMCGUI: Unable to parse 'strings.tbl'!  Error message = Failed to open file.
Setting language to English
==========================================================================
DEBUG SPEW: No debug_filter.cfg found, so only general, error, and warning
categories can be shown and no debug_filter.cfg info will be saved.
==========================================================================
Initializing OpenAL...
  OpenAL Vendor     : Creative Labs Inc.
  OpenAL Renderer   : Software
  OpenAL Version    : 1.1

  Found extension "ALC_EXT_EFX".
You are not using OpenAL Soft. Disabling enhanced sound.

  Sample rate: 44100 (44100)
  EFX version: 1.0
  Max auxiliary sends: 1
  Playback device: Generic Software on Speakers (2- High Definition Audio Device)
  Capture device: Microphone (2- High Definition
... OpenAL successfully initialized!
Initializing OpenGL graphics device at 640x480 with 32-bit color...
  Initializing WGL...
  Requested SDL Video values = R: 8, G: 8, B: 8, depth: 24, stencil: 8
  OpenGL Vendor    : ATI Technologies Inc.
  OpenGL Renderer  : AMD Radeon HD 7970M
  OpenGL Version   : 4.1.13417 Core Profile/Debug Context 22.19.171.257

Compiling new shader:
Particle Effects
   Loading built-in default shader for: effect-v.sdr
   Loading built-in default shader for: effect-particle-f.sdr
Shader Variant Features:
Compiling new shader:
Particle Effects
   Loading built-in default shader for: effect-v.sdr
   Loading built-in default shader for: effect-particle-f.sdr
   Loading built-in default shader for: effect-screen-g.sdr
Shader Variant Features:
Geometry shader point-based particles
Compiling new shader:
Distortion Effects
   Loading built-in default shader for: effect-distort-v.sdr
   Loading built-in default shader for: effect-distort-f.sdr
Shader Variant Features:
Compiling new shader:
Shield Decals
   Loading built-in default shader for: shield-impact-v.sdr
   Loading built-in default shader for: shield-impact-f.sdr
Shader Variant Features:
Compiling new shader:
Deferred Lighting
   Loading built-in default shader for: deferred-v.sdr
   Loading built-in default shader for: deferred-f.sdr
WARNING: Failed to find uniform 'specFactor'.
Shader Variant Features:
Compiling new shader:
Clear Deferred Lighting Buffer
   Loading built-in default shader for: deferred-clear-v.sdr
   Loading built-in default shader for: deferred-clear-f.sdr
Shader Variant Features:
Compiling passthrough shader...
Compiling new shader:
Passthrough
   Loading built-in default shader for: passthrough-v.sdr
   Loading built-in default shader for: passthrough-f.sdr
Shader Variant Features:

Compiling passthrough shader...
Found required string [$Name:]Found required string [$Name:]
Stuffed string = [distort noise]
Found required string [$Uniform:]
Stuffed string = [noise_amount]
Found required string [$Define:]
Stuffed string = [FLAG_DISTORT_NOISE]
Found required string [$AlwaysOn:]
Stuffed bool: true
Found required string [$Default:]
Stuffed float: 0.000000
Found required string [$Div:]
Stuffed float: 20000.000000
Found required string [$Add:]
Stuffed float: 0.000000
Found required string [$Name:]Found required string [$Name:]
Stuffed string = [saturation]
Found required string [$Uniform:]
Stuffed string = [saturation]
Found required string [$Define:]
Stuffed string = [FLAG_SATURATION]
Found required string [$AlwaysOn:]
Stuffed bool: true
Found required string [$Default:]
Stuffed float: 0.900000
Found required string [$Div:]
Stuffed float: 50.000000
Found required string [$Add:]
Stuffed float: 0.000000
Found required string [$Name:]Found required string [$Name:]
Stuffed string = [brightness]
Found required string [$Uniform:]
Stuffed string = [brightness]
Found required string [$Define:]
Stuffed string = [FLAG_BRIGHTNESS]
Found required string [$AlwaysOn:]
Stuffed bool: true
Found required string [$Default:]
Stuffed float: 1.110000
Found required string [$Div:]
Stuffed float: 50.000000
Found required string [$Add:]
Stuffed float: 0.000000
Found required string [$Name:]Found required string [$Name:]
Stuffed string = [contrast]
Found required string [$Uniform:]
Stuffed string = [contrast]
Found required string [$Define:]
Stuffed string = [FLAG_CONTRAST]
Found required string [$AlwaysOn:]
Stuffed bool: true
Found required string [$Default:]
Stuffed float: 1.015000
Found required string [$Div:]
Stuffed float: 50.000000
Found required string [$Add:]
Stuffed float: 0.000000
Found required string [$Name:]Found required string [$Name:]
Stuffed string = [film grain]
Found required string [$Uniform:]
Stuffed string = [film_grain]
Found required string [$Define:]
Stuffed string = [FLAG_GRAIN]
Found required string [$AlwaysOn:]
Stuffed bool: true
Found required string [$Default:]
Stuffed float: 0.100000
Found required string [$Div:]
Stuffed float: 50.000000
Found required string [$Add:]
Stuffed float: 0.000000
Found required string [$Name:]Found required string [$Name:]
Stuffed string = [stripes]
Found required string [$Uniform:]
Stuffed string = [tv_stripes]
Found required string [$Define:]
Stuffed string = [FLAG_STRIPES]
Found required string [$AlwaysOn:]
Stuffed bool: true
Found required string [$Default:]
Stuffed float: 0.000000
Found required string [$Div:]
Stuffed float: 50.000000
Found required string [$Add:]
Stuffed float: 0.000000
Found required string [$Name:]Found required string [$Name:]
Stuffed string = [cutoff]
Found required string [$Uniform:]
Stuffed string = [cutoff]
Found required string [$Define:]
Stuffed string = [FLAG_CUTOFF]
Found required string [$AlwaysOn:]
Stuffed bool: true
Found required string [$Default:]
Stuffed float: 2.000000
Found required string [$Div:]
Stuffed float: 50.000000
Found required string [$Add:]
Stuffed float: 0.000000
Found required string [$Name:]Found required string [$Name:]
Stuffed string = [dithering]
Found required string [$Uniform:]
Stuffed string = [dither]
Found required string [$Define:]
Stuffed string = [FLAG_DITH]
Found required string [$AlwaysOn:]
Stuffed bool: true
Found required string [$Default:]
Stuffed float: 0.000000
Found required string [$Div:]
Stuffed float: 50.000000
Found required string [$Add:]
Stuffed float: 0.000000
Found required string [#End]Found required string [#End]
  Max texture units: 2 (32)
  Max client texture states: 2 (1)
  Max elements vertices: 2147483647
  Max elements indices: 2147483647
  Max texture size: 16384x16384
  Max render buffer size: 16384x16384
  Can use compressed textures: YES
  Texture compression available: YES
  Post-processing enabled: NO
  Using trilinear texture filter.
  OpenGL Shader Version: 4.40
... OpenGL init is complete!
Initializing path renderer...
Size of bitmap info = 890 KB
Size of bitmap extra info = 64 bytes
Failed to load cursor bitmap cursorweb!
Error:
Web cursor bitmap not found.  This is most likely due to one of three reasons:
    1) You're running FreeSpace Open from somewhere other than your FreeSpace 2 folder;
    2) You've somehow corrupted your FreeSpace 2 installation, e.g. by modifying or removing the retail VP files;
    3) You haven't installed FreeSpace 2 at all.  (Note that installing FreeSpace Open does NOT remove the need for a FreeSpace 2 installation.)
Number 1 can be fixed by simply moving the FreeSpace Open executable file to the FreeSpace 2 folder.  Numbers 2 and 3 can be fixed by installing or reinstalling FreeSpace 2.

File: 2d.cpp
Line: 1077

Int3(): From C:\projects\fs2open-github-com\code\osapi\dialogs.cpp at line 355
ntdll.dll! NtWaitForSingleObject + 21 bytes
kernel32.dll! WaitForSingleObjectEx + 67 bytes
kernel32.dll! WaitForSingleObject + 18 bytes
fred2_open_3_8_0_SSE2-FASTDBG.exe! <no symbol>
fred2_open_3_8_0_SSE2-FASTDBG.exe! <no symbol>
fred2_open_3_8_0_SSE2-FASTDBG.exe! <no symbol>
fred2_open_3_8_0_SSE2-FASTDBG.exe! <no symbol>
fred2_open_3_8_0_SSE2-FASTDBG.exe! <no symbol>
fred2_open_3_8_0_SSE2-FASTDBG.exe! <no symbol>
fred2_open_3_8_0_SSE2-FASTDBG.exe! <no symbol>
fred2_open_3_8_0_SSE2-FASTDBG.exe! <no symbol>
fred2_open_3_8_0_SSE2-FASTDBG.exe! <no symbol>
fred2_open_3_8_0_SSE2-FASTDBG.exe! <no symbol>
fred2_open_3_8_0_SSE2-FASTDBG.exe! <no symbol>
USER32.dll! gapfnScSendMessage + 818 bytes
USER32.dll! GetDC + 82 bytes
USER32.dll! GetThreadDesktop + 389 bytes
USER32.dll! UnregisterClassW + 1988 bytes
ntdll.dll! KiUserCallbackDispatcher + 46 bytes
USER32.dll! UnregisterClassW + 2752 bytes
USER32.dll! CreateWindowExA + 51 bytes
fred2_open_3_8_0_SSE2-FASTDBG.exe! <no symbol>
fred2_open_3_8_0_SSE2-FASTDBG.exe! <no symbol>
fred2_open_3_8_0_SSE2-FASTDBG.exe! <no symbol>
fred2_open_3_8_0_SSE2-FASTDBG.exe! <no symbol>
fred2_open_3_8_0_SSE2-FASTDBG.exe! <no symbol>
fred2_open_3_8_0_SSE2-FASTDBG.exe! <no symbol>
fred2_open_3_8_0_SSE2-FASTDBG.exe! <no symbol>
fred2_open_3_8_0_SSE2-FASTDBG.exe! <no symbol>
fred2_open_3_8_0_SSE2-FASTDBG.exe! <no symbol>
fred2_open_3_8_0_SSE2-FASTDBG.exe! <no symbol>
fred2_open_3_8_0_SSE2-FASTDBG.exe! <no symbol>
fred2_open_3_8_0_SSE2-FASTDBG.exe! <no symbol>
USER32.dll! gapfnScSendMessage + 818 bytes
USER32.dll! GetDC + 82 bytes
USER32.dll! GetThreadDesktop + 389 bytes
USER32.dll! UnregisterClassW + 1988 bytes
ntdll.dll! KiUserCallbackDispatcher + 46 bytes
USER32.dll! UnregisterClassW + 2752 bytes
USER32.dll! CreateWindowExA + 51 bytes
fred2_open_3_8_0_SSE2-FASTDBG.exe! <no symbol>
fred2_open_3_8_0_SSE2-FASTDBG.exe! <no symbol>
fred2_open_3_8_0_SSE2-FASTDBG.exe! <no symbol>
fred2_open_3_8_0_SSE2-FASTDBG.exe! <no symbol>
fred2_open_3_8_0_SSE2-FASTDBG.exe! <no symbol>
fred2_open_3_8_0_SSE2-FASTDBG.exe! <no symbol>
fred2_open_3_8_0_SSE2-FASTDBG.exe! <no symbol>
fred2_open_3_8_0_SSE2-FASTDBG.exe! <no symbol>
fred2_open_3_8_0_SSE2-FASTDBG.exe! <no symbol>
fred2_open_3_8_0_SSE2-FASTDBG.exe! <no symbol>
fred2_open_3_8_0_SSE2-FASTDBG.exe! <no symbol>
fred2_open_3_8_0_SSE2-FASTDBG.exe! <no symbol>
fred2_open_3_8_0_SSE2-FASTDBG.exe! <no symbol>
fred2_open_3_8_0_SSE2-FASTDBG.exe! <no symbol>
fred2_open_3_8_0_SSE2-FASTDBG.exe! <no symbol>
fred2_open_3_8_0_SSE2-FASTDBG.exe! <no symbol>
kernel32.dll! BaseThreadInitThunk + 18 bytes
ntdll.dll! RtlInitializeExceptionChain + 99 bytes
ntdll.dll! RtlInitializeExceptionChain + 54 bytes

Wokka!  Error opening file (ai.tbl)!
TABLES: Unable to parse 'ai.tbl'!  Error message = Failed to open file.
Found required string [#AI Profiles]
Stuffed string = [FS2 RETAIL]
Found required string [$Profile Name:]
Found required string [$Profile Name:]
Stuffed string = [FS2 RETAIL]
Stuffed float: 5.000000
Stuffed float: 3.000000
Stuffed float: 2.000000
Stuffed float: 1.500000
Stuffed float: 1.000000
Stuffed float: 0.000000
Stuffed float: 5.000000
Stuffed float: 10.000000
Stuffed float: 20.000000
Stuffed float: 30.000000
Stuffed float: 3.000000
Stuffed float: 2.000000
Stuffed float: 1.500000
Stuffed float: 1.250000
Stuffed float: 1.000000
Stuffed float: 0.200000
Stuffed float: 0.300000
Stuffed float: 0.500000
Stuffed float: 0.900000
Stuffed float: 1.100000
Stuffed float: 2.000000
Stuffed float: 1.400000
Stuffed float: 0.750000
Stuffed float: 0.000000
Stuffed float: -1.000000
Stuffed float: 95.000000
Stuffed float: 80.000000
Stuffed float: 60.000000
Stuffed float: 40.000000
Stuffed float: 20.000000
Stuffed float: 90.000000
Stuffed float: 60.000000
Stuffed float: 40.000000
Stuffed float: 20.000000
Stuffed float: 10.000000
Stuffed float: 0.000000
Stuffed float: 0.000000
Stuffed float: 0.000000
Stuffed float: 0.000000
Stuffed float: 0.000000
Stuffed float: 100.000000
Stuffed float: 80.000000
Stuffed float: 60.000000
Stuffed float: 40.000000
Stuffed float: 20.000000
Stuffed float: 90.000000
Stuffed float: 60.000000
Stuffed float: 40.000000
Stuffed float: 20.000000
Stuffed float: 10.000000
Stuffed int: 2
Stuffed int: 3
Stuffed int: 4
Stuffed int: 7
Stuffed int: 99
Stuffed int: 2
Stuffed int: 3
Stuffed int: 4
Stuffed int: 5
Stuffed int: 99
Stuffed int: 3
Stuffed int: 4
Stuffed int: 5
Stuffed int: 7
Stuffed int: 10
Stuffed float: 0.250000
Stuffed float: 0.500000
Stuffed float: 0.650000
Stuffed float: 0.850000
Stuffed float: 1.000000
Stuffed float: 0.200000
Stuffed float: 0.400000
Stuffed float: 0.600000
Stuffed float: 0.800000
Stuffed float: 1.000000
Stuffed float: 2.000000
Stuffed float: 1.500000
Stuffed float: 1.333000
Stuffed float: 0.500000
Stuffed float: 0.000000
Stuffed float: 5.000000
Stuffed float: 4.000000
Stuffed float: 2.500000
Stuffed float: 1.200000
Stuffed float: 0.100000
Stuffed float: 2.000000
Stuffed float: 1.400000
Stuffed float: 1.250000
Stuffed float: 1.100000
Stuffed float: 1.000000
Stuffed float: 4.000000
Stuffed float: 2.500000
Stuffed float: 1.750000
Stuffed float: 1.250000
Stuffed float: 1.000000
Stuffed float: 0.400000
Stuffed float: 0.600000
Stuffed float: 0.800000
Stuffed float: 1.000000
Stuffed float: 1.200000
Stuffed float: 1.400000
Stuffed float: 1.200000
Stuffed float: 1.000000
Stuffed float: 0.800000
Stuffed float: 0.600000
Stuffed float: 3.000000
Stuffed float: 2.200000
Stuffed float: 1.600000
Stuffed float: 1.300000
Stuffed float: 1.000000
Stuffed float: 0.000000
Stuffed float: 0.000000
Stuffed float: 0.000000
Stuffed float: 0.000000
Stuffed float: 0.000000
Stuffed float: 0.000000
Stuffed float: 0.000000
Stuffed float: 0.000000
Stuffed float: 0.000000
Stuffed float: 0.000000
Stuffed float: 0.000000
Stuffed float: 0.000000
Stuffed float: 0.000000
Stuffed float: 0.000000
Stuffed float: 0.000000
Stuffed float: 0.000000
Stuffed float: 0.000000
Stuffed float: 0.000000
Stuffed float: 0.000000
Stuffed float: 0.000000
Stuffed float: 0.000000
Stuffed float: 0.000000
Stuffed float: 0.000000
Stuffed float: 0.000000
Stuffed float: 0.000000
Stuffed float: 0.000000
Stuffed float: 0.000000
Stuffed float: 0.000000
Stuffed float: 0.000000
Stuffed float: 0.000000
Stuffed float: 4.000000
Stuffed float: 2.000000
Stuffed float: 1.500000
Stuffed float: 1.250000
Stuffed float: 1.000000
Stuffed float: 10.000000
Stuffed float: 4.000000
Stuffed float: 2.500000
Stuffed float: 2.000000
Stuffed float: 1.500000
Stuffed int: 3
Stuffed int: 4
Stuffed int: 7
Stuffed int: 12
Stuffed int: 19
Stuffed int: 3
Stuffed int: 4
Stuffed int: 7
Stuffed int: 12
Stuffed int: 19
Stuffed float: 0.300000
Stuffed float: 0.300000
Stuffed float: 0.300000
Stuffed float: 0.300000
Stuffed float: 0.300000
Stuffed float: 0.150000
Stuffed float: 0.150000
Stuffed float: 0.150000
Stuffed float: 0.150000
Stuffed float: 0.150000
Stuffed float: 0.100000
Stuffed float: 0.200000
Stuffed float: 0.350000
Stuffed float: 0.500000
Stuffed float: 0.600000
Stuffed int: 10
Stuffed int: 20
Stuffed int: 35
Stuffed int: 50
Stuffed int: 60
Stuffed float: 1.500000
Stuffed float: 1.500000
Stuffed float: 1.500000
Stuffed float: 1.500000
Stuffed float: 1.500000
Stuffed int: 0
Stuffed int: 1
Stuffed int: 2
Stuffed int: 3
Stuffed int: 4
Stuffed float: 0.000000
Stuffed float: 0.000000
Stuffed float: 0.000000
Stuffed float: 0.000000
Stuffed float: 0.000000
Stuffed float: 0.000000
Stuffed float: 0.000000
Stuffed float: 0.000000
Stuffed float: 0.000000
Stuffed float: 0.000000
Stuffed float: 0.000000
Stuffed float: 0.000000
Stuffed float: 0.000000
Stuffed float: 0.000000
Stuffed float: 0.000000
Stuffed float: 0.125000
Stuffed float: 0.250000
Stuffed float: 1.000000
Stuffed float: 4.000000
Stuffed float: 8.000000
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed string = [normal]
Stuffed bool: true
Stuffed bool: true
Found required string [#End]
Found required string [#End]
Found required string [$Name:]
Found required string [$Name:]
Stuffed string = [Navbuoy]
Stuffed float: 200.000000
Stuffed float: 1.000000
Stuffed float: 10.000000
Stuffed float: 10.000000
Stuffed float: 500.000000
Stuffed bool: true
Stuffed float: 0.000000
Found required string [$Name:]
Found required string [$Name:]
Stuffed string = [Sentry Gun]
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed float: 200.000000
Stuffed float: 0.100000
Stuffed float: 10.000000
Stuffed bool: true
Stuffed float: 10.000000
Stuffed float: 500.000000
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed float: 0.000000
Found required string [$Name:]
Found required string [$Name:]
Stuffed string = [Escape Pod]
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed float: 200.000000
Stuffed float: 1.000000
Stuffed float: 10.000000
Stuffed bool: true
Stuffed float: 10.000000
Stuffed float: 600.000000
Stuffed bool: true
Stuffed float: 0.000000
Found required string [$Name:]
Found required string [$Name:]
Stuffed string = [Cargo]
Stuffed bool: true
Stuffed float: 200.000000
Stuffed float: 0.100000
Stuffed float: 10.000000
Stuffed bool: true
Stuffed bool: true
Stuffed float: 10.000000
Stuffed float: 500.000000
Stuffed float: 0.000000
Found required string [$Name:]
Found required string [$Name:]
Stuffed string = [Support]
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed float: 200.000000
Stuffed float: 1.000000
Stuffed float: 3.500000
Stuffed bool: true
Stuffed float: 10.000000
Stuffed float: 500.000000
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed float: 0.000000
Found required string [$Name:]
Found required string [$Name:]
Stuffed string = [Stealth]
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed float: 200.000000
Stuffed float: 1.000000
Stuffed float: 4.000000
Stuffed bool: true
Stuffed float: 10.000000
Stuffed float: 500.000000
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed float: 0.000000
Found required string [$Name:]
Found required string [$Name:]
Stuffed string = [Fighter]
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed float: 200.000000
Stuffed float: 1.000000
Stuffed float: 4.000000
Stuffed bool: true
Stuffed float: 10.000000
Stuffed float: 500.000000
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed float: 0.000000
Found required string [$Name:]
Found required string [$Name:]
Stuffed string = [Bomber]
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed float: 200.000000
Stuffed float: 1.000000
Stuffed float: 4.000000
Stuffed bool: true
Stuffed float: 10.000000
Stuffed float: 500.000000
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed float: 0.000000
Found required string [$Name:]
Found required string [$Name:]
Stuffed string = [Fighter/bomber]
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed float: 200.000000
Stuffed float: 1.000000
Stuffed float: 4.000000
Stuffed bool: true
Stuffed float: 10.000000
Stuffed float: 500.000000
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed float: 0.000000
Found required string [$Name:]
Found required string [$Name:]
Stuffed string = [Transport]
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed float: 150.000000
Stuffed float: 1.000000
Stuffed float: 2.000000
Stuffed bool: true
Stuffed bool: true
Stuffed float: 10.000000
Stuffed float: 500.000000
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed float: 0.000000
Found required string [$Name:]
Found required string [$Name:]
Stuffed string = [Freighter]
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed float: 150.000000
Stuffed float: 1.000000
Stuffed float: 1.750000
Stuffed bool: true
Stuffed bool: true
Stuffed float: 10.000000
Stuffed float: 600.000000
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed float: 0.000000
Found required string [$Name:]
Found required string [$Name:]
Stuffed string = [AWACS]
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed float: 150.000000
Stuffed float: 1.000000
Stuffed float: 0.800000
Stuffed bool: true
Stuffed bool: true
Stuffed float: 10.000000
Stuffed float: 600.000000
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed float: 0.000000
Found required string [$Name:]
Found required string [$Name:]
Stuffed string = [Gas Miner]
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed float: 150.000000
Stuffed float: 1.000000
Stuffed float: 1.000000
Stuffed bool: true
Stuffed bool: true
Stuffed float: 10.000000
Stuffed float: 600.000000
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed float: 0.000000
Found required string [$Name:]
Found required string [$Name:]
Stuffed string = [Cruiser]
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed float: 150.000000
Stuffed float: 1.000000
Stuffed float: 0.900000
Stuffed bool: true
Stuffed bool: true
Stuffed float: 10.000000
Stuffed float: 600.000000
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed float: 0.000000
Found required string [$Name:]
Found required string [$Name:]
Stuffed string = [Corvette]
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed float: 150.000000
Stuffed float: 1.000000
Stuffed float: 0.333300
Stuffed bool: true
Stuffed bool: true
Stuffed float: 10.000000
Stuffed float: 600.000000
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed float: 0.000000
Found required string [$Name:]
Found required string [$Name:]
Stuffed string = [Capital]
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed float: 100.000000
Stuffed float: 1.000000
Stuffed float: 0.200000
Stuffed bool: true
Stuffed bool: true
Stuffed float: 10.000000
Stuffed float: 750.000000
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed float: 0.000000
Found required string [$Name:]
Found required string [$Name:]
Stuffed string = [Super Cap]
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed float: 100.000000
Stuffed float: 1.000000
Stuffed float: 0.075000
Stuffed bool: true
Stuffed bool: true
Stuffed float: 10.000000
Stuffed float: 1000.000000
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed float: 0.000000
Found required string [$Name:]
Found required string [$Name:]
Stuffed string = [Drydock]
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed float: 100.000000
Stuffed float: 1.000000
Stuffed float: 0.500000
Stuffed bool: true
Stuffed bool: true
Stuffed float: 10.000000
Stuffed float: 750.000000
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed float: 0.000000
Found required string [$Name:]
Found required string [$Name:]
Stuffed string = [Knossos Device]
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed float: 100.000000
Stuffed float: 1.000000
Stuffed float: 0.100000
Stuffed bool: true
Stuffed float: 10.000000
Stuffed float: 1000.000000
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed bool: true
Stuffed float: 0.000000
Found required string [#End]
Found required string [#End]
Wokka!  Error opening file (ships.tbl)!
TABLES: Unable to parse 'ships.tbl'!  Error message = Failed to open file.
Error reading registry key 'RegisteredOwner'
Freeing all existing models...
Wokka!  Error opening file (messages.tbl)!
MISSIONCAMPAIGN: Unable to parse 'messages.tbl'!  Error message = Failed to open file.
Current soundtrack set to -1 in event_music_reset_choices

I discovered that I can actually open FRED by using the FRED executable, it's just that when I try to open it by clicking on a mission file that I get the error.

EDIT: Which... basically means that there's no real problem, I just have to open the missions by using the executable first.  :nervous: Sorry?
Title: Re: Web cursor bitmap error?
Post by: m!m on September 09, 2017, 11:34:12 am
The problem is that FRED is started in the missions directory of FreeSpace and then tries to find the root data of FS2 from there which it obviously doesn't find. I don't know if it's possible to detect this case but I'll take a look at the FRED code to check that.
Title: Re: Web cursor bitmap error?
Post by: The E on September 09, 2017, 11:39:56 am
This pretty much comes down to this use case not being one FRED was designed for. It's not supposed to be the default application for opening .fs2 files (if anything, that should be Notepad), and using it like that is something it doesn't support.

Whether it should is an open question; I think the overhead involved in making sure that it can be isn't worth it. The problem here is that we can't know whether or not a root directory is a viable FSO game until we try loading it; this takes time, and backing out and restarting cfile seems like a messy operation.
Title: Re: Web cursor bitmap error?
Post by: m!m on September 09, 2017, 11:51:44 am
I have no idea how that would have ever worked (and if I remember correctly, it never worked for me). I cannot find any code that would open a file that is selected in the explorer so I guess this "bug" is expected behavior.
Title: Re: Web cursor bitmap error?
Post by: jr2 on September 10, 2017, 06:42:35 am
This pretty much comes down to this use case not being one FRED was designed for. It's not supposed to be the default application for opening .fs2 files (if anything, that should be Notepad), and using it like that is something it doesn't support.

Whether it should is an open question; I think the overhead involved in making sure that it can be isn't worth it. The problem here is that we can't know whether or not a root directory is a viable FSO game until we try loading it; this takes time, and backing out and restarting cfile seems like a messy operation.
I have no idea how that would have ever worked (and if I remember correctly, it never worked for me). I cannot find any code that would open a file that is selected in the explorer so I guess this "bug" is expected behavior.

Is there any quick and easy way for FRED to check if it has been opened via a file association call and display a more helpful warning message, such as "You have associated FRED with FS mission files; which is unsupported.  Please open FRED first, with any appropriate mod parameters set, and then load your mission file."  or something? 
Title: Re: Web cursor bitmap error?
Post by: AdmiralRalwood on September 10, 2017, 01:40:32 pm
Is there any quick and easy way for FRED to check if it has been opened via a file association call and display a more helpful warning message, such as "You have associated FRED with FS mission files; which is unsupported.  Please open FRED first, with any appropriate mod parameters set, and then load your mission file."  or something? 
Well, file association (unless you set up a more complicated association with the registry) just calls the program with the file as an argument. So if it has an argument that looks like a file path and ends with .fs2, that would be the only way to detect it.
Title: Re: Web cursor bitmap error?
Post by: The E on September 10, 2017, 02:00:56 pm
Well, file association (unless you set up a more complicated association with the registry) just calls the program with the file as an argument. So if it has an argument that looks like a file path and ends with .fs2, that would be the only way to detect it.

While that's true, the real problem seems to be that when a program is invoked in such a way, its working directory is set C:\Windows\System32, which for obvious reasons is not a directory we recommend installing FS2 to. What we would have to do here is figure out what the actual working directory is supposed to be based on the passed commandline argument, which I think is bound to be more than a bit hairy.
Title: Re: Web cursor bitmap error?
Post by: m!m on September 10, 2017, 02:02:59 pm
The previous FRED versions all set the working directory to the location of the executable which caused a lot of problems when you tried to debug the executable directly. Maybe this behavior could be restored if a file name got passed on the command line?
Title: Re: Web cursor bitmap error?
Post by: The E on September 10, 2017, 02:07:46 pm
Maybe? That's obviously going to cause issues when you develop missions for more than one TC, but I don't know if that's a large enough issue to block this.
Title: Re: Web cursor bitmap error?
Post by: AdmiralRalwood on September 10, 2017, 04:48:13 pm
Well, file association (unless you set up a more complicated association with the registry) just calls the program with the file as an argument. So if it has an argument that looks like a file path and ends with .fs2, that would be the only way to detect it.

While that's true, the real problem seems to be that when a program is invoked in such a way, its working directory is set C:\Windows\System32, which for obvious reasons is not a directory we recommend installing FS2 to. What we would have to do here is figure out what the actual working directory is supposed to be based on the passed commandline argument, which I think is bound to be more than a bit hairy.
Only if you wanted it to actually open it successfully; the post I was replying to was asking if a more helpful warning could be displayed.
Title: Re: Web cursor bitmap error?
Post by: jr2 on September 10, 2017, 05:02:06 pm
So basically FRED would have to detect that a FS2 file was passed to it as an argument, and display an error message.