Page 1 of 1

Loadscreen refuse to load [Solved]

Posted: Fri Aug 05, 2011 3:26 am
by Lumind
Sry for so often questions, but new problems appear every day. So, I was searching here for the same problems, but the most seemed was unpossible to load multipe loadscreens. In my case, even one can't be loaded.
Tried to use Fierfek's - step by step, but when munge - log appear:

Code: Select all

ERROR[PC_texturemunge loadscreen.tga]:TextureMunge(loadscreen:1024x819x1): Must have power of two dimensions!
ERROR[PC_texturemunge loadscreen.tga]:TextureMunge(loadscreen:1024x819x1): Must have power of two dimensions!
 [continuing]
   2 Errors    0 Warnings

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

Then I changed the map, changed the loadscreen.tga, try 1024x1024, 1280x1024, 800x600; do manual clean, then tried a Zerted's Loadscreen Utility. The same story. Picture is already has a power of two dimensions anyway, doesn't it?
The second part of errors in the log still not so copy to me.
Here's the common.req in "load":

Code: Select all

ucft
{
	REQN
	{
		"texture"
		"loadscreen"
	}
}
Here's my con_lua:

Code: Select all

function ScriptInit()
    
    ReadDataFile("dc:Load\\common.lvl")
    
    ReadDataFile("ingame.lvl")
    
   
    SetMaxFlyHeight(900)
    SetMaxPlayerFlyHeight (900)
    
    SetMemoryPoolSize ("ClothData",20)
    SetMemoryPoolSize ("Combo",50)              -- should be ~ 2x number of jedi classes
    SetMemoryPoolSize ("Combo::State",650)      -- should be ~12x #Combo
    SetMemoryPoolSize ("Combo::Transition",650) -- should be a bit bigger than #Combo::State
    SetMemoryPoolSize ("Combo::Condition",650)  -- should be a bit bigger than #Combo::State
    SetMemoryPoolSize ("Combo::Attack",550)     -- should be ~8-12x #Combo
    SetMemoryPoolSize ("Combo::DamageSample",6000)  -- should be ~8-12x #Combo::Attack
    SetMemoryPoolSize ("Combo::Deflect",100)     -- should be ~1x #combo  
    
    ReadDataFile("sound\\yav.lvl;yav1cw")
    ReadDataFile("dc:SIDE\\rep.lvl",
                             "rep_inf_ep3_rifleman",
                             "rep_inf_ep3_rocketeer",
                             "rep_inf_ep3_engineer",
                             "rep_inf_ep3_sniper",
                             "rep_inf_ep3_officer",
                             "rep_inf_ep3_jettrooper",
                             "rep_hover_fightertank",
                             "rep_hero_anakin",
                             "rep_hover_barcspeeder",
                             "kam_fly_ride_gunship")
    ReadDataFile("SIDE\\cis.lvl",
                             "cis_inf_rifleman",
                             "cis_inf_rocketeer",
                             "cis_inf_engineer",
                             "cis_inf_sniper",
                             "cis_inf_officer",
                             "cis_inf_droideka",
                             "cis_hero_darthmaul",
                             "cis_hover_aat")
                             
Any suggestions why those errors appear, why screen isn't load?

In the munge.bat cleared all the "@", made a req file and paste this in:

Code: Select all

ucft
{
	REQN
	{
		"texture"
		"loadscreen"
	}
}
Munged it with checked "Load", coppied "Load" folder from the data_BAD\_LVL_pc to the GameData\addon\BAD\data\_LVL_pc.
Then, I changed the LUA in common\scripts and change

Code: Select all

ReadDataFile("ingame.lvl")
to

Code: Select all

ReadDataFile("dc:load\\common.lvl")
Munged with "Load" checked -> nothing.

Re: Loadscreen refuse to load anyway

Posted: Fri Aug 05, 2011 3:36 am
by AQT
Lumind wrote:

Code: Select all

ERROR[PC_texturemunge loadscreen.tga]:TextureMunge(loadscreen:1024x819x1): Must have power of two dimensions!
ERROR[PC_texturemunge loadscreen.tga]:TextureMunge(loadscreen:1024x819x1): Must have power of two dimensions!
[continuing]
   2 Errors    0 Warnings
[b][color=#FF8000]Twilight_Warrior[/color][/b] wrote:1
2
4
8
16
32
64
128
256
512
1024
2048

http://en.wikipedia.org/wiki/Power_of_t ... ers_of_two

Your dimensions must be made up of those numbers.
So what are the dimensions of your loadscreen texture?

Be sure to also move the common.lvl file from the data_***\_LVL_PC\Load folder to your addon directory in the ***\data\_LVL_PC\Load folder.

Re: Loadscreen refuse to load anyway

Posted: Fri Aug 05, 2011 3:50 am
by Lumind
Yeah, all the deal was in dimensions. Just one guy said to me that all pictures are already ahve two dimensions. Thanks much. NOW, Fierfek's tutorial has been totally completed.

Re: Loadscreen refuse to load anyway

Posted: Fri Aug 05, 2011 3:59 am
by AQT
No problem. Here's a tip regarding Fierfek's tutorial: Don't rely on it so much. Use it mainly as a guide, and cross reference it with the shipped documentation and the tutorials found in The FAQ / Everything You Need Thread, which both contain much more comprehensive information.