Browse code

[NCSF] Update version and README for the previous change.

Naram Qashat authored on 2014/12/09 23:06:40
Showing 1 changed files
... ...
@@ -69,6 +69,8 @@ v1.10.3 - 2014-10-23 - Corrected attack rate calculation.
69 69
   v1.11 - 2014-10-27 - Utilize the PLAYER blocks in the SDAT if they exist.
70 70
                      - Sinc modification from kode54, only the sinc pulse should
71 71
                        scale, not the window.
72
+v1.11.1 - 2014-12-09 - Fixed unsigned underflow with a loop offset of 0 on an
73
+                       ADPCM SWAV.
72 74
 
73 75
 This is a Winamp plugin to play NCSF files. NCSF is a PSF-style music format that
74 76
 uses SDAT files from Nintendo DS ROMs as it's "program".
Browse code

[NCSF] Update README file for the previous 2 commits.

Naram Qashat authored on 2014/11/07 23:30:12
Showing 1 changed files
... ...
@@ -66,6 +66,9 @@ v1.10.3 - 2014-10-23 - Corrected attack rate calculation.
66 66
                        lots of help from fincs.
67 67
                      - Changed Sinc interpolation window to Nuttall 3-term on
68 68
                        suggestion from kode54.
69
+  v1.11 - 2014-10-27 - Utilize the PLAYER blocks in the SDAT if they exist.
70
+                     - Sinc modification from kode54, only the sinc pulse should
71
+                       scale, not the window.
69 72
 
70 73
 This is a Winamp plugin to play NCSF files. NCSF is a PSF-style music format that
71 74
 uses SDAT files from Nintendo DS ROMs as it's "program".
Browse code

[NCSF] Bump version number for the previous fixes.

Naram Qashat authored on 2014/10/23 23:27:37
Showing 1 changed files
... ...
@@ -61,6 +61,11 @@ v1.10.1 - 2014-10-15 - Moved track allocation into the SSEQ command handler on a
61 61
                        allocated tracks later than expected originally.
62 62
 v1.10.2 - 2014-10-18 - Correctly handle SSEQ volume as well as fix other volume
63 63
                        issues.
64
+v1.10.3 - 2014-10-23 - Corrected attack rate calculation.
65
+                     - Corrected channel allocation causing sound cutoff, with
66
+                       lots of help from fincs.
67
+                     - Changed Sinc interpolation window to Nuttall 3-term on
68
+                       suggestion from kode54.
64 69
 
65 70
 This is a Winamp plugin to play NCSF files. NCSF is a PSF-style music format that
66 71
 uses SDAT files from Nintendo DS ROMs as it's "program".
Browse code

[NCSF] Bump version number for the previous volume fixes.

Naram Qashat authored on 2014/10/18 04:35:07
Showing 1 changed files
... ...
@@ -59,6 +59,8 @@ Version History
59 59
 v1.10.1 - 2014-10-15 - Moved track allocation into the SSEQ command handler on a
60 60
                        suggestion from fincs when I had found a sequence that
61 61
                        allocated tracks later than expected originally.
62
+v1.10.2 - 2014-10-18 - Correctly handle SSEQ volume as well as fix other volume
63
+                       issues.
62 64
 
63 65
 This is a Winamp plugin to play NCSF files. NCSF is a PSF-style music format that
64 66
 uses SDAT files from Nintendo DS ROMs as it's "program".
Browse code

[NCSF] Move track allocation into the SSEQ command handler.

This was suggested by fincs after I found some sequences that appeared
to do track allocations later in them than expected originally.

Naram Qashat authored on 2014/10/15 18:03:10
Showing 1 changed files
... ...
@@ -8,53 +8,57 @@ team for their open-source Nintendo DS emulator.
8 8
 
9 9
 Version History
10 10
 ---------------
11
-  v1.0 - 2013-03-25 - Initial Version
12
-  v1.1 - 2013-04-02 - Fixed crash upon seeking backwards (also causes crash
13
-                      in XMPlay on stopping).
14
-                    - Added version number to the plugin description.
15
-                    - Added 3 more interpolation options: B-spline, Hermite,
16
-                      and Optimal.
17
-  v1.2 - 2013-04-07 - Fixed crash if Winamp tries to access a file that no
18
-                      longer exists, reported by Caitsith2.
19
-                    - Utilized the SSEQ's volume from the INFO section.
20
-                    - Minor optimizations.
21
-  v1.3 - 2013-04-10 - Added more interpolation methods, cleanup of interpolation
22
-                      code, and stopped using slope to determine points outside
23
-                      the sample in an attempt to prevent clipping or popping.
24
-                    - Made it so certain changes in the configuration dialog
25
-                      will apply immediately after clicking OK.
26
-                    - Minor optimizations.
27
-  v1.4 - 2013-04-12 - Removed the Optimal, Lagrange, and Hermite interpolations,
28
-                      added in 2nd-order Osculating interpolation.
29
-                    - Changed handling of start/end of SWAV data to use the
30
-                      closest data point instead of only the current one.
31
-  v1.5 - 2013-04-18 - Implemented circular interpolation buffer to fix
32
-                      interpolation, thanks to kode54 for the code.
33
-  v1.6 - 2013-04-23 - Added Lanczos (Sinc) interpolation. Also modified Cosine
34
-                      interpolation to use a lookup table instead.
35
-  v1.7 - 2013-04-26 - Fixed Lanczos interpolation a bit (thanks to kode54), also
36
-                      allowed the plugin to handle 32-bit samples.
37
-v1.7.1 - 2013-04-26 - Minor update to scale the phase offset, thanks to kode54.
38
-  v1.8 - 2013-05-07 - Replaced Lanczos window for Sinc with the Hann window.
39
-                    - Added a ring buffer designed to work with SWAVs, replaces
40
-                      kode54's implementation (still have to give him big thanks
41
-                      for the original implementation).
42
-                    - Corrected clamping issue which caused some clipping-like
43
-                      effects.
44
-v1.8.1 - 2014-06-17 - Reverted Sinc interpolation back to the Lanczos window.
45
-  v1.9 - 2014-09-28 - Removed the Cosine, B-Spline, and Osculating
46
-                      interpolations, added 4-point and 6-point Legrange
47
-                      interpolations in their place.
48
-                    - Updated zlib to v1.2.8.
49
-v1.9.1 - 2014-10-05 - Fixed volume issues that stemmed from how FeOS Sound
50
-                      System was handling volume. Utilized some code from the
51
-                      Nintendo DS SDK to help fix this.
52
-                    - Added a clone of DeSmuME's Sound View that only shows up
53
-                      in debug builds, was used to help me identify the above
54
-                      issue to fix it.
55
- v1.10 - 2014-10-13 - Implemented the random, variable, and conditional
56
-                      commands.
57
-                    - Fixed loop counter.
11
+   v1.0 - 2013-03-25 - Initial Version
12
+   v1.1 - 2013-04-02 - Fixed crash upon seeking backwards (also causes crash
13
+                       in XMPlay on stopping).
14
+                     - Added version number to the plugin description.
15
+                     - Added 3 more interpolation options: B-spline, Hermite,
16
+                       and Optimal.
17
+   v1.2 - 2013-04-07 - Fixed crash if Winamp tries to access a file that no
18
+                       longer exists, reported by Caitsith2.
19
+                     - Utilized the SSEQ's volume from the INFO section.
20
+                     - Minor optimizations.
21
+   v1.3 - 2013-04-10 - Added more interpolation methods, cleanup of interpolation
22
+                       code, and stopped using slope to determine points outside
23
+                       the sample in an attempt to prevent clipping or popping.
24
+                     - Made it so certain changes in the configuration dialog
25
+                       will apply immediately after clicking OK.
26
+                     - Minor optimizations.
27
+   v1.4 - 2013-04-12 - Removed the Optimal, Lagrange, and Hermite interpolations,
28
+                       added in 2nd-order Osculating interpolation.
29
+                     - Changed handling of start/end of SWAV data to use the
30
+                       closest data point instead of only the current one.
31
+   v1.5 - 2013-04-18 - Implemented circular interpolation buffer to fix
32
+                       interpolation, thanks to kode54 for the code.
33
+   v1.6 - 2013-04-23 - Added Lanczos (Sinc) interpolation. Also modified Cosine
34
+                       interpolation to use a lookup table instead.
35
+   v1.7 - 2013-04-26 - Fixed Lanczos interpolation a bit (thanks to kode54), also
36
+                       allowed the plugin to handle 32-bit samples.
37
+ v1.7.1 - 2013-04-26 - Minor update to scale the phase offset, thanks to kode54.
38
+   v1.8 - 2013-05-07 - Replaced Lanczos window for Sinc with the Hann window.
39
+                     - Added a ring buffer designed to work with SWAVs, replaces
40
+                       kode54's implementation (still have to give him big thanks
41
+                       for the original implementation).
42
+                     - Corrected clamping issue which caused some clipping-like
43
+                       effects.
44
+ v1.8.1 - 2014-06-17 - Reverted Sinc interpolation back to the Lanczos window.
45
+   v1.9 - 2014-09-28 - Removed the Cosine, B-Spline, and Osculating
46
+                       interpolations, added 4-point and 6-point Legrange
47
+                       interpolations in their place.
48
+                     - Updated zlib to v1.2.8.
49
+ v1.9.1 - 2014-10-05 - Fixed volume issues that stemmed from how FeOS Sound
50
+                       System was handling volume.
51
+                     - Stopped utilizing SSEQ's volume from the INFO section, as
52
+                       it seemed like it wasn't used in the real thing.
53
+                     - Added a clone of DeSmuME's Sound View that only shows up
54
+                       in debug builds, was used to help me identify the above
55
+                       issue to fix it.
56
+  v1.10 - 2014-10-13 - Implemented the random, variable, and conditional
57
+                       commands.
58
+                     - Fixed loop counter.
59
+v1.10.1 - 2014-10-15 - Moved track allocation into the SSEQ command handler on a
60
+                       suggestion from fincs when I had found a sequence that
61
+                       allocated tracks later than expected originally.
58 62
 
