News: 11 March 2016 - Forum Rules
Current Moderators - DarkSol, KingMike, MathOnNapkins, Azkadellia, Danke

Author Topic: Newbie title screen editing, Spy vs Spy The Island Caper  (Read 3753 times)

frsj8112

  • Jr. Member
  • **
  • Posts: 67
    • View Profile
Newbie title screen editing, Spy vs Spy The Island Caper
« on: December 30, 2014, 07:40:14 pm »
Hi guys!

My first post here and I'm trying to edit the title screen on Nangoku Shirei!! - Spy vs Spy.

This is what I'm starting with:


Considering that this is the first time I've tried manipulating any graphics of some sorts I figured that I could start with changing the year of release from 1987 to 2014.
So I started with FCEUX and using the Name Table Viewer to find out the TileID and redraw them in Tile Layer Pro.

Then I thought that I might replace the title screen with something that's easy to find in Hexedit, so I replaced all tiles with © and ® and alternating between rows.

Then I ended up with this:


But I also want to fill these gaps that I've drawn across with a red marker:


And this is where I get stuck.

The hexcode for the  © and ®  alternating  rows looks like this:


I've color mapped the TileIDs corrosponding to © and ® (being D8 and D9).
What's bugging me are the ones that are circled with red marker.
They seem to be some kind of "filler" where the first byte (F0) is a tile that has no graphics in it (same as F1).

See this image for the nametable (?)


And the second byte is the amount of tiles that will be filled with the information from the first byte (F0 or F1).
If I change the second red-circle-byte-pair from F0 09 -> F0 08, I end up with this:

You can see that some tiles have changed color palette.

Long first post, but is there some way to change the amount of "fillers" without having the palette crash?

Thanks
Fredric
« Last Edit: January 26, 2015, 03:29:48 pm by frsj8112 »

KingMike

  • Forum Moderator
  • Hero Member
  • *****
  • Posts: 6810
  • *sigh* A changed avatar. Big deal.
    • View Profile
Re: Newbie title screen editing
« Reply #1 on: December 30, 2014, 09:48:39 pm »
It's looking like a simple compresion: when there is an FF, the following two bytes are a tile to repeat and the number of times.
You can add tiles, but then you'd have to remove some somewhere else to make sure the total size of the compressed data matches (or move the title data if there's room in the same ROM bank).
"My watch says 30 chickens" Google, 2018

frsj8112

  • Jr. Member
  • **
  • Posts: 67
    • View Profile
Re: Newbie title screen editing
« Reply #2 on: December 31, 2014, 07:14:02 am »
Ah, I should've known!

Do you have any ideas on how that would be possible, like an example?

M-Tee

  • Hero Member
  • *****
  • Posts: 595
  • One pixel at a time…
    • View Profile
    • M-Tee Retro Graphics
Re: Newbie title screen editing
« Reply #3 on: December 31, 2014, 07:23:01 am »
That's not necessary. You have plenty of space, even with the repeated tiles. You should edit the number of repeats to result in a perfectly centered rectangle, probably one row shorter than what's there. Just make sure that you're using the same amount of data to do it.

The palette issue is having to do with the screen's attributes data. It is completely separate and easy to take care of. If no one else helps out and you get your graphics conpletely put in and lined  up, I can help you with the attributes.

frsj8112

  • Jr. Member
  • **
  • Posts: 67
    • View Profile
Re: Newbie title screen editing
« Reply #4 on: December 31, 2014, 07:58:44 pm »
I'm getting somewhere!




M-Tee

  • Hero Member
  • *****
  • Posts: 595
  • One pixel at a time…
    • View Profile
    • M-Tee Retro Graphics
Re: Newbie title screen editing
« Reply #5 on: December 31, 2014, 08:08:03 pm »
That's exactly it. You know you can take a screenshot with F12, right? You don't need to print screen for it.

What design to have in mind for the title screen itself?

frsj8112

  • Jr. Member
  • **
  • Posts: 67
    • View Profile
Re: Newbie title screen editing
« Reply #6 on: December 31, 2014, 08:33:41 pm »
Thanks for the tip M-tee!

I had the US Prototype in mind:

But I'm not trying to replicate the title screen, just using it as a kind of reference.

wyndcrosser

  • Full Member
  • ***
  • Posts: 199
    • View Profile
Re: Newbie title screen editing
« Reply #7 on: January 03, 2015, 11:20:29 pm »
Nice work, always fun finishing a hack, etc.

M-Tee

  • Hero Member
  • *****
  • Posts: 595
  • One pixel at a time…
    • View Profile
    • M-Tee Retro Graphics
Re: Newbie title screen editing
« Reply #8 on: January 04, 2015, 12:30:01 am »
That's not the finished one. That's his inspiration.

Dr. Floppy

  • Restricted Access
  • Hero Member
  • *
  • Posts: 972
  • Make America GREAT Again!
    • View Profile
    • BaddestHacks.net
Re: Newbie title screen editing
« Reply #9 on: January 08, 2015, 08:22:43 am »
The palette issue is having to do with the screen's attributes data. It is completely separate and easy to take care of. If no one else helps out...
Floppysignal activate!

Dr. Floppy's Guide to Attribute Hacking

frsj8112

  • Jr. Member
  • **
  • Posts: 67
    • View Profile
Re: Newbie title screen editing
« Reply #10 on: January 09, 2015, 08:05:26 am »
Thanks Floppy!!

frsj8112

  • Jr. Member
  • **
  • Posts: 67
    • View Profile
Re: Newbie title screen editing
« Reply #11 on: January 23, 2015, 03:39:58 pm »
OK guys, I've taken the time to try to finish this now and here's the results



And a video running it on my Powerpak: http://youtu.be/7AfdHA1pA4Y
« Last Edit: January 23, 2015, 03:46:09 pm by frsj8112 »

M-Tee

  • Hero Member
  • *****
  • Posts: 595
  • One pixel at a time…
    • View Profile
    • M-Tee Retro Graphics
Re: Newbie title screen editing
« Reply #12 on: January 25, 2015, 03:15:15 am »
Nice little MAD logo. I can't say that I agree with moving the title below the subtitle though.

frsj8112

  • Jr. Member
  • **
  • Posts: 67
    • View Profile
Re: Newbie title screen editing
« Reply #13 on: January 26, 2015, 10:22:11 am »
M-Tee: yes i know. But that's my next task, to switch them around  :)

January 26, 2015, 03:08:36 pm - (Auto Merged - Double Posts are not allowed before 7 days.)
OK so I've managed to switch the title and subtitle around but here's where the question about the attribute table comes up again.

See vid: http://youtu.be/H0L6yShqHHc

And image:

I've found the background palette here in the hexcode:


And here's the colors:


So what can I do to change the colors?
« Last Edit: January 26, 2015, 03:08:37 pm by frsj8112 »

Proveaux

  • Full Member
  • ***
  • Posts: 117
    • View Profile
Re: Newbie title screen editing, Spy vs Spy The Island Caper
« Reply #14 on: January 26, 2015, 06:55:26 pm »
With out the patch it's hard to diagnose. I believe to fix the the bottom of Island Caper  you need to change 143FF and 14400 to 55.

[Utility] Nes Palette Table Calculator (DONE!)

frsj8112

  • Jr. Member
  • **
  • Posts: 67
    • View Profile
Re: Newbie title screen editing, Spy vs Spy The Island Caper
« Reply #15 on: January 27, 2015, 03:55:51 pm »
Proveaux, I found that changing 143F7 and 143F8 from 00 to A0 fixed the black text  :)



But changing the Spy vs Spy logo seems harder.

Here's how the hex looks like for that area of the ROM: