xboxscene.org forums

Pages: 1 ... 20 21 [22] 23

Author Topic: Reintroducing Kernel Patching - Nkpatcher  (Read 1266 times)

xman954

  • Archived User
  • Hero Member
  • *
  • Posts: 835
Reintroducing Kernel Patching - Nkpatcher
« Reply #315 on: September 09, 2006, 12:21:00 PM »

did you press the A(green) after setting time and before IGR
is the time your setting before the time you changed NKP check time too..
Logged

Tp21

  • Archived User
  • Jr. Member
  • *
  • Posts: 58
Reintroducing Kernel Patching - Nkpatcher
« Reply #316 on: September 10, 2006, 12:30:00 PM »

how does the dual/tri boot works? (i know it's an noob question tongue.gif).
in the config.inc are a lot of options for dual/tri boot, but from my view patchback and 'normal' dual boot are both enabled. can somebody explain it for me?
Logged

xman954

  • Archived User
  • Hero Member
  • *
  • Posts: 835
Reintroducing Kernel Patching - Nkpatcher
« Reply #317 on: September 10, 2006, 12:54:00 PM »

tri boot was used to boot a habibi signed disk with no other hacks to the kernal (just the public Key) if booted using eject with the disk allready in the drive (it closes the DVD tray) it's boots, otherwise boots
the alt dash

patchback is used to put back the orignal MS public Key so it will only run MS signed xbe's (kernal is unmoded at this point)

they have been used for XBL stuff in the past





Logged

Tp21

  • Archived User
  • Jr. Member
  • *
  • Posts: 58
Reintroducing Kernel Patching - Nkpatcher
« Reply #318 on: September 10, 2006, 12:58:00 PM »

CODE

;;; tray boot enable (dual boot)
%define TRAY_BOOT
;;; tri-boot enable < dual is default, with tray_boot enabled
;%define TRI_BOOT
;;; close the tray when NOT tri-booting (faster booting then tri-boot)
;%define    CLOSE_TRAY_ALLWAYS
;;;---------------------------------------------------------------------------
;;;   default Dashboard path (and tray boot closed) 2=C 1=E 6=F 7=G
;;;---------------------------------------------------------------------------
%define DASHBOARD_PATH    '\Device\Harddisk0\Partition1\dash\default.xbe'
%define DB_PATH2     '\Device\Harddisk0\Partition1\dashboard\default.xbe'
%define DB_PATH3     '\Device\Harddisk0\Partition6\dashboard\default.xbe'
;;;---------------------------------------------------------------------------
;;;   Dashboard path's for tray OPEN dash when using dual/tri-boot
;;;---------------------------------------------------------------------------
;;;   tray OPEN dash, when key IS NOT patched back (must be a habibi signed xbe
;;;             and MUST be partition 1 or 2 when NOT using OPEN_DASH_WITH_NKP)
;;;
%define OPEN_PATH          '\Device\Harddisk0\Partition1\dashboard\default.xbe'
;;; use this to enable all of NKP (disable to boot some other HACK)
%define    OPEN_DASH_WITH_NKP    
;;; use this to disable shadowC in open (alt) dash
;%define    OPEN_DASH_shadowC_OFF
;;;---------------------------------------------------------------------------
;;;   tray OPEN dash, when key IS patched back (must be a MS signed xbe)
;;;                        MUST BE PARTITION 1 or 2
;;;
%define PB_OPEN_PATH   '\Device\Harddisk0\Partition2\xb0xdash.xbe'
;;; use this to patch back the MS key then boot PB_OPEN_PATH
%define PATCH_BACK_MS_KEY

it looks like  patchback and opendash are enabled at the same time? or am i wrong here?
Logged

xman954

  • Archived User
  • Hero Member
  • *
  • Posts: 835
Reintroducing Kernel Patching - Nkpatcher
« Reply #319 on: September 10, 2006, 09:29:00 PM »

@tp 21
the order that the options are tested
1 TRAY_BOOT
if tray is open
2 TRI_BOOT
3 CLOSE_TRAY_ALLWAYS
4 PATCH_BACK_MS_KEY (if defined boots PB_OPEN_PATH )
5 OPEN_DASH_WITH_NKP
boot OPEN_PATH

so as you see it will boot the ms xboxdash (C:\xb0xdash.xbe)
sorry for the confusion
Logged

A Murder of Crows

  • Archived User
  • Sr. Member
  • *
  • Posts: 402
Reintroducing Kernel Patching - Nkpatcher
« Reply #320 on: September 22, 2006, 02:12:00 AM »

xman

been trying to reach you regarding getting that program that will compare differences for 64mb/128mb rams boxes.

get back to me when you can.

thanx
Logged

xman954

  • Archived User
  • Hero Member
  • *
  • Posts: 835
Reintroducing Kernel Patching - Nkpatcher
« Reply #321 on: September 22, 2006, 10:30:00 AM »

Check sig
burn default.xbe to disk and cold boot with and without ram upgrade
(using the same bios that supports 128MB and same xbox version) output is E:\Kernal.bin
this is a good place to start but may not yield what is needed....but it needs to be done.
Winhex does good file compare and IDA pro is usefull to dissemble
Logged

A Murder of Crows

  • Archived User
  • Sr. Member
  • *
  • Posts: 402
Reintroducing Kernel Patching - Nkpatcher
« Reply #322 on: September 22, 2006, 01:23:00 PM »

got it.

in order to get the same bios on both, i'll be using my x3.  I've got NO CLUE if the 3924 bios is 128mb compatbile, beyond what i saw with my own eyes....

stepmania v12 would start up on my box, mod chip enabled, and state that it saw 128mb of ram.  it would then crash.

running the same program with the mod chip disabled and krayzie's Ndure 1.1 running, it would see 64mb of ram, and then would work fine.

both were on the 128mb ram system.

if this is a good enough start, i'll get that output for you asap.
Logged

Dolfhin

  • Archived User
  • Sr. Member
  • *
  • Posts: 351
Reintroducing Kernel Patching - Nkpatcher
« Reply #323 on: November 10, 2006, 09:25:00 AM »

QUOTE

;;; tray boot enable
;%define TRAY_BOOT
;;; tri-boot enable < dual is default, with tray_boot enabled
%define TRI_BOOT
;;; close the tray when NOT tri-booting (faster booting then tri-boot)
%define   CLOSE_TRAY_ALLWAYS


QUOTE

%define OPEN_PATH         '\Device\Harddisk0\Partition1\Apps\XBMC\default.xbe'
;;; use this to enable all of NKP (disable to boot some other HACK)
%define   OPEN_DASH_WITH_NKP   
;;; use this to disable shadowC in open (alt) dash
;%define   OPEN_DASH_shadowC_OFF


I then ran ''make_nkp11_with_listing.bat'' and copyd the default.xbe to C:\bios\bios.xbe overwriting the older xbe that was still in there. After a reboot I got the ''21'' error. My question is now? Is my bios.xbe not singed correctly? If so how do I sign it correctly? Is my config file wrong?

Entire Config file (config.inc) is here :

QUOTE

%ifndef CONFIG_INC
%define CONFIG_INC
;;; --------------------------------
;;; Configuration file for NKPatcher 11
;;; --------------------------------
;;;---------------------------------------------------------------------------
;;; file name for NKPatcher11 to use at runtime  (E:\NKP11\NKP11_config.bin)
%define   CFG_FILE      '\Device\Harddisk0\Partition1\NKP11\NKP11_config.bin'  
%define   CFG_FILE_OPEN '\Device\Harddisk0\Partition1\NKP11\NKP11_config_open.bin'
;;;---------------------------------------------------------------------------
;%define KINGROACH_VERSION   ; NDURE 3.X <<<<<<<<<<<<<<<<<<<<<<<<<
;;;---------------------------------------------------------------------------
;;;
%define ORANGE          00FFh      ; ----------------
%define ORANGE_BLINK   0077h      ;
%define ORANGE_BLIP   0011h      ;
%define RED            00F0h      ;  YOU CAN
%define RED_BLINK       0070h      ;      ADD YOUR
%define RED_BLIP       0010h      ;      OWN
%define GREEN          000Fh      ;
%define GREEN_BLINK    0007h      ;
%define GREEN_BLIP    0001h      ;
%define CYCLE          00EBh      ; R,O,G,O
%define CYCLE_BLINK     0063h      ; R,O,G,Off
%define LED_OFF         0000h      ; ----------------
;;;---------------------------------------------------------------------------
%define NKP_LED_COLOR      ORANGE      ; < CHANGE IT HERE
%define ALTDASH_LED_COLOR   RED         ; < CHANGE IT HERE
%define PATCHBACK_LED_COLOR   GREEN       ; < CHANGE IT HERE
%define TRIBOOT_LED_COLOR   CYCLE_BLINK ; < CHANGE IT HERE
;;;---------------------------------------------------------------------------
;;; set fan speed with NKP modes only (if omitted then no fan speed change)
%define FAN_SPEED    35   ; < CHANGE IT HERE ( % fan speed / 2 ) 10-50 << changed !!!!
;;;---------------------------------------------------------------------------
;;; tray boot enable
;%define TRAY_BOOT
;;; tri-boot enable < dual is default, with tray_boot enabled
%define TRI_BOOT
;;; close the tray when NOT tri-booting (faster booting then tri-boot)
%define   CLOSE_TRAY_ALLWAYS
;;;---------------------------------------------------------------------------
;;;   default Dashboard path (and tray boot closed) 2=C 1=E 6=F 7=G
;;;---------------------------------------------------------------------------
%define DASHBOARD_PATH   '\Device\Harddisk0\Partition1\dash\default.xbe'
%define DB_PATH2    '\Device\Harddisk0\Partition1\dashboard\default.xbe'
%define DB_PATH3    '\Device\Harddisk0\Partition6\dashboard\default.xbe'
;;;---------------------------------------------------------------------------
;;;   Dashboard path's for tray OPEN dash when using dual/tri-boot
;;;---------------------------------------------------------------------------
;;;   tray OPEN dash, when key IS NOT patched back (must be a habibi signed xbe
;;;             and MUST be partition 1 or 2 when NOT using OPEN_DASH_WITH_NKP)
;;;
%define OPEN_PATH         '\Device\Harddisk0\Partition1\Apps\XBMC\default.xbe'
;;; use this to enable all of NKP (disable to boot some other HACK)
%define   OPEN_DASH_WITH_NKP   
;;; use this to disable shadowC in open (alt) dash
;%define   OPEN_DASH_shadowC_OFF
;;;---------------------------------------------------------------------------
;;;   tray OPEN dash, when key IS patched back (must be a MS signed xbe)
;;;                        MUST BE PARTITION 1 or 2
;;;
%define PB_OPEN_PATH   '\Device\Harddisk0\Partition2\xb0xdash.xbe'
;;; use this to patch back the MS key then boot PB_OPEN_PATH
%define PATCH_BACK_MS_KEY
;;;---------------------------------------------------------------------------
;;; VIDEO patches:
;;;
;;; VIDEO_FORCE_RGB = Patches kernel to output RGsB video signal (RGB with
;;;           sync on green) if HDTV AV pack is detected. Intended for
;;;           connecting the Xbox to VGA monitor. Connect AV pack Y output
;;;           to monitor green input, Cr to monitor red input and Cb to
;;;           monitor blue input. The monitor must support sync on green.
;;;
;;; VIDEO_FORCE_PROGRESSIVE = Patches kernel to convert 480i video modes to
;;;           480p if HDTV AV pack is detected. Note that when using HDTV AV
;;;           pack, progressive scan video output will be forced even if 480p
;;;           video support is disabled in msdash.
;;;
;;; Not enabled by default.

;%define VIDEO_FORCE_RGB
;%define VIDEO_FORCE_PROGRESSIVE

;;; Flicker Filter Patch (composite video only)
;;;
;;; When enabled any call to set the flicker filter value will be
;;; replaced by a call with the value FLICKER_FILTER_VALUE.
;;;
;;; Takes values in the range 0 (off) to 5 (max filter).
;;;
;;; Flicker filter patching is not enabled by default.

%define FLICKER_FILTER
%define FLICKER_FILTER_VALUE 1

;;; --------------------------------------------------------------------------
;;; Configuration for nkpatcher
;;; --------------------------------------------------------------------------
;;;
;;; Reset-on-eject behaviour:   
;;;
;;; EJECT_FIX = Never reset on eject.
;;; CD_DVD_ALWAYS_ROE = Always reset on eject for CD/DVD loaded XBEs, never
;;;                     reset on eject for hard disk loaded XBEs.
;;;
;;; Default is to never reset on eject for hard disk loaded XBEs, but reset
;;; on eject CD/DVD loaded XBEs based on the ROE flag in the XBE header.

%define EJECT_FIX
; %define CD_DVD_ALWAYS_ROE

   
;;; Automatic game region settings:
;;;
;;; GAME_REGION_AUTO = Set game region automatically based on the game region
;;;                    field in XBE header. Since the header may have several
;;;                    regions enabled there's a choice to be made. First
;;;                    tried is the game region from EEPROM, then the primary
;;;                    through tertiary regions below.
;;; GAME_REGION_IGNORE_REAL = Ignore the region stored in EEPROM and only
;;;                           use primary through tertiary regions below.
;;;
;;; Default is to use only the game region stored in the EEPROM and not
;;; change it.

%define GAME_REGION_AUTO
; %define GAME_REGION_IGNORE_REAL
   
%ifdef GAME_REGION_AUTO

;;; Game regions:
;;;
;;; 1 = North America
;;; 2 = Japan
;;; 4 = Rest of world

%define GAME_REGION_PRIMARY   4
%define GAME_REGION_SECONDARY   1
%define GAME_REGION_TERTIARY   2

%endif   ; GAME_REGION_AUTO

;;; In-Game Reset settings:   
;;;
;;; IGR = Enable IGR code
;;;
;;; Button combinations:
;;;   * triggers+back+start
;;;   * triggers+back+black
;;;   * triggers+start+black
;;;
;;; IGR_TO_DASHBOARD = Reset to dashboard, not DVD. Changed button combos:
;;;   * triggers+back+start to dashboard
;;;   * triggers+back+black to dashboard
;;;   * triggers+start+black to first DVD, then dashboard
;;;
;;; IGR_FULL_REBOOT = Do a full reboot instead of the default quick reboot.
;;;                   Some games hang (Soul Calibur 2 during a match) with
;;;                   quick reboot.
;;;
;;; IGR_MASTER_PORT #port_number = Only allow IGR from pad port #port_number,
;;;                                where #port_number is 0-3 (0 the left-most
;;;                                port, 3 the right-most.)
;;;
;;; IGR is not enabled by default.

