SDL Error: Could not create GL context
C:\WingLoader>wingloader
TEST POP INT!!!!0!!!!1
TEST POP INT!!!!2!!!!2
TEST POP INT!!!!3!!!!3
TEST POP INT!!!!4!!!!4
TEST POP INT!!!!5!!!!5
TEST POP String!!!!!!!!Test of a stack memory store
TEST POP String!!!!2!!!!Second Register
Image Resolution: 1920x1080
Fill Data (300) is a skip. Fill A: 255 Fill R: 300 Fill G: 0 Fill B: 48
Total Steps: 12 Data 0:10 Data 1:11 Data 2:12 Data 3:13 Data 4:15 Data 5:16 Data 6:17 Data 7:18 Data 8:19 Data 9:20 Data 10:21 Data 11:255
Total Steps: 4 Data 0:16 Data 1:17 Data 2:255 Data 3:0
Total Steps: 4 Data 0:17 Data 1:17 Data 2:17 Data 3:0
I'm out0 Controllers found
.
..
my directory is C:\WingLoader
ENGINE AND SCRIPT ARE COMPATIBLE.
ENGINE AND SCRIPT ARE COMPATIBLE.
[Window.MainDisplay] = 1
[Shader.BasicShader] = 1
[Shader.LightingShader] = 2
[Shader.Sprite] = 3
[Shader.Font] = 4
[Camera.HUD] = 1
[Camera.Icons] = 2
[Camera.IconsWC2] = 3
[Camera.IconsWC3] = 4
[Camera.IconsWC4] = 5
[Camera.IconsWCP] = 6
[Peek.WC1] = 1
[PEEK_ADDRESS_1] = 1
[PEEK_ADDRESS_2] = 2
[PEEK_ADDRESS_3] = 3
[PEEK_ADDRESS_NAME] = 4
[PEEK_ADDRESS_CALLSIGN] = 5
[PEEK_ADDRESS_SYSTEM] = 6
[PEEK_ADDRESS_YEAR] = 7
[PEEK_ADDRESS_DAY] = 8
[PEEK_ADDRESS_HOUR] = 9
[PEEK_ADDRESS_MINUTE] = 10
[Video.Splash] = 1
[Vector.Background] = 1
[Vector.WC1] = 2
[Vector.WC1SM1] = 3
[Vector.WC1SM15] = 4
[Vector.WC1SM2] = 5
[Vector.WC1T] = 6
[Vector.WC2] = 7
[Vector.WC2SO1] = 8
[Vector.WC2SO2] = 9
[Vector.WC3] = 10
[Vector.WC4] = 11
[Vector.WCP] = 12
[Vector.WCSO] = 13
[Vector.Up] = 14
[Vector.Down] = 15
[Texture.WC1] = 1
[Texture.WC1SM1] = 2
[Texture.WC1SM15] = 3
[Texture.WC1SM2] = 4
[Texture.WC1T] = 5
[Texture.Background] = 6
[Texture.WC2] = 7
[Texture.WC2SO1] = 8
[Texture.WC2SO2] = 9
[Texture.WC3] = 10
[Texture.WC4] = 11
[Texture.WCP] = 12
[Texture.WCSO] = 13
[Texture.Video] = 14
[Channel.Dummy] = 1
[Channel.Voice] = 2
[Channel.Coms] = 3
[Num.Game] = 1
[Num.Selection] = 2
[Num.Selection2] = 3
[Num.SelectionP] = 4
[Num.Animation] = 5
[Num.Vid] = 6
[Num.Mission] = 7
[Num.CheckState1] = 8
[Num.CheckState2] = 9
[String.Buffer1] = 1
[String.Buffer2] = 2
[String.Name] = 3
[String.Callsign] = 4
[String.System] = 5
[String.Year] = 6
[String.Day] = 7
[String.Hour] = 8
[String.Minute] = 9
[Video.Splash1] = 2
[Video.Splash2] = 3
[Audio.SNDFX.1] = 1
[Audio.SNDFX.2] = 2
[Audio.SNDFX.3] = 3
[Audio.SM1Intro] = 4
[Timer.Dumb] = 1
[Timer.Vid] = 2
[Timer.Vid] = 3
ENGINE AND SCRIPT ARE COMPATIBLE.
OpenGL context could not be created! SDL Error: Could not create GL context: Der Vorgang wurde erfolgreich beendet.
Failed to initialize the OpenGL context.
C:\WingLoader>
Hey Alex!Hi everybody, I just found this gem but I can't get it to run.
I am on a Windows 10 machine and worked through all the installation steps for WC1.
But when I try to run WingLoader I getSDL Error: Could not create GL context
The whole prompt looks like...
C:\WingLoader>wingloader TEST POP INT!!!!0!!!!1 TEST POP INT!!!!2!!!!2 TEST POP INT!!!!3!!!!3 TEST POP INT!!!!4!!!!4 TEST POP INT!!!!5!!!!5 TEST POP String!!!!!!!!Test of a stack memory store TEST POP String!!!!2!!!!Second Register Image Resolution: 1920x1080 Fill Data (300) is a skip. Fill A: 255 Fill R: 300 Fill G: 0 Fill B: 48 Total Steps: 12 Data 0:10 Data 1:11 Data 2:12 Data 3:13 Data 4:15 Data 5:16 Data 6:17 Data 7:18 Data 8:19 Data 9:20 Data 10:21 Data 11:255 Total Steps: 4 Data 0:16 Data 1:17 Data 2:255 Data 3:0 Total Steps: 4 Data 0:17 Data 1:17 Data 2:17 Data 3:0 I'm out0 Controllers found . .. my directory is C:\WingLoader ENGINE AND SCRIPT ARE COMPATIBLE. ENGINE AND SCRIPT ARE COMPATIBLE. [Window.MainDisplay] = 1 [Shader.BasicShader] = 1 [Shader.LightingShader] = 2 [Shader.Sprite] = 3 [Shader.Font] = 4 [Camera.HUD] = 1 [Camera.Icons] = 2 [Camera.IconsWC2] = 3 [Camera.IconsWC3] = 4 [Camera.IconsWC4] = 5 [Camera.IconsWCP] = 6 [Peek.WC1] = 1 [PEEK_ADDRESS_1] = 1 [PEEK_ADDRESS_2] = 2 [PEEK_ADDRESS_3] = 3 [PEEK_ADDRESS_NAME] = 4 [PEEK_ADDRESS_CALLSIGN] = 5 [PEEK_ADDRESS_SYSTEM] = 6 [PEEK_ADDRESS_YEAR] = 7 [PEEK_ADDRESS_DAY] = 8 [PEEK_ADDRESS_HOUR] = 9 [PEEK_ADDRESS_MINUTE] = 10 [Video.Splash] = 1 [Vector.Background] = 1 [Vector.WC1] = 2 [Vector.WC1SM1] = 3 [Vector.WC1SM15] = 4 [Vector.WC1SM2] = 5 [Vector.WC1T] = 6 [Vector.WC2] = 7 [Vector.WC2SO1] = 8 [Vector.WC2SO2] = 9 [Vector.WC3] = 10 [Vector.WC4] = 11 [Vector.WCP] = 12 [Vector.WCSO] = 13 [Vector.Up] = 14 [Vector.Down] = 15 [Texture.WC1] = 1 [Texture.WC1SM1] = 2 [Texture.WC1SM15] = 3 [Texture.WC1SM2] = 4 [Texture.WC1T] = 5 [Texture.Background] = 6 [Texture.WC2] = 7 [Texture.WC2SO1] = 8 [Texture.WC2SO2] = 9 [Texture.WC3] = 10 [Texture.WC4] = 11 [Texture.WCP] = 12 [Texture.WCSO] = 13 [Texture.Video] = 14 [Channel.Dummy] = 1 [Channel.Voice] = 2 [Channel.Coms] = 3 [Num.Game] = 1 [Num.Selection] = 2 [Num.Selection2] = 3 [Num.SelectionP] = 4 [Num.Animation] = 5 [Num.Vid] = 6 [Num.Mission] = 7 [Num.CheckState1] = 8 [Num.CheckState2] = 9 [String.Buffer1] = 1 [String.Buffer2] = 2 [String.Name] = 3 [String.Callsign] = 4 [String.System] = 5 [String.Year] = 6 [String.Day] = 7 [String.Hour] = 8 [String.Minute] = 9 [Video.Splash1] = 2 [Video.Splash2] = 3 [Audio.SNDFX.1] = 1 [Audio.SNDFX.2] = 2 [Audio.SNDFX.3] = 3 [Audio.SM1Intro] = 4 [Timer.Dumb] = 1 [Timer.Vid] = 2 [Timer.Vid] = 3 ENGINE AND SCRIPT ARE COMPATIBLE. OpenGL context could not be created! SDL Error: Could not create GL context: Der Vorgang wurde erfolgreich beendet. Failed to initialize the OpenGL context. C:\WingLoader>
Has anyone an idea what's going on?
Best wishes
Alex
There isn't. I was testing another app with shaders that needed 4.5 and never lowered it. I'll make it 3.2 in next update.Out of curiosity Is there a benefit from newer versions of OGL? Why not make 3.2 the minimum if it can run that?
Thank you so much!Hey Alex!
This means that your computer goes not support OpenGL 4.6. Might be an old laptop with intel integrated graphics, or an outdated graphics driver. If everything is up to date, you can manually set WingLoader to run on older versions by opening pref.ini inside the main WingLoader folder and change GLMajor and GLMinor to the correct versions for you. The lowest you can go is 3.2
GLMajor=3
GLMinor=2
Check your graphics drivers to see what is the latest versions that your computer supports. Hope this helps you get up and running.
No problem.Thank you so much!
Thanks! I'm glad you like it. If it works with the Kilrathi Saga version and WCDX it should but I haven't tried it.Love the mod. Absolutely amazing.
I wonder if anyone has had any success getting debug mod to work with it?
No, the loader is what actually plays the audio in the background as well as launch and play the video cut-scene before opening SM1. It's not played from the WC1 KS executables.I would like to know if it is possible to install Voice Over Mod without installing Loader? I have installed Kilrathi Saga, all add-ons and WCDX. I am quite satisfied with the Kilrathi Saga menus and I don't need a Loader.
@wcnut is correct. Wing Loader just peeks at the game and plays the audio within itself in the background behind the game. There isn't a way to seperate my Loader and still have the voice overs work. Sorry.I would like to know if it is possible to install Voice Over Mod without installing Loader? I have installed Kilrathi Saga, all add-ons and WCDX. I am quite satisfied with the Kilrathi Saga menus and I don't need a Loader.
I might be able to help. I'm not doing .dll injecting, but I am hooking to the process via my executable. It should have similarities. I'll DM you sometime this week when I got a few minutes and try to help if I can. What is the link to hci's hooking guide? I wasn't able to find it for WC3 and Wc4. Only Standoff.Hi Destro, Are you able to share with me some information about your dll injection on Kilrathi Saga? I'm trying to develop dll patches for Wing Commander 3/4 for handling Force Feedback Joystick support. I'm having some trouble hooking the executables. I've followed HCL's hooking guide and I got my dll file to load but it crashes when it jumps back to the game after running my new code.
Hey Pedro! Yes I tried FFmpeg but kept getting tutorials with Deprecated code or just how to convert via command line. Lol. I had moved on to OGV as to not hit a wall and make no progress, but if you would be interested in sharing that DM me. I'd love to look it over as that would save me lots of time converting and, as you mentioned, maintaining seperate video packs.Wow totally missed this; I was just saying to DMJC if he wanted my FFMPEG playback code he was welcome to it.
It runs all of ODVS' files with separate threads and syncs video and audio without issues (also happily runs and deinterlaces non upscaled WC4 + WCP DVD files). Also handles multiple language tracks (I also have code for pulling out subtitles from the WC3 videos if you need it; not sure if your hack is similar to HCl's which would block out the original subtitles).
Seems foolish to keep two seperate video packs from ODVS as a WC3 Remake is not unlikely.
Oh and if you're poking around; ODVS' pack has the PSX news videos. From what I saw looking at the PC version the data needed to play those videos is still present (and if not the PSX version uses the same format so it wouldn't be a stretch to re-integate them)
Hey Pedro! Yes I tried FFmpeg but kept getting tutorials with Deprecated code or just how to convert via command line. Lol. I had moved on to OGV as to not hit a wall and make no progress, but if you would be interested in sharing that DM me. I'd love to look it over as that would save me lots of time converting and, as you mentioned, maintaining seperate video packs.
I did see the News videos, I'm not there just yet but if the game has a call for them I should be able to get them in. I will have to test each mission so hopefully I'll sneek them in.