+  RHDN Forum Archive
|-+  Romhacking
| |-+  ROM Hacking Discussion
| | |-+  Error with Star Fox 64 ROM Expander
Pages: [1]
Author Topic: Error with Star Fox 64 ROM Expander  (Read 1 times)
Jedi QuestMaster
Guest
« on: September 21, 2010, 10:48:30 pm »

I just found this nifty little tool today, but I can't seem to get it to work right: Undecided\

Code:
Star Fox 64 ROM Expander 1.0 (build Mar 31 2010 15:49:30)

Written in March 2010 by xdaniel

MIO0 decompression code by HyperHacker
N64 CRC routines from n64sums.c by Parasyte

- Searching for files...

 - File 1: VStart 0x000000, PStart 0x000000, PEnd 0x001050
 - File 2: VStart 0x001050, PStart 0x001050, PEnd 0x0D9A90
 - File 3: VStart 0x0D9A90, PStart 0x0D9A90, PEnd 0x0DA030
 - File 4: VStart 0x0DA030, PStart 0x0DA030, PEnd 0x114D20
 - File 5: VStart 0x114D20, PStart 0x114D20, PEnd 0x132D40
 - File 6: VStart 0x132D40, PStart 0x132D40, PEnd 0x86F2C0
 - File 7: VStart 0x86F2C0, PStart 0x86F2C0, PEnd 0x886810 (MIO0)
 - File 8: VStart 0x8A1ED0, PStart 0x886810, PEnd 0x888B00 (MIO0)
 - File 9: VStart 0x8A96B0, PStart 0x888B00, PEnd 0x894E80 (MIO0)
 - File 10: VStart 0x8BB210, PStart 0x894E80, PEnd 0x8A0110 (MIO0)
 - File 11: VStart 0x8D5000, PStart 0x8A0110, PEnd 0x8A2E60 (MIO0)
 - File 12: VStart 0x8DD590, PStart 0x8A2E60, PEnd 0x8A5700 (MIO0)
 - File 13: VStart 0x8E48E0, PStart 0x8A5700, PEnd 0x8B9980 (MIO0)
 - File 14: VStart 0x913A40, PStart 0x8B9980, PEnd 0x8BDA60 (MIO0)
 - File 15: VStart 0x91DD40, PStart 0x8BDA60, PEnd 0x8C2A40 (MIO0)
 - File 16: VStart 0x92A250, PStart 0x8C2A40, PEnd 0x8D48D0
 - File 17: VStart 0x93C0E0, PStart 0x8D48D0, PEnd 0x8E9070
 - File 18: VStart 0x950880, PStart 0x8E9070, PEnd 0x8F04C0 (MIO0)
 - File 19: VStart 0x95D2F0, PStart 0x8F04C0, PEnd 0x90D990 (MIO0)
 - File 20: VStart 0x99CA70, PStart 0x90D990, PEnd 0x9245C0 (MIO0)
 - File 21: VStart 0x9CE5E0, PStart 0x9245C0, PEnd 0x929640 (MIO0)
 - File 22: VStart 0x9D89A0, PStart 0x929640, PEnd 0x937890
 - File 23: VStart 0x9E6BF0, PStart 0x937890, PEnd 0x940B30
 - File 24: VStart 0x9EFE90, PStart 0x940B30, PEnd 0x950C50
 - File 25: VStart 0x9FFFB0, PStart 0x950C50, PEnd 0x95A5F0
 - File 26: VStart 0xA09950, PStart 0x95A5F0, PEnd 0x9643C0 (MIO0)
 - File 27: VStart 0xA18700, PStart 0x9643C0, PEnd 0x9833B0 (MIO0)
 - File 28: VStart 0xA4B1C0, PStart 0x9833B0, PEnd 0x9888F0 (MIO0)
 - File 29: VStart 0xA54570, PStart 0x9888F0, PEnd 0x9A8110 (MIO0)
 - File 30: VStart 0xA86A80, PStart 0x9A8110, PEnd 0x9B9930 (MIO0)
 - File 31: VStart 0xAAF610, PStart 0x9B9930, PEnd 0x9C5C20 (MIO0)
 - File 32: VStart 0xACAF70, PStart 0x9C5C20, PEnd 0x9CF6A0 (MIO0)
 - File 33: VStart 0xAE16B0, PStart 0x9CF6A0, PEnd 0x9E6CC0 (MIO0)
 - File 34: VStart 0xB06010, PStart 0x9E6CC0, PEnd 0x9EF180 (MIO0)
 - File 35: VStart 0xB18060, PStart 0x9EF180, PEnd 0x9F8070 (MIO0)
 - File 36: VStart 0xB28060, PStart 0x9F8070, PEnd 0xA0F6A0 (MIO0)
 - File 37: VStart 0xB5C8F0, PStart 0xA0F6A0, PEnd 0xA25880 (MIO0)
 - File 38: VStart 0xB7FB70, PStart 0xA25880, PEnd 0xA3D6F0 (MIO0)
 - File 39: VStart 0xBAC7E0, PStart 0xA3D6F0, PEnd 0xA44700 (MIO0)
 - File 40: VStart 0xBBD9E0, PStart 0xA44700, PEnd 0xA603F0 (MIO0)
 - File 41: VStart 0xBF5D50, PStart 0xA603F0, PEnd 0xA61010 (MIO0)
 - File 42: VStart 0xBF7B20, PStart 0xA61010, PEnd 0xA83790 (MIO0)
 - File 43: VStart 0xC44550, PStart 0xA83790, PEnd 0xAB2570 (MIO0)
 - File 44: VStart 0xCA53F0, PStart 0xAB2570, PEnd 0xAB9540 (MIO0)
 - File 45: VStart 0xCBB480, PStart 0xAB9540, PEnd 0xAC21E0 (MIO0)
 - File 46: VStart 0xCCDA20, PStart 0xAC21E0, PEnd 0xAC5550 (MIO0)
 - File 47: VStart 0xCD92B0, PStart 0xAC5550, PEnd 0xAC94C0 (MIO0)
 - File 48: VStart 0xCE5480, PStart 0xAC94C0, PEnd 0xAF1260 (MIO0)
 - File 49: VStart 0xD20710, PStart 0xAF1260, PEnd 0xAF3760
 - File 50: VStart 0xD22C10, PStart 0xAF3760, PEnd 0xAFFCC0 (MIO0)
 - File 51: VStart 0xD3EA10, PStart 0xAFFCC0, PEnd 0xB12BF0 (MIO0)
 - File 52: VStart 0xD63A90, PStart 0xB12BF0, PEnd 0xB23800 (MIO0)
 - File 53: VStart 0xD8D520, PStart 0xB23800, PEnd 0xB3F150 (MIO0)
 - File 54: VStart 0xDD7620, PStart 0xB3F150, PEnd 0xB42F80 (MIO0)
 - File 55: VStart 0xDE1360, PStart 0xB42F80, PEnd 0xB48150 (MIO0)
 - File 56: VStart 0xDEF870, PStart 0xB48150, PEnd 0xB54860 (MIO0)
 - File 57: VStart 0xE039D0, PStart 0xB54860, PEnd 0xB5D3E0 (MIO0)
 - File 58: VStart 0xE12220, PStart 0xB5D3E0, PEnd 0xB82C10 (MIO0)
 - File 59: VStart 0xE4CF40, PStart 0xB82C10, PEnd 0xB93190 (MIO0)
 - File 60: VStart 0xE65DE0, PStart 0xB93190, PEnd 0xBB25E0 (MIO0)
 - File 61: VStart 0xE9A7A0, PStart 0xBB25E0, PEnd 0xBC5EB0 (MIO0)
 - File 62: VStart 0xEBB1B0, PStart 0xBC5EB0, PEnd 0xBE1750 (MIO0)
 - File 63: VStart 0xEEB830, PStart 0xBE1750, PEnd 0xBE8DD0 (MIO0)
 - File 64: VStart 0xEFB010, PStart 0xBE8DD0, PEnd 0xBE8E00 (MIO0)