%define IGR
%define IGR_TO_DASHBOARD
; %define IGR_FULL_REBOOT
%define IGR_MASTER_PORT 0

;;; Xbox Live blocking:
;;;
;;; XBL_BLOCK = Enable blocking
;;;
;;; Blocking not enabled by default.

%define XBL_BLOCK


;;; Virtual/Shadow C drive:
;;;
;;; VIRTUAL_C_DRIVE #part_num = Enable virtual C drive. Access to the partition
;;;                   number #part_num will be redirected to file VIRTUAL_C_PATH,
;;;                   which must be an image of a raw FATX file system. Note that
;;;                   the usual C drive partition number is 2. However, you
;;;                   could replace any drive with a virtual drive. The feature
;;;                   name "virtual C" is thus a bit misleading, although there's
;;;                   not much point virtualizing any other drive.
;;;
;;; ACTUAL_C_DRIVE #part_num = Make the actual C drive appear as
;;;                            partition #part_num. This requires LBA48 patches
;;;                            enabled.
;;;
;;; Not enabled by default.

%define VIRTUAL_C_DRIVE 2
%define ACTUAL_C_DRIVE 8
%define VIRTUAL_C_PATH '\Device\Harddisk0\Partition8\shadowC\shadowc.img'



;;; Virtual CD/DVD drive:
;;;
;;; VIRTUAL_CDROM_DRIVE = Enable virtual C drive. This will create a virtual
;;;         device \Device\CdRom1 and link it to \Device\CdRom0
;;;         when an ISO image is attached to CdRom1 (through a system
;;;         call.)
;;;
;;; Not enabled by default.

