User:Supermariofan67: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
No edit summary
Line 60: Line 60:
parallel 'convert -trim '{}' './png/{}'' ::: *.png</nowiki><br><nowiki>
parallel 'convert -trim '{}' './png/{}'' ::: *.png</nowiki><br><nowiki>
cd png</nowiki><br><nowiki>
cd png</nowiki><br><nowiki>
autopng</nowiki><br><nowiki>
mkdir optimized</nowiki><br><nowiki>
parallel 'pngout '{}' './optimized/{}' ; zopflipng --lossy_transparent -m -y './optimized/{}' './optimized/{}'' ::: *.png</nowiki><br><nowiki>
cd ..</nowiki><br><nowiki>
cd ..</nowiki><br><nowiki>
mv png/optimized/*.png trimmed</nowiki><br><nowiki>
mv png/optimized/*.png trimmed</nowiki><br><nowiki>
Line 66: Line 67:
|
|
|}
|}
==Mario-related games {{PAGENAME}} plays==
==Mario-related games {{PAGENAME}} plays==
===''Super Mario'' series===
===''Super Mario'' series===

Revision as of 23:35, July 3, 2019

Navigation: (User pageTalk pageSandbox 1Sandbox 2File Maintenance Project PageStatusSignature)
Status: Slightly active. I have more free time now so I'll probably spend more time here. (Updated 00:02, June 8, 2021 (EDT))
Current project: Replacing and uploading Mario Kart Wii and New Super Mario Bros. Wii screenshots, doing various file maintenance (mostly for those two games).
Supermariofan67 across NIWA
ARMS Institute icon.png Bulbapedia icon.png Dragalia Lost Wiki icon.png Fire Emblem Wiki icon.png F-Zero Wiki icon.png Golden Sun Universe icon.png Hard Drop Tetris Wiki icon.png Icaruspedia icon.png Inkipedia icon.png Kingdom Hearts Wiki icon.png Kovopedia icon.png Lylat Wiki icon.png Metroid Wiki icon.png MiiWiki icon.png Mystery Dungeon Franchise Wiki icon.png NintendoWiki icon.png Nookipedia icon.png Pikipedia icon.png Pikmin Fanon icon.png Rhythm Heaven Wiki icon.png SmashWiki icon.png Starfy Wiki icon.png StrategyWiki icon.png Super Mario Wiki icon.png Ukikipedia icon.png Drawn to Life Wiki icon.png Wars Wiki icon.png WikiBound icon.png WiKirby icon.png Xeno Series Wiki icon.png Zelda Wiki icon.png

Template:Character-infobox Supermariofan67 is a User of the Super Mario Wiki. He has a Wii U and Switch and is a fan of the Super Mario series and Mario Kart series. He likes rewriting/expanding articles and adding/replacing images.

Supermariofan67's Userbox Tower
en-n
vg-3
prog-1
sprite-1
PNG
File:Penguin.png
Artwork of Baby Peach for Mario Kart Wii (also used in Mario Super Sluggers and Mario Kart Tour)
Artwork of Yoshi in Mario Party 10 (also used in Super Mario Party and Mario Kart Tour)
The Wii.
File:SmG.jpg
File:Mario Series Logo.PNG
Music.gif

Tech Stuff

A method to automatically optimize all PNGs in a folder

This should be equivalent to running PNG Monstrous with the pngout and zopflipng options enabled. This script requires zopflipng, pngout, and GNU Parallel. It will run pngout and zopflipng on all PNGs in the current directory and output the optimized images to the ./optimized directory (only if the resulting file is smaller). Zopfli uses the -m ("compress more: use more iterations") and --lossy_transparent ("remove colors behind alpha channel 0. No visual difference, removes hidden information.") options. It will compress multiple images in parallel, up to the number of CPU cores in your computer. You will also need to download pngout from the AUR or manually and place it in your PATH. Zopflipng and parallel can usually be installed with your package manager.

#!/bin/bash
mkdir optimized
parallel 'pngout '{}' './optimized/{}' ; zopflipng --lossy_transparent -m -y './optimized/{}' './optimized/{}'' ::: *.png

Getting Screenshots from Wii U

In the past, it was possible to get screenshots from Wii U games by accessing the Wii U's internet browser during gameplay and uploading images to Dropbox or a site like Imgur or Postimg. However, these sites now use newer web standards that are not supported by the Wii U's browser, so they no longer work on the Wii U. However, after reading through Reddit posts about it I found a way to get screenshots to your computer using this HTTP file server software. You must run the program, set a target directory for files as described in its instructions, find your computer's internal IP on your network, and access that IP from your Wii U browser, where you can upload the images straight to your computer. It uses older web standards (for now at least) that are supported by the Wii U, and it can run on Wine on Linux/MacOS.

In addition, it is still possible to upload straight to MarioWiki from the Wii U if no cropping is required on the computer.

Some common confusion about SMG/2 images

To clarify some definitions: upscaling isn't the same as rendering above native resolution. An image is upscaled when the file's resolution is higher than the resolution of its content (for example, when a game is rendered at 1x native resolution but screenshot in Dolphin's full screen mode, or if the image is artificially resized with an image editor.) This causes unnecessary file bloat and should usually be discouraged. However, this is not the same as setting the emulator to render above native resolution (in multiples of the native resolution via the Auto setting in Dolphin.) This produces images whose actual content is in high resolution, and thus does not waste file size. According to Wildgoosespeeder (talk)'s screenshot guide, it is acceptable to capture Wii screenshots above 1x native resolution due to Dolphin's inconsistencies with producing native resolution screenshots without upscaling or stretching (read that guide for more info). For SMG/2, I follow that guide to produce 1920x1048, above native screenshots. I usually replace an SMG/2 image if:

  • Its aspect ratio is not a multiple of the game's normal widescreen aspect ratio, such as 1920x1054.
  • Its unnecessarily upscaled (e.g., rendered at 1x native but taken in full screen mode).
  • Its not an emulator screenshot (e.g., from a YouTube video).
  • I can get a better view of the subject

Tricks with imagemagick

Mario on the Bob-omb Planet in the Space Storm Galaxy.
Example result.
  • Using ImageMagick, it is easy to stack two or more images vertically using the command convert -append -gravity Center 1.png 2.png out.png. See left side for example.
  • It is easy to crop images (such as artworks) to their content (removing the surrounding solid color or alpha space) with convert -trim in.png out.png. If there is any slight shading that needs to be cropped over, use the -fuzz x% option, where x is a low number (try 3 or 6 first). See below for a script to bulk trim and compress all images in a folder.

Cropping to content and compressing with one script

This will crop all jpgs or pngs in a folder to their content and optimize any PNGs, placing them in the trimmed directory. The remaining png directory is the unoptimized pngs.

#!/bin/sh
mkdir png trimmed
parallel 'convert -trim -quality 94 '{}' './trimmed/{}'' ::: *.jpg
parallel 'convert -trim '{}' './png/{}'' ::: *.png
cd png
mkdir optimized
parallel 'pngout '{}' './optimized/{}' ; zopflipng --lossy_transparent -m -y './optimized/{}' './optimized/{}'' ::: *.png
cd ..
mv png/optimized/*.png trimmed

Mario-related games Supermariofan67 plays

Super Mario series

Mario Kart series

Donkey Kong series

Other Mario-related games

Big projects he has completed