2X Jerseys and Crashes FIX

Resources for NBA Live 07.

2X Jerseys and Crashes FIX

Postby Patr1ck on Tue Aug 07, 2007 5:50 pm

I noticed alot of people are experiencing crashes when using 2x jerseys. The main reason this is happening is because they are also using updated courts that have extremely high resolution textures. The more high resolution patches you have, the more the game is likely to crash.

The only way to stop the crashing and still use the 2x jersey is to lower the resolution of those court files.

Here's how to do it.

You will need FSHx for lowering the resolution of the fsh's and either one of EAGraph, biggui or Dolffin Live to open the VIV files if there are any. I recommend Dolffin, but most of you already have all the fsh's in your sgsm directory, so you will only need FSHx

I will use the Atlanta Hawks court made by Lagoa. Just to let you know, I don't have any crashes with the Atlanta court, but I have already fixed all the other ones that are going to be available in SUM v2. I open the atla.viv file from the stadia directory in Dolffin Live.
The files we want to pay the most attention to are the crt_vram.fsh and crt.fsh files, with the team abbreviation in front they read as-

atlacrt_vram.fsh
atlacrt.fsh


These files contain the on-court graphics, which have had their resolution increased immensely by court updaters.

We are looking for oversized textures, but how do we spot them? Anything with a resolution of 2048 is oversized. The game can still run with 1024 size textures, but we may need to lower them to 512 because the mipmaps cause extra memory to be used.

Some info about mipmaps.

Mipmaps are scaled down images of the file, and some FSH's have them and some don't. They are used in games when images are visible from far away. One of my gripes about using FSHX to double the resolution of a texture is that it adds an mipmap, and each time it does that it quadruples the size of the file.

For instance,

Say I have a 256x256 texture with no mipmaps and it is ~65 kb when using the DXT3 format.
I 2x it in FSHx and it becomes a 512x512 texture. It's filesize is 4x that of the 256x256 image because both horizontal and vertical resolution have been doubled and 2x2=4. So the 512x512 image is now ~260 kb, and it has one mipmap with a resolution of 256x256 and a size of ~65 kb. The FSH is now ~325 kb. Double it again to 1024x1024 and the size becomes ~1040 kb, but with 2 mipmaps for 512 and 256 resolutions and when we add their file sizes - 1040 + 65 + 260 = ~1365 kb. Double it again and we have a "4x texture", 2048x2048 with a fielsize of ~4160 kb + the 3 mipmaps for 1024, 512, and 256 resolution. That's 4160 + 1365= ~5525 kb. Most court textures are DXT1, which makes them a little bit smaller.

Quite honestly, that shouldn't mean anything. If Live were a true made-for-PC game, it would probably just lower the performance instead of crash it, but every game has thier limits. /rant

Ok, so I looked at the atlacrt_vram.fsh images, and they look ok. I don't see any truly oversized textures. You could half size the owod texture to 128x128 if you needed.

The main one that needs to be half sized is the center court texture, located in the atlacrt.fsh file.

Image

As you can see it's 1024x512 with 5 mipmaps. That means that it contains the following scaled resolutions of that image.

1024x512
512x256
256x128
128x64
64x32

We really don't need any of those except the 1024x512 image or the 512x256 image, but removing the mipmaps is a more advanced process that I may get into at another time so court makers can make their courts high resolution without causing crashes when other high resolution patches are used at the same time.

In Dolffin, we are going to click on the "atlacrt.fsh" to select it, and choose File->Export Blob from the top menu. Just open the FSH in FSHx if you already have the atlacrt.fsh file in your sgsm directory

Now open it in FSHx, select the tlga image and choose Texture->Half-Resolution.

Image

It's very important to use the "Save As" command and change the filename becuase FSHx does not correct the size of the file. I am saving it as 1atlacrt.fsh instead of atlacrt.fsh. Notice the difference in filesize, the new file is much lower in size.

Image

Rename the original atlacrt.fsh to something else, or juse delete it. Then rename the 1atlacrt.fsh to atlacrt.fsh and put it in your sgsm directory if it isn't already. Play the game and hope for no crashes. If it still crashes when you pause the game, or after any quarter break, you may need to lower more textures like the wood or the backboard or the oncourt stadium logos, etc, or even get rid of the mipmaps, which is more advanced and like I said I will get into it later.
Patr1ck
Administrator
Administrator
 
Posts: 13323
Joined: Thu May 19, 2005 5:54 pm
Location: Pasadena, California, US

Postby Angelo on Wed Aug 08, 2007 12:53 am

stickified this hehehehe great totu (Y) (Y) (Y) (Y) hope you can teach me more what yoy have learned pdub hehehehe cus you are my idol (Y) (Y) 8-) 8-)
Image
User avatar
Angelo
Holy Tits
NLSC Team Member
 
Posts: 5895
Joined: Fri Nov 03, 2006 1:40 am
Location: Philippines

Postby Andrew on Wed Aug 08, 2007 8:59 am

Stickied for convenience. :)
User avatar
Andrew
Assist Enthusiast
Administrator
 
Posts: 113903
Joined: Thu Aug 22, 2002 8:51 pm
Location: Australia

Postby McDwyane on Wed Aug 08, 2007 10:13 am

Nice one pdub (Y)
User avatar
McDwyane
 
Posts: 1603
Joined: Tue Dec 26, 2006 4:41 pm
Location: McDwyane's

Postby Albys on Thu Aug 09, 2007 11:40 pm

Great thread, Pdub.
Precious and accurate.
(Y)

Es.
The Detroit Pistons court by Looser was awesome, but the game crash.
Now, after "Pdub Suggestion" :) (i reduce detcrt_vram.fsh by half resolution in name retired players), the court work.

It's very hard use jerseys 2X and Lagoa's or Looser's court + a lot of cyberfaces and tattoos in sgsm, but now i can try.
Thanks!
:wink:

(sorry for english)
if you want to support my works (Realistic Roster and gameplay):
Image
User avatar
Albys
The Roster Father
Contributor
 
Posts: 3052
Joined: Tue Feb 13, 2007 6:12 am
Location: Italia

Postby Patr1ck on Fri Aug 10, 2007 12:59 am

You can all do the same thing with cyberfaces.

There is absolutely no reason to have a cyberface with a higher resolution than 512x512(2x). Most of them look fine at 256x256(1x), and you rarely look at players close enough to see all those extra details.
Patr1ck
Administrator
Administrator
 
Posts: 13323
Joined: Thu May 19, 2005 5:54 pm
Location: Pasadena, California, US

Postby Albys on Fri Aug 10, 2007 5:32 am

Yes, i agree!
In my game don't survive cyberface 3x... and the game crash at least (hardly ever), despite 1 GB of files in sgsm folder. :)
But if i use jerseys 2x the game crash 70-80%.

I try reduce more the resolution of courts...

Pdub, you play with 2x jerseys in all court?


p.s.
Thanks for your aiact 1.2, incomparable! (Y) (Y)
if you want to support my works (Realistic Roster and gameplay):
Image
User avatar
Albys
The Roster Father
Contributor
 
Posts: 3052
Joined: Tue Feb 13, 2007 6:12 am
Location: Italia

Postby Patr1ck on Fri Aug 10, 2007 5:46 am

No, but I have tested and fixed every court(for SUM 2) while using 2x jerseys for both teams playing. I'm not sure if the game has a limit, or if it is based on the power of a player's computer, but when I was fixing the courts for SUM, I went all out fixing as much as possible. Half-sizing just one or two large textures should stop the crashing.

Thanks for the compliments everyone. I hope it works for everybody. :)
Patr1ck
Administrator
Administrator
 
Posts: 13323
Joined: Thu May 19, 2005 5:54 pm
Location: Pasadena, California, US

Postby njkobe on Thu Nov 29, 2007 4:43 am

Thanks for the fix~this is really useful~ (Y)
User avatar
njkobe
The Black Mamba
 
Posts: 1187
Joined: Sun May 11, 2003 3:13 pm
Location: where [CHAMPIONSHIP] happens XD

Postby Albys on Sat Dec 01, 2007 5:54 am

