Jump to content
  • entries
    948
  • comments
    5,905
  • views
    945,315

4.3 beta update available


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

19 Comments


Recommended Comments

Josh

Posted

FYI, the selection widget is not appearing in the editor in this build. :D

Jazz

Posted

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

Josh

Posted

Want to post the file?

Jazz

Posted

I'll PM the ogg file link.

xtom

Posted

For lua version can ogg files be used or is this only for c++ version?

Jazz

Posted

For lua version can ogg files be used or is this only for c++ version?

 

I'm using lua.

Josh

Posted

Okay, cool, I got the load time down to 1.1 seconds with the first file you sent.

 

Marty left a note in his code that Bank::Resize() was slow (it is) and I found a way around it:

http://lists.xiph.org/pipermail/vorbis-dev/2003-July/007607.html

 

So I ended up making a list of small banks, and then resizing the main one once and copying each bank's contents to it.

  • Upvote 1
Jazz

Posted

Loads fast now. Good job!

 

4,401,121 byte

0.974 seconds

 

When will the launcher be updated for ogg?

macklebee

Posted

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
Josh

Posted

Everything has been updated. OGG files load fast and editor movement widget now shows.

  • Upvote 5
Jazz

Posted

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.

AggrorJorn

Posted

Can confirm, ogg sounds do not play in the launcher.

Josh

Posted

The launcher has not been updated with the beta executable.

Jazz

Posted

Well... :)

 

Everything has been updated.

Josh

Posted

On the beta branch!

Olby

Posted

OGG support.. excellent Christmas gift. Thanks Josh.

Josh

Posted

OGG support.. excellent Christmas gift. Thanks Josh.

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

Roberto14

Posted

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).

xtom

Posted

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.

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...