模拟城市中文网

 找回密码
 入住
搜索
查看: 5212|回复: 5

[使用问题] 英文求解释/翻译 ABOUT SC4 Dat Packer 2008

[复制链接]
发表于 2011-2-5 18:32 | 显示全部楼层 |阅读模式
此物名为 SC4DatPacker 2008, 出处:http://www.simcity.cn/thread-50280-1-1.html http://sc4devotion.com/forums/index.php?topic=204.0 http://sc4devotion.com/csxlex/lex_filedesc.php?lotGET=26原始网页:
求概要翻译:
  1. SC4DatPacker is a small utility that will make a mega pack from your plugins subfolders.
  2. Various tests on SC4 have been conducted ( by BSC members and by me ) and the result is a big speed up between cities' loading times.

  3. Dependencies

  4. In order to run SC4DatPacker, you'll need the following dlls installed on your system.
  5. MSVCP71.DLL
  6. MFC71.DLL
  7. GDIPLUS.DLL
  8. or you'll get things like
  9. Traceback (most recent call last):
  10.   File "datPacker.py", line 1, in ?
  11.   File "datPackerApp.pyo", line 23, in ?
  12.   File "win32ui.pyo", line 12, in ?
  13.   File "win32ui.pyo", line 10, in __load
  14. ImportError: DLL load failed: Le module sp閏ifi� est introuvable.

  15. or
  16. Traceback (most recent call last):
  17.   File "datPacker.py", line 2, in ?
  18.   File "zipextimporter.pyo", line 82, in load_module
  19.   File "datPackerApp.pyo", line 2, in ?
  20.   File "zipextimporter.pyo", line 82, in load_module
  21.   File "wx\__init__.pyo", line 45, in ?
  22.   File "zipextimporter.pyo", line 82, in load_module
  23.   File "wx\_core.pyo", line 4, in ?
  24.   File "zipextimporter.pyo", line 98, in load_module
  25. ImportError: MemoryLoadLibrary failed loading wx\_core_.pyd


  26. Revision history

  27. 2008 version
  28. based on v5
  29. very fast reading and writing as in Anniversary version
  30. sort the file in correct order to respect SC4 loading order
  31. add an 'optimize space' option
  32. add a 'force repack' option
  33. you can choose which folder you want to pack
  34. splitting of big megapack to max 392Mb, great if you have a 1Gb subfolder
  35. Anniversary version
  36. rebuild from scratch
  37. fast reading and writing
  38. unfortunatly buggy in some case
  39. Version 6
  40. Interface revisited
  41. Speed up reading the files
  42. Version 5
  43. Interface revisited
  44. Speed up reading the files
  45. Bug fix if compressed folder start with a u
  46. Version 4
  47. Writing order revisited
  48. Less ram option revisited
  49. Version 3
  50. Scan all files
  51. Process dialog extended to add a log window
  52. Less ram option
  53. Version 2
  54. Duplicate in same files fixing
  55. Version 1
  56. Initial version
  57. It will scan your plugins subfolders and create a mega pack per subfolder. All generated mega packs will be created under plugins\plugins_compressed by default.
  58. When hitting start, the application will scan all your subfolders and will display some info on the process.

  59. It will report any file problems ( at least the most I'm aware of ).
  60. Anything reported in the last box should be fix, as it may cause some little differences in your gameplay experience
  61. It will generate a mega pack for each subfolder in alphabetical order as SC4 does in order to have the same rules regarding overlapping/conflicting TGI.
  62. It will generate a mega pack for a subfolder only if the mega pack does not exist yet or if there is new data in the subfolder since the last packing or if you chech the force repack option
  63. It will generate a mega pack for a subfolder only if you selected that subfolder
  64. It may generate more than one mega pack for a subfolder if the estimated mega pack is bigger than 394Mb. The first mega pack will be labelled as the subfolder, the remaining ones will have a index counter attached

  65. If you check the Force repacking option, SC4DatPacker will recreate the mega pack even if nothing has been changed in the folder since last packing.

  66. If you check the optimize space option, SC4DatPacker will convert all Textual Examplar to Binary Examplar, and will try to compress as much as possible all non compressed entries.This will take a bit longer to create megapack, but worth the time.

  67. If you check the Include only useful TGI option, SC4DatPacker will only include what is needed for the game to work, anything that is used by the LotEditor or the Plugin Manager is removed. You will gain extra space on your HD.

  68. How to use it ?

  69. Once you have run the application and generate the mega pack, you will have the following a similar folder structure :

  70. Take all the subfolders except plugins_compressed out of your plugins folder and keep them well organized in another place. If you use Start Up Manager put these subfolders into Plugins Disabled. If you do not use Start Up Manager you can make a new sub folder in the SC4 folder called Plugins Disabled and move the files there.

  71. Note that the plugins at root folder are still there



  72. You can now run SC4 and notice the big difference when you switch between different cities
  73. If you want to install new plugins from STEX, then just replace all the subfolders in the plugins folder, rerun the application and repeat the operation.
  74. You can change the default output folder in the application by changing the destination directory by hitting the '...' button.



  75. Tips

  76. Do not move or compress the essentials files, They should stay on your root plugins
  77. It is wise to have multiple subfolders, whatever the structure is. If you only have one subfolder, SC4DatPacker will try to pack it, and it may result in such a big file that it can't be written or a freeze of the tool
  78. A subfolder bigger than 1Gb should be dispatch to help SC4Datpacker.Splitting folder of more than 392Mb is now handled by SC4DatPacker.
  79. If you intend to play with some compressed files and some uncompressed files, beware of the loading order of files in SC4.
  80. SC4 loading order

  81. Here is the latest informations found on which file are loaded first
  82. files in your Program files/Maxis/Simcity 4 ( simcity_1.dat to simcity_5.dat and the EP.dat sounds.dat etc.. )
  83. files in your Program files/Maxis/Simcity 4/plugins
  84. files in your My Documents/Simcity 4/plugins
  85. files are loaded in alphabetical order
  86. .dat files are loaded last in alphabetical order
  87. subfolders are processed in alphabetical order
  88. files are loaded first than subfolders are parsed
  89. In case of TGI conflict in 2 differents files, the latest loaded data will erase the old one
  90. In case of TGI conflict in 1 file, the lasted loaded data will be discard

  91. If you play the game with only the 'plugins_compressed' subfolder, this won't change what datas are loaded in SC4
  92. However if you play the game with the 'plugins_compressed' subfolder and other subfolders, it may change what datas are loaded by SC4
  93. Let says you have :
  94. subFolderA\*.dat
  95. subFolderB\*.dat
  96. subFolderC\*.dat
  97. the game will load them in that above order
  98. SC4DatPacker will create :
  99. plugins_compressed\subFolderA.dat
  100. plugins_compressed\subFolderB.dat
  101. plugins_compressed\subFolderC.dat
  102. and the game will load them in that above order, so you will have exactly the same datas loaded.
  103. But if for some reasons you decide to not use the plugins_compressed\subFolderB.dat, and use the normal subFolderB the game will load :
  104. plugins_compressed\subFolderA.dat
  105. plugins_compressed\subFolderC.dat
  106. subFolderB\*.dat
  107. As you see the datas are not read in the same order ( subFolderB is alphabeticaly after plugins_compressed )
  108. This can cause issues if some files in the subfolderC need to be read after subFolderB.
  109. This can cause issues in case of conflicting TGI in subfolderB and C
  110. A Word from SoulStealer

  111. For people having problems and crashes let me suggest reordering and cleaning your folders before you make the pack.

  112. 1. Look for and remove duplicates (I use a tool called HCCLITE http://www.heatsoft.com/has/HASindex.html).
  113. 2. Use BSC Cleanit to remove garbage files (like .sav, .htm, .txt, .jpg etc') this files shouldn't be in your plugins folder.
  114. 3. Install the props and textures mega packs and remove old files carefully (Use BSC Cleanit).
  115. 4. Look for files with 0 size they seem to cause errors (0 size shouldn't be, it's probably due to corruption in a zip file or a mistake done by the lot/bat maker - try to dl again or remove it all together).
  116. 5. Move all mods away (Terrain and tree mods, nam, support files, essentials, stuff in zzz folders, slope mod, basically anything that is not a lot or a bat) - For me I always have these files in my maxis/simcity/plugins folder and not in mydocuments/simcity/plugins - see further explanation below).
  117. 6. Move all the lots/bats you have into a subfolder in your plugin folder like ...\plugins\mainplugins).
  118. 7. Fire up the packer (kick back - for me it took about 10-12 minutes to pack 1.5 Gig).
  119. 8. Move the stuff you moved away back in and remove the unpacked mainplugins away (Don't delete it just keep it somewhere else as you will update it with new stuff) (Now your plugin folder should have only the plugins_compressed folder and the mod folders like the terrain mod, nam, zzz etc').
  120. 9. Start the game and witness with awe and respect what a miracle DATPacker is Smiley

  121. Step 5.5 (Optional)
  122. I move all texture, prop files I can find into my "program file/maxis/simcity/plugins/props_and textures/" folder as these get updated often and its easier to find duplicates and remove oldies when necessary. I also use different sets of plugin according to the city I'm making (like Urban city and Rural town) so each time I load a different set of BATs and lots but the props and textures are shared by them both so it's better to keep them in a central place e.g the "program files\maxis..." folders).

  123. So suggested folder structure should be like this:

  124. Program files\maxis\simcity\plugins
  125. Props and textures folder - You can pack this folder too to improve performance a bit
  126. Mods, terrain, trees, essentials etc' folders
  127. zzz folder

  128. My documents\simcity\plugins
  129. Main lots and bats folder - This is the folder we are packing
  130. Mods folders
  131. zzz folders

  132. If you want to organize even further, inside the main lots and bats folder you can reorganize everything into their category.
  133. This is basically how my Urban folder structure looks like:

  134. Residential
  135. - High rise
  136. - R$
  137. - Small Homes
  138. - Mansions
  139. Commercial
  140. - Suburbs
  141. - High rise
  142. - Mid rise
  143. Industrial
  144. - ID and IM
  145. - HT
  146. Recreational
  147. Civic
  148. Landmarks
  149. Network
  150. -Rail
  151. -Sea
  152. -Land
  153. -Air
  154. zzz

  155. All of this will take you about an hour to do, but believe me it's well worth the effort. When you have a problem like a missing prop/texture or a lost file or you want to update or remove something then in a matter of seconds you can locate what you need and fix it.

  156. .
