Main Site | Forum | Rules | Downloads | Wiki | Features | Podcast

NLSC Forum

Talk about NBA Live 08 here.
Post a reply

unable to use fshline with png files

Sat Nov 17, 2007 5:16 am

Hi guys
i have always been working on nba lives, editing small things for myself, but never doing anything special.
However, i've never had problems until this time...
I was trying to create a portrait for a created player and, after doing almost all the necessary, i had to import the .png image into the fsh file. I tried to use fshline but i didn't really understand what i had to do to work with png files because it only worked with .bmp...I tried in many ways with no result, and my question now is: am i stupid or do i have to find another program?if i'm stupid, can anyone help me with using fshline?? :D
thanks and sorry for my english but i'm italian...

Sat Nov 17, 2007 5:22 am

i'm also sorry if i've put this message in the wrong thread and if anyone had already asked something like that even if i think noone did because i've been looking for something like that for a while...byee

Sat Nov 17, 2007 11:08 am

Are you sure you have the correct version of fshline? 1.1? I use fshline alot and it only generated BMP files if you use the -nfs option, otherwise it generates DDS files and PNG files. To use the PNG files you must delete the DDS files first.

You can also use FSHx to import PNG files, but you have to type the filename in the text box because FSHx will only show you DDS/BMP files.

Sat Nov 17, 2007 5:08 pm

pdub, try to do the same for logos (import .png back to .fsh) with fshline. me and jaosming failed. if you could share me your script in PM, i woud appreciate. i used batch file to: 1) delete .png/.dds in the fshline-generated folder 2) put my new .png into that folder 3) tried to rebuild .fsh using new .png i created.

i used fshline file.fsh -getidx for extracting and fshline file.fsh -setidx for rebuilding .fsh, but instead of rebuilding, the latter command extracted .fsh once again to that folder. i tried typing fshline file\index.fsh command, but then i got unknown file format/unsuccessful termination error.

i would have posted it in PM though, but i'm sure other people are also experiencing this.

Sat Nov 17, 2007 9:29 pm

I don't know about these -getidx / -setidx commands. I've never had to use them.

From my 512 jersey batch-

Code:
impbig /e newyhome.viv newyhomenbk22.fsh newyhomenbk22.fsh

-extracts file from viv

fshline newyhomenbk22.fsh

-exports fsh

fshline "C:\fshline\work\newyhomenbk22.fsh

-exports fsh with directory path(don't need second quote at the end, just the first to tell fshline it's a path)

fshline "C:\fshline\work\newyhomenbk22\index.fsh

-imports from path

impbig /i newyhome.viv newyhomenbk22.fsh work\newyhomenbk22.fsh /c

-imports and compreses fsh back into viv

rd newyhomenbk22 /Q /S

-removes directory

Sun Nov 18, 2007 1:47 am

try to do the same batch import method with logos, and you're gonna be surprised, that it's not working. or at least in my machine

Sun Nov 18, 2007 6:34 am

peo89, if you want to import a png into your portrait fsh open fshx and go to import. Then you have to manually type in the name of the png file because the program only looks for dds and bmp.

Sun Nov 18, 2007 7:38 am

I tried something simple.

Code:
fshline "E:\Games\NBA Live 08\fe\23.fsh
fshline "E:\Games\NBA Live 08\fe\50.fsh


Exported two medium logos. Then I deleted the dds's, and rotated the images in adobe.
Then I ran this.

Code:
fshline "E:\Games\NBA Live 08\fe\23\index.fsh
fshline "E:\Games\NBA Live 08\fe\50\index.fsh


It imported fine. However, this does make me remember a problem fshline has with EA TBL data at the end of a fsh. All overlay graphics have EA TBL's. The header of an EA TBL in hex is 7C01 and when you import with fshline, it changes it to 7C10. This causes the game to crash when it tries to display the image. Dolffin will not open the fsh after this is done, but FSHx sees the image fine.

You know, dolffin has a batch command also, but it only works with DDS files, I think. Check the dolffin directory for these two exe's.

cldolffin.exe
gfshimg.exe

Run one of them from a command prompt and it will show you some information on how to use it.

Mon Nov 19, 2007 12:32 am

thank you guys, before reading your answers i resolved my problem using dolffin, however, i probably had the wrong version of fshline, and i also didn't know how to use the -getidx -setidx commands...
however i have this problem no more so thanks anyway
Post a reply