ROM Hack [Request] Simple program to split hex into seperate files

Coleman_C18

Well-Known Member
OP
Member
Joined
Sep 1, 2015
Messages
429
Trophies
0
Age
27
XP
345
Country
United States
Hello, I'm currently in the process of interpreting and editing ACNL collision files for its outdoor acres (grd_jmp.bin). So far I've been doing things by hand mapping them out, and as you can see below its been quite tedious.

sBSjC6Q.png


I have no programming knowledge and would love if someone could make me a basic tool that would save these separate hex maps into 261 separate files.
It would be optimal to have them spit out in groups of 2 bytes as seen above with A0 (160) bytes per column/row with a total of 16 columns or rows per map. There should be A00 (2560) bytes in total per map collision and in the end looking something like this.
Y8DW9Dj.png

Though the separate filenames can be numbered, if your willing to go the extra mile it would be great to have them based on the offset they begin.

Thanks in advanced <3
 
Last edited by Coleman_C18,
  • Like
Reactions: Deleted User

Coleman_C18

Well-Known Member
OP
Member
Joined
Sep 1, 2015
Messages
429
Trophies
0
Age
27
XP
345
Country
United States
Seems like a good opportunity for you to learn how to program something. It's really not that hard.
This thread is asking for help, not asinine and obvious statements. move along if you don't plan to assist.
If I had time to sit and learn to code I wouldn't have made the post.
 
Last edited by Coleman_C18,

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,403
Country
United Kingdom
If ROM hacking like this is something you intend to do (custom files for a complex task on a pain in the arse to hack system) then spending a few hours to get python to the point where you can modify a binary file is probably worth the effort. If you had to learn C or something a bit more complex then yeah Kaphotics would be the one making an asinine statement, with modern scripting type languages then the ball is back in your court there.

Still http://min.midco.net/cracker/filecutter.zip
Usage
filecutter file.in length file.out <-s start>

I quite often make batch files which are just long lists of commands for this. They end up something like
Code:
filecutter data.bin 404 00000194.bin -s 40812
filecutter data.bin 473920 00073B40.bin -s 41216
filecutter data.bin 298200 00048CD8.bin -s 515136
filecutter data.bin 260812 0003FACC.bin -s 813336
filecutter data.bin 47352 0000B8F8.bin -s 1074148
filecutter data.bin 168724 00029314.bin -s 1121500
filecutter data.bin 49844 0000C2B4.bin -s 1290224
filecutter data.bin 18240 00004740.bin -s 1340068
filecutter data.bin 98984 000182A8.bin -s 1358308
filecutter data.bin 72880 00011CB0.bin -s 1457292
filecutter data.bin 71684 00011804.bin -s 1530172
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: https://youtube.com/shorts/4M3E1Lz6l9E?si=fSYNJxYTa0czXVow