Author Topic: [TOOL] Breckfest v1.5.0 - BMaps made tasty  (Read 34574 times)

Errol

  • Posts: 51
Breckfest v1.5.0



A drag'n'drop image converter for Wreckfest.

v1.5.0 released 2015-07-19
Download here (49.1KB)
Source here.

Notes:
About as barebones as you can possibly get.  Enhancements and optimisations coming in future versions.

How to use:
Drop a bmap on Breckfest.exe to get a png file.
Drop a png (dds, tga and tif also supported) on Breckfest.exe to get a bmap file.
Image to BMAP will add a ".x" to the filename (ie Skin5_C5.png would become Skin5_C5.x.bmap), this is to prevent accidentally overwriting of original files.  You'll need to rename the files manually and remove the ".x"
Drop a directory on Breckfest.exe and all* supported files within that folder (not subfolders) will be processed.
Doubleclicking Breckfest.exe will process the current directory.

* Files are sorted alphabetically and only the first supported extension will be processed. ie, if skin5_c5.bmap is processed Breckfest will ignore skin5_c5.png. Or, put another way, BMAP > PNG will be prioritised over PNG > BMAP

Commandline options:
-c[lutter] : Generates clutter bmaps
-dxt1 : Compresses using DXT1 compression
-dxt5 : Compresses using DXT5 compression
-raw : No compression
-f[orce] : Breckfest will automatically overwrite files
-dump : Decompresses any valid Wreckfest compressed file
-compress : Compresses any valid Wreckfest decompressed file
Breckfest.exe -c "c:\path\to\file.png" will create clutter bmap file.x.bmap
Breckfest.exe -clutter "c:\path\to\file.png" will do the same thing

Filename options:
Filename.clutter.png will be processed as -clutter and saved as Filename.x.bmap
Filename.dxt1.png will be processed as -dxt1 and saved as Filename.x.bmap
Filename.dxt5.png will be processed as -dxt5 and saved as Filename.x.bmap
And so on

Changelog

v1.5.0
Added -compress commandline option
Fixed "options within the filename" carrying across multiple files

v1.4.0
Breckfest no longer overwrites files automatically
Added -f[orce] commandline option to force Breckfest to overwrite files automatically
Added -dump commandline option
Added -raw, -dxt1 and -dxt5 commandline options
Added support for "options within the filename"

v1.3.0
Added -c[lutter] commandline option
Fixed red and blue channels becoming swapped when processing \menu\textures\ bmaps

v1.2.0
Added directory support
Added support for converting from A8R8G8B8 bmap files

v1.1.0
Name change!  Breckfest looks less broken than Breakfest.
Added support for DDS, TGA and TIF files
Increased maximum supported image size to 8192x8192.  This takes bloomin' ages to squish.
Now supports converting from BMAPs containing raw data (blend_proto_t.bmap is an example of these)

v1.0.0
Initial release
« Last Edit: July 19, 2015, 04:14:07 AM by Errol »

sam223

  • *
  • Posts: 2731
Awesome,works a treat.
Here the default skins for reference when replacing.'1' corresponds to 'skin01_c5' etc for budding skin painters. Note bugbear skins and 'clean_skin's for am1,euro (skin_11) and euroc.



My spinner now looks like this :)



edit: all car defaults
« Last Edit: April 09, 2015, 01:01:14 AM by sam223 »
Dell U2515H 25",  i5-4690k @4.0ghz, 8gb ram, Zotac GTX 960 4GB, 120gb SSD, 1tb HHD, win 7, G25/Ps3 pad
Online Bangers:Wreckfest - https://goo.gl/AjDHU2

presuming ed

  • Posts: 200
Very impressed with the tool and the artwork!

Orbotnive T

  • *
  • Posts: 486


And Sam for the original skin plus sorting the rest recently too.

Any idea what I did wrong with the custom license plate anyone?

« Last Edit: April 09, 2015, 01:10:53 AM by orbotnive »
...

Mazay

  • Posts: 434
Awesome! It works just how it should!



ps. these won't open with tool:
blend_forest5_tarmack_01_clutter_t.bmap
blend_proto_t.bmap
detail_normal_sandpit1_ns.bmap
« Last Edit: April 08, 2015, 11:50:54 PM by Mazay »

Errol

  • Posts: 51
ps. these won't open with tool:
blend_forest5_tarmack_01_clutter_t.bmap
blend_proto_t.bmap
detail_normal_sandpit1_ns.bmap


Cheers for those.  I'll have a fiddle and see what's going wrong.

And thanks for the feedback everyone.  Also, feel free to make feature requests and whatnot.

rwb

  • Posts: 276
Oh it's so on.



Orbotnive T

  • *
  • Posts: 486



If someone could help me work out how to take the shine off this would look nice and grimy. I'll be trying things out too.

Errol

  • Posts: 51
v1.1.0 released!

Changelog:
Name change!  Breckfest looks less broken than Breakfest.
Added support for DDS, TGA and TIF files
Increased maximum supported image size to 8192x8192.  This takes bloomin' ages to squish.
Now supports converting from BMAPs containing raw data (blend_proto_t.bmap is an example of these)

Thanks Mazay for pointing out the files v1.0.0 choked on.  They'll convert fine now.
The source is a little less embarrassing with v1.1.0 so I'll get a repository up on github today.

Jo5h

  • Posts: 75
Oh yes, fantastic work.

Will get skinning now! :)

St. Jimmy

  • *
  • *
  • Posts: 1184
Awesome. Need to spread word abou this.
Join WreckFest Discord!

Contribute to the WreckFest wiki!


i7 2600K @ 4,7GHz
GTX 1070 8GB
16GB CL9 2133 MHz
750W PSU
Win7 Ultimate 64-bit
Fanatec CSR

rwb

  • Posts: 276
Didn't you use that skin as a base? :P
http://www.trackmania-carpark.com/skin.php?id=13450


I just used the cleanest top and side views that a Googly image search for the Koons E92 racer found. The top down was a render, which I honestly thought was official BMW being so well done, and the side view was a press shot, I just gracelessly chopped and stretched them in Photoshop. The top view definitely could have been from someone's mod, if so props, it looks great.

I made another one with bacon, eggs, and toast too.

Mazay

  • Posts: 434
v1.1.0 released!

Changelog:
Name change!  Breckfest looks less broken than Breakfest.
Added support for DDS, TGA and TIF files
Increased maximum supported image size to 8192x8192.  This takes bloomin' ages to squish.
Now supports converting from BMAPs containing raw data (blend_proto_t.bmap is an example of these)

Thanks Mazay for pointing out the files v1.0.0 choked on.  They'll convert fine now.
The source is a little less embarrassing with v1.1.0 so I'll get a repository up on github today.

Thanks for quick fix! Still doesn't seem to work with ui textures: data\menu\textures

Mazay

  • Posts: 434
To export all bmaps in textures folder at once, save this as exportall.bat to same folder as Breckfest.exe: EDIT: Just drag and drop folders over Breckfest.exe

Code: [Select]
for %%v in ("C:\Program Files (x86)\Steam\SteamApps\common\Bugbear Entertainment\data\art\textures\*.bmap") DO ("Breckfest.exe" "%%~v")
Perhaps dragging whole folder over breckfest could be handy feature to add in future. With some kind of "are you sure?" -question.
« Last Edit: April 10, 2015, 01:20:38 PM by Mazay »