Skocz do zawartości

Zdjęcie

Configuring the Lightmapper and Python


  • Zaloguj się, aby dodać odpowiedź
26 odpowiedzi w tym temacie

#1
Languard

Languard
  • Members
  • 126 postów
Sticky please?  This is a question we're going to see again.  And again. Aaaaand again.

Wiki documentation: social.bioware.com/wiki/datoolset/index.php/Installing_the_toolset#Lightmapper
To summerize:
  • You need Python version 2.5.4, not 2.6
  • You need the 32-bit version even if you have a 64-bit OS
  • Error Code 1 when rendering lightmaps most likely means you have both ActivePython and Python.org installed.  Remove them both and install only one.
  • Error Code -1073741819 means you didn't follow points 1 or 2.  Uninstall python and get the correct versions
  • EclipseRay.exe has stopped working means you don't have python installed
  • The first time you render lightmaps on an object you will get missing atlas warnings.  These are expected, ignore them
  • The most recent lightmapper script can be found at this project: social.bioware.com/project/717/#files.  The script file goes in your ($DA_INSTALL_PATH)\\\\tools\\\\lightmapper file.  It is the same directory that contains eclipseRay.exe
The links for the installers is in the wiki page.

Użytkownik Languard edytował ten post 26 listopad 2009 - 04:07


#2
lowrez01

lowrez01
  • Members
  • 62 postów

Languard wrote...

Sticky please?  This is a question we're going to see again.  And again. Aaaaand again.



Please.:mellow:

#3
ModWriter

ModWriter
  • Members
  • 55 postów
Thanks a lot. It was this what I needed.

#4
BlindHamster

BlindHamster
  • Members
  • 37 postów
makes sense to sticky it yes, I found out about this by googling lightmaps but that was just through luck.

#5
Kaylo90

Kaylo90
  • Members
  • 2 postów
stiickyy! :)

thx

#6
djfayt

djfayt
  • Members
  • 50 postów
Good to know. I have Python 2.5 and 2.6 installed as a lot of good libs weren't 2.6 ready when I installed it. Thanks for the info!

#7
Quaxo

Quaxo
  • Members
  • 164 postów
Any idea what error code -1073740777 is? I get this every time I try to export and EclipseRay crashes. I have Python 2.5.4 installed, toolset 1.0.0.194 (tried previous versions, too), and ElipseRay 1.2 (tried 1.0 and 1.1 as well) with Windows XP Home SP3. I got it to work fine on my laptop (Vista Home Premium SP2) but for the life of me I can't get this to work on my desktop. Am I missing something?

Użytkownik Quaxo edytował ten post 06 grudzień 2009 - 03:53


#8
dbecker

dbecker
  • Members
  • 9 postów
 I am getting an error on one of my levels that is a "process failed with return code of '1'", but I have carefully removed all traces of python from my system and reinstalled ActivePython by itself as well as installing Python.org by itself. The lightmapper was working previously, and continues to work with other levels I create. I've been going through any differences between the levels, but so far nothing has produced different results.

I suppose it's possible that somewhere another version of Python is hidden, but I've gone so far as to remove Open Office because it includes a newer version of python, and the lighmapper script does succeed on other levels. I have also reinstalled the toolset and tried the updated lightmapper scripts.

I had a friend install the toolset with a clean install of active python and the 2.1 EclipseRay update and get the same results.

Please let me know if there is any other information that might be helpful, and I apologize if this is hidden somewhere already, I just havn't been able to find a solution.

Below is the error log.

E: 14:00:00 - Failed to submit lightmap layout [tes002c]
E: 14:00:00 - Job submission process failed with a return code of '1'.
I: 14:00:00 - no FESL allocator defined
I: 14:00:00 - ['--terse', '-cpus=2', '--numSubJobs', '5', '--inputDir',  ... folder locations...  '--in_width', '512', '--in_height', '512']
I: 14:00:00 - Lightmapper script failed.
I: 14:00:00 - Running lightmapper script.
W: 13:59:40 - Model [fxe_fire_trch_ost_p] excluded from scene because it does not have renderable parts.

From errlog.txt with EclipseRay 1.2

EclipseRay failed to lightmap the level. Log follows.

-----------------------------------------------------




Traceback (most recent call last):

  File "", line 754, in

  File "", line 706, in main

  File "", line 570, in ProcessFolder

  File "", line 561, in ProcessJobs

  File "", line 389, in BuildScene

  File "", line 351, in __init__

  File "", line 277, in __init__

TypeError: 'NoneType' object is not iterable

Użytkownik dbecker edytował ten post 10 grudzień 2009 - 12:18


#9
Hammer Fang

Hammer Fang
  • Members
  • 78 postów
*edit


it turns out that the toolset now just *ignores* the reg /32 error, and does not fix it

