Zophar's Message Domain

Go Back   Zophar's Message Domain > Emulation Talk > General Emulation

Thread Tools Display Modes
Old 08-25-2010, 06:12 PM   #1
Senior Member
Join Date: Jul 2002
Posts: 1,489
Default Batch Removal of SNES ROM Headers?

Does anyone know a simple way to go about removing the headers of a large group of SNES ROMs all at once? I'm trying to audit my SNES ROMs and the No-Intro DATs require ROMs to be headerless. It's going to be a pain in the ass to remove the headers of hundreds of ROMs individually, so I was hoping there was another option but, thus far, Google has yet to reveal the secret unto me.

EDIT: And the answer was... NSRT.

Last edited by InVerse; 08-25-2010 at 06:48 PM.
InVerse is offline   Reply With Quote
Old 08-26-2010, 01:53 AM   #2
The 9th Sage
Senior Member
The 9th Sage's Avatar
Join Date: Mar 2004
Location: NY State in the US
Posts: 17,439

ah, you beat me to it. :P
Just can't wait to bomb some Dodongos.

The 9th Sage is offline   Reply With Quote
Old 08-29-2010, 12:45 AM   #3
Senior Member
Join Date: Oct 2001
Location: Chaoyang, Beijing, China
Posts: 826

if(filesize(filename)%0x8000>0)fltruncate(filename , (filesize(filename)/0x8000)*0x8000);
D-- is offline   Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 07:23 AM.

Contact Us - Zophar's Domain - Archive - Top

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.