Jump to content
Eternal Lands Official Forums
Sign in to follow this  
Marr

creating sections in makefiles

Recommended Posts

only a very minor thing, the Features in the Makefiles are listed alphabetically and the list keeps growing, so i think it may be a good idea to split the list in different sections to make testing a little easier :

 

 

###### current release ######

...features used in the current official client

 

###### upcoming release ######

...features that are planed for the next release and need more testing

 

###### testing ######

...features that are in early stage and may cause problems

 

###### obsolete ######

...features not to be used anymore but however still exist

 

###### fixes ######

...various fixes that are not in an release

Share this post


Link to post
Share on other sites

Sounds like a good suggestion to me. Some defines are for debug so we could add a section for that too. The current release defines are often removed at some stage, probably a reasonable time to consider that too.

Share this post


Link to post
Share on other sites

Likewise agreed. (Also on looking at what defines are default and don't impact performance).

 

It might be worth reposting this in the programming forum (or a mod move it) as its more a technical programming thing rather than a game suggestion. You might get a little more coverage from any devs floating around (although there aren't many of us atm).

Share this post


Link to post
Share on other sites

Here is my suggestion for the features list:

 

- I have changed the categories slightly as can be seen.

- I don't know what exactly options are currently under consideration for the next version so any additional info would be helpful. I have simply guessed at them based on recent activity so they may or may not be complete and functioning or not under consideration at all.

### Current release default options ###
FEATURES += CLUSTER_INSIDES				 # Group objects into separate clusters for clipping on inside maps
FEATURES += CONTEXT_MENUS				   # Enable context menus
FEATURES += CUSTOM_LOOK					 # allows you to customize your look.
FEATURES += CUSTOM_UPDATE				   # allows autoupdating of custom look information
FEATURES += FUZZY_PATHS					 # Makes Tab Map walking not always follow exaclty the same path
FEATURES += MINIMAP2						# Disables the rectangular minimap and enables the rotating minimap
FEATURES += NEW_CAMERA_MOTION			   # Changes the behaviour of the camera by replacing the rotation duration by a constant deceleration. This gives a better control on the positionning of the camera.
FEATURES += NEW_SELECTION			# Enables new selection system. Needs OpenGL 1.3 or GL_ARB_texture_env_combine
FEATURES += NEW_SOUND					   # Enables extended sound effects system
FEATURES += NEW_TEX						 # use new texture coordinates for enhanced actors
FEATURES += NEW_WEATHER					 # new weather effects
FEATURES += PNG_SCREENSHOT				  # make screenshots in W3C's PNG format in game, requires libpng
FEATURES += SKY_FPV						 # Use skybox with clouds/stars/etc, enable first person view, and other misc changes from Emajekral
FEATURES += TEXT_ALIASES			# Text aliases
FEATURES += USE_ACTORS_OPTIMIZER	   # Enables actor optimizations
FEATURES += USE_INLINE					  # enable some optimizations to use inline functions instead of pure function calls
FEATURES += USE_SHADER					  # Using shaders for water rendering. Needs NEW_FILE_IO
FEATURES += ZLIB							# Enables being able to read gzip compressed files, requires -lzlib/-lz


### Testing options (these options are possible for the next release and should be tested) ###
#FEATURES += ANTI_ALIAS					  # allows to enable/disable anti-aliasing in el.ini
#FEATURES += ATTACHED_ACTORS				 # allows to have 2 actors that are attached together, one of the actor will exist only on client side (needs server support)
#FEATURES += DYNAMIC_ANIMATIONS			  # Synchronizes animation to FPS instead of a fixed timer
#FEATURES += NEW_ALPHA					   # (undocumented)
#FEATURES += NIGHT_TEXTURES				  # enable night textures. changes textures at night to cooler colors
#FEATURES += USE_BOOST
#FEATURES += VARIABLE_SPEED				  # allow to change the moving speed of actors (needs server support)


### Machine specific, Fixes and performance options ###
#FEATURES += EL_BIG_ENDIAN				   # Enable big-endian code (automatically detected for OSX)
#FEATURES += NO_PF_MACRO					 # Use a function instead of a macro for pf_get_tile()
#FEATURES += SIMPLE_LOD					  # Enable a simplistic distance culling to improve performance


### Debug options ###
#FEATURES += CONTEXT_MENUS_TEST			  # Enable "#cmwin" command to help test/demo the context menu code
#FEATURES += DEBUG						   # (undocumented)
#FEATURES += DEBUG_XML					   # Enables missing (optional) XML string property messages
#FEATURES += DEBUG_POINT_PARTICLES		   # (undocumented)
#FEATURES += DEBUG_TIME					  # Fakes the acceleration of time for use in debugging shadows and the like.
#FEATURES += DEBUG_MAP_SOUND				 # Adds (some??) map boundary areas to tab maps and additional logging to stdout
#FEATURES += ECDEBUGWIN					  # press ctrl-alt-c to open the Eye Candy debug window: trigger most effects without casting spells or server side events
#FEATURES += EXTRA_DEBUG					 # (undocumented)
#FEATURES += MEMORY_DEBUG					# gather information about memory allocation and freeing
#FEATURES += MISSILES_DEBUG				  # Enables debug for missiles feature. It will create a file missiles_log.txt file in your settings directory.
#FEATURES += MUTEX_DEBUG					 # (undocumented)
#FEATURES += OPENGL_TRACE					# make far more frequent checks for OpenGL errors (requires -DDEBUG to be of any use). Will make error_log.txt a lot larger.
#FEATURES += TIMER_CHECK					 # (undocumented)


### Other options (Experimental, unfinished, defunct or otherwise unknown) ###
#FEATURES += NEW_CURSOR					  # New coloured cursors made by Emajekral (Experimental) Extract http://users.on.net/~gingerman/sky_cursor-textures.zip into datadir/textures/
#FEATURES += NEW_LIGHTING					# (undocumented)
#FEATURES += PAWN							# Experimental, not for release, will need server support to function properly. This *will* eat your cat. You've been warned. Enables the Pawn abstract machine.
#FEATURES += UID							 # use unique ID sent from server for custom looks. (INCOMPLETE)
#FEATURES += USE_TR1						 # Needs tr1 version of c++ stl, used for NEW_FILE_IO
#FEATURES += WRITE_XML					   # dangerous to use, will wipe out some XML files that are part 
of the main game download
#FEATURES += ZLIBW						   # Enables being able to write gzip compressed files, requires 
-lzlib/-lz needed for map_editor


### Options with no code - should be removed?? ###
#FEATURES += NEW_MAP_FORMAT				  # (undocumented)
#FEATURES += PARANOID_CAMERA				 # (undocumented)
#FEATURES += UNROLL4						 # (undocumented)

 

I am also planning some general tidying of the code, especially removing the legacy "const dict_elem"'s from actor_scripts.c and using an array and enum combination for the cal_anim frames in the actor and actor def structures (if possible).

 

If people have other suggestions for code cleaning feel free to add them, especially if you want to have a go at them yourself and can provide a diff against CVS (use the command: `cvs diff -Nu` and add it to the patches section on Berlios, then post here so we know it exists).

Edited by Torg

Share this post


Link to post
Share on other sites

Those defines are not 'optional', theya re in the main client already.

 

#FEATURES += NEW_CAMERA_MOTION # Changes the behaviour of the camera by replacing the rotation duration by a constant deceleration. #FEATURES += USE_ACTORS_OPTIMIZER # Enables actor optimizations

Share this post


Link to post
Share on other sites
Those defines are not 'optional', theya re in the main client already.

 

#FEATURES += NEW_CAMERA_MOTION # Changes the behaviour of the camera by replacing the rotation duration by a constant deceleration. #FEATURES += USE_ACTORS_OPTIMIZER # Enables actor optimizations

Oh, thanks. They haven't been updated in make.defaults yet.

Share this post


Link to post
Share on other sites

make.defaults has now been updated. The remainder of the above mentioned patch is still undergoing testing.

Share this post


Link to post
Share on other sites

You enabled USE_ACTORS_OPTIMIZER

 

This slows down startup for me immensely and gives no end of errors:

[13:52:48] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_0_327.elc' has wrong size. Size 173400 expected, but found size 174401 in build_buffers at actor_init.cpp (line 984)
[13:52:51] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_1_327.elc' has wrong size. Size 172488 expected, but found size 173482 in build_buffers at actor_init.cpp (line 984)
[13:52:55] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_2_327.elc' has wrong size. Size 169368 expected, but found size 170388 in build_buffers at actor_init.cpp (line 984)
[13:52:58] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_3_327.elc' has wrong size. Size 168528 expected, but found size 169590 in build_buffers at actor_init.cpp (line 984)
[13:53:02] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_4_327.elc' has wrong size. Size 169680 expected, but found size 170714 in build_buffers at actor_init.cpp (line 984)
[13:53:06] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_5_327.elc' has wrong size. Size 170352 expected, but found size 171408 in build_buffers at actor_init.cpp (line 984)
[13:53:09] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_6_327.elc' has wrong size. Size 6288 expected, but found size 6296 in build_buffers at actor_init.cpp (line 984)
[13:53:09] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_7_327.elc' has wrong size. Size 7776 expected, but found size 7784 in build_buffers at actor_init.cpp (line 984)
[13:53:10] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_8_327.elc' has wrong size. Size 4032 expected, but found size 4037 in build_buffers at actor_init.cpp (line 984)
[13:53:10] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_9_327.elc' has wrong size. Size 4608 expected, but found size 4614 in build_buffers at actor_init.cpp (line 984)
[13:53:10] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_10_327.elc' has wrong size. Size 10968 expected, but found size 10981 in build_buffers at actor_init.cpp (line 984)
[13:53:11] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_11_327.elc' has wrong size. Size 10656 expected, but found size 10671 in build_buffers at actor_init.cpp (line 984)
[13:53:11] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_15_327.elc' has wrong size. Size 9576 expected, but found size 9588 in build_buffers at actor_init.cpp (line 984)
[13:53:12] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_16_327.elc' has wrong size. Size 8040 expected, but found size 8049 in build_buffers at actor_init.cpp (line 984)
[13:53:12] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_17_327.elc' has wrong size. Size 6096 expected, but found size 6105 in build_buffers at actor_init.cpp (line 984)
[13:53:12] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_18_327.elc' has wrong size. Size 3360 expected, but found size 3367 in build_buffers at actor_init.cpp (line 984)
[13:53:12] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_19_327.elc' has wrong size. Size 3360 expected, but found size 3366 in build_buffers at actor_init.cpp (line 984)
[13:53:12] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_20_327.elc' has wrong size. Size 7464 expected, but found size 7478 in build_buffers at actor_init.cpp (line 984)
[13:53:13] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_21_327.elc' has wrong size. Size 8040 expected, but found size 8049 in build_buffers at actor_init.cpp (line 984)
[13:53:13] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_22_327.elc' has wrong size. Size 2568 expected, but found size 2575 in build_buffers at actor_init.cpp (line 984)
[13:53:13] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_23_327.elc' has wrong size. Size 2568 expected, but found size 2575 in build_buffers at actor_init.cpp (line 984)
[13:53:13] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_24_327.elc' has wrong size. Size 2568 expected, but found size 2575 in build_buffers at actor_init.cpp (line 984)
[13:53:13] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_76_327.elc' has wrong size. Size 2952 expected, but found size 2959 in build_buffers at actor_init.cpp (line 984)
[13:53:13] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_25_327.elc' has wrong size. Size 6096 expected, but found size 6106 in build_buffers at actor_init.cpp (line 984)
[13:53:13] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_26_327.elc' has wrong size. Size 7680 expected, but found size 7694 in build_buffers at actor_init.cpp (line 984)
[13:53:14] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_27_327.elc' has wrong size. Size 10320 expected, but found size 10339 in build_buffers at actor_init.cpp (line 984)
[13:53:14] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_28_327.elc' has wrong size. Size 10752 expected, but found size 10764 in build_buffers at actor_init.cpp (line 984)
[13:53:15] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_29_327.elc' has wrong size. Size 11220 expected, but found size 11234 in build_buffers at actor_init.cpp (line 984)
[13:53:15] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_30_327.elc' has wrong size. Size 11172 expected, but found size 11181 in build_buffers at actor_init.cpp (line 984)
[13:53:16] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_31_327.elc' has wrong size. Size 17892 expected, but found size 17908 in build_buffers at actor_init.cpp (line 984)
[13:53:18] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_32_327.elc' has wrong size. Size 10872 expected, but found size 10890 in build_buffers at actor_init.cpp (line 984)
[13:53:18] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_33_327.elc' has wrong size. Size 11484 expected, but found size 11494 in build_buffers at actor_init.cpp (line 984)
[13:53:19] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_34_327.elc' has wrong size. Size 11784 expected, but found size 11795 in build_buffers at actor_init.cpp (line 984)
[13:53:20] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_35_327.elc' has wrong size. Size 7392 expected, but found size 7399 in build_buffers at actor_init.cpp (line 984)
[13:53:20] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_36_327.elc' has wrong size. Size 7128 expected, but found size 7136 in build_buffers at actor_init.cpp (line 984)
[13:53:20] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_37_327.elc' has wrong size. Size 170064 expected, but found size 171060 in build_buffers at actor_init.cpp (line 984)
[13:53:24] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_38_327.elc' has wrong size. Size 170304 expected, but found size 171361 in build_buffers at actor_init.cpp (line 984)
[13:53:28] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_39_327.elc' has wrong size. Size 169632 expected, but found size 170678 in build_buffers at actor_init.cpp (line 984)
[13:53:31] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_40_327.elc' has wrong size. Size 168864 expected, but found size 169918 in build_buffers at actor_init.cpp (line 984)
[13:53:35] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_41_327.elc' has wrong size. Size 170976 expected, but found size 171972 in build_buffers at actor_init.cpp (line 984)
[13:53:38] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_42_327.elc' has wrong size. Size 170832 expected, but found size 171819 in build_buffers at actor_init.cpp (line 984)
[13:53:42] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_43_327.elc' has wrong size. Size 3960 expected, but found size 3965 in build_buffers at actor_init.cpp (line 984)
[13:53:42] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_44_327.elc' has wrong size. Size 4224 expected, but found size 4229 in build_buffers at actor_init.cpp (line 984)
[13:53:42] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_45_327.elc' has wrong size. Size 13296 expected, but found size 13313 in build_buffers at actor_init.cpp (line 984)
[13:53:43] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_46_327.elc' has wrong size. Size 6672 expected, but found size 6684 in build_buffers at actor_init.cpp (line 984)
[13:53:43] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_47_327.elc' has wrong size. Size 6768 expected, but found size 6775 in build_buffers at actor_init.cpp (line 984)
[13:53:43] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_54_327.elc' has wrong size. Size 6936 expected, but found size 6949 in build_buffers at actor_init.cpp (line 984)
[13:53:44] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_48_327.elc' has wrong size. Size 7992 expected, but found size 7998 in build_buffers at actor_init.cpp (line 984)
[13:53:44] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_49_327.elc' has wrong size. Size 7008 expected, but found size 7020 in build_buffers at actor_init.cpp (line 984)
[13:53:44] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_50_327.elc' has wrong size. Size 7680 expected, but found size 7694 in build_buffers at actor_init.cpp (line 984)
[13:53:45] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_52_327.elc' has wrong size. Size 7680 expected, but found size 7693 in build_buffers at actor_init.cpp (line 984)
[13:53:45] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_53_327.elc' has wrong size. Size 7680 expected, but found size 7691 in build_buffers at actor_init.cpp (line 984)
[13:53:45] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_51_327.elc' has wrong size. Size 8376 expected, but found size 8390 in build_buffers at actor_init.cpp (line 984)
[13:53:46] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_55_327.elc' has wrong size. Size 7680 expected, but found size 7692 in build_buffers at actor_init.cpp (line 984)
[13:53:46] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_56_327.elc' has wrong size. Size 7680 expected, but found size 7694 in build_buffers at actor_init.cpp (line 984)
[13:53:46] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_57_327.elc' has wrong size. Size 12012 expected, but found size 12023 in build_buffers at actor_init.cpp (line 984)
[13:53:47] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_58_327.elc' has wrong size. Size 11700 expected, but found size 11709 in build_buffers at actor_init.cpp (line 984)
[13:53:48] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_59_327.elc' has wrong size. Size 22572 expected, but found size 22600 in build_buffers at actor_init.cpp (line 984)
[13:53:50] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_60_327.elc' has wrong size. Size 10968 expected, but found size 10987 in build_buffers at actor_init.cpp (line 984)
[13:53:51] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_61_327.elc' has wrong size. Size 11316 expected, but found size 11329 in build_buffers at actor_init.cpp (line 984)
[13:53:52] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_62_327.elc' has wrong size. Size 4188 expected, but found size 4197 in build_buffers at actor_init.cpp (line 984)
[13:53:52] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_67_327.elc' has wrong size. Size 5640 expected, but found size 5647 in build_buffers at actor_init.cpp (line 984)
[13:53:52] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_68_327.elc' has wrong size. Size 5640 expected, but found size 5647 in build_buffers at actor_init.cpp (line 984)
[13:53:52] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_69_327.elc' has wrong size. Size 5640 expected, but found size 5647 in build_buffers at actor_init.cpp (line 984)
[13:53:52] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_71_327.elc' has wrong size. Size 5640 expected, but found size 5646 in build_buffers at actor_init.cpp (line 984)
[13:53:53] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_64_327.elc' has wrong size. Size 4752 expected, but found size 4759 in build_buffers at actor_init.cpp (line 984)
[13:53:53] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_65_327.elc' has wrong size. Size 4752 expected, but found size 4759 in build_buffers at actor_init.cpp (line 984)
[13:53:53] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_66_327.elc' has wrong size. Size 4752 expected, but found size 4759 in build_buffers at actor_init.cpp (line 984)
[13:53:53] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_72_327.elc' has wrong size. Size 4752 expected, but found size 4762 in build_buffers at actor_init.cpp (line 984)
[13:53:53] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_70_327.elc' has wrong size. Size 5100 expected, but found size 5113 in build_buffers at actor_init.cpp (line 984)
[13:53:53] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_63_327.elc' has wrong size. Size 5784 expected, but found size 5793 in build_buffers at actor_init.cpp (line 984)
[13:53:53] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_73_327.elc' has wrong size. Size 11040 expected, but found size 11056 in build_buffers at actor_init.cpp (line 984)
[13:53:54] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_74_327.elc' has wrong size. Size 13920 expected, but found size 13935 in build_buffers at actor_init.cpp (line 984)
[13:53:55] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_75_327.elc' has wrong size. Size 10128 expected, but found size 10143 in build_buffers at actor_init.cpp (line 984)
[13:53:56] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_77_327.elc' has wrong size. Size 12756 expected, but found size 12773 in build_buffers at actor_init.cpp (line 984)
[13:53:56] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_78_327.elc' has wrong size. Size 23448 expected, but found size 23479 in build_buffers at actor_init.cpp (line 984)
[13:53:59] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_85_327.elc' has wrong size. Size 24504 expected, but found size 24537 in build_buffers at actor_init.cpp (line 984)
[13:54:02] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_87_327.elc' has wrong size. Size 26520 expected, but found size 26551 in build_buffers at actor_init.cpp (line 984)
[13:54:06] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_82_327.elc' has wrong size. Size 5544 expected, but found size 5555 in build_buffers at actor_init.cpp (line 984)
[13:54:06] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_83_327.elc' has wrong size. Size 5544 expected, but found size 5552 in build_buffers at actor_init.cpp (line 984)
[13:54:06] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_84_327.elc' has wrong size. Size 7224 expected, but found size 7236 in build_buffers at actor_init.cpp (line 984)
[13:54:07] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_86_327.elc' has wrong size. Size 8376 expected, but found size 8383 in build_buffers at actor_init.cpp (line 984)
[13:54:07] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_81_327.elc' has wrong size. Size 5136 expected, but found size 5148 in build_buffers at actor_init.cpp (line 984)
[13:54:07] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_79_327.elc' has wrong size. Size 5136 expected, but found size 5148 in build_buffers at actor_init.cpp (line 984)
[13:54:07] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_80_327.elc' has wrong size. Size 5136 expected, but found size 5148 in build_buffers at actor_init.cpp (line 984)
[13:54:07] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_91_327.elc' has wrong size. Size 6756 expected, but found size 6764 in build_buffers at actor_init.cpp (line 984)
[13:54:08] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_88_327.elc' has wrong size. Size 24504 expected, but found size 24537 in build_buffers at actor_init.cpp (line 984)
[13:54:11] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_89_327.elc' has wrong size. Size 24504 expected, but found size 24537 in build_buffers at actor_init.cpp (line 984)
[13:54:14] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_90_327.elc' has wrong size. Size 24504 expected, but found size 24537 in build_buffers at actor_init.cpp (line 984)
[13:54:17] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_92_327.elc' has wrong size. Size 16992 expected, but found size 17009 in build_buffers at actor_init.cpp (line 984)
[13:54:18] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_93_327.elc' has wrong size. Size 16992 expected, but found size 17009 in build_buffers at actor_init.cpp (line 984)
[13:54:20] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_94_327.elc' has wrong size. Size 16992 expected, but found size 17009 in build_buffers at actor_init.cpp (line 984)

 

I will go and recomment the line.

Share this post


Link to post
Share on other sites
Those defines are not 'optional', theya re in the main client already.

<snip>

#FEATURES += USE_ACTORS_OPTIMIZER # Enables actor optimizations

Ent has specifically said that that option is enabled in the main client. Therefore, it is _meant_ to be enabled by default.

 

If you have a problem with it on your machine, with your data files, then edit your make.conf file to comment it out.

Share this post


Link to post
Share on other sites

I am not running anything differently to an average user, but I hardly think that almost a minute of loading time because of a bunch of MD5 errors is acceptable.

 

There is a problem somewhere.

 

I will try a full fresh install and see if the problem is localised to me.

Share this post


Link to post
Share on other sites
I am not running anything differently to an average user, but I hardly think that almost a minute of loading time because of a bunch of MD5 errors is acceptable.

 

There is a problem somewhere.

 

I will try a full fresh install and see if the problem is localised to me.

I'm willing to bet from all those errors that you have a bad cache, maybe out of date?? Maybe try nuking the directory?

I have not yet heard of the problems you are having so put it down to a localised problem in all probability.

 

Anyway, the purpose of this thread was to update the make.defaults to make it more obvious which options are currently considered default for the officially released client.

Of course, the whole point of having defines around code is so there are compile options for people that have problems, but that doesn't stop them being the current defaults according to those who compile and distribute the official client (namely Ent).

 

/edit: Just some tidying.

Edited by Torg

Share this post


Link to post
Share on other sites

Brand new install of EL 1.7.0

My Documents/EL folder removed

Latest CVS compiled with USE_ACTORS_OPTIMIZER and copied to install folder.

 

First run generated the cache/ folder

 

Second run:

[16:36:48] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_0_327.elc' has wrong size. Size 173400 expected, but found size 174401 in build_buffers at actor_init.cpp (line 984)
[16:36:51] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_1_327.elc' has wrong size. Size 172488 expected, but found size 173482 in build_buffers at actor_init.cpp (line 984)
[16:36:55] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_2_327.elc' has wrong size. Size 169368 expected, but found size 170388 in build_buffers at actor_init.cpp (line 984)
[16:36:59] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_3_327.elc' has wrong size. Size 168528 expected, but found size 169590 in build_buffers at actor_init.cpp (line 984)
[16:37:02] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_4_327.elc' has wrong size. Size 169680 expected, but found size 170714 in build_buffers at actor_init.cpp (line 984)
[16:37:06] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_5_327.elc' has wrong size. Size 170352 expected, but found size 171408 in build_buffers at actor_init.cpp (line 984)
[16:37:09] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_6_327.elc' has wrong size. Size 6288 expected, but found size 6296 in build_buffers at actor_init.cpp (line 984)
[16:37:09] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_7_327.elc' has wrong size. Size 7776 expected, but found size 7784 in build_buffers at actor_init.cpp (line 984)
[16:37:10] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_8_327.elc' has wrong size. Size 4032 expected, but found size 4037 in build_buffers at actor_init.cpp (line 984)
[16:37:10] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_9_327.elc' has wrong size. Size 4608 expected, but found size 4614 in build_buffers at actor_init.cpp (line 984)
[16:37:10] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_10_327.elc' has wrong size. Size 10968 expected, but found size 10981 in build_buffers at actor_init.cpp (line 984)
[16:37:11] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_11_327.elc' has wrong size. Size 10656 expected, but found size 10671 in build_buffers at actor_init.cpp (line 984)
[16:37:11] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_15_327.elc' has wrong size. Size 9576 expected, but found size 9588 in build_buffers at actor_init.cpp (line 984)
[16:37:12] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_16_327.elc' has wrong size. Size 8040 expected, but found size 8049 in build_buffers at actor_init.cpp (line 984)
[16:37:12] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_17_327.elc' has wrong size. Size 6096 expected, but found size 6105 in build_buffers at actor_init.cpp (line 984)
[16:37:12] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_18_327.elc' has wrong size. Size 3360 expected, but found size 3367 in build_buffers at actor_init.cpp (line 984)
[16:37:12] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_19_327.elc' has wrong size. Size 3360 expected, but found size 3366 in build_buffers at actor_init.cpp (line 984)
[16:37:12] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_20_327.elc' has wrong size. Size 7464 expected, but found size 7478 in build_buffers at actor_init.cpp (line 984)
[16:37:13] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_21_327.elc' has wrong size. Size 8040 expected, but found size 8049 in build_buffers at actor_init.cpp (line 984)
[16:37:13] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_22_327.elc' has wrong size. Size 2568 expected, but found size 2575 in build_buffers at actor_init.cpp (line 984)
[16:37:13] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_23_327.elc' has wrong size. Size 2568 expected, but found size 2575 in build_buffers at actor_init.cpp (line 984)
[16:37:13] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_24_327.elc' has wrong size. Size 2568 expected, but found size 2575 in build_buffers at actor_init.cpp (line 984)
[16:37:13] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_76_327.elc' has wrong size. Size 2952 expected, but found size 2959 in build_buffers at actor_init.cpp (line 984)
[16:37:13] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_25_327.elc' has wrong size. Size 6096 expected, but found size 6106 in build_buffers at actor_init.cpp (line 984)
[16:37:13] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_26_327.elc' has wrong size. Size 7680 expected, but found size 7694 in build_buffers at actor_init.cpp (line 984)
[16:37:14] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_27_327.elc' has wrong size. Size 10320 expected, but found size 10339 in build_buffers at actor_init.cpp (line 984)
[16:37:14] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_28_327.elc' has wrong size. Size 10752 expected, but found size 10764 in build_buffers at actor_init.cpp (line 984)
[16:37:15] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_29_327.elc' has wrong size. Size 11220 expected, but found size 11234 in build_buffers at actor_init.cpp (line 984)
[16:37:16] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_30_327.elc' has wrong size. Size 11172 expected, but found size 11181 in build_buffers at actor_init.cpp (line 984)
[16:37:16] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_31_327.elc' has wrong size. Size 17892 expected, but found size 17908 in build_buffers at actor_init.cpp (line 984)
[16:37:18] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_32_327.elc' has wrong size. Size 10872 expected, but found size 10890 in build_buffers at actor_init.cpp (line 984)
[16:37:19] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_33_327.elc' has wrong size. Size 11484 expected, but found size 11494 in build_buffers at actor_init.cpp (line 984)
[16:37:19] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_34_327.elc' has wrong size. Size 11784 expected, but found size 11795 in build_buffers at actor_init.cpp (line 984)
[16:37:20] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_35_327.elc' has wrong size. Size 7392 expected, but found size 7399 in build_buffers at actor_init.cpp (line 984)
[16:37:20] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_36_327.elc' has wrong size. Size 7128 expected, but found size 7136 in build_buffers at actor_init.cpp (line 984)
[16:37:21] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_37_327.elc' has wrong size. Size 170064 expected, but found size 171060 in build_buffers at actor_init.cpp (line 984)
[16:37:24] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_38_327.elc' has wrong size. Size 170304 expected, but found size 171361 in build_buffers at actor_init.cpp (line 984)
[16:37:28] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_39_327.elc' has wrong size. Size 169632 expected, but found size 170678 in build_buffers at actor_init.cpp (line 984)
[16:37:31] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_40_327.elc' has wrong size. Size 168864 expected, but found size 169918 in build_buffers at actor_init.cpp (line 984)
[16:37:35] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_41_327.elc' has wrong size. Size 170976 expected, but found size 171972 in build_buffers at actor_init.cpp (line 984)
[16:37:38] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_42_327.elc' has wrong size. Size 170832 expected, but found size 171819 in build_buffers at actor_init.cpp (line 984)
[16:37:42] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_43_327.elc' has wrong size. Size 3960 expected, but found size 3965 in build_buffers at actor_init.cpp (line 984)
[16:37:42] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_44_327.elc' has wrong size. Size 4224 expected, but found size 4229 in build_buffers at actor_init.cpp (line 984)
[16:37:42] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_45_327.elc' has wrong size. Size 13296 expected, but found size 13313 in build_buffers at actor_init.cpp (line 984)
[16:37:43] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_46_327.elc' has wrong size. Size 6672 expected, but found size 6684 in build_buffers at actor_init.cpp (line 984)
[16:37:43] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_47_327.elc' has wrong size. Size 6768 expected, but found size 6775 in build_buffers at actor_init.cpp (line 984)
[16:37:44] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_54_327.elc' has wrong size. Size 6936 expected, but found size 6949 in build_buffers at actor_init.cpp (line 984)
[16:37:44] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_48_327.elc' has wrong size. Size 7992 expected, but found size 7998 in build_buffers at actor_init.cpp (line 984)
[16:37:44] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_49_327.elc' has wrong size. Size 7008 expected, but found size 7020 in build_buffers at actor_init.cpp (line 984)
[16:37:45] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_50_327.elc' has wrong size. Size 7680 expected, but found size 7694 in build_buffers at actor_init.cpp (line 984)
[16:37:45] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_52_327.elc' has wrong size. Size 7680 expected, but found size 7693 in build_buffers at actor_init.cpp (line 984)
[16:37:45] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_53_327.elc' has wrong size. Size 7680 expected, but found size 7691 in build_buffers at actor_init.cpp (line 984)
[16:37:45] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_51_327.elc' has wrong size. Size 8376 expected, but found size 8390 in build_buffers at actor_init.cpp (line 984)
[16:37:46] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_55_327.elc' has wrong size. Size 7680 expected, but found size 7692 in build_buffers at actor_init.cpp (line 984)
[16:37:46] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_56_327.elc' has wrong size. Size 7680 expected, but found size 7694 in build_buffers at actor_init.cpp (line 984)
[16:37:46] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_57_327.elc' has wrong size. Size 12012 expected, but found size 12023 in build_buffers at actor_init.cpp (line 984)
[16:37:47] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_58_327.elc' has wrong size. Size 11700 expected, but found size 11709 in build_buffers at actor_init.cpp (line 984)
[16:37:48] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_59_327.elc' has wrong size. Size 22572 expected, but found size 22600 in build_buffers at actor_init.cpp (line 984)
[16:37:51] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_60_327.elc' has wrong size. Size 10968 expected, but found size 10987 in build_buffers at actor_init.cpp (line 984)
[16:37:51] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_61_327.elc' has wrong size. Size 11316 expected, but found size 11329 in build_buffers at actor_init.cpp (line 984)
[16:37:52] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_62_327.elc' has wrong size. Size 4188 expected, but found size 4197 in build_buffers at actor_init.cpp (line 984)
[16:37:52] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_67_327.elc' has wrong size. Size 5640 expected, but found size 5647 in build_buffers at actor_init.cpp (line 984)
[16:37:52] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_68_327.elc' has wrong size. Size 5640 expected, but found size 5647 in build_buffers at actor_init.cpp (line 984)
[16:37:52] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_69_327.elc' has wrong size. Size 5640 expected, but found size 5647 in build_buffers at actor_init.cpp (line 984)
[16:37:53] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_71_327.elc' has wrong size. Size 5640 expected, but found size 5646 in build_buffers at actor_init.cpp (line 984)
[16:37:53] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_64_327.elc' has wrong size. Size 4752 expected, but found size 4759 in build_buffers at actor_init.cpp (line 984)
[16:37:53] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_65_327.elc' has wrong size. Size 4752 expected, but found size 4759 in build_buffers at actor_init.cpp (line 984)
[16:37:53] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_66_327.elc' has wrong size. Size 4752 expected, but found size 4759 in build_buffers at actor_init.cpp (line 984)
[16:37:53] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_72_327.elc' has wrong size. Size 4752 expected, but found size 4762 in build_buffers at actor_init.cpp (line 984)
[16:37:53] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_70_327.elc' has wrong size. Size 5100 expected, but found size 5113 in build_buffers at actor_init.cpp (line 984)
[16:37:53] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_63_327.elc' has wrong size. Size 5784 expected, but found size 5793 in build_buffers at actor_init.cpp (line 984)
[16:37:54] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_73_327.elc' has wrong size. Size 11040 expected, but found size 11056 in build_buffers at actor_init.cpp (line 984)
[16:37:54] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_74_327.elc' has wrong size. Size 13920 expected, but found size 13935 in build_buffers at actor_init.cpp (line 984)
[16:37:55] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_75_327.elc' has wrong size. Size 10128 expected, but found size 10143 in build_buffers at actor_init.cpp (line 984)
[16:37:56] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_77_327.elc' has wrong size. Size 12756 expected, but found size 12773 in build_buffers at actor_init.cpp (line 984)
[16:37:57] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_78_327.elc' has wrong size. Size 23448 expected, but found size 23479 in build_buffers at actor_init.cpp (line 984)
[16:37:59] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_85_327.elc' has wrong size. Size 24504 expected, but found size 24537 in build_buffers at actor_init.cpp (line 984)
[16:38:02] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_87_327.elc' has wrong size. Size 26520 expected, but found size 26551 in build_buffers at actor_init.cpp (line 984)
[16:38:06] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_82_327.elc' has wrong size. Size 5544 expected, but found size 5555 in build_buffers at actor_init.cpp (line 984)
[16:38:06] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_83_327.elc' has wrong size. Size 5544 expected, but found size 5552 in build_buffers at actor_init.cpp (line 984)
[16:38:06] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_84_327.elc' has wrong size. Size 7224 expected, but found size 7236 in build_buffers at actor_init.cpp (line 984)
[16:38:07] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_86_327.elc' has wrong size. Size 8376 expected, but found size 8383 in build_buffers at actor_init.cpp (line 984)
[16:38:07] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_81_327.elc' has wrong size. Size 5136 expected, but found size 5148 in build_buffers at actor_init.cpp (line 984)
[16:38:07] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_79_327.elc' has wrong size. Size 5136 expected, but found size 5148 in build_buffers at actor_init.cpp (line 984)
[16:38:07] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_80_327.elc' has wrong size. Size 5136 expected, but found size 5148 in build_buffers at actor_init.cpp (line 984)
[16:38:08] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_91_327.elc' has wrong size. Size 6756 expected, but found size 6764 in build_buffers at actor_init.cpp (line 984)
[16:38:08] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_88_327.elc' has wrong size. Size 24504 expected, but found size 24537 in build_buffers at actor_init.cpp (line 984)
[16:38:11] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_89_327.elc' has wrong size. Size 24504 expected, but found size 24537 in build_buffers at actor_init.cpp (line 984)
[16:38:14] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_90_327.elc' has wrong size. Size 24504 expected, but found size 24537 in build_buffers at actor_init.cpp (line 984)
[16:38:17] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_92_327.elc' has wrong size. Size 16992 expected, but found size 17009 in build_buffers at actor_init.cpp (line 984)
[16:38:19] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_93_327.elc' has wrong size. Size 16992 expected, but found size 17009 in build_buffers at actor_init.cpp (line 984)
[16:38:20] EXTENDED EXCEPTION(3:io_error): File 'cache/actor_94_327.elc' has wrong size. Size 16992 expected, but found size 17009 in build_buffers at actor_init.cpp (line 984)

There is definitely a problem with the define.

 

I just compared the first and second logs, line one of them anyway. They both show the same filesizes.

Share this post


Link to post
Share on other sites
Brand new install of EL 1.7.0

My Documents/EL folder removed

Latest CVS compiled with USE_ACTORS_OPTIMIZER and copied to install folder.

<snip>

There is definitely a problem with the define.

 

I just compared the first and second logs, line one of them anyway. They both show the same filesizes.

I suggest you post this as a new thread (or could a mod break off this post) so that Xavier can take a look at it. Being C++ I believe it is his code.

 

What are you using to compile with? I'm wondering if the problem is maybe a difference between gcc and MSVC's compiler (certainly isn't the first time of course).

Share this post


Link to post
Share on other sites

dev-c++ 4.9.9.2 under windows setup as per "windows client compilation guide"

 

GNU Make 3.80

Share this post


Link to post
Share on other sites

Wait, I might be wrong, I think USE_ACTORS_OPTIMIZER is actually experimental (I was thinking of another option that Schmurk added).

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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×