Pdub, is possibile reduce 2X jerseys at the 1X?
(for example new Atlanta 07/08 jerseys by Conr4d...)
if you want to support my works (Realistic Roster and gameplay):
Image
User avatar
Albys
The Roster Father
Contributor
 
Posts: 3052
Joined: Tue Feb 13, 2007 6:12 am
Location: Italia

Postby Patr1ck on Sat Dec 01, 2007 7:30 am

There are 1x atlanta jerseys in the latest NLSC update for 07.
Patr1ck
Administrator
Administrator
 
Posts: 13323
Joined: Thu May 19, 2005 5:54 pm
Location: Pasadena, California, US

Postby Albys on Sun Dec 02, 2007 3:20 am

yes, thanks.
But my question is general, for example the all star game jerseys are only 2X, and others...
Is possibile decrease at 1X?
if you want to support my works (Realistic Roster and gameplay):
Image
User avatar
Albys
The Roster Father
Contributor
 
Posts: 3052
Joined: Tue Feb 13, 2007 6:12 am
Location: Italia

Postby Patr1ck on Sun Dec 02, 2007 7:41 am

Yes, but it would take more work then it would take to fix a court. You would have to extract all the numbers and import them into some other number files that don't have buni files in them(which is how the jersey looks 2x).
Patr1ck
Administrator
Administrator
 
Posts: 13323
Joined: Thu May 19, 2005 5:54 pm
Location: Pasadena, California, US

Postby Albys on Tue Dec 04, 2007 6:46 am

Okay, thanks! (Y)
if you want to support my works (Realistic Roster and gameplay):
Image
User avatar
Albys
The Roster Father
Contributor
 
Posts: 3052
Joined: Tue Feb 13, 2007 6:12 am
Location: Italia

Postby in5ane on Tue Dec 25, 2007 4:50 pm

I just wanted to say that this was an extremely helpful post so thanks a lot for your help. My game would crash in the Key State Loans Arena because of too high a resolution.
in5ane
 
Posts: 83
Joined: Sun Nov 04, 2007 2:06 pm

Postby skoadam on Thu Jan 03, 2008 5:57 pm

Is it normal that i can play with new Lagoa courts&512 jersey by Conr4d with no crashes?
User avatar
skoadam
U R Basketball - Where Sim Happens
Contributor
 
Posts: 8360
Joined: Sat Nov 12, 2005 12:52 am
Location: PL

Postby in5ane on Fri Jan 04, 2008 5:44 am

skoadam wrote:Is it normal that i can play with new Lagoa courts&512 jersey by Conr4d with no crashes?


I am also. It was just the Cleveland Key West Arena that was causing a crash...since I've fixed that one court, no other probs.
in5ane
 
Posts: 83
Joined: Sun Nov 04, 2007 2:06 pm

Postby agentjp_001 on Fri Jan 18, 2008 9:04 pm

will the game still crash even if you have high specs on your pc and you install all high res patches ?..... by the way, where did u guys get the 1x sweatpatch?
User avatar
agentjp_001
 
Posts: 40
Joined: Fri Jan 11, 2008 2:55 am
Location: Pilipinas(makati)

Postby detr on Fri Jun 20, 2008 1:17 am

thanks, it helped me with Hawks' and Lakers' courts, but I had to delete Spurs' updated court, because it's still crashes when i start to play :| Anyway, thanks ;)
sorry for my bad english!
detr
 
Posts: 6
Joined: Sat May 03, 2008 7:24 am

Postby Patr1ck on Fri Jun 20, 2008 1:51 am

Yeah, the Spurs court is a bit more sensitive. Take a look at the size of the ebo file, it's 2 mb! Lowering other textures' resolutions could help for the Spurs court.
Patr1ck
Administrator
Administrator
 
Posts: 13323
Joined: Thu May 19, 2005 5:54 pm
Location: Pasadena, California, US

Re: 2X Jerseys and Crashes FIX

Postby littlemgc on Mon Jul 16, 2012 1:02 pm

how to remove minimap texture within a fsh file? plz help
littlemgc
 
Posts: 120
Joined: Thu Feb 28, 2008 9:07 am


Return to NBA Live 07 Tutorials & FAQs

Who is online

Users browsing this forum: No registered users and 1 guest