|
Post by Bunni on Feb 8, 2022 13:45:03 GMT -5
Oooh smart thinking, Amanda!
|
|
|
Post by KeyGlyph on Feb 8, 2022 16:48:18 GMT -5
Irises are different because they are actually a ball outline color (which can never be textured) instead of a ball color :) And actually this just made me realize - we could make a new version of Pal-ette with all the colors as thick outline colors on a tiny ball and that should make all those texturable colors show accurately! This is blowing my mind. If this could be done, it would be amazing.As I'm sure is already very apparent by now, I never learned to hex, so a lot of this is beyond me. However, this thread did inspire me to take the tiniest crack at it. So, I just taught myself how to hex eye colors! By doing so I've been able to fill out the rest of my chart, which I'll be updating shortly. My only question is this: I sampled colors exclusively from eyes for my hex values, and knowing now that eyes are outline colors and not ball colors, does that mean the colors that correspond to fur and eyelids could be different when not expressed through irises? I did test this theory against at least one of the fur colors (95 or 65) and the hex value came out the same when I compared the GenePoolz fur slot with the eye phenotype, but I didn't test every single one, so I'm not 100% confident.
Another interesting discovery was getting colors that aren't actually "available" for eyes (e.g. 1) to express in irises. I had assumed the game would reject that!
I am thrilled by the infinite wisdom surfacing in this thread. You all are super impressive.
|
|
|
Post by Thor on Feb 8, 2022 20:09:52 GMT -5
So Sharon had another idea? Could you just extract the game palette from the Petz4.exe using LNZ Pro? Short Tutorial from Sharon posted here: You set lnz pro's "open" to show all files, open petz 4.exe, and at the top it says BMP and in that category is PALETTE. Its like a little bmp of a globe. You right click and save the "resource" as whatever you want where ever is easy to find, like the desktop. Then you open irfanview the image editor. And open the palette.bmp with it (you might need to set it to look for all files too, the palette bmp might not actually have the bmp file extension attached but it'll have whatever name you gave it). and then I think in the menu under image you can click edit palette, and it shows the palette Like this And then use that? Would that be accurate?
|
|
|
Post by Bunni on Feb 9, 2022 9:05:38 GMT -5
Ooo yeah! You can actually do that with any pet photo you take from the game; no need for LNZ Pro ^^ For example, here's my current petz0.png in my Petz Pix folder: Open it in Photoshop and then go to... And voila: This example uses Photoshop, but like Thor/Sharon said, there are other image editing apps you could use to extract the palette too. Amanda taught me this trick! EDIT:Hmm, I decided to try out extracting that little globe bmp from the petz exe using LNZ Pro and check out its color palette too. Interestingly, it came out a little different. This one doesn't seem accurate to me though, because if you look at the color 229 it is a bright red. As shown in one of my earlier posts in this thread, 229 appears navy in my game (which matches the palette extraction from my petz0.bmp). Anyone know what's up with that? amanda ? Hmm, my guess is that this is the palette that the game developers put into the game to be used. Mine perfectly matches the one Thor shared. But when I run the game on my Mac, not all of these colors display as intended. Although wait, 229 is meant to be red?! So it isn't displaying correctly for anyone at this point? Huh. Interesting... Hmm I guess if you edit the color palette in this globe bitmap, and then import/overwrite the old one using LNZ, you would change the colors in your game? That must be how Lida has a petz4.exe with a range of purples for her Spyro hex.
|
|
|
Post by Thor on Feb 9, 2022 10:30:46 GMT -5
Hmm I guess if you edit the color palette in this globe bitmap, and then import/overwrite the old one using LNZ, you would change the colors in your game? That must be how Lida has a petz4.exe with a range of purples for her Spyro hex. Yes that's exactly how you do that. I think it makes PetzA stop working though if you change the Petz4.exe in this way (sad) Also more reading material: whiskerwick.boards.net/thread/5795/tentative-treatise-modyifying-color-palette
|
|
|
Post by Bunni on Feb 9, 2022 11:25:46 GMT -5
Ooh nice! Thanks for linking that thread, Thor!!
|
|
|
Post by KeyGlyph on Feb 9, 2022 13:43:50 GMT -5
So Sharon had another idea? Could you just extract the game palette from the Petz4.exe using LNZ Pro? Short Tutorial from Sharon posted here: You set lnz pro's "open" to show all files, open petz 4.exe, and at the top it says BMP and in that category is PALETTE. Its like a little bmp of a globe. You right click and save the "resource" as whatever you want where ever is easy to find, like the desktop. Then you open irfanview the image editor. And open the palette.bmp with it (you might need to set it to look for all files too, the palette bmp might not actually have the bmp file extension attached but it'll have whatever name you gave it). and then I think in the menu under image you can click edit palette, and it shows the palette Like this And then use that? Would that be accurate? That's incredible. I followed Sharon's instructions, did the thing, and yes -- this is the answer! This is the true authoritative source. I've updated the hex color values in the chart on the first page with the ones sampled from this direct-from-game palette extraction. Some of the values were slightly different than the ones gleaned from GenePoolz, which demonstrates that although GenePoolz is pretty dang close with its color displays, it's not perfect. Sometimes it just misses by a hair. Thank you all for your work and insight on this. I have learned so much in just a few days!
|
|
Nucleotide
Petz Groomer
your local oddballz enthusiast
Posts: 101
Petz Versions: 4, 1
|
Post by Nucleotide on Feb 9, 2022 14:59:53 GMT -5
I've cracked open the petz exe in Resource Hacker before and there's a file in plaintext that has the hex values of every defined color (Excluding most of the higher colors, which are all defined as #00FF00 green) which you could probably compare to
|
|
|
Post by Bunni on Feb 9, 2022 15:17:23 GMT -5
Oooo, yes! You're right, Nucleotide. They are all listed out as a text file inside petz4.exe.
It seems to be offset by one? I'm not sure what the first one, 000300 is for. But 0 is 000000, 1 is 800000, 2 is 008000, etc. You could copy it into a spreadsheet so you could easily have a column that corresponds the color number with the hex code ^^
// cluts from file: green_pal
128 PAL BEGIN
'00 03 00 00'
'00 00 00 00'
'80 00 00 00'
'00 80 00 00'
'80 80 00 00'
'00 00 80 00'
'80 00 80 00'
'00 80 80 00'
'C0 C0 C0 00'
'D8 D0 C8 00'
'40 28 40 00'
'FF F9 EE 00'
'F9 F3 E7 00'
'F2 EC E0 00'
'EB E6 D9 00'
'E5 DF D2 00'
'DE D9 CB 00'
'D7 D2 C5 00'
'D1 CB BE 00'
'CA C5 B7 00'
'C3 BE B0 00'
'99 99 99 00'
'8F 8F 8F 00'
'85 85 85 00'
'7B 7B 7B 00'
'71 71 71 00'
'67 67 67 00'
'5E 5E 5E 00'
'54 54 54 00'
'4A 4A 4A 00'
'40 40 40 00'
'42 42 42 00'
'3A 3A 3A 00'
'33 33 33 00'
'2C 2C 2C 00'
'24 24 24 00'
'1D 1D 1D 00'
'16 16 16 00'
'0E 0E 0E 00'
'07 07 07 00'
'00 00 00 00'
'5E 5E 5E 00'
'57 57 57 00'
'51 51 51 00'
'4A 4A 4A 00'
'44 44 44 00'
'3D 3D 3D 00'
'37 37 37 00'
'30 30 30 00'
'29 29 29 00'
'23 23 23 00'
'7C 43 00 00'
'76 3D 00 00'
'70 38 00 00'
'6A 33 00 00'
'64 2D 00 00'
'5F 28 00 00'
'59 23 00 00'
'53 1D 00 00'
'4D 18 00 00'
'47 13 00 00'
'BE 78 11 00'
'B9 74 11 00'
'B4 71 11 00'
'AE 6D 11 00'
'A9 6A 11 00'
'A4 66 12 00'
'9E 63 12 00'
'99 5F 12 00'
'94 5C 12 00'
'8F 58 13 00'
'FF C9 D1 00'
'FF C6 CF 00'
'FF C2 CD 00'
'FF BE CA 00'
'FF BB C8 00'
'FF B7 C6 00'
'FF B3 C3 00'
'FF B0 C1 00'
'FF AC BF 00'
'FF A8 BC 00'
'A8 29 01 00'
'A4 28 01 00'
'9F 27 01 00'
'9B 26 01 00'
'97 25 01 00'
'92 24 01 00'
'8E 23 01 00'
'8A 22 01 00'
'85 21 01 00'
'81 20 01 00'
'6B 4A 0C 00'
'66 44 0C 00'
'61 3E 0C 00'
'5C 39 0B 00'
'57 33 0B 00'
'51 2D 0B 00'
'4C 28 0B 00'
'47 22 0A 00'
'42 1C 0A 00'
'3D 17 0A 00'
'9A 7A 3C 00'
'96 77 3A 00'
'92 74 38 00'
'8E 71 36 00'
'8A 6D 34 00'
'87 6A 32 00'
'83 67 2F 00'
'7F 63 2D 00'
'7B 60 2B 00'
'77 5D 29 00'
'68 68 8 D 00'
'63 63 87 00'
'5E 5E 82 00'
'59 59 7C 00'
'54 54 76 00'
'4F 4F 71 00'
'4A 4A 6B 00'
'45 45 65 00'
'40 40 5F 00'
'3B 3B 5A 00'
'C2 BB 61 00'
'BD B6 5D 00'
'B9 B0 59 00'
'B4 AA 56 00'
'AF A4 52 00'
'AB 9E 4E 00'
'A6 99 4A 00'
'A1 93 46 00'
'9D 8 D 42 00'
'98 87 3E 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'00 FF 00 00'
'FF 42 00 00'
'FF C7 1A 00'
'80 00 80 00'
'78 60 58 00'
'A8 98 90 00'
'D8 D0 C8 00'
'00 00 00 00'
'00 00 00 00'
'00 00 00 00'
'D8 D0 C8 00'
'A8 98 90 00'
'A8 98 90 00'
'74 63 5A 00'
'00 80 80 00'
'D8 D0 C8 00'
'A8 98 90 00'
'78 60 58 00'
'00 00 00 00'
'FF FF FF 00'
'78 60 58 00'
'00 00 00 00'
'80 80 80 00'
'FF 00 00 00'
'00 FF 00 00'
'FF FF 00 00'
'00 00 FF 00'
'FF 00 FF 00'
'00 FF FF 00'
'A8 98 90 00'
END;
|
|
|
Post by KeyGlyph on Feb 21, 2022 5:33:04 GMT -5
Nucleotide and Bunni, thanks for the continued tidbits! All of this knowledge is very appreciated.
|
|