Newest Hacks

Brightness fix SMAS + SMW  Improvement Latinfix Super Royal Pals.

Newest Translations

Zelda II: The Adventure of Link Lunar Pool Final Fight Adventure Island

Newest Utilities

sf_decrunch Elemental Gearbolt (PSX) BIN repacker Super Gokuden 1 Translation Tools DashEditor - Mega Man Legends Translation Toolkit

Newest Reviews

Super Princess Sis - Two Drunk Princess (Two Players Hack) Ganbare Goemon 3: Shishi Juurokubee no Karakuri Manjigatame Ganbare Goemon 2: Kiteretsu Shougun Magginesu Pac-Mania arcade style tiles/sprites/colors
  • Hacks | Super Princess Sis - Two Drunk Princess (Two Players Hack)
  • Translations | Ganbare Goemon 3: Shishi Juurokubee no Karakuri Manjigatame
  • Translations | Ganbare Goemon 2: Kiteretsu Shougun Magginesu
  • Hacks | Pac-Mania arcade style tiles/sprites/colors

Newest Homebrew

4 Way Play test ROM Retail Clerk '89 Sega Genesis 6 button controller test Parachute

Featured Hack Images

SMA2 - Super Mario World Color Restoration Metroid Origin Big Boo's Revenge Rockman Cray

Featured Translation Images

Fate/Stay Night Demo Puyo Puyo! 15th Anniversary Mega Man Pokémon: Yellow Version - Special Pikachu Edition

Recent Updates

Automatic Line-Wrap Example ASM

Source Code

Description:

This is some source code to a automatic word-wrap hack from KingMike’s Translations Shell Monsters Story translation. It was useful as the translation had used some long names and it would have been difficult to format the line-breaks used in the original code to make good use of available window space with all possible situations.

It can be useful if a game buffers a full text window to RAM before it outputs to the screen, as this routine shifts around the text in the time between.

It was found in 2014 on a floppy disk from 2003, then rewritten to use as example code. It is uncertain if this code is the final tested code, as KingMike tended to plan his NES ASM hacks in text documents but insert in hex, and may not have updated all changes to his code. Still this should be good at least for concept-understanding purposes.

Links:

User Review Information

No User Reviews!