%define VIRTUAL_CDROM_DRIVE


;;; 48-bit Logical Block Addressing and partition table settings:
;;;
;;; LBA48 = Enable. Allows use of disk space beyond 137 GB. Only 32 bits are
;;;         actually used so maximum used disk size is now 2 TB.
;;;
;;; PARTITION_METHOD #method_num = Select partitioning scheme,
;;;         where #method_num is:
;;;         0, for only standard Xbox partitions i.e. no F or G drives
;;;         1, for partition 6 (F drive) takes rest of the drive (after standard)
;;;         2, for partition 6 takes up to 137 GB, partition 7 (G drive) rest
;;;         3, for partition 6 takes up to 137 GB, no partition 7
;;;
;;; Note that method 1 results in ".06 bios" and method 2 in ".67 bios".
;;;
;;; IGNORE_HD_PARTITION_TABLE = Don't use harddisk partition table even if it
;;;                             exists (on the first sector of the drive).
;;;
;;; LBA48 and partition table not enabled by default.

%define LBA48

;%define PARTITION_METHOD 0
;%define PARTITION_METHOD 1
%define PARTITION_METHOD 2
;%define PARTITION_METHOD 3

; %define IGNORE_HD_PARTITION_TABLE


;;; Virtual EEPROM settings:
;;;
;;; VIRTUAL_EEPROM = Enable. Access to the EEPROM through the kernel will be
;;;                  redirected to file VIRTUAL_EEPROM_PATH.
;;;
;;; ENABLE_REAL_EEPROM_WRITE = Enable writing to the real EEPROM.
;;;                  If the VIRTUAL_EEPROM_PATH file is not found nkpatcher (with
;;;                  VIRTUAL_EEPROM enabled) will default to using the real EEPROM,
;;;                  but writing disabled. If you want the writing enabled then
;;;                  use this option. The main purpose of having real writes
;;;                  disabled by default is that if you mistype the path in
;;;                  VIRTUAL_EEPROM_PATH then you might go messing with the real
;;;                  EEPROM thinking it was only the virtual.
;;;
;;; DISABLE_VIRTUAL_EEPROM_WRITE = Disable writing to the virtual EEPROM.
;;;
;;; Virtual EEPROM is disabled by default. Also note that normally you shouldn't
;;; define ENABLE_REAL_EEPROM_WRITE.

