I've made a batch file to be used with umodel for one of my friends. I hope it could be useful for other people. The file is in attachment.
Some notes first.UModel have UI where you may export all files without use a batch file. Also, you can't use batch file for files packed into UE4 pak or Android obb file - you should either extract packages from these archives first, or use UI to perform all work without file extraction.
There are some options which you MUST tune in order this script to work.out=<value>Specify directory where to store exported files. By default value=..\ExportOutput, it will store files in one directory layer upper than this batch file, in "ExportOutput" subdirectory.
game_dir=valueThis is a path to game files. Batch will recursively find all files and pass them to the umodel. When the value is empty, batch will look for files starting from the batch file directory. Value may contain spaces, it should not be enclosed into quotes.
Not mandatory optionsumodel=<value>This is a path to umodel. If umodel is stored in the same directory as this batch file, value should be "umodel" (that's set by default).
If umodel is stored somewhere else than this batch file - please update this option!game=valueCompatibility option, you may override game autodetection here. This value will be passed to the umodel's "-game=value" option.
file_mask=value ...Space-separated list of file extensions in a form
*.extension1 *.extension2 ... *.extensionN. When empty mask is provided, all files will be processed (including .exe, .tfc etc), this may cause error messages in the log (this is
not fatal though). Default value contains masks *.u* *.xxx" for most Unreal-based games, plus extensions for most popular games using custom filenames - pcc (Mass Effect), bsm (Bioshock) and gpk (Tera). If your game used different extension for packages
be sure to append this extension to file_mask option.
compat=(options...)Space-separated options for umodel. Set to something like "-noanim -lzo" (without quotes) etc when required by compatibility table.
log=valueCreate a log file. By default this batch will create file "output.log" in the directory specified with "out=..." option.
The batch is here:BatchExport.bat