Videoplayer by Ikari ASM source code
Zeldix :: MSU-1 Hacking :: MSU-1 Useful Things :: Tools
Page 1 of 1
Videoplayer by Ikari ASM source code
I transcribed the video player code by Ikari into ASM source code, so it can be implemented into msu projects. I hope it works (I tested, but...)....
it's little to adjust (I tried to keep it simple), but advanced asm knowledge is needed in any case to use it.
it's little to adjust (I tried to keep it simple), but advanced asm knowledge is needed in any case to use it.
- Attachments
Last edited by Conn on Mon 9 Jul 2018 - 20:00; edited 3 times in total
Conn- Since : 2013-06-30
Re: Videoplayer by Ikari ASM source code
And here's again the tutorial how to convert any avi video files into msu.
Note: it MUST BE image magick 6.8, later versions do not work!
Valid download v.6.8.9 (July/20):
https://github.com/tim-lebedkov/packages/releases/download/2019_Q1/imagemagick-6.8.9.8-imagemagick-6.8.9.8.exe
Note: it MUST BE image magick 6.8, later versions do not work!
Valid download v.6.8.9 (July/20):
https://github.com/tim-lebedkov/packages/releases/download/2019_Q1/imagemagick-6.8.9.8-imagemagick-6.8.9.8.exe
- Attachments
Last edited by Conn on Tue 21 Jul 2020 - 9:11; edited 5 times in total
Conn- Since : 2013-06-30
Re: Videoplayer by Ikari ASM source code
@Conn Thanks Conn for saving me the time to dissect it from OOTW or ALTTP.
pev- Since : 2017-10-16
Re: Videoplayer by Ikari ASM source code
Oh, no! Ikari had already made previously available the MSU player code's inner working, no need to vanish with your sanitypepillopev wrote:Saving me the time to dissect it from OOTW or ALTTP.
https://github.com/mrehkopf/sd2snes/tree/develop/snes/msu1
Though indeed, Conn offering it in a compact and more friendly readable way certainly helps a lot!!!
Awesome work as always Conn =D
Colines- Since : 2015-05-24
Re: Videoplayer by Ikari ASM source code
Oh yeah, I would not know how to handle those files Ikari provided...
I tested my code successfully, but there are many problems if you like to return into the ingame routines again after running it. It nearly overwrites all registers, and leaves the hdma channel activated and such.
Ah well, if anybody wants to implement it, I'm here to assist. E.g., you can run the ingame JSL to set the registers again and other stuff like this.
I tested my code successfully, but there are many problems if you like to return into the ingame routines again after running it. It nearly overwrites all registers, and leaves the hdma channel activated and such.
Ah well, if anybody wants to implement it, I'm here to assist. E.g., you can run the ingame JSL to set the registers again and other stuff like this.
Conn- Since : 2013-06-30
Re: Videoplayer by Ikari ASM source code
When doing some stuff for PEV, I noticed this bug:
STA $2004
STZ $2005
LDA $2000
AND #$40
BNE $F9 ; $F9 is the correct value here, in the old version it was $F8. If it is set incorrectly, sd2snes will crash at that place (no prob with emus though, therefore it was undetected).
Everybody who wants to use the videoplayer, please redownload the fixed patch from first post.
(pev, this is fixed in the version I just sent you already, no worries).
Also I added a code to prevent autofire when needing to button press for the video (so it doesn't immediately skip the video).
STA $2004
STZ $2005
LDA $2000
AND #$40
BNE $F9 ; $F9 is the correct value here, in the old version it was $F8. If it is set incorrectly, sd2snes will crash at that place (no prob with emus though, therefore it was undetected).
Everybody who wants to use the videoplayer, please redownload the fixed patch from first post.
(pev, this is fixed in the version I just sent you already, no worries).
Also I added a code to prevent autofire when needing to button press for the video (so it doesn't immediately skip the video).
Conn- Since : 2013-06-30
Updated Tutorial on making MSU-1 Videos using Ikari_01 video player
I have made an updated version of a tutorial I used almost a year ago on how to create MSU-1 videos for the SNES. I can no longer find a link to the original post for this tutorial but I had downloaded it, so I thought it would be good to upload it again so it doesn't get lost. I have also added a section on extracting the audio from your video file and formatting it for use with the MSU-1 chip as well as updated links to everything you need to make this work. I also found a way to keep audio in sync for videos over 3mins long which I added to the tutorial on extracting and converting a videos audio.
https://docs.google.com/document/d/1l_piM7a9vdxymPSL-9gzMCsIHKVSyeZn/edit?usp=sharing&ouid=109386236235235046205&rtpof=true&sd=true
https://docs.google.com/document/d/1l_piM7a9vdxymPSL-9gzMCsIHKVSyeZn/edit?usp=sharing&ouid=109386236235235046205&rtpof=true&sd=true
Billgonzo- Newcomer
- Since : 2020-09-05
Re: Videoplayer by Ikari ASM source code
Billgonzo wrote:I have made an updated version of a tutorial I used almost a year ago on how to create MSU-1 videos for the SNES. I can no longer find a link to the original post for this tutorial but I had downloaded it, so I thought it would be good to upload it again so it doesn't get lost. I have also added a section on extracting the audio from your video file and formatting it for use with the MSU-1 chip as well as updated links to everything you need to make this work. I also found a way to keep audio in sync for videos over 3mins long which I added to the tutorial on extracting and converting a videos audio.
https://docs.google.com/document/d/1l_piM7a9vdxymPSL-9gzMCsIHKVSyeZn/edit?usp=sharing&ouid=109386236235235046205&rtpof=true&sd=true
the google drive link for a working imagemagick doesn't seem to work anymore, can this be fixed? thank you
Mofoofinvention- Newcomer
- Since : 2023-03-17
Re: Videoplayer by Ikari ASM source code
It is resolved, 2nd post is the working link.
That one in the tutorial by billgonzo is outdated.
https://github.com/tim-lebedkov/packages/releases/download/2019_Q1/imagemagick-6.8.9.8-imagemagick-6.8.9.8.exe
That one in the tutorial by billgonzo is outdated.
https://github.com/tim-lebedkov/packages/releases/download/2019_Q1/imagemagick-6.8.9.8-imagemagick-6.8.9.8.exe
Conn- Since : 2013-06-30
Similar topics
» MSU-1 on the Starfox source code level
» Black Magic and ALL the Source Code
» SD2SNES/FXPAK New v1.11.0 Beta Firmware From ikari (July 10th 2021)
» Zelda alttp source leaked
» Code help
» Black Magic and ALL the Source Code
» SD2SNES/FXPAK New v1.11.0 Beta Firmware From ikari (July 10th 2021)
» Zelda alttp source leaked
» Code help
Zeldix :: MSU-1 Hacking :: MSU-1 Useful Things :: Tools
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum