待辦事項 #23880

Solving "Notes rush down!" problem programmatically

啟用日期: 2010-12-11 19:47 最後更新: 2011-04-03 05:05

回報者:
(匿名)
負責人:
類型:
狀態:
關閉
元件:
優先權:
5 - 中
嚴重程度:
5 - 中
處理結果:
檔案:
Vote
Score: 0
No votes
0.0% (0/0)
0.0% (0/0)

細節

Hello

I suffer from the "Notes rush down!" problem that is described in http://mainori-se.sakura.ne.jp/dtxmania/wiki.cgi?page=qa_troubleshooting_e#notesrushdown. While using this AppLocale utillity might be an option, I propose to fix this bug in DTXMania.

It should be possible to do something like this in the main thread:

  if (CultureInfo.CurrentCulture.NumberFormat.NumberDecimalSeparator == ',') {
     Thread.CurrentThread.CurrentCulture = new CultureInfo("en-GB", false);
  }

(I'm no C# programmer but I found this page which explains it a bit http://msdn.microsoft.com/en-us/library/system.threading.thread.currentculture.aspx)

Ticket History (3/7 Histories)

2010-12-11 19:47 Updated by: None
  • New Ticket "Solving "Notes rush down!" problem programmatically" created
2010-12-13 03:43 Updated by: yyagi
評語

Thanks for your advice.

To my regret, your plan is not good way, for DTX files which already made like "BPM=123,45".

To fix this issue, I think DTXMania must support both "." and "," as NumberDecimalSeparator. (And DTXMania must ignore separators, except coming at last. e.g. 1,23,4 -> 123,4)

Though I'll fix it, If don't have enough time to fix. Please wait a little...

2010-12-30 18:10 Updated by: yyagi
評語

I fixed the issue. Here is test version. Would you test it?

tp://yyagi.com/DTXMania086_Test_Fixed_NotesRushDown.zip

I modified text parser for #BPM, #BMPzz, #BASEBPM and #xxx02 (Bar Length).

2011-01-10 00:58 Updated by: yyagi
  • 狀態 Update from 開啟 to 關閉
  • Ticket Close date is changed to 2011-01-10 00:58
評語

Fixed on rev49(DTXMania) and rev53(DTXCreator). Ticket is closed.

2011-01-14 08:25 Updated by: None
評語

I've just tested the above mentioned file and it works. Thank you very much!

2011-01-14 23:29 Updated by: yyagi
評語

Thank you for your testing.

This fix has already imported to the next DTXMania version(087). It will be released in a few days.

2011-04-03 05:05 Updated by: yyagi
  • 元件 Update from (無) to DTXMania

Attachment File List

No attachments

編輯

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » 登入