[Home]Region Code

Explain DVD Region Code here!
How to make a ripped DVD structure region free:

/* compile me:                        */
/*   gcc -o region-zero region-zero.c */
/* set my perms:                      */
/*   chmod 0755 region-zero           */
/* move me to someplace useful:       */
/*   mv region-zero /usr/local/bin    */
/* run me in directory VIDEO_TS       */

#include <stdio.h>

main() {
  FILE * fd;
  fd = fopen("VIDEO_TS.IFO","r+");
  fseek(fd,0x23,SEEK_SET); /* hex offset 0x23 is the region code byte */
  putc(0x0,fd);            /* zero all the region code bits */
}

Transcode Wiki | Recent Changes | Preferences
Password required to edit | View other revisions
Last edited October 23, 2006 2:36 am by gateway (diff)
Search: