ROM Hack [Released] Moflex Player

  • Thread starter Thread starter Gericom
  • Start date Start date
  • Views Views 146,780
  • Replies Replies 303
  • Likes Likes 62
It can't convert mo to avi. Only moflex at the moment. You can easily see the command when you run mobiconverter in the cmd. It is mobiconverter.exe -d input.moflex output.avi
Anyways I can always help you when you need help. Because maybe I'm waiting for decoding mo vids more than other =D
 
Looking good! For the first time ever I can play moflex files on my PC. :D

A couple of notes I've noticed when using these tools:
Certain .moflex files don't work with the MobiclipDecoder (Only I-Frames show, the rest are just black/green blurs. From what I can see in the green parts, the motion vectors seem to be right at least.), or the MobiConverter (
Code:
MobiConverter by Gericom

Moflex container detected!
Converting:  0%
Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
  at AviFile.VideoStream.AddFrame(Bitmap bmp)
  at MobiConverter.Program.<>c__DisplayClass1.<Main>b__0(MoLiveChunk Chunk, Byte[] Data)
  at LibMobiclip.Containers.Moflex.MoLiveDemux.ReadEp(Byte[] packet, UInt32& pos, UInt32 psize)
  at LibMobiclip.Containers.Moflex.MoLiveDemux.ReadPacket()
  at MobiConverter.Program.Main(String[] args)
).

Larger videos such as eShop ones sometimes seem to have audio stutter in MobiclipDecoder, but I don't know if this is because of 3D doubling something. The audio is fine when converted though.

Videos larger still such as the files used in the Anime Channel can't be successfully converted to avi due to being too long, when the avi file would end up over 4GB.

If you need any examples of any of these, I can link some.
 
Looking good! For the first time ever I can play moflex files on my PC. :D

A couple of notes I've noticed when using these tools:
Certain .moflex files don't work with the MobiclipDecoder (Only I-Frames show, the rest are just black/green blurs. From what I can see in the green parts, the motion vectors seem to be right at least.), or the MobiConverter (
Code:
MobiConverter by Gericom

Moflex container detected!
Converting:  0%
Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
  at AviFile.VideoStream.AddFrame(Bitmap bmp)
  at MobiConverter.Program.<>c__DisplayClass1.<Main>b__0(MoLiveChunk Chunk, Byte[] Data)
  at LibMobiclip.Containers.Moflex.MoLiveDemux.ReadEp(Byte[] packet, UInt32& pos, UInt32 psize)
  at LibMobiclip.Containers.Moflex.MoLiveDemux.ReadPacket()
  at MobiConverter.Program.Main(String[] args)
).

Larger videos such as eShop ones sometimes seem to have audio stutter in MobiclipDecoder, but I don't know if this is because of 3D doubling something. The audio is fine when converted though.

Videos larger still such as the files used in the Anime Channel can't be successfully converted to avi due to being too long, when the avi file would end up over 4GB.

If you need any examples of any of these, I can link some.

Maybe this is happening because you are trying to convert Wii U files...no?
 
Maybe this is happening because you are trying to convert Wii U files...no?
All 3DS, fortunately or unfortunately.
One file that triggers the first issue is the Ending credits to Detective Conan: Marionette Symphony, a 3DS game.
 
Looking good! For the first time ever I can play moflex files on my PC. :D

A couple of notes I've noticed when using these tools:
Certain .moflex files don't work with the MobiclipDecoder (Only I-Frames show, the rest are just black/green blurs. From what I can see in the green parts, the motion vectors seem to be right at least.), or the MobiConverter (
Code:
MobiConverter by Gericom

Moflex container detected!
Converting:  0%
Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
  at AviFile.VideoStream.AddFrame(Bitmap bmp)
  at MobiConverter.Program.<>c__DisplayClass1.<Main>b__0(MoLiveChunk Chunk, Byte[] Data)
  at LibMobiclip.Containers.Moflex.MoLiveDemux.ReadEp(Byte[] packet, UInt32& pos, UInt32 psize)
  at LibMobiclip.Containers.Moflex.MoLiveDemux.ReadPacket()
  at MobiConverter.Program.Main(String[] args)
).

Larger videos such as eShop ones sometimes seem to have audio stutter in MobiclipDecoder, but I don't know if this is because of 3D doubling something. The audio is fine when converted though.

Videos larger still such as the files used in the Anime Channel can't be successfully converted to avi due to being too long, when the avi file would end up over 4GB.

If you need any examples of any of these, I can link some.
Could you please send me some of them?

Yes, I noticed aswell. I don't know how I should fix that avi problem. Any ideas?
 
@Gericom I can play moflex files fine from Hyrule Warrior Legends, but I can't even open MobiConverter.exe for try to convert them to avi.
 
Could you please send me some of them?

Yes, I noticed aswell. I don't know how I should fix that avi problem. Any ideas?
Alright, sent them now.

The 4GB limit looks like a issue with avi files themselves (32-bit pointers), so maybe splitting before reaching the limit, but that still feels a hackish solution. (And the encoder would need to combine them back too for longer videos...)
 
I finally got IMA-ADPCM audio working for mods files. I am working on implementing the sx audio codec which is used more often for mods files, and is also used in vx files (although the video codec used by them is very different from the codec used in mods, mo and moflex). Mods files can also use the fastaudio codec which I did not research yet. The sx codec is not used in moflex files. They use the fastaudio codec instead (or ima-adpcm of course).

I did not push it to github yet, because the sx decoder does not work correctly yet, but I think I will fix it soon.
 
Certain .moflex files don't work with the MobiclipDecoder (Only I-Frames show, the rest are just black/green blurs. From what I can see in the green parts, the motion vectors seem to be right at least.), or the MobiConverter (
Code:
MobiConverter by Gericom

Moflex container detected!
Converting:  0%
Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
  at AviFile.VideoStream.AddFrame(Bitmap bmp)
  at MobiConverter.Program.<>c__DisplayClass1.<Main>b__0(MoLiveChunk Chunk, Byte[] Data)
  at LibMobiclip.Containers.Moflex.MoLiveDemux.ReadEp(Byte[] packet, UInt32& pos, UInt32 psize)
  at LibMobiclip.Containers.Moflex.MoLiveDemux.ReadPacket()
  at MobiConverter.Program.Main(String[] args)
).
This is now fixed! Thanks so much!

You've helped out fan translations so much by making these tools! :D
 
I have implemented the fastaudio codec now, and it works for mods files, but I don't have any moflex files using it. So if you have moflex files that you are sure should contain audio and don't play in my player, could you send them me?

I will update it as soon as it works for moflex files aswell.
 
  • Like
Reactions: I pwned U!

Site & Scene News

Popular threads in this forum