Sourceforge problems.

  • Thread starter Thread starter jeffdamann
  • Start date Start date
Status
Not open for further replies.
J

jeffdamann

Guest
I have no Idea how to get the files of sourceforge short of downloading everything in every folder one at a time. Can some one walk me through how to use mercurial and sourceforge?
 
I have no Idea how to get the files of sourceforge short of downloading everything in every folder one at a time. Can some one walk me through how to use mercurial and sourceforge?
You will need http://tortoisehg.bitbucket.org/
Then checkout project from here http://q-gears.hg.sourceforge.net:8000/hgroot/q-gears/q-gears

This is readonly url, but you will get whole repositary. You can grab link for read/write access on sourceforge. I already add you as developer.

Here is the sourceforge page https://sourceforge.net/scm/?type=hg&group_id=165417.
 
Last edited:
So I got the program, but what do I do with it? Ive been up all night lol. Do I just individually download all the files from my web browser or....?
 
Im missing something here lol.

The tortoisehq program is downlaoded. I chose to run the workbench. When I work inside that it seems I can only access stuff off my pc. How do I use it to access the repository?
 
Im missing something here lol.

The tortoisehq program is downlaoded. I chose to run the workbench. When I work inside that it seems I can only access stuff off my pc. How do I use it to access the repository?
Choose "clone" opcions first. This will clone remote repositary to your PC. This can be done from workmench and from windows popup menu.
 
ah the joys of version control :D to bad the mercurial hosting on sourceforge doesn't have a dl tarball option like their svn service does.
 
Ok Ive got the repository, Ill begin familiarizing myself with the data and figure out a way to implement sound.

How should I go about this? Make code that plays sounds at specific times or...?

Is it possible to modify qgears to allow easy sound handling, like a custom tool?

Just trying to figure out the best route to follow here lol.
 
Ok Ive got the repository, Ill begin familiarizing myself with the data and figure out a way to implement sound.

How should I go about this? Make code that plays sounds at specific times or...?

Is it possible to modify qgears to allow easy sound handling, like a custom tool?

Just trying to figure out the best route to follow here lol.
It already was implemented once in old source.

http://q-gears.hg.sourceforge.net/hgweb/q-gears/q-gears/file/b949ecad45b9/src_old/core/media

Most part of code can be taken from there. You need yo use additional library for this.
Create your own branch in mercurial and work in there. Just gather changes from me from time to time. I will not take it to main brunch until it will be compleated, but I can see changes and can give you some guidelines here.

First of all implement manager that handles sound. There are a lot of managers now, just copy main idea. Manager created in main() function and can be accessed from anywhere by getSingleton().
Next add xml reader for songs and sounds. It need to read something like this

Code: [Select]
Code:
<musics>    <music name="Opening" file_name="music/opening.ogg" loop="10.5" /></musics>
I already add placeholders for music description file in data directory.

Next thing is to add lua functions to handle playing sounds. There are already a lot of managers that was added to lua via luabind, just watch an examples.

That's it =)
 
Status
Not open for further replies.
Back
Top