Got a spare minute? The Archives need some love. See the to-do list to find a way to help.
If you upload a new image make sure you name and categorize it properly. If in doubt, ask an admin or see our FAQ page.

File talk:Whitecity.jpg: Difference between revisions

From Bulbagarden Archives
Jump to navigationJump to search
Line 13: Line 13:
:* JPEG files in a N64 game? That is very odd to me. Provide evidence or the utility/technique used please. I'm not at all familiar on the ROM's file structure and data composition.
:* JPEG files in a N64 game? That is very odd to me. Provide evidence or the utility/technique used please. I'm not at all familiar on the ROM's file structure and data composition.
:Ultimately, I'm undecided what is the better image; a game rip or a screenshot. I need some more people experienced with ROM hacking {{bp|Pokémon Stadium 2}} before I can consider removal. For now, the PNG will stand on {{bp|White City}} until we can get this resolved (unless a moderator has objections). Or should we have both images? --[[User:Wildgoosespeeder|Wildgoosespeeder]] ([[User talk:Wildgoosespeeder|talk]]) 06:32, 21 April 2016 (UTC)
:Ultimately, I'm undecided what is the better image; a game rip or a screenshot. I need some more people experienced with ROM hacking {{bp|Pokémon Stadium 2}} before I can consider removal. For now, the PNG will stand on {{bp|White City}} until we can get this resolved (unless a moderator has objections). Or should we have both images? --[[User:Wildgoosespeeder|Wildgoosespeeder]] ([[User talk:Wildgoosespeeder|talk]]) 06:32, 21 April 2016 (UTC)
::* Yes, Pokémon Stadium upscales these backgrounds from their original size before displaying them. The original size is visible in other parts of the game; for example, the battle scenes in the credits (Jasmine vs. Brock, etc.) are the same type of image and are displayed at their original size.
::* Yes, the locations that get added over time such as bridges and caves in Gym Leader Castle are small images containing the new feature that get overlaid on top of the background image. That’s why in screenshots things like the forest and the sea look blurry while the other locations are crisp. If you look closely you can see artifacts forming a square around each location. This is also used to add new locations as the game progresses (e.g., Rival’s cave, Red’s cave). Since a picture’s worth a thousand words, here’s a screenshot where I’ve swapped the daytime White City with the nighttime version: [http://iimarck.us/etc/stadium2-overlays.png]
::* Yes, they really are JPEG files. Backgrounds are one of many data tables in Stadium 2, formatted as a set of pointers to “PRESJPEG,” a simple header format that basically just provides the dimensions of the image and is followed by raw JPEG data. This particular image is located from offsets 0x1E92E20–0x1EA5478 in the Pokémon Stadium 2 USA ROM (MD5 1561c75d11cedf356a8ddb1a4a5f9d5d).
::Since you’re asking for my qualifications, I’ve done extensive reverse engineering of the Gen I/II Pokémon games. Extracting data and code from [https://github.com/pret/pokestadium/tree/master/stadiumgs Stadium 2] is one of my current projects.
::I don’t like having the user interface elements in the screenshot, but it is true that the ripped background has a lower resolution for the parts with overlays. Probably the best option in the end would be to rip the overlays as well and use them to generate a clean image free of the text box and Magneton. I’ll plan to do that, but I haven’t found how the overlays are stored yet. [[User:IIMarckus|IIMarckus]] ([[User talk:IIMarckus|talk]]) 07:26, 21 April 2016 (UTC)