| |||
Views: 88,480,480 |
Main | FAQ | Uploader | IRC chat | Radio | Memberlist | Active users | Latest posts | Calendar | Stats | Online users | Search | 04-25-24 06:20 AM |
|
Guest: Register | Login |
0 users currently in ROM Hacking | 1 guest | 1 bot |
Main - ROM Hacking - Tile Mapping with no CHR bank? | New thread | New reply |
Trax |
| ||
Yellow Stalfos Level: 71 Posts: 19/1145 EXP: 3035501 Next: 131613 Since: 07-06-07 From: Québec Last post: 3625 days Last view: 2877 days |
Some NES games (Zelda 1, for example) have no specific CHR banks, which means that the graphics data is mangled into the PRG banks. That said, how can the tile editing programs figure out where the data is located if there is no defined bank? I remember seeing a screenshot of Zelda 1 tiles neatly aligned in YY-CHR. How is this possible? |
Kawa |
| ||
CHIKKN NI A BAAZZKIT!!! 80's Cheerilee is best pony Level: 138 Posts: 421/5344 EXP: 30941933 Next: 721048 Since: 02-20-07 From: The Netherlands Last post: 4497 days Last view: 2632 days |
Manual byte positioning. Most tile editors support it. ____________________ Wife make lunch - Shampoo Opera - give it a spin Spare some of your free time? <GreyMaria> I walked around the Lake so many goddamn times that my sex drive was brutally murdered Kawa rocks — byuu |
Trax |
| ||
Yellow Stalfos Level: 71 Posts: 20/1145 EXP: 3035501 Next: 131613 Since: 07-06-07 From: Québec Last post: 3625 days Last view: 2877 days |
Can you explain in more details?
I plan to code a Tile Editor right away... |
Kawa |
| ||
CHIKKN NI A BAAZZKIT!!! 80's Cheerilee is best pony Level: 138 Posts: 424/5344 EXP: 30941933 Next: 721048 Since: 02-20-07 From: The Netherlands Last post: 4497 days Last view: 2632 days |
Wait what? You "plan to code a tile editor", yet you do not (yet) understand bytewise positioning? Do you at least understand that the NES is the only console (as far as I can tell, arcades notwithstanding) that has dedicated CHR banks? ____________________ Wife make lunch - Shampoo Opera - give it a spin Spare some of your free time? <GreyMaria> I walked around the Lake so many goddamn times that my sex drive was brutally murdered Kawa rocks — byuu |
Trax |
| ||
Yellow Stalfos Level: 71 Posts: 23/1145 EXP: 3035501 Next: 131613 Since: 07-06-07 From: Québec Last post: 3625 days Last view: 2877 days |
Okay, I think it's a terminology issue, here...
I know how tiles are coded, no problem with that... Actually, I have a lab which is working with ROMs using CHR banks. I just start from the offset defined in the header and take each 16-byte line to render the tiles... But if the ROM has no CHR bank, does it mean that I have to use an individual table of offsets for each game? The program can't possibly "guess" where the tile data is located... |
Kawa |
| ||
CHIKKN NI A BAAZZKIT!!! 80's Cheerilee is best pony Level: 138 Posts: 428/5344 EXP: 30941933 Next: 721048 Since: 02-20-07 From: The Netherlands Last post: 4497 days Last view: 2632 days |
Indeed so. You don't use a table though.
What the editors do is start from the zero offset in ROM and interpret all data as if they're tiles. This means crappy static-like data. You scroll in tile increments, normally, and if they don't line up just right (which -will- happen), you use different scrolling keys/buttons to go byte by byte instead of tiles. This helps align the data. ____________________ Wife make lunch - Shampoo Opera - give it a spin Spare some of your free time? <GreyMaria> I walked around the Lake so many goddamn times that my sex drive was brutally murdered Kawa rocks — byuu |
interdpth |
| ||
Buzzy Beetle Level: 44 Posts: 86/383 EXP: 593609 Next: 17676 Since: 02-22-07 Last post: 4098 days Last view: 4071 days |
I'm not sure how NES games do it
Most most games that have their data, use pointers to figure out such data, mainly a table of pointers, find the table and there you go ____________________ lawl blog http://interdpths.blogspot.com/ |
Trax |
| ||
Yellow Stalfos Level: 71 Posts: 25/1145 EXP: 3035501 Next: 131613 Since: 07-06-07 From: Québec Last post: 3625 days Last view: 2877 days |
Okay, got it. That's exactly what I wanted to know... Thanks...
As for pointer tables like interdpth said, this would be more appropriate to implement such a thing in a game-specific editor, where specific tiles or groups of tiles are to be edited... |
Main - ROM Hacking - Tile Mapping with no CHR bank? | New thread | New reply |
© 2005-2023 Acmlm, blackhole89, Xkeeper et al. |
MySQL - queries: 57, rows: 85/85, time: 0.016 seconds. |