Music On OS X ?
#872 posted by Barnak on 2014/08/01 16:33:16
The music plays when I type music filename in the console, but it doesn't start automatically when I start a map. Is this normal ?
Also, it doesn't play the whole list. It's only looping the only filename I entered in the console.
How can I play the entire list without having to type the names ?
I WANNA HEAR THE RAMONES WHILE PLAYING QUAKE !
#873 posted by Spirit on 2014/08/01 18:07:23
Be more verbose! Where are your files located. What are their filenames? What maps do you try?
The Ramones
#874 posted by Barnak on 2014/08/01 18:21:29
The MP3 files are all loose inside the id1/music folder. Their names are like this :
BallsToTheWall.mp3 <--- okay, not the Ramones ! ;-)
BeatOnTheBrat.mp3
BlitzkriegBop.mp3
Commando.mp3
GabbaGabbaHey.mp3
HappyFamily.mp3
HavanaAffair.mp3
Loudmouth.mp3
TodayYourLove.mp3
When I launch QuakeSpasm, and start a map, the music isn't playing at all. I have to type "music Loudmouth" to play that track, and its playing in loop.
I would like to play the whole list automatically at the map launch.
Barnak
About Cmd+Tab when in fullscreen: It's simply not possible due to the way how SDL sets up full screen. It captures the entire screen, and there's no sane way to handle Cmd+Tab in this mode. The alternative is to switch to windows by hitting, I think, Alt+Enter.
Barnak
#876 posted by ericw on 2014/08/01 19:20:16
Just run a music player in the background. afaik there's no support for playing a playlist like that; you can do "music Loudmouth" to play a single track like you said, or rename them to track02.mp3, track03.mp3, etc., and they'll play based on each map's CD track setting.
SDL2 supports cmd+tab in fullscreen if you use the "fullscreen_desktop" mode. In Mac OS this makes fullscreen as a space (virtual desktop), and cmd+tab switches away from it. So QS should support that at some point.
Ericw
Interesting, good to know.
#878 posted by metlslime on 2014/08/01 23:42:30
Multiplayer status bar --- this was like that in gal quake and I assume win quake too, to make room for the top 4 players scores to the right. I didn't change it.
Playlist
#879 posted by dooomer on 2014/08/02 03:24:23
I think a way to create a playlist is to write a text file, in which you put in words like "music Loudmouth", followed by words like "music Commando" in a new line, and so on. Save the text file, name it something like "playlist.txt". While in game, you simply type "exec playlist.txt", and it should be all good to go.
#880 posted by metlslime on 2014/08/02 03:53:38
how about following the pattern of the "startdemos" command, and chain the track names in a single command?
startdemos demo1 demo2 demo3
After Some Testing
#881 posted by dooomer on 2014/08/02 07:31:03
I found that my "playlist.txt" method does not work, as only the beginning first music will be looped over and over, instead of hearing the whole list of music files.
With some scripting I still think it's possible, but I am no expert.
Console And Hud Suggestion
#882 posted by Barnak on 2014/08/03 18:41:54
It could be great to change the hud icons and the console background to some high resolution, modern-like rendering. I think it's currently impossible with Quakespasm. Could this feature be added ?
Also, the text displayed in the console and in the game (messages) is crude, as in original Quake. Adding the option to change it to a nice highres antialiased version would be great.
Is that possible ?
No Way
#883 posted by negke on 2014/08/03 18:49:18
QS must not turn into Qrack or the like.
OSX 10.10 Report
#884 posted by AAS on 2014/08/03 20:07:13
Hello, I just ran build 944 on OSX 10.10 Yosemite and found few glitches (I think I should test them on 10.9 as well):
1) if you start QS without selecting right resolution then game screen will be shifted, so it is impossible to see lower/upper (varies) part of the screen. Tried it with both native system resolution and scaled to 1440x900 and 1680x1050 (on retina 13", intel iris).
2) resolution change from game menu leads sometimes to black screen, sometimes to screen shift, even if you selected "right" (one that equals to the system's scale) resolution.
3) I see 2 vertical black lines on sides of the display when scale to largest possible resolution on my hardware (1680x1050) and start QS with 1650x1050 resolution from launcher's options. Is it possible to add 1680x1050 resolution to the launcher and the game?
Hope you'll understand my gibberish.
I Can Confirm 2nd Issue
#885 posted by mfx on 2014/08/03 20:09:00
RE: OSX 10.10 Report
#886 posted by szo on 2014/08/03 22:47:22
Does using the "-current" argument help?
Metl wrote re Playlist
how about following the pattern of the "startdemos" command, and chain the track names in a single command?
Yah.. A music command like that sounds good. But is it trivial (haha - can i code it !) ?. I think the answer is no.
I implemented 'cd next' 'cd prev' commands, but it's a different thing with our music. Maybe this hack *cough* would work if we have a end-of-track semaphore somehow (see TODO). But Music playback is zeroed by level change anyway, so this needs addressing too.
static void BGM_Play_f (void)
{
- if (Cmd_Argc() == 2)
+ int last, i;
+ i = 1; last = Cmd_Argc();
+
+ if (last < 2)
{
- BGM_Play (Cmd_Argv(1));
- }
- else
- {
Con_Printf ("music <musicfile>n");
return;
}
+
+ // We should probably do this properly by assembling a music_handler_t list
+ // and implementing , 'prev', 'next' commands
+
+ while (i < last)
+ {
+ BGM_Play (Cmd_Argv(i));
+ // TODO wait for track to end !
+ i++;
+ }
}
RE: RE: OSX 10.10 Report
#888 posted by AAS on 2014/08/04 04:42:03
On 10.10 it does the trick, but not with 1680x1050 scaled resolution.
Also bugs 1 and 2 doesn't appear to be relevant on 10.9.4
RE: RE: OSX 10.10 Report
#889 posted by szo on 2014/08/04 07:47:30
On 10.10 it does the trick,
Good,
but not with 1680x1050 scaled resolution.
Can you explain this?
Also bugs 1 and 2 doesn't appear to be relevant on 10.9.4
So this is a 10.10 thing. I'll possibly need to report this to SDL.
RE: RE: OSX 10.10 Report
#890 posted by AAS on 2014/08/04 09:21:14
I mean when I set display resolution to what OSX display options calls "looks like 1680x1050" then "-current" QS command line have no effect in 10.10 and screen get shifted, but if I choose "looks like 1440x900" or "best (retina)" everything is fine.
I'm not that good at english, so there is more on retina thing, if you're still confused: http://www.anandtech.com/show/5996/how-the-retina-display-macbook-pro-handles-scaling
@ericwa (RE: RE: OSX 10.10 Report)
#891 posted by szo on 2014/08/04 10:52:18
Eric: As I understand it, SDL2 already has support for retina. Does your SDL2 port handle this? Is it even remotely possible to handle it in SDL1.2?
Impulse12 Fix?
#892 posted by path0gen on 2014/08/04 12:25:58
hi all. are there any plans to implement this feature
> jdhack's automatic impulse 12 for non-supporting mods (Requiem sv_imp12hack)
from reQuiem/fitzquake mark v? it would be really nice i think.
Retina
#893 posted by ericw on 2014/08/05 09:21:45
as far as I understand, the retina support in SDL2 is to allow you to use the full display resolution when in windowed mode; it's just a nicety for getting extra quality. In theory, I think SDL1.2 should still work fine on retina macbooks. There's some discussion on the support in SDL2 here: https://bugzilla.libsdl.org/show_bug.cgi?id=1934
I didn't try using that retina flag in my SDL2 patch yet.
I also get issue #1 reported by AAS if I don't specify a resolution in the launcher, on OS X 10.9.4 / 15" retina macbook. IIRC, it only happens when I'm using the laptop screen, not an external monitor. It doesn't happen all the time; I never got around to investigating it.
#894 posted by Spike on 2014/08/06 00:06:01
aye, retina mode is just a setting to tell the system to get lost and stop lying. :)
note: also useful in windows, and in fact required to stop fullscreen bugs (at least in non-sdl versions anyway). :/
#895 posted by jt_ on 2014/08/06 16:06:48
without having to scour through the source, could anyone working on quakespasm give a run down of what needs to be changed to compile on a 64 bit machine (i'm working on my own port to a different os, this is completely new to me); like any problems with pointers, etc. I'd really appreciate it. in the meantime i'll check out quakespasm's source though
Uhm
I think it already compiles on 64bit; at least the Mac version is universal, i.e., contains both a 32bit and a 64bit build.
|