59 63
 This is a Winamp plugin to play NCSF files. NCSF is a PSF-style music format that
60 64
 uses SDAT files from Nintendo DS ROMs as it's "program".
Browse code

[NCSF] Implemented the random, variable, and conditional commands. Also fixed loop counter.

Naram Qashat authored on 2014/10/13 18:00:29
Showing 1 changed files
... ...
@@ -52,6 +52,9 @@ v1.9.1 - 2014-10-05 - Fixed volume issues that stemmed from how FeOS Sound
52 52
                     - Added a clone of DeSmuME's Sound View that only shows up
53 53
                       in debug builds, was used to help me identify the above
54 54
                       issue to fix it.
55
+ v1.10 - 2014-10-13 - Implemented the random, variable, and conditional
56
+                      commands.
57
+                    - Fixed loop counter.
55 58
 
56 59
 This is a Winamp plugin to play NCSF files. NCSF is a PSF-style music format that
57 60
 uses SDAT files from Nintendo DS ROMs as it's "program".
Browse code

[NCSF] Fix volume issues with a little help from the Nintendo DS SDK.

Also added a clone of DeSmuME's Sound View that is only build during a
debug build, which helped to identify the above issues.

Naram Qashat authored on 2014/10/05 20:00:09
Showing 1 changed files
... ...
@@ -45,14 +45,20 @@ v1.8.1 - 2014-06-17 - Reverted Sinc interpolation back to the Lanczos window.
45 45
   v1.9 - 2014-09-28 - Removed the Cosine, B-Spline, and Osculating
46 46
                       interpolations, added 4-point and 6-point Legrange
47 47
                       interpolations in their place.
48
-                    - Updated zlib to v1.28.
48
+                    - Updated zlib to v1.2.8.
49
+v1.9.1 - 2014-10-05 - Fixed volume issues that stemmed from how FeOS Sound
50
+                      System was handling volume. Utilized some code from the
51
+                      Nintendo DS SDK to help fix this.
52
+                    - Added a clone of DeSmuME's Sound View that only shows up
53
+                      in debug builds, was used to help me identify the above
54
+                      issue to fix it.
49 55
 
50 56
 This is a Winamp plugin to play NCSF files. NCSF is a PSF-style music format that
51 57
 uses SDAT files from Nintendo DS ROMs as it's "program".
52 58
 
53 59
 Contains:
54
-*    in_ncsf.dll - The NCSF Winamp plugin
55
-* zlib DLL v1.28 - Required by the plugin
60
+*     in_ncsf.dll - The NCSF Winamp plugin
61
+* zlib DLL v1.2.8 - Required by the plugin
56 62
 