%define VIRTUAL_EEPROM
%define VIRTUAL_EEPROM_PATH '\Device\Harddisk0\Partition8\shadowC\eeprom.bin'
;%define DISABLE_VIRTUAL_EEPROM_WRITE
;%define ENABLE_REAL_EEPROM_WRITE


;;; nkpatcher Xbox application reboot behaviour after patching has been done:
;;;
;;; BOOT_DASH_ONLY = Don't boot DVD.
;;; NORMAL_BOOT_ALWAYS = Always boot first DVD then dashboard.
;;;
;;; default is to boot DVD first, unless doing IGR to dash.

%define BOOT_DASH_ONLY


;;; Patches inside INIT section (boot unlocked HDs etc.)
;;;
;;; INIT_SEC_PATCHES = enable
;;;
;;; Do NOT enable these for nkpatcher.xbe executed on the Xbox (will crash
;;; and/or weird behaviour.)

; %define INIT_SEC_PATCHES


;;; --------------------------------------------------------------------------
;;; Configuration end
;;; --------------------------------------------------------------------------

%endif ; CONFIG_INC


Thanks in advance!
Logged

xman954

  • Archived User
  • Hero Member
  • *
  • Posts: 835
Reintroducing Kernel Patching - Nkpatcher
« Reply #324 on: November 10, 2006, 10:21:00 AM »

