| |||
Views: 88,435,548 |
Main | FAQ | Uploader | IRC chat | Radio | Memberlist | Active users | Latest posts | Calendar | Stats | Online users | Search | 04-19-24 10:57 AM |
|
Guest: Register | Login |
0 users currently in Secret of Mana Hacking | 1 guest |
Main - Secret of Mana Hacking - Title screen background now loading! | New thread | New reply |
Moppy |
| ||
Red Paragoomba Level: 18 Posts: 20/53 EXP: 29100 Next: 797 Since: 09-22-08 From: Syracuse, NY Last post: 2877 days Last view: 2869 days |
Never thought I'd get this to work.
It's stored as a JPEG, of all things. The game takes like twenty seconds to fully decompress and palette it. One of many remaining mysteries solved... |
Eponick |
| ||
Octorok Level: 13 Posts: 19/25 EXP: 8240 Next: 2027 Since: 05-26-12 Last post: 4334 days Last view: 4244 days |
Nice. Didnt know the SNES could even handle something like a JPEG. How did you figure that one out? ____________________ Eastmost penninsula is the secret. |
Moppy |
| ||
Red Paragoomba Level: 18 Posts: 21/53 EXP: 29100 Next: 797 Since: 09-22-08 From: Syracuse, NY Last post: 2877 days Last view: 2869 days |
Lots and lots of debugging, mostly. This is the first I've heard of JPEG being used in an SNES game as well; I was quite surprised when I compared the SOM algorithm I had already traced 75% of the way through and they matched up almost exactly.
"Handle" is a flexible term I suppose.. it does take it around 20 seconds to generate the full image. It starts decompressing when the Squaresoft logo is up. Notice when the screen first comes up, it opens a little window to part of the background--the part it's managed to decompress so far. Once it's done, the music picks up and it opens the rest of the way. Wouldn't be surprised if they stylized it this way just to hide the fact that their algorithm takes so long to generate the background. |
SignZ |
| ||
Newcomer Level: 4 Posts: 2/2 EXP: 189 Next: 90 Since: 01-07-12 Last post: 4338 days Last view: 4415 days |
Sweet, so the title screen can be viewed now. How about editing it?
Also, nice to see you back working on SOMedit. |
Moppy |
| ||
Red Paragoomba Level: 18 Posts: 22/53 EXP: 29100 Next: 797 Since: 09-22-08 From: Syracuse, NY Last post: 2877 days Last view: 2869 days |
Writing the code to import other images for the title background should be .. interesting, to say the least.
I do have to finish the loading, first -- the only thing I'm missing is the paletting. The version I'm showing there is the raw decompressed 24-bit version, which the game does indeed load in that form; unfortunately the platform lacks the capability to display it, so their last step after decompression is to palette it. How this happens is still a bit of a mystery until I get around to tracing through more code :3 Once that is set I should be able to generate optimum palettes for replacement images you import. Re-compression shouldn't be too difficult, my main concern is the need to rewrite some of the existing code to allow the image to be moved or split if needed. I do this automatic code-rewriting already for everything else that is writable and of variable size, but the code they use to read this image in is largely runtime-generated and run out of the 7E RAM bank, so there's really just an extra step I have to deal with before everything can work the way that I like. |
Scrydan |
| ||
Shyguy Level: 22 Posts: 59/92 EXP: 58348 Next: 2 Since: 04-30-12 Last post: 3165 days Last view: 3144 days |
Posted by Moppy So is this why when you fly with Flammie that the one map takes like forever to load bit by bit when you decide to look at the big map? I've always thought it to be interesting on why it loaded so slowly. |
Moppy |
| ||
Red Paragoomba Level: 18 Posts: 23/53 EXP: 29100 Next: 797 Since: 09-22-08 From: Syracuse, NY Last post: 2877 days Last view: 2869 days |
Posted by Scrydan That thing.. is another story. I haven't gotten around to looking at it yet, but yes, it is horribly slow and largely useless as a map to begin with. Fun fact: if you modify the world map with the current version of my editor, then open that map, it crashes. :3 |
kaB00M |
| ||
Newcomer Compromised account. Please contact staff for a password reset. Level: 4 Posts: 1/2 EXP: 185 Next: 94 Since: 07-16-12 Last post: 4294 days Last view: 2780 days |
Hi good sirs.
Posted by Moppy I heard that even today games do this. Loading screens are hiddden all over the place. Most elevators seem to be really loading screens. |
Main - Secret of Mana Hacking - Title screen background now loading! | New thread | New reply |
© 2005-2023 Acmlm, blackhole89, Xkeeper et al. |
MySQL - queries: 72, rows: 88/89, time: 0.016 seconds. |