Sound Patch AND Lua Edu Tools

General discussion about Celestia that doesn't fit into other forums.
Topic author
rustyshock
Posts: 6
Joined: 12.11.2006
With us: 18 years

Sound Patch AND Lua Edu Tools

Post #1by rustyshock » 01.12.2006, 02:01

Hello, all.

Can one run both the sound patch and Lua Edu tools? I seem to be able to run one or the other but not both. Any help is greatly appreciated.

Thanks!

Avatar
Joe
Posts: 162
Joined: 29.02.2004
With us: 20 years 8 months
Location: United Kingdom

Post #2by Joe » 01.12.2006, 09:44

To make both sound patch and Lua Edu tools work in the same time, you need to integrate the source code for sound patch into the current main source.
Joe
8O

Topic author
rustyshock
Posts: 6
Joined: 12.11.2006
With us: 18 years

Post #3by rustyshock » 01.12.2006, 17:07

I thought as much. How do you do that?

Vincent
Developer
Posts: 1356
Joined: 07.01.2005
With us: 19 years 10 months
Location: Nancy, France

Re: Sound Patch AND Lua Edu Tools

Post #4by Vincent » 01.12.2006, 18:22

rustyshock wrote:Hello, all.

Can one run both the sound patch and Lua Edu tools? I seem to be able to run one or the other but not both. Any help is greatly appreciated.

Thanks!

The sound patch is part of Celestia 1.4.1 patch, whereas the Lua Edu Tools need the Celestia 1.5.0 version to be run. So, as Joe said, you would have to include the sound patch to Celestia 1.5.0 source code and compile your own version to be able to use both features simultaneously. That won't be an easy task if you've never dealt with source code files.

However, when we're done with the graphic interface of the Lua Tool, we will work on adding the possibility to play sound files, and maybe even video files... Chris' recent changes in the code may allow to do that...
@+
Vincent

Celestia Qt4 SVN / Celestia 1.6.1 + Lua Edu Tools v1.2
GeForce 8600 GT 1024MB / AMD Athlon 64 Dual Core / 4Go DDR2 / XP SP3

Topic author
rustyshock
Posts: 6
Joined: 12.11.2006
With us: 18 years

Post #5by rustyshock » 01.12.2006, 18:33

you would have to include the sound patch to Celestia 1.5.0 source code and compile your own version to be able to use both features simultaneously. That won't be an easy task if you've never dealt with source code files.

However, when we're done with the graphic interface of the Lua Tool, we will work on adding the possibility to play sound files, and maybe even video files... Chris' recent changes in the code may allow to do that...


Yep, compiling source code is way beyond me at this point. The Lua Tool is so useful and cool, I have every cionfidence that you'll be able to integrate sound (and video!) to it. Thanx! If I might suggest something, it would be excellent to be able to assign sounds to events, like play a theme tune at startup or play hyperdive engine sound effects when travelling, etc.

Thanks, Vincent.


Return to “Celestia Users”