Zophar's Message Domain

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

Reply
 
Thread Tools Display Modes
Old 08-25-2010, 07:12 PM   #1
InVerse
Senior Member
 
Join Date: Jul 2002
Location: Midwest, U.S.
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 07:48 PM.
InVerse is offline   Reply With Quote
Old 08-26-2010, 02: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
Default

ah, you beat me to it. :P
__________________
Just can't wait to bomb some Dodongos.
---
http://www.xanga.com/zeldadd

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

if(filesize(filename)%0x8000>0)fltruncate(filename , (filesize(filename)/0x8000)*0x8000);
__________________
portfolio :: deviantArt :: 微博 :: Twitter
D-- is offline   Reply With Quote
Reply

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 05:02 PM.

Contact Us - Zophar's Domain - Archive - Top

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