A hnf split and merge tool (FREEWARE)


Started: 08-04-2007, Last update: 17-05-2007

Unfortunatly the Humax 5400Z is limited to 4000 channels (Radio or TV).
Pet123 is one of the providers of settings for the Humax Oak receiver. The HNF file contains all channels from 45 degrees West to 45 degrees East with well over 4950 Tv and 1850 Radio channels. To much for the Humax 5400(Z). It is possible using, for example, HnfSmart or Humbox to reduce the channels and whatever more but (obvious) I created my own tool which extracts only the antenna's that I watch with only their channels, transponders and favorites. It can:
  • load a HNF file
  • split the loaded HNF file into one HNF file per antenna (32 files with PET123 settings, with each only its own transponders, channels and providers) or per provider (approx 109 files) but [optional]:
    - split only the preferred antennas, including replacing the antenna setting with your own antenna setting
    - use the antenna name as provider name (subdivided into fta or not fta)
    - remove all Radio channels (except for one "Dummy Service")
    - remove all Favorites
  • merge any HNF file into the loaded hnf file
  • save any merged files to one HNF file but [optional]:
    - remove all Radio channels
    - remove all Favorites
  • save the loaded file to one HNF file while [optional]
    - use the antenna settings of your preferred antennas but also discard
      the transponders, providers, favorites and channels of not preferred antennas
    - use the antenna name as provider name (subdivided into fta or not fta)
    - remove all Radio channels
    - remove all Favorites

 


The Split & Merge tool uses hnf2fvt.exe and fvt2hnf.exe (both are included in the zip file) to convert between hnf <-> txt. WARNING: hnf2fvt.exe and fvt2hnf.exe do not support path names with space(s) in the path. Thus when all your files are located "c:\My Temp" then that does not work. What does work is "C:\My_Temp".

The tool creates 2 directories:
HnfWork and HnfKeep. In HnfWork all from HNF to txt converted files are kept. In HnfKeep your own antenna settings are located with only the antennas you want to keep. An example is provided in the zip file.
Their is NO LIMIT to the number of antenna's, transponders, channels of favorites. The program only gives a warning when more then 32 antenna's are merged.

  1. "Load" button
    Loads a HNF file or a to txt converted HNF file [FORMULA V3 FILE] or a script file.
    The antenna settings of the loaded hnf or txt file are saved as "HnfWork/ANTENNA.txt". The script file is executed as a sequence of mixed button pushes and option selections.
    See also option "Keep preferred Antennas" and button "Split per Antenna".

  2. "Merge Antenna" button
    Merge a previously split antenna file (as hnf or txt).

  3. "Split" button
    Splits the loaded HNF or txt file into one HNF file per antenna or per provider.
    This button does not work when you want to split merged files (thus when button "Merge Antenna" was used). Each split antenna file is also available as txt file in directory "HnfWork".
    In addition a script file "antenna_list.txt" or "provider_list.txt" is generated. You can edit the script file and, for example, change the order in which the antenna's or providers are merged and thus changing the order in which channels/providers appear on your Humax. When the file is selected via button "Load" it performs the pushing of buttons and/or the selecting of options as stated in the script file. See the example files example1_9sats_sky_list.txt , example_provider_list.txt , example_antenna_list.txt , example2_9sats_sky_list.txt.

  4. "Save" button
    Save the loaded or merged file(s) as one HNF or txt file.
    The options "Keep preferred Antennas" and "Use antenna as Provider" are discarded when the "Merge Antenna" button was used.
    Only the Providers that are used by a channel are saved.
    The saved hnf file is also available as txt file in directory "HnfWork".

    OPTIONS for "Save" and "Split per antenna":
  1. "Keep preferred Antennas" checkbox
    When checked all Antennas and Tv & radio channels related to the antennas stated in "HnfKeep\ANTENNA.txt" are saved. The other Antennas, Transponders, Channels, Favorites and Providers are not saved. See the example "ANTENNA.txt" in directory "HnfKeep".
  2. "Use Antenna as Provider" checkbox
    When checked all provider names are replaced with antenna names subdivided into "Fta antenna name," and "antenna name". First all Fta's then the scrambled one's. Note that only the antenna names of the antennas in file "HnfKeep\ANTENNA.txt" are saved in the HNF or txt file.
  3. "Remove all favorites" checkbox
    When checked all favorites are not saved in the file.
  4. "Remove all Radio channels" checkbox
    When checked all Radio channels are not saved in the file. Note that always a "Dummy Service" channel is added.
  5. "Split per antenna" radio_checkbox
    When checked all the loaded hnf file is split into hnf files per antenna.
  6. "Split per provider" radio_checkbox
    When checked all the loaded hnf file is split into hnf files per provider.
Report bugs to:
ze kite z @ wa na d oo . nl

THIS IS FREEWARE
The software and related documentation are provided 'As is', without warranty of any kind.
The author disclaims all warranties, express or implied, including, but not limited to, the implied warranties of design, merchantability, fitness for a particular purpose. The author does not warrant that the functions contained in the software or documentation will meet your or any requirements, or that the operation of the software will be error-free, complete, or that defects in the software or documentation will be corrected.

Under no circumstances shall the author or any other party be liable for any lost revenue or profits or any equipement damage or any incidental, indirect, special, or consequential damages that result from the use or inability to use this software or related products or documentation, even if the author has been advised of the possibility of such damages.

  1. To install : Download the program, store it in a folder, unzip and run it.
  2. To uninstall: Delete the program or the folder in which you stored it.
  3. This is a simple and small program of approx 25 kbyte. That is all !
  4. It does NOT touch or alter the windows registry.
  5. It does NOT need additional DLL's.
  6. The zip file includes the following files/directories:
    - index.html (this page)
    - MakeUp (directory with blue.gif, capture1.gif, capture2.gif, rbgdot.gif, style.css)
    - HnfKeep (directory with example ANTENNA.txt)
    - HnfWork (directory but empty)
    - fvt2hnf.exe
    - hnf2fvt.exe
    - HnfSplitMergeV1.1_223.exe (latest version)
    - example1_9sats_sky_list.txt and example2_9sats_sky_list.txt - example_antenna_list.txt and example_provider_list.txt

I accept the freeware software 'As is' and download the latest version here.

 

    History:
  1. Version 1.3 build 223
    - added split hnf file per provider - runs under Windows XP and Vista
  2. Version 1.2 build 203
    - solved load/merge of a not existing file
  3. Version 1.2 build 201
    - added generation of script file "sat_list.txt" when button "Split" is pushed.
    - added execution of a script file via button "Load"
    - solved the "File not found" bug
  4. Version 1.1 build 165
    - rewrite the program so that any "antenna".hnf file can be merged
    - added the removing of providers not referenced by a channel.
  5. Version 1.0 build 421
    - initial version.