CODE
;;;---------------------------------------------------------------------------
;;; tray boot enable
%define TRAY_BOOT
;;; tri-boot enable < dual is default, with tray_boot enabled
;;;%define TRI_BOOT
;;; close the tray when NOT tri-booting (faster booting then tri-boot)
%define CLOSE_TRAY_ALLWAYS

also
CODE
;;;---------------------------------------------------------------------------
;;; tray OPEN dash, when key IS patched back (must be a MS signed xbe)
;;; MUST BE PARTITION 1 or 2
;;;
%define PB_OPEN_PATH '\Device\Harddisk0\Partition2\xb0xdash.xbe'
;;; use this to patch back the MS key then boot PB_OPEN_PATH
;;;%define PATCH_BACK_MS_KEY


and don't use
CODE
;;; default is to boot DVD first, unless doing IGR to dash.
%define BOOT_DASH_ONLY

use
CODE
;;; default is to boot DVD first, unless doing IGR to dash.

;;;%define BOOT_DASH_ONLY

untill you know everything is working

also once everything is working it is simpler to use the runtime config file
just make sure to use the updated rtc.asm

but the way you had it it should have booted
CODE
%define DASHBOARD_PATH '\Device\Harddisk0\Partition1\dash\default.xbe'
%define DB_PATH2 '\Device\Harddisk0\Partition1\dashboard\default.xbe'
%define DB_PATH3 '\Device\Harddisk0\Partition6\dashboard\default.xbe'

