Retro Hackers LogoGuestLog in

Summer Tree
News
Database
Users
Projects
Game Ports
Videos
Music
Material
Feedback

Light Crusader - Color Palette Optimization Hack

Original game : Light Crusader

Platform : GEN

Author : Segaman

Release date : 11 July 2024

Category : Improvement

Patch version : 1.1

Modifications : G

Downloads : 234

ROM Information

Database match: Light Crusader (USA)
Database: No-Intro: Genesis (v. 20210226-213851)
File/ROM SHA-1: DF58FBCBEDE4B9659740B5505641D4CC7DD1B7F8
File/ROM CRC32: BEB715DC

Hack description

This modification improves the palette transition effects. The code is written from scratch using color tables, which greatly speeds up the game during loading and gameplay.

Also, frame-by-frame animation was removed, which caused the red tint to lag, making the colors seem unnatural and faded. This is actually the main reason behind the idea of ​​this hack - to remove color issues

Inside the code, the palette effect is applied every frame and uses complex math involving the multiply instruction, which uses many CPU cycles and is very taxing on the code. Now all calculations are pre-calculated and stored in a separate table, which uses much fewer CPU cycles for reading.

Features:

v1.0
-Rewritten pallette routine from scratch
-Added color tables for fade effects both to dark and light
-Optimized palette routines provided faster loading times

v1.1
-Fixed fade to white effect on boss defeat or event
-Fixed fade effects on final boss

Note: To work with the double jump hack https://retrohackers.net/hack-details.php?id=8505/, patch the ROM with color first, otherwise the game will crash after you make a jump.

Screenshots

Contributions

ContributorType of contributionDescription
SegamanHackingHacking

Reviews

No reviews yet...