If I understand correct, you want to use the ‘universal remote’ but only for one brand?
The file is very simple:
Filetype: IR library file
Version: 1
#
name: POWER
type: parsed
protocol: NECext
address: 80 19 00 00
command: 10 EF 00 00
#
name: VOL+
type: parsed
protocol: NECext
address: 80 19 00 00
command: 1C E3 00 00
#
name: VOL-
type: parsed
protocol: NECext
address: 80 19 00 00
command: 46 B9 00 00
#
name: POWER
type: parsed
protocol: NEC
address: 80 00 00 00
command: 51 00 00 00
You see two ‘name: POWER’. That is the whole trick. Just collect as much .ir files as possible, open a texteditor and copy it together.
I don’t know if a extra file for every brand is really useful, but at least it would be a smaller set of commands and as result faster.
Here is a good start for collecting .ir files: https://github.com/Lucaslhm/Flipper-IRDB
The files here following the same rules, but there is only one ‘name: POWER’ in each file: Flipper-IRDB/TVs/Samsung at main · Lucaslhm/Flipper-IRDB · GitHub
Filetype: IR signals file
Version: 1
#
name: POWER
type: parsed
protocol: Samsung32
address: 07 00 00 00
command: 02 00 00 00
#
name: Up
type: parsed
protocol: Samsung32
address: 07 00 00 00
command: 60 00 00 00
If you’d cut the header, you should just append the files. But you need to be sure the ‘name:’ are the same in every entry. This my need some text manipulation operations.