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

OGG Loader Update


I've updated the OGG loader with some code from Roberto14 and my own implementation of the ov_open_callbacks() function:

http://www.leadwerks.com/werkspace/topic/15538-corrupt-or-missing-data-in-bitstream-continuing/

 

Both Robero14's and MartyJ's code was extremely useful in figuring this out.

 

This version may load a greater variety of OGG files successfully. Let me know if you find any problems.

 

Update is for Lua executables, for Windows only at this time.

  • Upvote 6

8 Comments


Recommended Comments

xtom

Posted

I have two ogg files (wav->ogg via audacity) that load and play fine when game is run from the editor but they won't load in published standalone.

Josh

Posted

Does the zip file contain the OGG files?

xtom

Posted

Yes both are in data.zip - one is 2mb and the other 7.5mb

tumira

Posted

@Josh. Please increase viewport range for 4096x4096 terrain. Atleast provide the control or slider for us to increase it. The clipping make it look nasty. Using shadmar viewport hack have some weird artifact.

 

Also please fix the nature dlc. All the rocks material still missing shadow shader and some of the tree, (I think pine4 ?) missing some shader also.

Josh

Posted

Yes both are in data.zip - one is 2mb and the other 7.5mb

Okay, I found the cause of this.

Josh

Posted

Okay, I updated the Lua exes. Loader should work now.

xtom

Posted

Yup, working now and a nice reduction in overall file size yay :)

xtom

Posted

Updated One More Day on the launcher but it won't load due to same issue by the look of it. I guess the fix needs to be rolled out to the launcher.

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