did the fan speed up then error21 ?????


Logged

Dolfhin

  • Archived User
  • Sr. Member
  • *
  • Posts: 351
Reintroducing Kernel Patching - Nkpatcher
« Reply #325 on: November 11, 2006, 11:31:00 AM »

QUOTE(xman954 @ Nov 10 2006, 06:28 PM) View Post

it is signed when the bat file is ran
you did not change the ernie.xtf (the one from this pkg is for C:\bios\default.xbe)

in your config tray boot is not enabled
use
CODE
;;;---------------------------------------------------------------------------
;;; tray boot enable
%define TRAY_BOOT
;;; tri-boot enable < dual is default, with tray_boot enabled
;;;%define TRI_BOOT
;;; close the tray when NOT tri-booting (faster booting then tri-boot)
%define CLOSE_TRAY_ALLWAYS

also
CODE
;;;---------------------------------------------------------------------------
;;; tray OPEN dash, when key IS patched back (must be a MS signed xbe)
;;; MUST BE PARTITION 1 or 2
;;;
%define PB_OPEN_PATH '\Device\Harddisk0\Partition2\xb0xdash.xbe'
;;; use this to patch back the MS key then boot PB_OPEN_PATH
;;;%define PATCH_BACK_MS_KEY


and don't use
CODE
;;; default is to boot DVD first, unless doing IGR to dash.
%define BOOT_DASH_ONLY

use
CODE
;;; default is to boot DVD first, unless doing IGR to dash.

;;;%define BOOT_DASH_ONLY

untill you know everything is working

also once everything is working it is simpler to use the runtime config file
just make sure to use the updated rtc.asm

but the way you had it it should have booted
CODE
%define DASHBOARD_PATH '\Device\Harddisk0\Partition1\dash\default.xbe'
%define DB_PATH2 '\Device\Harddisk0\Partition1\dashboard\default.xbe'
%define DB_PATH3 '\Device\Harddisk0\Partition6\dashboard\default.xbe'

did the fan speed up then error21 ?????


Thanks! I checked the dashboard (I still have XboxHDM on my PC so I can see what is where) and the dashboard is in the right location. That is no problem. I also fixed the dual boot thing. I guess I should have seen that error myself ohmy.gif

I dont know if the fan did speed up, I would say it does but I cant really hear it clearly. Sorry for that.

The problem might be that I already have a runtime config file in E:\NKP11\NKP11_config.bin, the runtime file got made from config_runtime.inc , right? I couldn't really find any details about this in the configuration but my config_runtime.inc links to a non-existing path which would explain the error 21 I got. I only configured config.inc to my liking.

Where do I find the updated rtc.asm btw?

Time to get a few screwdrivers ready, It seems that I have some fixing to do.
Logged

xman954

  • Archived User
  • Hero Member
  • *
  • Posts: 835
Reintroducing Kernel Patching - Nkpatcher
« Reply #326 on: November 12, 2006, 09:36:00 AM »

you should have a rescue dash (evox) in the real C then it would have booted "C:\rescuedash\default.xbe"
but it still should boot a DVD when there is no dash to boot
the runtime config is not needed, used to change options from the way it was originally compiled
check sig for rtc.asm, the config you posted has flicker filter settings so it must be the WIP version
Logged

