Skip to content

Commit 692555c

Browse files
committed
Added support for Epic MegaGames MASI format.
1 parent 83ab903 commit 692555c

21 files changed

Lines changed: 1603 additions & 4 deletions

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
*.pack filter=lfs diff=lfs merge=lfs -text
2828
*.png filter=lfs diff=lfs merge=lfs -text
2929
*.pp filter=lfs diff=lfs merge=lfs -text
30+
*.psm filter=lfs diff=lfs merge=lfs -text
3031
*.ptm filter=lfs diff=lfs merge=lfs -text
3132
*.raw filter=lfs diff=lfs merge=lfs -text
3233
*.rtm filter=lfs diff=lfs merge=lfs -text

Documentation/features.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<tr><td>
2626
<span>
2727
<ul>
28-
<li>Supports 191 different types of modules (and increasing).</li>
28+
<li>Supports 192 different types of modules (and increasing).</li>
2929
<li>One of the most accurate players in the world: plays modules like nature intended.</li>
3030
<li>Fast and optimized.</li>
3131
<li>Edit and save your favorite lists of modules.</li>
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading

Documentation/moduletypes.html

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -637,6 +637,20 @@
637637
</span>
638638
</td>
639639
</tr>
640+
<tr name="E" style="display:none;">
641+
<td>
642+
<a href="images/editors/epicmegagamesmasi.png" data-lightbox="image-epicmegagamesmasi"><img src="images/editors/epicmegagamesmasi_t.png"/></a>
643+
</td>
644+
<td>
645+
<span>
646+
<p><b><i>Epic MegaGames MASI</i></b> - MASI also known as PSM (ProTracker Studio Module) is a proprietary file format used by Epic in all their new games.</p>
647+
<p class="first"><b>File extension</b></p>
648+
<p>.psm</p>
649+
<p><b>Player</b></p>
650+
<p>Xmp</p>
651+
</span>
652+
</td>
653+
</tr>
640654
<tr name="E" style="display:none;">
641655
<td>
642656
<a href="images/editors/eurekapacker.png" data-lightbox="image-eurekapacker"><img src="images/editors/eurekapacker_t.png"/></a>

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ Modules in all supported formats can be found on my homepage at https://nostalgi
8282
| D.O.C. SoundTracker VI | .mod | | ModTracker |
8383
| D.O.C. SoundTracker IX | .mod | | ModTracker |
8484
| Epic Games UMX | .umx | Module Converter | \* |
85+
| Epic MegaGames MASI | .psm | | Xmp |
8586
| Eureka Packer | .eureka / .eu | ProWizard | ModTracker |
8687
| Face The Music | .ftm | | Face The Music |
8788
| Farandole Composer | .far | | Xmp |

Source/Agents/Players/Xmp/Xmp.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public class Xmp : AgentBase, IPlayerAgentMultipleFormatIdentify
2525
internal static readonly string[] fileExtensions =
2626
[
2727
"gdm", "xm", "oxm", "s3m", "it", "669", "amf", "far", "imf", "stm", "stx", "ult", "mtm", "mod", "wow", "flx", "ptm", "arch", "xmf",
28-
"dsym", "rtm", "liq", "mgt"
28+
"dsym", "rtm", "liq", "mgt", "mdl", "psm"
2929
];
3030

3131
#region IAgent implementation

Source/NostalgicPlayerPackage/Package.appxmanifest

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1277,6 +1277,14 @@
12771277
<uap:DisplayName>Digitrakker</uap:DisplayName>
12781278
</uap:FileTypeAssociation>
12791279
</uap:Extension>
1280+
<uap:Extension Category="windows.fileTypeAssociation">
1281+
<uap:FileTypeAssociation Name="psmfile">
1282+
<uap:SupportedFileTypes>
1283+
<uap:FileType ContentType="audio/x-psm">.psm</uap:FileType>
1284+
</uap:SupportedFileTypes>
1285+
<uap:DisplayName>Epic MegaGames MASI</uap:DisplayName>
1286+
</uap:FileTypeAssociation>
1287+
</uap:Extension>
12801288
</Extensions>
12811289
</Application>
12821290
</Applications>

Source/Ports/LibXmp/Format.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ namespace Polycode.NostalgicPlayer.Ports.LibXmp
1616
/// </summary>
1717
internal class Format
1818
{
19-
private const int Num_Formats = 34;
19+
private const int Num_Formats = 35;
2020
private const int Num_Pw_Formats = 0;
2121

2222
private static Xmp_Format_Info[] _fArray = new Xmp_Format_Info[Num_Formats + Num_Pw_Formats + 1];
@@ -47,6 +47,7 @@ internal class Format
4747
Ult_Load.LibXmp_Loader_Ult,
4848
Liq_Load.LibXmp_Loader_Liq,
4949
No_Load.LibXmp_Loader_No,
50+
Masi_Load.LibXmp_Loader_Masi,
5051
Amf_Load.LibXmp_Loader_Amf,
5152
Asylum_Load.LibXmp_Loader_Asylum,
5253
Gdm_Load.LibXmp_Loader_Gdm,

0 commit comments

Comments
 (0)