ROM Hack [Released] Moflex Player

vladik4kides

Well-Known Member
Newcomer
Joined
Sep 27, 2015
Messages
87
Trophies
0
Age
34
XP
228
Country
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
 

nanika

文鎮じゃダメ!まぁ、こんな文字小さしすぎてどうせ読めないっしょ。
Member
Joined
Apr 22, 2008
Messages
249
Trophies
0
XP
216
Country
United States
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.
 

vladik4kides

Well-Known Member
Newcomer
Joined
Sep 27, 2015
Messages
87
Trophies
0
Age
34
XP
228
Country
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?
 

nanika

文鎮じゃダメ!まぁ、こんな文字小さしすぎてどうせ読めないっしょ。
Member
Joined
Apr 22, 2008
Messages
249
Trophies
0
XP
216
Country
United States
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.
 

Gericom

Well-Known Member
OP
Member
Joined
Jun 30, 2011
Messages
1,382
Trophies
2
Age
25
XP
4,692
Country
Netherlands
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?
 

nanika

文鎮じゃダメ!まぁ、こんな文字小さしすぎてどうせ読めないっしょ。
Member
Joined
Apr 22, 2008
Messages
249
Trophies
0
XP
216
Country
United States
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...)
 

Gericom

Well-Known Member
OP
Member
Joined
Jun 30, 2011
Messages
1,382
Trophies
2
Age
25
XP
4,692
Country
Netherlands
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.
 

nanika

文鎮じゃダメ!まぁ、こんな文字小さしすぎてどうせ読めないっしょ。
Member
Joined
Apr 22, 2008
Messages
249
Trophies
0
XP
216
Country
United States
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
 

Gericom

Well-Known Member
OP
Member
Joined
Jun 30, 2011
Messages
1,382
Trophies
2
Age
25
XP
4,692
Country
Netherlands
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

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: @K3Nv2, and sticky