[Feature Request] Increase fake cd track limit of 255

Developer discussion of experimental fixes, changes, and improvements.

Moderators: Nexuiz Moderators, Moderators


  • Hi,
    If one puts more than 255 fakecd tracks in the cdtracks directory, it is currently only possible to play the first 255, because the track number argument will be wrapped to stay between 0 and 255.

    Examples of the current state:
    If one enters "cd play 256" it will result in an error, because track 0 is invalid (256-256=0).
    If one enters "cd play 666" it will result in playing track 154 (666-256*2=154).

    I'd like it to be able play about 999 tracks (or maybe a whole int) instead.

    The fake cd construct is better for playing music than external media players, for one can manipulate it via aliasses and keybindings from within the game. Currently only three drawbacks seem to exist:
    • The limit of 255 tracks.
    • The lack of documentation.
    • It won't play continuously.


    Thanks for your time.
    oz
     

Fri Nov 23, 2007 2:11 pm

  • just use the filename (without extension) instead of a tracknumber
    User avatar
    KadaverJack
    Site admin and forum addon
     
    Posts: 1102
    Joined: Tue Feb 28, 2006 9:42 pm

Sat Nov 24, 2007 4:22 pm

Sun Nov 25, 2007 9:07 am

  • [query="oz"]The fake cd construct is better for playing music than external media players, for one can manipulate it via aliasses and keybindings from within the game.[/query]

    If that's the only problem, you might want to play around with the vid_grabkeyboard var :)
    I personally wouldn't want to use in-game keys for things like music, it's just additional work to do :S
    User avatar
    Blµb
    Alien trapper
     
    Posts: 277
    Joined: Thu Mar 29, 2007 1:49 pm



Return to Nexuiz - Development




Information
  • Who is online
  • Users browsing this forum: No registered users and 1 guest