View Issue Details

IDProjectCategoryView StatusLast Update
0000298OpenMPTGeneralpublic2012-09-19 22:55
Reportermoltres_rider Assigned ToSaga Musix  
PrioritynormalSeveritytweakReproducibilityalways
Status resolvedResolutionfixed 
Platformx86OSWindowsOS Version7
Product VersionOpenMPT 1.20.02.00 (upgrade first) 
Target VersionOpenMPT 1.20.03.00 (upgrade first)Fixed in VersionOpenMPT 1.20.03.00 (upgrade first) 
Summary0000298: Exporting to WAV adds wrong file extension if module file name ends with a known file extension
Description

naming a module something like legendary mvt.1.it results in a legendary mvt.1 file to be created when exporting to wav instead of a .wav file

Steps To Reproduce

open module or midi
save the module as legendary mvt.1.it
export as wav without changing the filename

the exported wav file is not a wav file but a .1 file

Additional Information

workaround add .wav to the end of the filename manually

TagsNo tags attached.
Has the bug occurred in previous versions?
Tested code revision (in case you know it)

Activities

Saga Musix

Saga Musix

2012-09-15 23:15

administrator   ~0000871

Cannot reproduce - WAV Export suggests to name the file "legendary mvt.1.wav" here. Does Explorer show all known file extensions (e.g. WAV) on your system, or does it hide them?

moltres_rider

moltres_rider

2012-09-16 00:05

reporter   ~0000873

Last edited: 2012-09-16 00:07

it shows all known file extension but .1 is known for opening with notepad e.g. log.1

Saga Musix

Saga Musix

2012-09-18 20:13

administrator   ~0000874

Please check if OpenMPT 1.20.02.10 fixes the issue for you and report back: http://sagagames.de/stuff/mptrack.exe

moltres_rider

moltres_rider

2012-09-19 19:32

reporter   ~0000875

if I add the .wav manually again it works, but it still saves as .1 without the manually added .wav!!!

Saga Musix

Saga Musix

2012-09-19 19:36

administrator   ~0000876

Are you absolutely sure that you are using OpenMPT 1.20.02.10 (look in the title bar) - OpenMPT forces the suggested file name to end with ".wav" when doing a WAV Export, so if the suggested file name does not end with .wav, you either have have tried an old version or you are doing something else wrong, in which case I am not further investigating this bug, as it is extremely minor and more of a Windows issue than an OpenMPT issue.

moltres_rider

moltres_rider

2012-09-19 20:56

reporter   ~0000877

it does indeed say 1.20.02.10!!! I replaced the old file!!!

Saga Musix

Saga Musix

2012-09-19 20:57

administrator   ~0000878

Then please check if the same happens with a module called "test.txt.it" - it should export as "test.txt.wav"

moltres_rider

moltres_rider

2012-09-19 22:23

reporter   ~0000879

unless I physically type .wav at the end, the file extension is .txt!!!

Saga Musix

Saga Musix

2012-09-19 22:24

administrator   ~0000880

Is the .wav extension shown by default in Explorer on your computer?

moltres_rider

moltres_rider

2012-09-19 22:26

reporter   ~0000881

ok, it worked.. I just found you you need to save the module under that name first, exporting the module before saving it still results in that .txt or .1 bug... but it works if you save first... you just need to figure out how to fix that bug when you "export before you save"

Saga Musix

Saga Musix

2012-09-19 22:30

administrator   ~0000882

Every module before you save it for the first time is called "untitled", resulting in a proposed WAV file called "untitled.wav". As soon as you use "Save As", you can give it another name that will also be proposed for WAV Export. Are you saying now that you manually typed in "legendary mvt.1" into the WAV Export dialog?

moltres_rider

moltres_rider

2012-09-19 22:33

reporter   ~0000883

Last edited: 2012-09-19 22:35

the second time I did because I don't need duplicates... I just used a new module to test on the newer version...

my original bug had the module saved already...

Saga Musix

Saga Musix

2012-09-19 22:36

administrator   ~0000884

This does not explain what you are doing. Give a clear step-wise and reproducable description of what you have been doing to make OpenMPT not display the .wav extension in the WAV export dialog so that it would generate a file with an invalid extension.

moltres_rider

moltres_rider

2012-09-19 22:43

reporter   ~0000885

create new module
make a song
export before I save
click 'export'

type in "legendary mvt.1" as a file name...
exports as .1 file

if I go back and save the module under the same name as I exported the wav (legendary mvt.1.it) and reexport, then the file extension is wav.