57 63
 To allow Winamp to use the plugin, place in_ncsf.dll into your Winamp plugins
58 64
 directory and zlib1.dll into your Winamp directory (NOTE: NOT the plugins
Browse code

Made note of update to zlib 1.28. (Should actually say 1.2.8, but I'll fix that in the future.)

Naram Qashat authored on 2014/09/28 15:30:52
Showing 1 changed files
... ...
@@ -45,13 +45,14 @@ v1.8.1 - 2014-06-17 - Reverted Sinc interpolation back to the Lanczos window.
45 45
   v1.9 - 2014-09-28 - Removed the Cosine, B-Spline, and Osculating
46 46
                       interpolations, added 4-point and 6-point Legrange
47 47
                       interpolations in their place.
48
+                    - Updated zlib to v1.28.
48 49
 
49 50
 This is a Winamp plugin to play NCSF files. NCSF is a PSF-style music format that
50 51
 uses SDAT files from Nintendo DS ROMs as it's "program".
51 52
 
52 53
 Contains:
53 54
 *    in_ncsf.dll - The NCSF Winamp plugin
54
-* zlib DLL v1.25 - Required by the plugin
55
+* zlib DLL v1.28 - Required by the plugin
55 56
 
56 57
 To allow Winamp to use the plugin, place in_ncsf.dll into your Winamp plugins
57 58
 directory and zlib1.dll into your Winamp directory (NOTE: NOT the plugins
Browse code

[NCSF] Should've updated the version number before.

Naram Qashat authored on 2014/09/28 14:43:16
Showing 1 changed files
... ...
@@ -42,6 +42,9 @@ v1.7.1 - 2013-04-26 - Minor update to scale the phase offset, thanks to kode54.
42 42
                     - Corrected clamping issue which caused some clipping-like
43 43
                       effects.
44 44
 v1.8.1 - 2014-06-17 - Reverted Sinc interpolation back to the Lanczos window.
45
+  v1.9 - 2014-09-28 - Removed the Cosine, B-Spline, and Osculating
46
+                      interpolations, added 4-point and 6-point Legrange
47
+                      interpolations in their place.
45 48
 
46 49
 This is a Winamp plugin to play NCSF files. NCSF is a PSF-style music format that
47 50
 uses SDAT files from Nintendo DS ROMs as it's "program".
Browse code

Reverted Sinc interpolation back to the Lanczos window.

Naram Qashat authored on 2014/06/17 10:40:29
Showing 1 changed files
... ...
@@ -41,6 +41,7 @@ v1.7.1 - 2013-04-26 - Minor update to scale the phase offset, thanks to kode54.
41 41
                       for the original implementation).
42 42
                     - Corrected clamping issue which caused some clipping-like
43 43
                       effects.
44
+v1.8.1 - 2014-06-17 - Reverted Sinc interpolation back to the Lanczos window.
44 45
 
45 46
 This is a Winamp plugin to play NCSF files. NCSF is a PSF-style music format that
46 47
 uses SDAT files from Nintendo DS ROMs as it's "program".
Browse code

Added README file.

Naram Qashat authored on 2013/05/09 01:25:49
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,101 @@
1
+in_ncsf - NCSF Winamp Plugin
2
+By Naram Qashat (CyberBotX) [cyberbotx@cyberbotx.com]
3
+
4
+(If you need to email me, please include NCSF in the subject line.)
5
+
6
+Special thanks to fincs for FeOS Sound System, as well as the DeSmuME
7
+team for their open-source Nintendo DS emulator.
8
+
9
+Version History
10
+---------------
11
+  v1.0 - 2013-03-25 - Initial Version
12
+  v1.1 - 2013-04-02 - Fixed crash upon seeking backwards (also causes crash
13
+                      in XMPlay on stopping).
14
+                    - Added version number to the plugin description.
15
+                    - Added 3 more interpolation options: B-spline, Hermite,
16
+                      and Optimal.
17
+  v1.2 - 2013-04-07 - Fixed crash if Winamp tries to access a file that no
18
+                      longer exists, reported by Caitsith2.
19
+                    - Utilized the SSEQ's volume from the INFO section.
20
+                    - Minor optimizations.
21
+  v1.3 - 2013-04-10 - Added more interpolation methods, cleanup of interpolation
22
+                      code, and stopped using slope to determine points outside
23
+                      the sample in an attempt to prevent clipping or popping.
24
+                    - Made it so certain changes in the configuration dialog
25
+                      will apply immediately after clicking OK.
26
+                    - Minor optimizations.
27
+  v1.4 - 2013-04-12 - Removed the Optimal, Lagrange, and Hermite interpolations,
28
+                      added in 2nd-order Osculating interpolation.
29
+                    - Changed handling of start/end of SWAV data to use the
30
+                      closest data point instead of only the current one.
31
+  v1.5 - 2013-04-18 - Implemented circular interpolation buffer to fix
32
+                      interpolation, thanks to kode54 for the code.
33
+  v1.6 - 2013-04-23 - Added Lanczos (Sinc) interpolation. Also modified Cosine
34
+                      interpolation to use a lookup table instead.
35
+  v1.7 - 2013-04-26 - Fixed Lanczos interpolation a bit (thanks to kode54), also
36
+                      allowed the plugin to handle 32-bit samples.
37
+v1.7.1 - 2013-04-26 - Minor update to scale the phase offset, thanks to kode54.
38
+  v1.8 - 2013-05-07 - Replaced Lanczos window for Sinc with the Hann window.
39
+                    - Added a ring buffer designed to work with SWAVs, replaces
40
+                      kode54's implementation (still have to give him big thanks
41
+                      for the original implementation).
42
+                    - Corrected clamping issue which caused some clipping-like
43
+                      effects.
44
+
45
+This is a Winamp plugin to play NCSF files. NCSF is a PSF-style music format that
46
+uses SDAT files from Nintendo DS ROMs as it's "program".
47
+
48
+Contains:
49
+*    in_ncsf.dll - The NCSF Winamp plugin
50
+* zlib DLL v1.25 - Required by the plugin
51
+
52
+To allow Winamp to use the plugin, place in_ncsf.dll into your Winamp plugins
53
+directory and zlib1.dll into your Winamp directory (NOTE: NOT the plugins
54
+directory). Once this has been done, start Winamp and you should be able to
55
+play NCSF files.
56
+
57
+If you wish to download from GitHub, you may do so from:
58
+
59
+http://github.com/CyberBotX/in_xsf
60
+
61
+This contains not only the above NCSF plugin, but also plugins for SNSF, GSF,
62
+and 2SF. While the latter 3 are similar to existing plugins for those formats,
63
+my versions utilize the same xSF framework that the NCSF plugin uses. In
64
+addition, all plugins are much more modified than the versions they originate
65
+from.
66
+
67
+You may need the Microsoft Visual C++ 2010 Runtime, if you do not already have
68
+it installed. You can obtain it here:
69
+
70
+http://www.microsoft.com/en-us/download/details.aspx?id=5555
71
+
72
+(NOTE: You will usually not require this runtime if you have Visual Studio installed,
73
+or if you plan on installing Visual Studio. But you will need it if you do not have
74
+Visual Studio installed.)
75
+
76
+If you wish to compile the plugin yourself, you can do so with Microsoft Visual
77
+Studio. You must use version 2010 or later. If you do not have Microsoft Visual
78
+Studio, you can obtain the Express version of Microsoft Visual C++ from Microsoft, at:
79
+
80
+http://www.microsoft.com/visualstudio/eng/downloads
81
+
82
+You may use any Express version that is 2010 or later. Once you have Visual Studio
83
+installed, you need to open the SDATStuff.sln file. If using a version of Visual
84
+Studio later than 2010, you may be asked to upgrade the solution.
85
+
86
+Of note, the utilities will not compile out of the box immediately. First, you need the
87
+Winamp SDK. This is not included with the plugin's source code.  You can obtain the SDK
88
+from here:
89
+
90
+http://download.nullsoft.com/winamp/plugin-dev/WA5.55_SDK.exe
91
+
92
+The zlib library is also required. zlib can be obtained from here:
93
+
94
+http://www.zlib.net/
95
+
96
+You need to download the "compiled DLL" version.
97
+
98
+Once you have this, you need to modify the values of zlibRootDir and WinampSDKDir in
99
+src\in_xsf_framework\common.props. Just replace ZLIBFIXME with the directory to which
100
+you extracted zlib to, and replace WINAMPSDKFIXME with the directory to which you
101
+installed the SDK to. Once this has been done, you can compile the solution.