复制代码

[ 本帖最后由 8765432 于 2011-2-5 18:57 编辑 ]

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?入住

x
发表于 2011-2-5 18:53 | 显示全部楼层
晕死咯,建议你到谷歌翻译
回复 支持 反对

使用道具 举报

 楼主| 发表于 2011-2-5 19:17 | 显示全部楼层
原帖由 weiqi 于 2011-2-5 18:53 发表
晕死咯,建议你到谷歌翻译
要是翻译后看得懂,我至于发帖劳烦广大市民帮助吗?
回复 支持 反对

使用道具 举报

发表于 2011-2-5 19:17 | 显示全部楼层
會用就好了,論壇那麼多答案
為何要整個轉貼

[ 本帖最后由 芬達乳酸汽水 于 2011-2-5 19:20 编辑 ]
回复 支持 反对

使用道具 举报

 楼主| 发表于 2011-2-5 20:05 | 显示全部楼层
原帖由 芬達乳酸汽水 于 2011-2-5 19:17 发表
會用就好了,論壇那麼多答案
為何要整個轉貼
会熟练使用用干嘛来发帖
回复 支持 反对

使用道具 举报

发表于 2011-2-5 20:09 | 显示全部楼层

回复 5# 的帖子


你慢慢等吧
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 入住

本版积分规则

小黑屋|手机版|模拟城市中文网

GMT+8, 2024-11-15 10:29 , Processed in 0.023953 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表