Jump to content

jaMME 1.10 released


Recommended Posts

Posted

VDkOCrZ.png

 

Hello.

It took less than a year this time and again it was worth to wait the new jaMME release.

 

1.10.

 

Windows version:

 

Android version:

 

Changelog:

  Reveal hidden contents

 

New cvars:

- mme_pipeCommand

- mme_aviLimit

- r_drawAllAreas

- r_ext_multisample

- mov_headTurn

 

New commands:

- capture pipe

- screenshotDOF

 

As always the information about all cvars and commands can be found in cvars.txt and cmds.txt files that are placed in mme folder.

Cvars: https://github.com/entdark/jaMME/blob/master/build/mme/cvars.txt

Cmds: https://github.com/entdark/jaMME/blob/master/build/mme/cmds.txt

 

1. Pipeline feature [All platforms]

 

I am sure many people want to capture videos in HQ but leave file sizes low. It's possible with modern codecs but adding those into jaMME is a pain in ass, so the max that jaMME could do is to capture into raw or compressed (with JPG) AVI. But we needed the golden mean.

So recently we (me and loda) added a feature called pipeline into jaMME that reads raw video and audio data from the game and writes it into the set pipe.

 

Currently the pipe we use is a very popular tool - FFmpeg.

That tool has so many options to adjust the video input and output to whatever everyone wants. But it's prolly scary for regular users. Don't worry - we made it simple to work with.

 

All you will need in new jaMME is to download ffmpeg.exe, put that into your GameData folder, start any demo, type /capture pipe [fps] [name] and voila you got your HQ video in MP4 (x264+ACC) that has nice quality and low size.

Ofc for those who want to adjust quality settings and other FFmpeg options we left that opportunity (mme_pipeCommand) as well and you will be able to do everything that you want.

The default value for mme_pipeCommand cvar is "ffmpeg -f avi -i - -threads 0 -preset ultrafast -y -pix_fmt yuv444p -crf 23 %o.mp4 2> ffmpeglog.txt".

Here we see that quality setting set to 23 (lower = better, bigger file size), encoding speed is ultrafast (slower = less file size), and the image quality has the full range with yuv 444 option and the output is an mp4 file with the name (%o) given in "capture pipe [fps] [name]". Adjusting those values affect speed, quality and file size. Try to play around with those values.

The only thing that you should not change in the new cvar is "-f avi -i -" which says we are reading raw video and raw audio from the game formatted as AVI.

Also although jaMME works much faster on one core and it forces to use one core, the pipeline works much better with the multithreaded way. So you better change com_affinity to 0 (requires restarting).

And also to capture raw audio data with pipeline be sure you have mme_saveWav set to 2.

 

Also the feature is designed to work with any pipeline-supported tools, so if there are some similar ones to FFmpeg then they also have to work.

 

Known bug: if you are capturing with FBO then pipeline works only if r_fboblur 1.

 

2. Opening demos with double-click and drag-and-drop [Windows]

 

Once you start new jaMME, dm_25/26 extensions get associated with jamme.exe and you will be able to open demos from any place. Drag-and-dropping demos into the game also works.

 

3. MME Renderer on Android

 

I moved the whole MME logic to jaMME for Android renderer, so it’s possible to capture from mobile devices. Pipeline also works but you will need to use special binaries for your certain CPU architecture (https://github.com/WritingMinds/ffmpeg-android/releases).

Also such features as motion blur and DOF work only on x86 and x86_64 CPUs.

 

4. Any text colour [All platforms]

 

Now all the text strings in the game can use any colour per character using ^#FF7700 scheme before every character. If I want my name purple with blue-green dot in the end I just do: /clientOverride player n ^#7F00FFent^#00ff7f.

 

5. DOF Screenshots [All platforms]

 

If you want to capture some static moment with cool DOF effect but don’t want to start it as a video capture then there is a new feature: DOF screenshot.

It is just a new command screenshotDOF [name] [focus] [radius] that can be bound to any key. Play around with the values.

 

 

Enjoy the new version.

 

tumblr_lfhua3UHGR1qzvcyt.gif

Smoo and Sentra like this
  • 3 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...