- 64 files found in DMA table, now creating expanded ROM...

 - Raw data at 0x000000         -> copied to 0x000000...
 - Raw data at 0x001050         -> copied to 0x001050...
 - Raw data at 0x0D9A90         -> copied to 0x0D9A90...
 - Raw data at 0x0DA030         -> copied to 0x0DA030...
 - Raw data at 0x114D20         -> copied to 0x114D20...
 - Raw data at 0x132D40         -> copied to 0x132D40...
 - Compressed data at 0x86F2C0  -> decompressed to 0x86F2C0...
 - Compressed data at 0x886810  -> decompressed to 0x8A1ED0...
 - Compressed data at 0x888B00  -> decompressed to 0x8A96B0...
 - Compressed data at 0x894E80  -> decompressed to 0x8BB210...
 - Compressed data at 0x8A0110  -> decompressed to 0x8D5000...
 - Compressed data at 0x8A2E60  -> decompressed to 0x8DD590...
 - Compressed data at 0x8A5700  -> decompressed to 0x8E48E0...
 - Compressed data at 0x8B9980  -> decompressed to 0x913A40...
 - Compressed data at 0x8BDA60  -> decompressed to 0x91DD40...
 - Raw data at 0x8C2A40         -> copied to 0x92A250...
 - Raw data at 0x8D48D0         -> copied to 0x93C0E0...
 - Compressed data at 0x8E9070  -> decompressed to 0x950880...
 - Compressed data at 0x8F04C0  -> decompressed to 0x95D2F0...
 - Compressed data at 0x90D990  -> decompressed to 0x99CA70...
 - Compressed data at 0x9245C0  -> decompressed to 0x9CE5E0...
 - Raw data at 0x929640         -> copied to 0x9D89A0...
 - Raw data at 0x937890         -> copied to 0x9E6BF0...
 - Raw data at 0x940B30         -> copied to 0x9EFE90...
 - Raw data at 0x950C50         -> copied to 0x9FFFB0...
 - Compressed data at 0x95A5F0  -> decompressed to 0xA09950...
 - Compressed data at 0x9643C0  -> decompressed to 0xA18700...
 - Compressed data at 0x9833B0  -> decompressed to 0xA4B1C0...
 - Compressed data at 0x9888F0  -> decompressed to 0xA54570...
 - Compressed data at 0x9A8110  -> decompressed to 0xA86A80...
 - Compressed data at 0x9B9930  -> decompressed to 0xAAF610...
 - Compressed data at 0x9C5C20  -> decompressed to 0xACAF70...
 - Compressed data at 0x9CF6A0  -> decompressed to 0xAE16B0...
 - Compressed data at 0x9E6CC0  -> decompressed to 0xB06010...
 - Compressed data at 0x9EF180  -> decompressed to 0xB18060...
 - Compressed data at 0x9F8070  -> decompressed to 0xB28060...
 - Compressed data at 0xA0F6A0  -> decompressed to 0xB5C8F0...
 - Compressed data at 0xA25880  -> decompressed to 0xB7FB70...
 - Compressed data at 0xA3D6F0  -> decompressed to 0xBAC7E0...
 - Compressed data at 0xA44700  -> decompressed to 0xBBD9E0...
 - Compressed data at 0xA603F0  -> decompressed to 0xBF5D50...
 - Compressed data at 0xA61010  -> decompressed to 0xBF7B20...
 - Compressed data at 0xA83790  -> decompressed to 0xC44550...
 - Compressed data at 0xAB2570  -> decompressed to 0xCA53F0...
 - Compressed data at 0xAB9540  -> decompressed to 0xCBB480...
 - Compressed data at 0xAC21E0  -> decompressed to 0xCCDA20...
 - Compressed data at 0xAC5550  -> decompressed to 0xCD92B0...
 - Compressed data at 0xAC94C0  -> decompressed to 0xCE5480...
 - Raw data at 0xAF1260         -> copied to 0xD20710...
 - Compressed data at 0xAF3760  -> decompressed to 0xD22C10...
 - Compressed data at 0xAFFCC0  -> decompressed to 0xD3EA10...
 - Compressed data at 0xB12BF0  -> decompressed to 0xD63A90...
 - Compressed data at 0xB23800  -> decompressed to 0xD8D520...
 - Compressed data at 0xB3F150  -> decompressed to 0xDD7620...
 - Compressed data at 0xB42F80  -> decompressed to 0xDE1360...
 - Compressed data at 0xB48150  -> decompressed to 0xDEF870...
 - Compressed data at 0xB54860  -> decompressed to 0xE039D0...
 - Compressed data at 0xB5D3E0  -> decompressed to 0xE12220...
 - Compressed data at 0xB82C10  -> decompressed to 0xE4CF40...
 - Compressed data at 0xB93190  -> decompressed to 0xE65DE0...
 - Compressed data at 0xBB25E0  -> decompressed to 0xE9A7A0...
 - Compressed data at 0xBC5EB0  -> decompressed to 0xEBB1B0...
 - Compressed data at 0xBE1750  -> decompressed to 0xEEB830...
 - Compressed data at 0xBE8DD0  -> decompressed to 0xEFB010...