to fix it

boot up in 'SAFE MODE',

then run the manual install instruction for  Engine.DLL

http://social.biowar.../index/219061   For more information


gg

Użytkownik Hammer Fang edytował ten post 17 grudzień 2009 - 04:56


#10
Jayelet

Jayelet
  • Members
  • 122 postów
thx

#11
Mr_Oddity

Mr_Oddity
  • Members
  • 4 postów
When I try to render a lightmap, I get an error saying:



'ImportError, No module called win32com'



Does anyone know what that means?

#12
Languard

Languard
  • Members
  • 126 postów
That would mean you don't have the win32 extensions installed. Check the Wiki link at the top of this post for where to get it.

#13
Mr_Oddity

Mr_Oddity
  • Members
  • 4 postów

Languard wrote...

That would mean you don't have the win32 extensions installed. Check the Wiki link at the top of this post for where to get it.


Ah, I missed that on the first read-through.

Thanks muchly. :)

#14
Babaghanouj

Babaghanouj
  • Members
  • 95 postów
Thanks, especially for #1, 2, and 6.

#15
TimelordDC

TimelordDC
  • Members
  • 923 postów
I have just taken the Orz106d level layout, changed a few props and tried to do a Render Lightmaps and it fails consistently with an error code of '-1073741515'.

I have tried uninstalling Toolset, python and python's win extension. I have made sure that the Engine.dll is registered by executing regsvr32 manually after Toolset installation. No luck at all.
I am on the latest patch versions.

At this point, I have no idea where to even start looking....

Anyone have any ideas?

Edit: I have even tried switching to the Single Player module and tried rendering...no luck.

Edit (02/22): After a lot of reinstalls, format and OS reinstall (yes!), my lightmap render started working after copying the python25.dll to the tools/lightmapper folder.
So, for those getting the above error code, you can try copying the python25.dll (present in your python installation) into the tools/lightmapper folder.

Użytkownik TimelordDC edytował ten post 23 luty 2010 - 01:21


#16
ceolstan

ceolstan
  • Members
  • 1 postów
Okay, I'm finishing up the installation of the toolset. What's the word with Python 6.xx? Is it still preferable to have the 5.x version?

#17
TimelordDC

TimelordDC
  • Members
  • 923 postów
6.xx? Are you referring to Perl, by any chance?

#18
Darion_Blackhammer

Darion_Blackhammer
  • Members
  • 68 postów
Alright, I'm getting the error code of '1' that was originally mentioned by Languard in the lead post. I installed ActivePython v. 2.5.5.7 x86 (2.5.4 was not on their download list and I could not find it to save my life). Languard said that this error most likely means that you have both ActivePython and python.org installed, and to remove both and install only one. I've looked everywhere for anything called 'python.org' and found nothing ... Could anyone give a general idea as to the location and or uninstallation process of this file/program? Thanks.

#19
TimelordDC

TimelordDC
  • Members
  • 923 postów
If you have it installed, it should be in your installed program list (Control Panel -> Programs and Features; I assume you are doing this on Win7 x64) as Python x.x.x

If that doesn't work, uninstall ActivePython and just install Python 2.5.4 and the win32 extensions.

#20
Darion_Blackhammer

Darion_Blackhammer
  • Members
  • 68 postów
Alright, you're gonna have to treat me like a small child in this case ... 1) as mentioned earlier, I could not find ActivePython v. 2.5.4, the lowest version i found was 2.5.5.7. Anyone able to provide a link by chance that leads directly to the file?



2) You say 'add the win32 extensions' ... can you elaborate, or give instructions on how to do so?

#21
Awildawn

Awildawn
  • Members
  • 225 postów
 For those who have lighting bugs, this can help : http://social.biowar...ussions#details

#22
Languard

Languard
  • Members
  • 126 postów
@ Darion:

Really slow response on your question :P But your best bet is to click on the wiki link. In there there's links to direct downloads for everything you need. I'll also be redoing the quick guide in this post to reflect some changes.

#23
IriathZhul

IriathZhul
  • Members
  • 18 postów
This is all very strange. I've got 2.5.4 installed with the 32 extensions, and am definitely running EclipseRay v1.2. However, the lightmapping still fails on exterior levels, returning a variety of area codes. It works just fine on interior levels, however.

#24
0x30A88

0x30A88
  • Members
  • 1081 postów
Was about to ask about EclipseRay.exe......nice thread.

#25
Luric

Luric
  • Members
  • 2 postów
Hey all,



Can someone, possiblily from Bioware please explain this code 1073740777, I saw Quaxo had the same problem, I still can not get the lightmapper to work. EclipseRay continues to have a problem and shuts down. I have been everywhere I can find about the lightmapper to try and solve this problem.



Thanks