Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
1 user currently in Super Mario World hacking: labmaster | 3 guests
Acmlm's Board - I2 Archive - Super Mario World hacking - Tile Counter v0.5 | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
User Post
Juggling Joker

Boomerang Brother
SMW Hacking Moderator
Yeah, JAMH is still being worked on.
Level: 48

Posts: 572/1033
EXP: 811447
For next: 12096

Since: 03-15-04
From: Wyoming

Since last post: 2 days
Last activity: 3 hours
Posted on 03-06-05 08:01 PM Link | Quote
Main page. Scroll to the bottom for the download link. Consider this an open beta. Report any bugs here and I'll deal with them as they come.

From the readme:

=================
Tile Counter v0.5
by Juggling Joker
=================

--------------------
0. Table of Contents
--------------------

1. Version History
2. Explanation
3. Using Tile Counter
4. Future Versions
5. Contact Info


------------------
1. Version History
------------------

0.5 - *This release.* Only recognizes SNES 4BPP format. Does not support reading from a selected part of the file.


--------------
2. Explanation
--------------


Really, this program is only useful for those SMW Hackers out there who would like to streamline their graphics by eliminating redundant tiles, or make tile counting easy for M16-7K users. It goes through the file provided, and stores a copy of each unique tile it finds in memory. For you tech heads out there, don't worry too much about running out of memory for large files, there is a size restriction in place to prevent that. If you have a file that has more than 1000 unique tiles (the current cutoff), let me know, and I'll up the limit.


---------------------
3. Using Tile Counter
---------------------

Using Tile Counter is fairly simple. You can either run it from the command prompt or straight from Windows. It will ask for the file you wish to load, make sure you include the extension! After that, things are pretty much on autopilot. Once the program is finished, it will output the number of unique tiles it found, and you're done! Simple, eh?


------------------
4. Future Versions
------------------

I have a couple other planned features if there is enough demand for them.

Examples include:

- Support for other formats
- Options to read only a selected portion of the file
- Maybe a Windows App

Other suggestions are of course encouraged, just keep the basic function of the program in mind. This is not an editor by any means!


---------------
5. Contact Info
---------------

You can reach me at either jugglingjoker@gmail.com OR board.acmlm.org under the SMW Hacking forum. My username, quite obviously, is Juggling Joker.
Jesper
Busy, busy, busy.
Level: 69

Posts: 2184/2390
EXP: 2856000
For next: 13743

Since: 03-15-04
From: Sweden.

Since last post: 176 days
Last activity: 79 days
Posted on 03-06-05 08:59 PM Link | Quote
I once saw one of BMF's screenshots where he had basically done this by hand since he was used to it from NES development. Tools that help this are encouraged, especially with more and more intense graphics and big tilesets!
Juggling Joker

Boomerang Brother
SMW Hacking Moderator
Yeah, JAMH is still being worked on.
Level: 48

Posts: 575/1033
EXP: 811447
For next: 12096

Since: 03-15-04
From: Wyoming

Since last post: 2 days
Last activity: 3 hours
Posted on 03-06-05 10:09 PM Link | Quote
I plan on adding support for testing all permutations of tiles, too, in case anyone was curious. What this means is that flipped tiles that are otherwise identical will still register as the same tile. Another planned feature is the option to output the findings of the program into an external file, for ease of eliminating redundancies. Finally, an option to reoutput the file (backing up the original, of course) with all the redundancies eliminated. Let me know if you have any other features that would be a good addition to this program.
The Kirby

Red Goomba
Level: 12

Posts: 9/48
EXP: 6321
For next: 1600

Since: 11-06-04
From: At My House

Since last post: 13 days
Last activity: 64 days
Posted on 03-07-05 12:01 AM Link | Quote
Awesome! This is just what I needed! Thanks!

Oh! I forgot to mention that the program could really use a option for setting how big the tiles you want to have counted. Such as 8 x 8 and 16 x 16.


(edited by The Kirby on 03-06-05 03:07 PM)
Juggling Joker

Boomerang Brother
SMW Hacking Moderator
Yeah, JAMH is still being worked on.
Level: 48

Posts: 578/1033
EXP: 811447
For next: 12096

Since: 03-15-04
From: Wyoming

Since last post: 2 days
Last activity: 3 hours
Posted on 03-07-05 12:21 AM Link | Quote
Counting 16x16 is kinda silly, considering that I can't think of a graphics format (for a console, anyway) that is stored in 16x16 tiles.
The Kirby

Red Goomba
Level: 12

Posts: 10/48
EXP: 6321
For next: 1600

Since: 11-06-04
From: At My House

Since last post: 13 days
Last activity: 64 days
Posted on 03-07-05 01:03 AM Link | Quote
Well, I just tested the program with a 8 x 8 BMP and it said there are 5 unique tiles??? What the...? I also used it with my original Hilly.bmp and it brought up around 700 unique tiles. I know that can't be right if this counts 8 x 8 tiles.
Juggling Joker

Boomerang Brother
SMW Hacking Moderator
Yeah, JAMH is still being worked on.
Level: 48

Posts: 579/1033
EXP: 811447
For next: 12096

Since: 03-15-04
From: Wyoming

Since last post: 2 days
Last activity: 3 hours
Posted on 03-07-05 01:18 AM Link | Quote
That's probably because the program only reads (or should I say understands?) 4bpp SNES format. There will probably never be support for bitmaps, seeing as how it's not a tile based format.

PS: I'm nearly finished with the next version, which can determine if a tile is just a flipped version of another one. I need a test file to run it on, though.


(edited by Juggling Joker on 03-06-05 04:20 PM)
The Kirby

Red Goomba
Level: 12

Posts: 11/48
EXP: 6321
For next: 1600

Since: 11-06-04
From: At My House

Since last post: 13 days
Last activity: 64 days
Posted on 03-07-05 02:33 AM Link | Quote
What about other formats such as PCX?
Juggling Joker

Boomerang Brother
SMW Hacking Moderator
Yeah, JAMH is still being worked on.
Level: 48

Posts: 582/1033
EXP: 811447
For next: 12096

Since: 03-15-04
From: Wyoming

Since last post: 2 days
Last activity: 3 hours
Posted on 03-07-05 02:49 AM Link | Quote
PCX is a slim possibilty, because I would have to convert from PCX to SNES before testing it anyway (PCX isn't tile based either, as far as I know), which would be a waste of time. PCX2SNES is a fine enough program.
Sukasa

Boomboom
Error 349857348734534: The system experienced an error.
Level: 57

Posts: 124/1981
EXP: 1446921
For next: 39007

Since: 02-06-05
From: *Shrug*

Since last post: 6 days
Last activity: 1 day
Posted on 03-08-05 02:24 AM Link | Quote
With PCX, Couldn't you (once you have a GUI), have the user show the program where the PIC2SNES exe is, then have your program call it, then use the output from that program?
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
Acmlm's Board - I2 Archive - Super Mario World hacking - Tile Counter v0.5 | |


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.017 seconds.