- Checking and fixing CRCs...

 - Found CIC: CIC-NUS-6101
 - CRC 1: 0xA7D015F8 - Calculated: 0xA94C9276 -> Bad, fixing...
 - CRC 2: 0x2289AA43 - Calculated: 0xD2755EAA -> Bad, fixing...
- Error: Could not create output file!

I'm using US version 1.00 of the rom.  Not sure if anyone else here has used this before. Undecided\
xdaniel
Guest
« Reply #1 on: September 23, 2010, 02:50:09 am »

First of all, you may want to upgrade the program to the SF64 Toolkit, because the standalone expander evolved into this: http://code.google.com/p/ozmav/downloads/detail?name=SF64Toolkit_v1.rar

To expand the ROM using the Toolkit, start the program, load up the ROM - by specifying it as a parameter at startup, drag-and-drop onto the program file, or the program's "loadrom" command - and then expand it by typing "expandrom target_filename". Thus "expandrom sf64exp.z64" would create an expanded SF64 ROM called sf64exp.z64. If you still get any errors and the like, just post about them here Smiley

Btw, the project's wiki has some more information about the Toolkit and SF64 itself, although the hacking notes are in need of an update: http://code.google.com/p/ozmav/w/list
Jedi QuestMaster
Guest
« Reply #2 on: September 23, 2010, 03:05:42 am »

Thank you. Smiley Cool
Pages: [1]  


Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC