Results 1 to 10 of 10

Thread: A sprite tile viewer

  1. #1
    Chin's Bartender
    city41's Avatar
    Join Date
    Dec 2010
    Location
    San Jose area

    Posts
    1,551

    A sprite tile viewer

    I've started learning to program the Neo. I decided to take a little detour and whip up a little sprite tile viewer now that I understand the format.

    https://city41.github.io/neospriteviewer/

    No practical value, but fun to play with.

    Here is what RBFF C5/C6 looks like

    Last edited by city41; 12-09-2018 at 11:09 AM.

  2. #2
    Yamazaki's Pupil

    StevenK's Avatar
    Join Date
    Jul 2012
    Location
    UK

    Posts
    4,866
    I have no idea what this means.

    How you been bud?

  3. #3
    Chin's Bartender
    city41's Avatar
    Join Date
    Dec 2010
    Location
    San Jose area

    Posts
    1,551
    Quote Originally Posted by SteveNK View Post
    How you been bud?
    Pretty good! Insanely busy so haven't been around much. But trying to fix that. How about yourself?

  4. #4
    NEST Puppet
    Hine62's Avatar
    Join Date
    Jul 2005
    Location
    New York

    Posts
    186
    Interesting, nice job! I was able to see my c roms perfectly. All you need now is to include the palettes.

  5. #5
    ForeverSublime's Avatar
    Join Date
    Oct 2001
    Location
    San Francisco

    Posts
    6,223
    Awesome. Keep up the cool work

    /Subscribed to thread.

  6. #6
    Chin's Bartender
    city41's Avatar
    Join Date
    Dec 2010
    Location
    San Jose area

    Posts
    1,551
    Quote Originally Posted by Hine62 View Post
    Interesting, nice job! I was able to see my c roms perfectly. All you need now is to include the palettes.
    Thanks! Palettes are tough since they are loaded into RAM at runtime. Fun challenge though.

  7. #7
    Chin's Bartender
    city41's Avatar
    Join Date
    Dec 2010
    Location
    San Jose area

    Posts
    1,551
    Added support for fix tiles from S roms. Just choose an S file instead of C files.

    Here is Metal Slug's fix tiles


  8. #8
    NEST Puppet
    Hine62's Avatar
    Join Date
    Jul 2005
    Location
    New York

    Posts
    186
    Works great! I was able to see my complete S rom. Nice job.

  9. #9
    Chin's Bartender
    city41's Avatar
    Join Date
    Dec 2010
    Location
    San Jose area

    Posts
    1,551
    Thanks! I originally built this just for fun, but I'm starting to find it useful. So I will probably keep improving it. I just added the tile indices



    Eventually I'll improve the performance of it so it can load an entire tile set from large roms (currently capped at 1024 tiles), but since my homebrew stuff is so small that isn't that important to me (yet).

  10. #10
    Chin's Bartender
    city41's Avatar
    Join Date
    Dec 2010
    Location
    San Jose area

    Posts
    1,551
    Doh, just realized I had a bad bug this whole time. I was accidentally reading the C1 ROM twice, so at most a tile had 4 colors

    That is now fixed. That also made it clear a greyscale palette is not good enough, so now it's an alternating blue/yellow palette.

    Also if you click on a tile, you can see it in detail


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •