News: 11 March 2016 - Forum Rules
Current Moderators - DarkSol, KingMike, MathOnNapkins, Azkadellia, Danke

Author Topic: Mrs. Pac-Man (Tengen NES Port) Text and Color Palette Help!  (Read 949 times)

Supergamerguy

  • Full Member
  • ***
  • Posts: 176
  • Retro game fanatic; loves platformers, hates jrpgs
    • View Profile
Mrs. Pac-Man (Tengen NES Port) Text and Color Palette Help!
« on: October 17, 2020, 11:16:55 pm »
Before I say anything, I just wanted to let the people reading this know that the only documented work on this game is a simple document on editing Mazes for this port made in 1999.

Which is why I cannot figure out how to hack some of the elements of this game. I cannot find certain color palettes within the hex code (I can find them within the NES ROM and PPU Memory though, but those effects are not permanent), and a study of the games text graphics led me to a failed table file and an inability to edit any of the messages within the game to match my hack. Can anybody shed some light on this issue? I will try to provide as much info as possible to ease the process:

Possibly Compressed Color Palettes:
11 01 30 - Score Text
21 01 30 - Ghost Score Text Colors
05 1A 30 - Cherry, Strawberry, and Apple Colors
1A 16 30 - Orange (fruit), Pretzel, and Pear Colors
28 30 0F - Banana Colors

I was able to find these in the Hex, but editing them (for some reason) had no effect as far as I could tell:
11 25 30 - Blue and Pink Ghost
05 16 30 - Red and Orange Ghost


Main Text Tile Locations:
0-9: 80-89
: (corresponds with) 8A
': 8B
<: 8C
!: 8D
-> (arrow): 8E
?: 8F
©: 90
A-Z: 91-AA
(Again, I made a table file in Tblater.exe, but all it gave me in FCEUX was a bunch of gibberish when I loaded it up).

ROM Info:
Database match: Ms. Pac-Man (USA) (Tengen) (Unl)
Database: No-Intro: Nintendo Entertainment System (v. 20180803-121122)
File SHA-1: 93010514AA1300499ABC8F145D6ABCDBF3084090
File CRC32: A4A116F1
ROM SHA-1: 78FAFABFF0EE4092CC505E003385CEFA43AF3CB5
ROMCRC32: 43D30C2F

OR

Database match: Ms. Pac-Man (Tengen) [!].nes
Database: No-Intro: Nintendo Entertainment System (v. 20180803-121122)
File SHA-1: 93010514AA1300499ABC8F145D6ABCDBF3084090
File CRC32: A4A116F1
ROM SHA-1: 78FAFABFF0EE4092CC505E003385CEFA43AF3CB5
ROM CRC32: 43D30C2F

Some emulators display the game wrong, with vertical glitches, so here's a patch I made in NESTopia to fix the issue: https://drive.google.com/file/d/1-5Tz77SYqPqQ9iIKrcn6ZqX7i6qphPb6/view?usp=sharing



Thank you for any help you can give me!
« Last Edit: October 18, 2020, 08:04:47 am by Supergamerguy »
Dah-nuh-nuh-nah! Super fighting robot! Dah-nuh-nah-nah! MEGA MAN! Fighting.......to save.......the world!!!!!

Cyneprepou4uk

  • Hero Member
  • *****
  • Posts: 533
  • I am the baldest romhacker
    • View Profile
Re: Mrs. Pac-Man (Tengen NES Port) Text and Color Palette Help!
« Reply #1 on: October 18, 2020, 04:09:20 am »
Colors can be found by googling their bytes in a rom. Text uses standart ascii encoding.

iromhacker.ru - NES ROM hacking tutorials for beginners. Please use Google Translate browser extension

Supergamerguy

  • Full Member
  • ***
  • Posts: 176
  • Retro game fanatic; loves platformers, hates jrpgs
    • View Profile
Re: Mrs. Pac-Man (Tengen NES Port) Text and Color Palette Help!
« Reply #2 on: October 18, 2020, 11:18:47 am »
The Standard ASCII Text Format worked like a charm! But I think I have been "googling" strands of Hex like the colors shown below and successfully editing some of them (namely, Mrs. Pac-Man and Pac-Man's colors and the maze colors) with no problem, but some of the color palettes only show up at the exact moment they are called onto the screen and aren't there when the Maze loads up, which led me to believe they may be compressed or written differently than the pre-loaded color palettes in the hex code. Is there any way I can find these "hidden" palettes?
Dah-nuh-nuh-nah! Super fighting robot! Dah-nuh-nah-nah! MEGA MAN! Fighting.......to save.......the world!!!!!

Cyneprepou4uk

  • Hero Member
  • *****
  • Posts: 533
  • I am the baldest romhacker
    • View Profile
Re: Mrs. Pac-Man (Tengen NES Port) Text and Color Palette Help!
« Reply #3 on: October 18, 2020, 01:08:04 pm »
Yes, you can use debugger to trace where these values are taken from. Or you can try to change highlighted bytes with code/data logger
iromhacker.ru - NES ROM hacking tutorials for beginners. Please use Google Translate browser extension