Trying make a simple MSU-1 Video Sample (Solved)
Page 1 of 1
Trying make a simple MSU-1 Video Sample (Solved)
I'm a beginner (not native English) and I want to make my own msu-1 video samples (like Kate Beckinsale's https://www.zeldix.net/t1697-kate-beckinsale-msu1).
I found a tutorial that comes with "Link to The past", I followed all the steps but I had the following problem. The image is buggy.
I followed these steps:
1. Download and install ImageMagick-7.0.7-35-Q16-x64-dll
2. Get an avi and paste it into the ImageMagic folder
3. Create two new subfolders in the ImageMagic folder:
- img_seq
- img_seq_c_red
4. Download msuconv from ikari_01 http://sd2snes.de/files/msu1conv.exe and paste this msuconv.exe into the new “img_seq_c_red” subfolder
5. Start the Dosprompt, go into your ImageMagic folder and convert the avi in single images using ffmpeg (part of ImageMagick) - just rename the red letters in the command with your avi name and copy and paste the complete followoing command with a return press afterwards into the dosprompt (right mouseclick)
ffmpeg -i "JCD-Vandread-Overdrive_Remastered[XVID].avi" -s 224x144 -f image2 -vcodec targa "img_seq\%08d.tga"
After command
6. Convert the single images to 256 colors (just copy and paste each set command on its own with a return press afterwards into the dosprompt (right mouseclick) and then the complete “for loop” (replace the red letters with your imagemagic folder location, but leave the convert):
set sourcepath=img_seq\
set destpath=img_seq_c_red\
set filemask=*.tga
for %f in ("%sourcepath%%filemask%") do ("D:\Programme\Videobearbeitung\ImageMagick-6.8.7-Q8\convert" "%sourcepath%%~nxf" -dither FloydSteinberg -type Palette "%destpath%%~nxf")
After command
7. Convert the video: Just run msuconv.exe in the img_seq_c sub folder of the converted images. You will get a out.msu which must be renamed to your rom name (e.g., alttp_msu.msu)
8. Open this msu with an hex editor (HxD) and write bytes 02-04 to 02 02 01 (sets the framerate to 30 fps).
Before edit:
After edit:
After all these steps, when I run, it does not work ...
Where am I going wrong?
The video I used was this (random, I found it on the internet)
I tried with others and made the same mistake.
I found a tutorial that comes with "Link to The past", I followed all the steps but I had the following problem. The image is buggy.
I followed these steps:
1. Download and install ImageMagick-7.0.7-35-Q16-x64-dll
2. Get an avi and paste it into the ImageMagic folder
3. Create two new subfolders in the ImageMagic folder:
- img_seq
- img_seq_c_red
4. Download msuconv from ikari_01 http://sd2snes.de/files/msu1conv.exe and paste this msuconv.exe into the new “img_seq_c_red” subfolder
5. Start the Dosprompt, go into your ImageMagic folder and convert the avi in single images using ffmpeg (part of ImageMagick) - just rename the red letters in the command with your avi name and copy and paste the complete followoing command with a return press afterwards into the dosprompt (right mouseclick)
ffmpeg -i "JCD-Vandread-Overdrive_Remastered[XVID].avi" -s 224x144 -f image2 -vcodec targa "img_seq\%08d.tga"
After command
6. Convert the single images to 256 colors (just copy and paste each set command on its own with a return press afterwards into the dosprompt (right mouseclick) and then the complete “for loop” (replace the red letters with your imagemagic folder location, but leave the convert):
set sourcepath=img_seq\
set destpath=img_seq_c_red\
set filemask=*.tga
for %f in ("%sourcepath%%filemask%") do ("D:\Programme\Videobearbeitung\ImageMagick-6.8.7-Q8\convert" "%sourcepath%%~nxf" -dither FloydSteinberg -type Palette "%destpath%%~nxf")
After command
7. Convert the video: Just run msuconv.exe in the img_seq_c sub folder of the converted images. You will get a out.msu which must be renamed to your rom name (e.g., alttp_msu.msu)
8. Open this msu with an hex editor (HxD) and write bytes 02-04 to 02 02 01 (sets the framerate to 30 fps).
Before edit:
After edit:
After all these steps, when I run, it does not work ...
Where am I going wrong?
The video I used was this (random, I found it on the internet)
I tried with others and made the same mistake.
Last edited by ErivandoBR on Tue 29 May 2018 - 7:23; edited 1 time in total
ErivandoBR- Rope
- Since : 2017-07-31
Re: Trying make a simple MSU-1 Video Sample (Solved)
I remember I had problems with conversion with a later version of Image Magick.
Try using v6-8 as it is said in my tutorial.
https://www.imagemagick.org/download/windows/releases/
Other than that no idea. If it still doesn't work I need to try myself...
Try using v6-8 as it is said in my tutorial.
https://www.imagemagick.org/download/windows/releases/
Other than that no idea. If it still doesn't work I need to try myself...
Conn- Since : 2013-06-30
Solution
Conn wrote:I remember I had problems with conversion with a later version of Image Magick.
Try using v6-8 as it is said in my tutorial.
https://www.imagemagick.org/download/windows/releases/
Other than that no idea. If it still doesn't work I need to try myself...
It worked as you said!
I used an older version ImageMagick-6.8.0-0-Q16-windows.zip
Thank you Conn!
ErivandoBR- Rope
- Since : 2017-07-31
Re: Trying make a simple MSU-1 Video Sample (Solved)
Great that you got it work I know my tutorial is a bit clumsy and the procedure is sophisticated.
Conn- Since : 2013-06-30
Re: Trying make a simple MSU-1 Video Sample (Solved)
Just one more question...
When converting .wav to .pcm using wav2msu, do I need to enter some parameter or just drag the file over to wav2msu.exe?
I made 4 videos for tests, 2 were synchronized. But in the other 2 the audio ends just before the video.
I "extracted" the audio using the FormatFactory converter (AVI to WAV), then I used Audacity just to export with the default options (WAV to WAV), after that I used wav2msu.exe without parameters).
When converting .wav to .pcm using wav2msu, do I need to enter some parameter or just drag the file over to wav2msu.exe?
I made 4 videos for tests, 2 were synchronized. But in the other 2 the audio ends just before the video.
I "extracted" the audio using the FormatFactory converter (AVI to WAV), then I used Audacity just to export with the default options (WAV to WAV), after that I used wav2msu.exe without parameters).
ErivandoBR- Rope
- Since : 2017-07-31
Re: Trying make a simple MSU-1 Video Sample (Solved)
When it comes to pcm, I have to forward this question to an expert, I never did even one myself. As far I know you only need parameters in case they shall loop.
In ALTTP, AST and BSZelda, where the pcm need to be synchronized to the video, all works well. Did you set the framerate in the 2 "non-syc" videos?
In ALTTP, AST and BSZelda, where the pcm need to be synchronized to the video, all works well. Did you set the framerate in the 2 "non-syc" videos?
8. Open this msu with an hex editor (HxD) and write bytes 02-04 to 02 02 01 (sets the framerate to 30 fps).
Conn- Since : 2013-06-30
Re: Trying make a simple MSU-1 Video Sample (Solved)
Yes, I did before testing the emulator.Conn wrote:Did you set the framerate in the 2 "non-syc" videos?8. Open this msu with an hex editor (HxD) and write bytes 02-04 to 02 02 01 (sets the framerate to 30 fps).
Another thing, testing on the SD2SNES, 3 of the 4 gave random crash after a few seconds of display (30s ~ 60s). And all 4 videos are non-sync.
One of them worked well in loop, but non-sync.
The SD card is the same as I use for other videos and games that always work.
After the crash it returns to the menu and the list of recent games are with "?".
Another detail that I remembered now is that I am using the gsu v10 firmware from redguy. Maybe something will change with the official. I'll test soon.
I believe the way I extracted .wav is one of the problems, but I still do not know the best way to do this extraction with sync.
ErivandoBR- Rope
- Since : 2017-07-31
Re: Trying make a simple MSU-1 Video Sample (Solved)
As i mentioned in the classic gaming discord, i'll join you in your quest to create a Video
Is the Brasilian PAL-M standard 50 Hz or 60 Hz? Edit: It's 60 Hz
Let's say your video is 5 seconds long and runs at 60 Hz (or frames for that matter) then it's 300 frames in total, in order to sync it to audio, your audio has also to be "300 frames" long.
For example: The ALLTP Intro video is out of sync if i run it at 50 Hz but totally in sync when running at 60 Hz.
Do you know what i'm getting at? Both files have to line up perfectly to "create" sync.
If that's the case then maybe the sample rate of the audio might be the cause of the issue.
Let's say your video is 5 seconds long and runs at 60 Hz (or frames for that matter) then it's 300 frames in total, in order to sync it to audio, your audio has also to be "300 frames" long.
For example: The ALLTP Intro video is out of sync if i run it at 50 Hz but totally in sync when running at 60 Hz.
Do you know what i'm getting at? Both files have to line up perfectly to "create" sync.
If that's the case then maybe the sample rate of the audio might be the cause of the issue.
Re: Trying make a simple MSU-1 Video Sample (Solved)
DatSwissGuy wrote:As i mentioned in the classic gaming discord, i'll join you in your quest to create a VideoIs the Brasilian PAL-M standard 50 Hz or 60 Hz?Edit: It's 60 Hz
Let's say your video is 5 seconds long and runs at 60 Hz (or frames for that matter) then it's 300 frames in total, in order to sync it to audio, your audio has also to be "300 frames" long.
For example: The ALLTP Intro video is out of sync if i run it at 50 Hz but totally in sync when running at 60 Hz.
Do you know what i'm getting at? Both files have to line up perfectly to "create" sync.
If that's the case then maybe the sample rate of the audio might be the cause of the issue.
I have 2 Snes, but the two are 60hz (PAL-M and NTSC).
It seems that the Ikari-01 Player region is PAL, is there any NTSC?
ErivandoBR- Rope
- Since : 2017-07-31
Re: Trying make a simple MSU-1 Video Sample (Solved)
You can change that with a hex edit. I haven't it memorized, sorry. I'm damn sure you'll find it within minutes or seconds when you google the hex value for NTSC
Edit1:
To be more precise it's the region which defines it (NTSC or PAL).
Edit2:
Address FFD9 should have the value 09 in your PAL (German) rom. You need to change it to 00.
Edit1:
To be more precise it's the region which defines it (NTSC or PAL).
Edit2:
Address FFD9 should have the value 09 in your PAL (German) rom. You need to change it to 00.
Re: Trying make a simple MSU-1 Video Sample (Solved)
DatSwissGuy wrote:
Address FFD9 should have the value 09 in your PAL (German) rom. You need to change it to 00.
This solved the problem (00 in FFD9), now all are sync in the emulator!
Hope it solves in SD2SNES too. I'm at work, I'll try it later at home.
ErivandoBR- Rope
- Since : 2017-07-31
Similar topics
» Simple ZELDA3 graphic decoder
» The Zelda3 IQ incident won't end [solved]
» Zelda 3 Magic Regen ASM code. (Solved)
» F-Zero
» What if we make a Space Ace MSU-1 port?
» The Zelda3 IQ incident won't end [solved]
» Zelda 3 Magic Regen ASM code. (Solved)
» F-Zero
» What if we make a Space Ace MSU-1 port?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum