TGA quick question

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

501st_commander
Master Bounty Hunter
Master Bounty Hunter
Posts: 1570
Joined: Wed Dec 10, 2008 7:48 pm

TGA quick question

Post by 501st_commander »

I get this:
Hidden/Spoiler:
[code]
ERROR[PC_texturemunge loadsceen.tga]:TextureMunge(loadsceen:800x600x1): Must have power of two dimensions!
ERROR[PC_texturemunge loadsceen.tga]:TextureMunge(loadsceen:800x600x1): Must have power of two dimensions!
[continuing]
2 Errors 0 Warnings
[/code]
How do i fix this?

I use ulead photo impact and GIMP.
ryukaji
Major
Major
Posts: 513
Joined: Mon Sep 17, 2007 7:46 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Re: TGA quick question

Post by ryukaji »

501st_commander wrote:I get this:
Hidden/Spoiler:
[code]
ERROR[PC_texturemunge loadsceen.tga]:TextureMunge(loadsceen:800x600x1): Must have power of two dimensions!
ERROR[PC_texturemunge loadsceen.tga]:TextureMunge(loadsceen:800x600x1): Must have power of two dimensions!
[continuing]
2 Errors 0 Warnings
[/code]
How do i fix this?

I use ulead photo impact and GIMP.
Must have power of two dimensions! You need to rescale it to powers of 2
501st_commander
Master Bounty Hunter
Master Bounty Hunter
Posts: 1570
Joined: Wed Dec 10, 2008 7:48 pm

Re: TGA quick question

Post by 501st_commander »

how?
ryukaji
Major
Major
Posts: 513
Joined: Mon Sep 17, 2007 7:46 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Re: TGA quick question

Post by ryukaji »

Well in GIMP of course!
501st_commander
Master Bounty Hunter
Master Bounty Hunter
Posts: 1570
Joined: Wed Dec 10, 2008 7:48 pm

Re: TGA quick question

Post by 501st_commander »

This is n00b but where in gimp? :runaway:
ryukaji
Major
Major
Posts: 513
Joined: Mon Sep 17, 2007 7:46 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Re: TGA quick question

Post by ryukaji »

Well you could try using your eyes and about 10 seconds to locate image>scale image at the top
501st_commander
Master Bounty Hunter
Master Bounty Hunter
Posts: 1570
Joined: Wed Dec 10, 2008 7:48 pm

Re: TGA quick question

Post by 501st_commander »

ok found that
but it dosent have a dimensions seting as i can see
ryukaji
Major
Major
Posts: 513
Joined: Mon Sep 17, 2007 7:46 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Re: TGA quick question

Post by ryukaji »

gimp.jpg
Hm thats funny I see it just fine :roll:
User avatar
trainmaster611
Sith Lord
Sith Lord
Posts: 1779
Joined: Thu Aug 24, 2006 5:22 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Building a railway to Coruscant
Contact:

Re: TGA quick question

Post by trainmaster611 »

Image > Scale Image

Click the little chain link (so it 'breaks') and then resize the width/height accordingly. If your image was way off of a power of 2 dimension, it'll look very stretched.
501st_commander
Master Bounty Hunter
Master Bounty Hunter
Posts: 1570
Joined: Wed Dec 10, 2008 7:48 pm

Re: TGA quick question

Post by 501st_commander »

trainmaster611 wrote:Image > Scale Image

Click the little chain link (so it 'breaks') and then resize the width/height accordingly. If your image was way off of a power of 2 dimension, it'll look very stretched.
did that but it still has a power of 1
User avatar
trainmaster611
Sith Lord
Sith Lord
Posts: 1779
Joined: Thu Aug 24, 2006 5:22 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Building a railway to Coruscant
Contact:

Re: TGA quick question

Post by trainmaster611 »

Ok look, these are the allowable dimensions for a tga

16x16 32x32 64x64 128x128 256x256 512x512 1024x1024 2048x2048 etc. I dunno if you can go below 16x16 or what the upper limit is. Either way, your tga MUST conform to one of those dimensions.
YaNkFaN
Field Commander
Field Commander
Posts: 943
Joined: Sat Dec 13, 2008 8:17 am

Re: TGA quick question

Post by YaNkFaN »

a power of 2 is not just 100x100 or the same number x the same number it must be 2^x X 2^x in math terms 2 raised to some integer power x 2 raised to that same integer
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: TGA quick question

Post by Fiodis »

trainmaster611 wrote:Ok look, these are the allowable dimensions for a tga

16x16 32x32 64x64 128x128 256x256 512x512 1024x1024 2048x2048 etc. I dunno if you can go below 16x16 or what the upper limit is. Either way, your tga MUST conform to one of those dimensions.
You can also combine them, e.i. 16x128, 512x32, 2048x1024, etc.
501st_commander
Master Bounty Hunter
Master Bounty Hunter
Posts: 1570
Joined: Wed Dec 10, 2008 7:48 pm

Re: TGA quick question

Post by 501st_commander »

Ok its not saying anything about power of 2 but i get this:

Code: Select all

ERROR[levelpack common.req]:Expecting bracket, but none was found.
File : munged\pc\loadscreen.texture.req(1)...

ucft <--
ERROR[levelpack common.req]:Expecting bracket, but none was found.
File : munged\pc\loadscreen.texture.req(1)...

ucft <--

   2 Errors    0 Warnings
And the file it was refering to is:
loadscreen.texture.req wrote:ucft
And thats it??
this was found in:
_BUILD-->Load-->MUNGED-->PC-->loadscreen.texture.req

Is there any way to fix this so it works?
RogueKnight
Space Ranger
Posts: 2512
Joined: Sat Nov 22, 2008 1:50 pm
Projects :: Life. Work.
Games I'm Playing :: League of Legends
xbox live or psn: No gamertag set
Location: Washington, US

Re: TGA quick question

Post by RogueKnight »

Did you edit that file at all?
501st_commander
Master Bounty Hunter
Master Bounty Hunter
Posts: 1570
Joined: Wed Dec 10, 2008 7:48 pm

Re: TGA quick question

Post by 501st_commander »

no,
I followed a "tutorial" and it only wanted me to make a loadscreen.req. that is one the visualmunge made i think
501st_commander
Master Bounty Hunter
Master Bounty Hunter
Posts: 1570
Joined: Wed Dec 10, 2008 7:48 pm

Re: TGA quick question

Post by 501st_commander »

Ok i found this is my BFront2.log:

Code: Select all

Message Severity: 3
.\Source\LoadUtil.cpp(1010)
Data in C:\Program Files\LucasArts\Star Wars Battlefront II\GameData\AddOn\CWH\Data\_lvl_pc\Load\common.lvl is not a binary UCF file.
what is this? and how do i fix this?
User avatar
Frisbeetarian
Jedi
Jedi
Posts: 1233
Joined: Wed Sep 12, 2007 3:13 pm

Re: TGA quick question

Post by Frisbeetarian »

Did you get any munge log errors?
501st_commander
Master Bounty Hunter
Master Bounty Hunter
Posts: 1570
Joined: Wed Dec 10, 2008 7:48 pm

Re: TGA quick question

Post by 501st_commander »

no
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: TGA quick question

Post by Fiodis »

501st_commander wrote:Ok its not saying anything about power of 2 but i get this:

Code: Select all

ERROR[levelpack common.req]:Expecting bracket, but none was found.
File : munged\pc\loadscreen.texture.req(1)...

ucft <--
ERROR[levelpack common.req]:Expecting bracket, but none was found.
File : munged\pc\loadscreen.texture.req(1)...

ucft <--

   2 Errors    0 Warnings
....So what's that, then?
Post Reply