Author Topic: Values Greater than 255  (Read 462 times)

Offline Wodd

  • Active artist
  • *
  • Posts: 28
  • 1,111,111,111,111,111,111 is prime.
  • Operating System: Windows 10
Values Greater than 255
« on: July 17, 2017, 13:27:14 »
I was trying to make the pattern view accept instrument values greater than 255, but was unsuccessful. How do I do that? I tried changing the instrument max lines in mod_specifications.cpp and snd_defs.h. But, that does not affect the patterns tab.
I love Daisy (デイジー)!

Offline Saga Musix

  • OpenMPT Developers
  • *****
  • Posts: 6,292
  • aka Jojo
    • Download music, samples, VST plugins: Saga Musix Website
  • Operating System: Windows 7 x64
Re: Values Greater than 255
« Reply #1 on: July 17, 2017, 13:47:04 »
You can't. It's simple as that. I lost count how many times I told you this before but we do not offer support for increasing any quantity limits in the OpenMPT code. You will have to figure it out on your own and I can tell you it's not a trivial task that could be accomplished with a single line of code. It requires changes over the entire code base, including file format changes. None of the file formats supported by OpenMPT can technically support more than 255 instruments (or effect values greater than 255, etc.).
» No support, bug reports, feature requests via private messages - they will not be answered. Use the forums and the issue tracker so that everyone can benefit from your post.