issue occurs before saving... DAWs don't have this issue, I don't know why ModPlug does!!!

moltres_rider

moltres_rider

2012-09-19 22:46

reporter   ~0000886

might I add imaging program (Gimp; Photoshop) and word processors don't have this issue with periods in filenames either...

Saga Musix

Saga Musix

2012-09-19 22:48

administrator   ~0000887

Last edited: 2012-09-19 22:48

...Man, you have been stealing my time with your imprecise bug descriptions. This is not an issue with OpenMPT, but an issue with how Windows works and cannot be changed in any way, not even in other programs.

Don't believe me? Well, try this:
Open Paint
Draw a nice image
Hit "Save As"
Type in "legendary mvt.1" as a file name
See how your nicely drawn image has a ".1" extension?

I cannot fix this issue any further than I did. If it annoys you, there is nothing I can do about it, you will have to live with this.

moltres_rider

moltres_rider

2012-09-19 22:53

reporter   ~0000888

funny I can name a file "legendary mvt.1" in Sony ACID and Sony ACID automatically puts a nice little ".mp3" behind it!!!

Saga Musix

Saga Musix

2012-09-19 22:55

administrator   ~0000889

Last edited: 2012-09-19 22:55

You know, I don't know or care what ACID does. If this issue is so very important to you, please stop using OpenMPT and remove ".1" from the list of known file extensions in your system. This is my last word. I will not change further code related to this issue. Please stop bugging me about it. Next time I won't be as nice since this is seriously pissing me off.

Issue History

Date Modified Username Field Change
2012-09-15 12:28 moltres_rider New Issue
2012-09-15 23:15 Saga Musix Note Added: 0000871
2012-09-15 23:15 Saga Musix Reproducibility sometimes => unable to reproduce
2012-09-16 00:05 moltres_rider Note Added: 0000873
2012-09-16 00:07 moltres_rider Note Edited: 0000873
2012-09-16 00:10 Saga Musix Assigned To => Saga Musix
2012-09-16 00:10 Saga Musix Reproducibility unable to reproduce => always
2012-09-16 00:10 Saga Musix Status new => assigned
2012-09-16 00:10 Saga Musix Summary exporting modules a .wav results in .1 file => Exporting to WAV adds wrong file extension if module file name ends with a known file extension
2012-09-18 20:13 Saga Musix Note Added: 0000874
2012-09-18 20:13 Saga Musix Status assigned => feedback
2012-09-19 19:32 moltres_rider Note Added: 0000875
2012-09-19 19:32 moltres_rider Status feedback => assigned
2012-09-19 19:36 Saga Musix Note Added: 0000876
2012-09-19 20:56 moltres_rider Note Added: 0000877
2012-09-19 20:57 Saga Musix Note Added: 0000878
2012-09-19 22:23 moltres_rider Note Added: 0000879
2012-09-19 22:24 Saga Musix Note Added: 0000880
2012-09-19 22:26 moltres_rider Note Added: 0000881
2012-09-19 22:30 Saga Musix Note Added: 0000882
2012-09-19 22:33 moltres_rider Note Added: 0000883
2012-09-19 22:35 moltres_rider Note Edited: 0000883
2012-09-19 22:36 Saga Musix Note Added: 0000884
2012-09-19 22:43 moltres_rider Note Added: 0000885
2012-09-19 22:46 moltres_rider Note Added: 0000886
2012-09-19 22:48 Saga Musix Note Added: 0000887
2012-09-19 22:48 Saga Musix Status assigned => resolved
2012-09-19 22:48 Saga Musix Resolution open => fixed
2012-09-19 22:48 Saga Musix Fixed in Version => OpenMPT 1.20.03.00 (upgrade first)
2012-09-19 22:48 Saga Musix Target Version => OpenMPT 1.20.03.00 (upgrade first)
2012-09-19 22:48 Saga Musix Note Edited: 0000887
2012-09-19 22:48 Saga Musix Note Edited: 0000887
2012-09-19 22:53 moltres_rider Note Added: 0000888
2012-09-19 22:53 moltres_rider Status resolved => feedback
2012-09-19 22:53 moltres_rider Resolution fixed => reopened
2012-09-19 22:55 Saga Musix Note Added: 0000889
2012-09-19 22:55 Saga Musix Status feedback => resolved
2012-09-19 22:55 Saga Musix Resolution reopened => fixed
2012-09-19 22:55 Saga Musix Note Edited: 0000889