Jump to content

Problem with replacing images


xiberger

Recommended Posts

Hi, guys!

I've got a huge problem with gfxpak:

After having modified the 3D fans in any given stadium, I want to replace the old image (low1) in cram32.fsh with the new one. And there the problem starts because I can't use a bmp image to start with.

Every time I do that the new image will show up in EAGraph, but when I take a closer look into cram32.fsh with FshEd, the low1 entry is totally messed up (the attachments are all gone and under "Type" is says something about a PS1?). Plus, it doesn't work in the game either, as the 3D crowd isn't displayed correctly.

So, I decide to save the new image as a png file. Funny thing is, now it's the other way around: the entry in FshEd looks ok, but I can't see anything but an image with distorted colors.

Here are the lines I use to extract cram32.fsh (out of the Skydome file in this case) and replace the image:

gfxpak -unpack datastadiumskydnite.big cram32.fsh


gfxpak -rp cram32.fsh jays.png low1

Does anybody know what I'm doing wrong? I think the problem might be related to some sort of color issue (gfxpak keeps prompting something about palette remapping), but I'm not sure.

Any help would be greatly appreciated! Thanks!

xiberger

EDIT: It appears the problem is related to the compression type of the low1 file (which is DXT1). Does anyone know how to solve this problem?

Link to comment
Share on other sites

I'm using version 0.41. I've also tried v. 0.59, but that didn't work either. 0.41 at least attempts to replace the images, whereas 0.59 always comes up with an error message.

Link to comment
Share on other sites

http://www.mindwarped.com/gfshmgr.rar

this contains two files

gfshmgr.exe & d3dx9_25.dll

the command using gfxpak was

gfxpak -rp cram32.fsh jays.png low1
with gfshmgr it would be
gfshmgr.exe -q cram32.fsh -put low1 jays.png

-q puts the program in quiet mode

type "gfshmgr" by itself for more info on the program

type "gfshmgr -examples" for well examples

gfshmgr is part of DOLFFIN Live by NBA2KSTUFF

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...