Jump to content
  • entries
    940
  • comments
    5,894
  • views
    863,943

4.3 beta update available


Josh

3,160 views

 Share

A new update is available on the beta branch on Steam. I've merged the OpenGL2 and OpenGL4 graphics driver classes into a new class called simply "OpenGLGraphicsDriver". Everything should work, but let me know if you find any behavior changes between 4.2 and this new beta.

 

OGG support has also been added, thanks to MartyJ's help. The following header search paths must be added to C++ projects:

  • ..\..\Source\Libraries\libogg\include
  • ..\..\Source\Libraries\\libvorbis\include
  • ..\..\Source\Libraries\\libvorbis\lib

  • Upvote 7
 Share

19 Comments


Recommended Comments

At first I thought my game froze.

 

Start ogg load: 3,737,638 bytes

Loading sound "C:/Users../Music/journey forward_looped.ogg..."

End ogg load : 29.416 seconds

Start ogg load: 7,048,740 bytes

Loading sound "C:/Users...Music/Glowsphere.ogg..."

End ogg load : 87.434 seconds

Link to comment

Yes - can confirm. Previous ogg file was 1.3 MB and it took almost 11 seconds to load and now it takes 0.24 seconds. Comparatively the 16MB wav version of the same file takes 0.4 seconds.

  • Upvote 2
Link to comment

Runs fine in the editor but running the standalone gives me "Error: Bankstream overrun error" trying load any ogg.

 

Game runs in the launcher but ogg doesn't play.

Link to comment

OGG support.. excellent Christmas gift. Thanks Josh.

Thank MartyJ, he's the one who contributed the code!

Link to comment

Now i have this error message trying load an ogg file, that before this update i was able to load with my lib:

"Corrupt or missing data in bitstream; continuing..."

 

And long load time, more than 4 sec...

 

Edit:

 

Web https://svn.xiph.org/trunk/vorbis/examples/decoder_example.c

 

int result=ogg_sync_pageout(&oy,&og);

if(result<0){ fprintf(stderr,"Corrupt or missing data in bitstream; continuing...\n");

then at https://xiph.org/ogg/doc/libogg/ogg_sync_pageout.html

Returned value:

-1 returned if stream has not yet captured sync (bytes were skipped).

Link to comment

I converted two wav music files to ogg and they work fine when running game from the editor but when publish standalone the game loads and then silently closes.

Link to comment
Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...