Dolfhin

  • Archived User
  • Sr. Member
  • *
  • Posts: 351
Reintroducing Kernel Patching - Nkpatcher
« Reply #327 on: November 13, 2006, 01:04:00 PM »

QUOTE(xman954 @ Nov 12 2006, 05:43 PM) View Post

you should have a rescue dash (evox) in the real C then it would have booted "C:\rescuedash\default.xbe"
but it still should boot a DVD when there is no dash to boot
the runtime config is not needed, used to change options from the way it was originally compiled
check sig for rtc.asm, the config you posted has flicker filter settings so it must be the WIP version


That is true. I fixed the default dash, it boots XBMC now just fine biggrin.gif However it still doesnt boot UnleashX when I turn it on with tray boot enable.

QUOTE

;;;---------------------------------------------------------------------------
%define ORANGE          00FFh      ; ----------------
%define ORANGE_BLINK   0077h      ;
%define ORANGE_BLIP   0011h      ;
%define RED            00F0h      ;  YOU CAN
%define RED_BLINK       0070h      ;      ADD YOUR
%define RED_BLIP       0010h      ;      OWN
%define GREEN          000Fh      ;
%define GREEN_BLINK    0007h      ;
%define GREEN_BLIP    0001h      ;
%define CYCLE          00EBh      ; R,O,G,O
%define CYCLE_BLINK     0063h      ; R,O,G,Off
%define LED_OFF         0000h      ; ----------------
;;;---------------------------------------------------------------------------
%define NKP_LED_COLOR      ORANGE      ; < CHANGE IT HERE
%define ALTDASH_LED_COLOR   RED        ; < CHANGE IT HERE
%define PATCHBACK_LED_COLOR   GREEN       ; < CHANGE IT HERE
%define TRIBOOT_LED_COLOR   CYCLE_BLINK ; < CHANGE IT HERE
;;;---------------------------------------------------------------------------
%define KINGROACH_VERSION   ; NDURE 3.X <<<<<<<<<<<<<<<<<<<<<<<<<
;;;---------------------------------------------------------------------------
;;; set fan speed with NKP modes only (if omitted then no fan speed change)
%define FAN_SPEED    35   ; < CHANGE IT HERE ( % fan speed / 2 ) 10-50 << changed !!!!
;;;---------------------------------------------------------------------------
;;; tray boot enable
%define TRAY_BOOT
;;; tri-boot enable < dual is default, with tray_boot enabled
;%define TRI_BOOT
;;; close the tray when NOT tri-booting (faster booting then tri-boot)
%define   CLOSE_TRAY_ALLWAYS
;;;---------------------------------------------------------------------------
;;;   default Dashboard path (and tray boot closed) 2=C 1=E 6=F 7=G
;;;---------------------------------------------------------------------------
%define DASHBOARD_PATH   '\Device\Harddisk0\Partition1\apps\xbmc\default.xbe'
%define DB_PATH2    '\Device\Harddisk0\Partition2\shadowc\resc\default.xbe'
%define DB_PATH3    '\Device\Harddisk0\Partition1\UDATA\4d530017\62d648ebf155\default.xbe'
;;;---------------------------------------------------------------------------
;;;   Dashboard path's for tray OPEN dash when using dual/tri-boot
;;;---------------------------------------------------------------------------
;;;   tray OPEN dash, when key IS NOT patched back (must be a habibi signed xbe
;;;             and MUST be partition 1 or 2 when NOT using OPEN_DASH_WITH_NKP)
;;;
%define OPEN_PATH         '\Device\Harddisk0\Partition1\dash\default.xbe'
;;; use this to enable all of NKP (disable to boot some other HACK)
%define   OPEN_DASH_WITH_NKP   
;;; use this to disable shadowC in open (alt) dash
;%define   OPEN_DASH_shadowC_OFF
;;;---------------------------------------------------------------------------
;;;   tray OPEN dash, when key IS patched back (must be a MS signed xbe)
;;;                        MUST BE PARTITION 1 or 2
;;;
%define PB_OPEN_PATH   '\Device\Harddisk0\Partition2\xb0xdash.xbe'
;;; use this to patch back the MS key then boot PB_OPEN_PATH
;%define PATCH_BACK_MS_KEY
;;;---------------------------------------------------------------------------
;;; VIDEO patches:
;;;
;;; VIDEO_FORCE_RGB = Patches kernel to output RGsB video signal (RGB with
;;;           sync on green) if HDTV AV pack is detected. Intended for
;;;           connecting the Xbox to VGA monitor. Connect AV pack Y output
;;;           to monitor green input, Cr to monitor red input and Cb to
;;;           monitor blue input. The monitor must support sync on green.
;;;
;;; VIDEO_FORCE_PROGRESSIVE = Patches kernel to convert 480i video modes to
;;;           480p if HDTV AV pack is detected. Note that when using HDTV AV
;;;           pack, progressive scan video output will be forced even if 480p
;;;           video support is disabled in msdash.
;;;
;;; Not enabled by default.

;%define VIDEO_FORCE_RGB
;%define VIDEO_FORCE_PROGRESSIVE

;;; Flicker Filter Patch (interlaced composite video only)
;;;
;;; When enabled any call to set the flicker filter value will be
;;; replaced by a call with the value FLICKER_FILTER_VALUE.
;;;
;;; Takes values in the range 0 (off) to 5 (max filter).
;;;
;;; Flicker filter patching is not enabled by default.

%define FLICKER_FILTER
%define FLICKER_FILTER_VALUE 1

;;;---------------------------------------------------------------------------
;;; used to boot the dash only
;;;
%define   BOOT_DASH_ONLY



No obvious error, right? My dash is in the right place, I made sure of this.
Logged

xman954

  • Archived User
  • Hero Member
  • *
  • Posts: 835
Reintroducing Kernel Patching - Nkpatcher
« Reply #328 on: November 13, 2006, 07:51:00 PM »

QUOTE
No obvious error, right?
well...
CODE
;;;---------------------------------------------------------------------------
%define KINGROACH_VERSION; NDURE 3.X <<<<<<<<<<<<<<<<<<<<<<<<<
;;;---------------------------------------------------------------------------

this is only for using boot1.bin to select MS online dash or MS dash

also at the end of NKP_top.asm
rescue dash paths need to be there...in case shadowC does not load
CODE
;------------------------------
READ1:        db    '\Device\Harddisk0\Partition1\NKP11\boot1.bin',0,0
ee_fp:      db    '\Device\Harddisk0\Partition1\NKP11\EEPROM_off.bin',0,0    
sc_fp:      db    '\Device\Harddisk0\Partition1\NKP11\shadowC_off.bin',0,0    
clk_ph:     db      '\Device\Harddisk0\Partition1\NKP11\clock.xbe',0,0
;------------------------------


%ifdef    BACKUP_DIR
eepromdirstr:        db '\Device\Harddisk0\Partition',BACKUP_DRIVE,'\', BACKUP_DIR,'\', 0  
eepromdir:         dd $-eepromdirstr-1,0,0,0  
eepromfilestr:        db '\Device\Harddisk0\Partition',BACKUP_DRIVE,'\', BACKUP_DIR,'\', BACKUP_NAME, 0
%else     
eepromfilestr:        db '\Device\Harddisk0\Partition',BACKUP_DRIVE,'\', BACKUP_NAME, 0  
%endif
eepromfile:         dd $-eepromfilestr-1,0,0,0     

;-------------------------------------------------------------------------------------------
%ifdef     ACTUAL_C_DRIVE
%define ACD    ACTUAL_C_DRIVE
%else
%define    ACD    2
%endif
;-----------
rescuedash1:    db    '\Device\Harddisk0\Partition',ACD+030h,'\rescuedash\default.xbe',0,0
rescuedash2:    db    '\Device\Harddisk0\Partition2\rescuedash\default.xbe',0,0
;--------------------------------------------------------------------------------------------
Logged

kingroach

  • Archived User
  • Hero Member
  • *
  • Posts: 1522
Reintroducing Kernel Patching - Nkpatcher
« Reply #329 on: September 14, 2007, 10:03:00 AM »

I dont think xboxhdm or any other distro has this fixed.. if you can please update the xboxhdm distro.. cause its main function is to create harddrive.
Logged
Pages: 1 ... 20 21 [22] 23