#119027 - Lazy1 - Mon Feb 19, 2007 4:55 am
#119038 - tepples - Mon Feb 19, 2007 6:48 am
The license of wolf3d is not one of the Compatible Source Licenses described by the RPSL. So I'd guess they are incompatible unless you use the FSF-approved loophole of a multitasking system that allows separate, cooperatively multitasked programs to run together. For instance, you could set it up so that wolf3d starts the MP3 decoder as a separate process whose output is directed to a file descriptor in wolf3d. The mpg321 program does this by acting as a process that wraps the MAD library. The more it looks like one process being piped into another using an imitation of UNIX methods, the less likely that your combined work will be considered a Derivative Work.
But still, why would wolf3d need an MP3 decoder? Didn't it use sequenced music? And given the ease of writing a portal engine (the general case of a raycaster), and the unsuitability of the wolf3d subject matter for users in Germany and its border states, why would you need to port wolf3d instead of making a similar game from scratch?
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.
#119066 - sgeos - Mon Feb 19, 2007 12:33 pm
What do you want to do with it? If you are feeling crazy, you can always use the "under the radar" loophole. Ie, "I don't think anyone will care enough to make my life suck if I don't comply". As it's not really a loophole, this approach only works for projects nobody cares about. =P
-Brendan
#119083 - tepples - Mon Feb 19, 2007 2:46 pm
Potential forum policy issue, which I am now always phrasing as a question:
sgeos wrote: |
What do you want to do with it? If you are feeling crazy, you can always use the "under the radar" loophole. Ie, "I don't think anyone will care enough to make my life suck if I don't comply". |
Is this anything like the distribution of foreign anime or foreign roms?
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.
#119092 - Lazy1 - Mon Feb 19, 2007 4:07 pm
Well, for one it doesn't look like I can emulate the appropriate sound hardware on the arm7.
And another reason may be that some people want their own music instead of the default.
Possible loophole?:
I release it along with it's seperate arm7 and arm9 binaries and allow users to rebuild the nds with another arm7 binary which will run the mp3 player.
#119119 - HyperHacker - Mon Feb 19, 2007 10:45 pm
tepples wrote: |
Potential forum policy issue, which I am now always phrasing as a question:
sgeos wrote: | What do you want to do with it? If you are feeling crazy, you can always use the "under the radar" loophole. Ie, "I don't think anyone will care enough to make my life suck if I don't comply". |
Is this anything like the distribution of foreign anime or foreign roms? |
What I got out of this was "just ignore the rules, nobody will care anyway".
_________________
I'm a PSP hacker now, but I still <3 DS.
#119120 - tepples - Mon Feb 19, 2007 11:00 pm
HyperHacker wrote: |
tepples wrote: | Potential forum policy issue, which I am now always phrasing as a question:
sgeos wrote: | What do you want to do with it? If you are feeling crazy, you can always use the "under the radar" loophole. Ie, "I don't think anyone will care enough to make my life suck if I don't comply". |
Is this anything like the distribution of foreign anime or foreign roms? |
What I got out of this was "just ignore the rules, nobody will care anyway". |
And what I got out of this is "welcome to the game of good mod, bad mod."
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.
#119130 - Firon - Tue Feb 20, 2007 12:26 am
Lazy1: like I suggested to simon, try looking into WavPack lossy for your music. Its license is BSD, so you can use it with basically anything. The tiny decoder is specifically what you'd need to use.
http://wavpack.com/
#119133 - Lazy1 - Tue Feb 20, 2007 12:47 am
Looks good, filesize is only about 100kb higher than mp3 too.
Thanks for the info.
#119134 - keldon - Tue Feb 20, 2007 12:55 am
Lazy1 wrote: |
Looks good, filesize is only about 100kb higher than mp3 too.
Thanks for the info. |
In comparison to how many MB? And what was the compression rate?
#119137 - Firon - Tue Feb 20, 2007 1:18 am
Lazy1: what I did to bring sizes down was to resample to 32768Hz before encoding (which is the DS's native sample rate, so works best). I then used -fx6b180 to encode some songs and got very good results. Couldn't hear any obvious quantization noise. 160kbps doesn't sound so good, though.
Anyway, the reason I say -f is because fast needs less CPU than normal mode to decode. Even though you should be able to do normal in realtime on the ARM7, it's always nice to have extra CPU available. I've not done any benchmarks on the DS, but you might want to see if it works.
If you use mono music, then decoding is a joke. But stereo is so nice. :)
x6 enhances quality without slowing down decoding, but makes encoding slower (x1-x6 are the available options.) I think it's worth it, though. If you're pressed for time, x3 is a good happy medium.
Another nice benefit is that it uses a whole 10KB less of memory than Helix!
#119201 - tepples - Tue Feb 20, 2007 7:27 pm
Lazy1 wrote: |
Well, for one it doesn't look like I can emulate the appropriate sound hardware on the arm7. |
But you can high-level-emulate it, translating NoteOn commands into NoteOn commands in a MIDI synth. Doom source ports for PC do the same thing.
Quote: |
And another reason may be that some people want their own music instead of the default. |
You could always use MP2 instead if a decoder is available. It has a lower computational complexity than MP3, which is why MoonShell uses it for DPG audio.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.
#119212 - Lazy1 - Tue Feb 20, 2007 8:59 pm
Well, there are no compatible MP2 decoders though and wavpack gives me good file size and documentation.
I haven't gotten any sound output yet so I have a bit of work to do and documents to read.
#119303 - sgeos - Wed Feb 21, 2007 7:07 pm
HyperHacker wrote: |
What I got out of this was "just ignore the rules, nobody will care anyway". |
This is not what I meant. If I were to rephrase your quote, I'd put it like this: ignore the rules if and only if nobody will care about what you are doing.
If you are working on a proof of concept that will never leave your computer, your licenses don't need to match. You can replace one of the components later, if you ever decide to distribute your application.
Don't most of the license issues appear at the distribution level? You should be able to combine GPL code with proprietary code as long you only distribute it to other people who have access to the proprietary libraries. I'd double check that, though.
-Brendan
#124178 - Lazy1 - Tue Apr 03, 2007 9:23 pm
New issues/questions:
1:
Some sounds within wolfenstein use the ym3812 sound hardware instead of pcm sound. Since emulating that sound hardware is impossible and converting them won't work (broken emulator, plays sound half way only) I decided to record myself playing wolfenstein then cut out the sounds and save them separately.
This would be an easy solution and only take up 13KB of memory but I was informed on IRC that this would be illegal.
I don't understand why though, it was taken from the freely available shareware version and would be distributed with the same program it was supposed to be used with.
I have run out of ideas on how to get those sounds working, I tried the ym3812 emulator from dosbox but it only gives silence.
2:
I think the arm7 may not be fast enough to decode wavpack, it takes about 2-3 seconds for the arm9 to decode 1 second if I remember correctly.
Then again I might not be doing it properly, I don't know anything about audio but I'm assuming that I'm not supposed to decode 1 second at a time.
#124181 - keldon - Tue Apr 03, 2007 10:09 pm
1: the copyright owner is whoever programmed/sequenced the sound. Since you are using that same code to set the fm synth it would be odd to find any troubles with using the samples created by it in the same program.