Jump to content
  • 0
filmguy93

TexGen and DyndoLOD errors since 2.30

Question

Hey there! I have been having some trouble with the recent updates (2.30-2.35). TexGen throws this error 

Exception in unit  line -1: Error in unit 'userscript' on line 523 : Undeclared Identifier 'ResourceOrFileExists'

Checking DynDOLOD TexGen.pas and lines 519-532 are as follows.

for j := 0 to Pred(FileCount) do begin
    e := FileByLoadOrder(j);
    if Assigned(e) then
    sFileName := 'DynDOLOD\' + AppName + '_TexGen_noalpha_' + Lowercase(RemoveNonAlphaNum(GetFileName(e)) + '.txt');
523-->    if not ResourceOrFileExists(sFileName) then
      sFileName := ScriptsPath + 'DynDOLOD\' + AppName + '_TexGen_noalpha_' + Lowercase(RemoveNonAlphaNum(GetFileName(e)) + '.txt');
    if ResourceOrFileExists(sFileName) then
      slFiles.Add(sFileName);    
    sFileName := 'DynDOLOD\' + AppName + '_TexGen_alpha_' + Lowercase(RemoveNonAlphaNum(GetFileName(e)) + '.txt');
    if not ResourceOrFileExists(sFileName) then
      sFileName := ScriptsPath + 'DynDOLOD\' + AppName + '_TexGen_alpha_' + Lowercase(RemoveNonAlphaNum(GetFileName(e)) + '.txt');
    if ResourceOrFileExists(sFileName) then
      slFiles.Add(sFileName);
  end;

And DyndoLOD returns this error

Exception in unit  line -1: Error in unit 'lodgenalt' on line 81 : Not enough parameters

Is this a user error or is something else going on. I'm running Skyrim LE on MO 1.3.11. Thanks.

Share this post


Link to post
Share on other sites

6 answers to this question

Recommended Posts

  • 0

Make sure all old files are overwritten with the ones from the latest standalone archive. For example, the function ResourceOrFileExists is defined in ..DynDOLOD\Edit Scripts\DynDOLOD\lib\functions.pas, if it can not be found, the function.pas is from an old version.

Share this post


Link to post
Share on other sites
  • 0

i am not english i will try to be precise i download dyndolod 2.35 and run texgen but dyndolod activate not texgen so no textures generated only lod

Share this post


Link to post
Share on other sites
  • 0

Sorry but not sure what you are trying to say.

 

If there is an error either post the log or a screenshot of the problem.

Share this post


Link to post
Share on other sites
  • 0

i mean when i run texgen it suppose to run texgen but it does not it runs dyndolod instead i see dyndolod and texgen file size exactly same size that right? both do same only lod dont know how else to say sorry if you dont understand

Share this post


Link to post
Share on other sites
  • 0

DynDOLOD and TexGen are the same executable and they simply run different pas scripts based on their executable name.

 

If the filename is TexGen.exe/TexGenx64.exe it executes ..Edit Scripts/DynDOLOD TexGen.pas

 

Any other executable name like DynDOLOD.exe/DynDOLODx64.exe for example defaults execution to ..Edit Scripts/DynDOLOD Worlds.pas

 

This should be impossible to change or overwrite. Make sure the filenames are correct and remove any additional command line parameters.

Edited by sheson

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.