Homebrew How to implement MODS video in NDS Homebrew?

infamousjcv

Well-Known Member
OP
Newcomer
Joined
Nov 12, 2020
Messages
56
Trophies
0
Age
23
XP
519
Country
United States
I browsing through some old topics, and came across a topic which included a tutorial to convert videos to into a Mobiclip format : https://gbatemp.net/threads/how-to-convert-video-to-mods-for-nintendo-ds.602653/

My question is how you would implement the MODS video file in a homebrew project? I'm thinking that it would involve some type of parsing in order to be able to read the file, but beyond that, I'm kind of lost.
 
  • Like
Reactions: NotImpLife

NotImpLife

Active Member
Newcomer
Joined
Mar 9, 2021
Messages
40
Trophies
0
Website
github.com
XP
456
Country
Romania
As the file format was intended to be used for DS, it should be created with the hardware capabilities and playback simplicity in mind. Reading and playing a media file indeed requires a decoder. One solution is to try finding a documentation on the format, or look at how others did it and adapt the idea to fit your needs. For example, this repo gives a clue about the file header and how to decode video/audio data: https://github.com/Gericom/MobiclipDecoder. As far as I can see, the audio that is PCM16 or ADPCM could be natively played as is without any more processing from you (not sure what FastAudio is though). The frames maybe require some decompression before writing them to VRAM idk. All you need is to figure out which data comes where and you'll be fine. I might also look deeper into the problem in the future because it looks interesting, but I don't promise anything.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • FlareReZ @ FlareReZ:
    Try using a different SD card or a different USB port.
  • BeanMKW @ BeanMKW:
    @ZeroT21 @FlareReZ nah i meant i literally dont have an sd port. i just got the old laptop out and updated lol
    +1
  • K3N1 @ K3N1:
    It doesn't have usb?
  • K3N1 @ K3N1:
    I got one of these surly your new pc at least has a USB port https://a.co/d/av6BnXX
  • BeanMKW @ BeanMKW:
    ya it does
  • BeanMKW @ BeanMKW:
    i just need one of those usb sd adapters lol
  • BeanMKW @ BeanMKW:
    i had to update to use nusspli.. sspeaking of nusspli, my wii u doesnt auto shutdown during it, right? rayman legends downloading kinda slow
  • K3N1 @ K3N1:
    I'd get one with a type c/usb adapter like mine so if in a pinch you could use a file manager app on your phone
  • BeanMKW @ BeanMKW:
    nah
  • BeanMKW @ BeanMKW:
    i would never need that lol
  • K3N1 @ K3N1:
    Never know they come in handy
  • BeanMKW @ BeanMKW:
    using a phone, even with amaze or something, is just too tedious for me
  • K3N1 @ K3N1:
    You could just use the type A side then C is just quickly over taking everything
  • K3N1 @ K3N1:
    Both in one package is just nice
  • BeanMKW @ BeanMKW:
    i swear nusspli keeps network erroring
  • BeanMKW @ BeanMKW:
    i hope that doesnt cause any issues
  • HiradeGirl @ HiradeGirl:
    where's my food?
  • K3N1 @ K3N1:
    The hell TVs have a qned thing
  • HiradeGirl @ HiradeGirl:
    thats when tvs get q problems
  • YukiHomura @ YukiHomura:
    @FlareReZ i never liked TikTok. used it once to see how it is and stopped after 10 min. LMFAO
    +1
  • YukiHomura @ YukiHomura:
    i use this
  • a_username_that_is_cool @ a_username_that_is_cool:
    i use a sandisk cruzer glide
  • YukiHomura @ YukiHomura:
    my usb i use is a SanDisk Ultra Fit
  • The Real Jdbye @ The Real Jdbye:
    @YukiHomura 10 min too much
    +1
    The Real Jdbye @ The Real Jdbye: @YukiHomura 10 min too much +1