Ok I dug up the files and it seems I was a bit mistaken with things - you don't need to make any changes to the list of codes, you only need to make one change basically, to the makefile.
If you haven't already, download the files from Ladyada's tutorial site:
http://www.ladyada.net/make/tvbgone/download.htmlThe bit in question is in the Makefile, lines 49 through 55:
- Code: Select all
ifdef EU_CODE
CFLAGS += -DEU_CODES
else ifdef NA_CODE
CFLAGS += -DNA_CODES
else
CFLAGS += -DEU_CODES -DNA_CODES
endif
Essentially it's saying that the default is to include both EU and banned codes. I'm sure there's a 'correct' way to do this but I couldn't figure it out so I just that batch of lines except for this one, that forced it to do only banned codes:
- Code: Select all
CFLAGS += -DNA_CODES
With that in place when you run make it will include all the codes including the Dynex one.
As for the list of codes and where Dynex falls in that list, have a look in the WORLDcodes.c file, from line 8230 the next 150-ish lines are the list of codes included for North America. Around line 8346 is the conditional, which basically says 'only include the next batch if we aren't including EU codes'. There's 20 or so codes that get omitted if both banned and EU codes are included.
Dynex is code na134. So if you want to move that up in the list (so it gets transmitted earlier when you trigger the TV-B-Gone), cut it from where it is at the bottom of the list, then insert it towards the top of that list - I put it in at #10, around line 8241.
I had forgotten how long this file is - it's almost 8400 lines so I'm not going to paste it, but as I said, you're really just looking at one change to the Makefile and one optional change to the codes file.
Cheers!