Enormous lvl file

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
ARC_Commander
High General
High General
Posts: 838
Joined: Tue Feb 06, 2007 7:18 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Enormous lvl file

Post by ARC_Commander »

I have a little problem with my rep.lvl file. It's 400MB large. But my rep folder is only 150MB! My common folder (not the side) is only 40MB, and my common side is only 4. What's happening?
wazmol
High General
High General
Posts: 892
Joined: Sat Sep 02, 2006 6:47 pm
Projects :: Thinking...
Games I'm Playing :: Black Ops
Location: London
Contact:

RE: Enormous lvl file

Post by wazmol »

theres alot in your req for the rep side. delete the unused entrys to your .req then you will have a smaller .lvl size
User avatar
Snork
Lieutenant General
Lieutenant General
Posts: 669
Joined: Thu Jun 07, 2007 3:34 pm
Games I'm Playing :: SWBF2 and Minecraft
xbox live or psn: No gamertag set
Contact:

RE: Enormous lvl file

Post by Snork »

errr...

ummm...

thats reaaallly weird.
ARC_Commander
High General
High General
Posts: 838
Joined: Tue Feb 06, 2007 7:18 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by ARC_Commander »

Everything in my req is used. This is for a side mod.
VF501
Lieutenant Colonel
Lieutenant Colonel
Posts: 539
Joined: Fri Jun 08, 2007 1:18 am
Projects :: Various Stuff- Weapon models. UDK Stuff
Games I'm Playing :: Fallout New Vegas
xbox live or psn: Vintage Tagious
Location: Terra Firma, Sol System; Milky Way

Post by VF501 »

Delete any unused models and .tgas from the sides MSH folder. Those take up the most space, just becareful on what you delete though, its time consuming but it cuts down drastically on the size- I reduced the all.lvl from 100,000+KB to around 24,000KB using this method for a racing side I made.
ARC_Commander
High General
High General
Posts: 838
Joined: Tue Feb 06, 2007 7:18 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by ARC_Commander »

That's not the problem - as I said, my rep folder is only 150MB. There's something weird going on.

EDIT: I think I might have it figured out. For every req file, it makes new copies of the same files. I've tried to use the Conversion Pack spawn names for the different Clone Commandos, for example, but I used one plain gray texture for the lot. It copied it over and over again, making the size larger. Am I right?
VF501
Lieutenant Colonel
Lieutenant Colonel
Posts: 539
Joined: Fri Jun 08, 2007 1:18 am
Projects :: Various Stuff- Weapon models. UDK Stuff
Games I'm Playing :: Fallout New Vegas
xbox live or psn: Vintage Tagious
Location: Terra Firma, Sol System; Milky Way

Post by VF501 »

Do you have 4 different .reqs calling each Commando? If so that may be it. Just make a custom side, name it something like RC.lvl or Commando.lvl and set up the commandos in there and write a RCBasic.req calling all the commandos in one req. Then do the whole addunitclass thing in the .lua.

Alternatively you could just add all the commandos into one .req in the REP/REQ folder. Same as the above .req but everything stays in the REP side.

Either method should work.
ARC_Commander
High General
High General
Posts: 838
Joined: Tue Feb 06, 2007 7:18 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by ARC_Commander »

I deleted the extra commandos, leaving "rep_inf_commando", and the REP file shrunk by 100MB. So far, so good. Thanks!
Post Reply