Shawn Posted December 13, 2005 Share Posted December 13, 2005 Hey All, Can anyone recomend a Hex Editor that is easy to cut BIN's in half with? I have tried a few but I want one that is "point and shoot" easy. I need mainly for distella to make 8k games into 4k chunks. Thanks, Shawn Sr. Quote Link to comment Share on other sites More sharing options...
Tom Posted December 13, 2005 Share Posted December 13, 2005 Why a hex editor ? All you need is dd. dd if=8krom.bin of=bank0.bin count=4096 bs=1 dd if=8krom.bin of=bank1.bin count=4096 bs=1 skip=4096 Simple and powerful. Quote Link to comment Share on other sites More sharing options...
Shawn Posted December 14, 2005 Author Share Posted December 14, 2005 Why a hex editor ? All you need is dd. dd if=8krom.bin of=bank0.bin count=4096 bs=1 dd if=8krom.bin of=bank1.bin count=4096 bs=1 skip=4096 Simple and powerful. 981588[/snapback] dd? Quote Link to comment Share on other sites More sharing options...
Tom Posted December 14, 2005 Share Posted December 14, 2005 A standard Unix utility. Everybody running Windows should have a Cygwin or GnuWin32 installation. Quote Link to comment Share on other sites More sharing options...
Shawn Posted December 14, 2005 Author Share Posted December 14, 2005 (edited) A standard Unix utility. Everybody running Windows should have a Cygwin or GnuWin32 installation. 982357[/snapback] downloaded it and used cygwin and I keep getiing this error message and I don't know why: dd: opening '8kfile.bin' : No such file or directory Any idea's? Do I need to use a specfic directory? I tried copying my 8kfile.bin into the cygwin working directory but no go. Edited December 14, 2005 by silver_surfer Quote Link to comment Share on other sites More sharing options...
Tom Posted December 14, 2005 Share Posted December 14, 2005 A standard Unix utility. Everybody running Windows should have a Cygwin or GnuWin32 installation. 982357[/snapback] downloaded it and used cygwin and I keep getiing this error message and I don't know why: dd: opening '8kfile.bin' : No such file or directory Any idea's? Do I need to use a specfic directory? I tried copying my 8kfile.bin into the cygwin working directory but no go. 982523[/snapback] You did use the correct filenames, right ? "8krom.bin", "bank0.bin" and "bank1.bin" in my first post were of course only placeholders. You have to substitute them with the real filenames you want to use. If that isn't the problem, post the whole command line you're using. Quote Link to comment Share on other sites More sharing options...
Shawn Posted December 15, 2005 Author Share Posted December 15, 2005 A standard Unix utility. Everybody running Windows should have a Cygwin or GnuWin32 installation. 982357[/snapback] downloaded it and used cygwin and I keep getiing this error message and I don't know why: dd: opening '8kfile.bin' : No such file or directory Any idea's? Do I need to use a specfic directory? I tried copying my 8kfile.bin into the cygwin working directory but no go. 982523[/snapback] You did use the correct filenames, right ? "8krom.bin", "bank0.bin" and "bank1.bin" in my first post were of course only placeholders. You have to substitute them with the real filenames you want to use. If that isn't the problem, post the whole command line you're using. 982829[/snapback] yes I know you where using dumy names 8kfile.bin means nameofmygame.bin The exact string I'm unsing is exactly what you have posted to use. I'm runnig WIN XP PRO Build 2600 with Service pack 2 if that makes a difference. Quote Link to comment Share on other sites More sharing options...
Tom Posted December 15, 2005 Share Posted December 15, 2005 Sorry, you're doing obviously something wrong, but I really don't know what it could be (the command I posted above is correct) You don't need to put files in specific directories, but you must either pass the full path to the input file to dd, or you change to the directory the input file is in and only pass the file's name, without path information. Iirc Cygwin also doesn't treat filenames case sensitive (Unix systems do so), so it shouldn't matter wether you pass "X.FOO" or "x.FOo" for a filename. Quote Link to comment Share on other sites More sharing options...
Nukey Shay Posted December 15, 2005 Share Posted December 15, 2005 All this worry about filenames and such? I just use a freeware program called HJ Split. Cuts files into any size fragments. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.