Jump to content

nwtour

Community Members
  • Posts

    220
  • Joined

  • Days Won

    1

Everything posted by nwtour

  1. Thank you. Looks nice Small fix missing translations for non-English interface in shiny: --- /dev/null +++ globalscripts/rename.js +function rename(maingamevalue, newvalue) +{ + const translate_mgv = translate(maingamevalue); + const translate_nv = translate(newvalue); + if (translate_mgv != maingamevalue && translate_nv == newvalue) + return translate_mgv; + return translate_nv; +} --- gui/pregame/ProjectInformationItems.js.orig +++ gui/pregame/ProjectInformationItems.js - "caption": translate("Translate the Game"), + "caption": rename("Translate the Game", "Translate"), --- gui/pregame/TopMenuItems.js.orig +++ gui/pregame/TopMenuItems.js - "caption": translate("Map Editor"), + "caption": rename("Scenario Editor", "Map Editor"), --- gui/pregame/CenterMenuItems.js.orig +++ gui/pregame/CenterMenuItems.js - "caption": translate("Join Private Game"), + "caption": rename("Join Game", "Join Private Game"), - "caption": translate("Host Private Game"), + "caption": rename("Host Game", "Host Private Game"),
  2. You can try temporary forcibly limit the number of processors to 32 in Microsoft msconfig utility (and reboot) It seems safe And you
  3. Hello Look like Your computer has more cores than the build computer considers the maximum (32)
  4. Sent a patch to the developers D4372 Inherit comment of overwritten save
  5. The game can not find a pmp file. Check that two files are identically named and exists in directory mymaps/maps/scenarios: TheLegendofAvilava17.pmp TheLegendofAvilava17.xml
  6. Yeap. Create mod.json with mandatory fields so that the game understand that the folder is mod
  7. Yes. Change in text editor <Entity uid="1008"> <Template>structures/bridge_hele</Template> <Player>1</Player> <Position x="1761.21534" z="796.4726"/> <Orientation y="-1.54537"/> <Actor seed="2022"/> </Entity> -> <Entity uid="1008"> <Template>actor|props/special/eyecandy/bridge_edge_hele.xml</Template> <Position x="1761.21534" z="796.4726"/> <Orientation y="-1.54537"/> <Actor seed="2022"/> </Entity> And the game will not write an error on the screen even with the most recent version of the game
  8. Hello This is a usability bug. Description is not the name of the save as in other games - it is an optional comment.
  9. In the developer version, removed one of the bridges you are using https://code.wildfiregames.com/D4297 Just for information - in the next version of the game, the map may become impassable (if you want to continue developing it)
  10. Does the system allow you to install mods? Then there is no problem Go to the folder where at least one mod is installed in console: mkdir -p mymaps/maps/scenarios echo -ne '{\n\t"name": "mymaps",\n\t"version": "1",\n\t"label": "mymaps",\n\t"description": "mymaps",\n\t"dependencies": []\n}\n' > mymaps/mod.json copy TheLegendofAvilava17.xml and TheLegendofAvilava17.pmp to mymaps/maps/scenarios enable self-made mod in Settings->Mods Map will appear in the list
  11. Do you have a version with access to your home directory? If not, then you can't See thread
  12. generated 2021-09-26 Looks outdated Try search another file slocate crashlog.txt or find ~ | grep crashlog.txt in console
  13. That is unnecessary. 0 A.D. does not use the practice of "committing on trust" Nice code from "random internet user" will be added Any code from the "main administrator" will still be reviewed Source code signing does not protect against MTM injection in build system. Replace files for the compiler with unsigned ones and it is almost impossible to detect it
  14. Red card for unsportsmanlike conduct This is obtained by re-implementation of the NoSQL database.
  15. There is a disk cache - it works with very high speed It loads the data around the requested seek()/read() system calls. This allows you to load it completely to the cache in case of requests to one file and receive data at the SATA-2 interface speed. https://www.alphr.com/what-is-hard-drive-cache/ (Block Reading Ahead and Behind) You argue that both tests worked with a disk cache and an archive 10 times faster. It can not be I brought the test that the meta-information from the file system is always faster than metainformation from the archive. The file system is an hot indexed file information database in the kernel space. And any archive - always has a primitive way on requests inside
  16. On a hard disk with a cache of 128 megabytes (WDC WD2005FBYZ), multi reading of 4 megabytes from from one file is very cheap compared to random files in the file system If this was meant as a "contiguous memory", then I agree
  17. Hello Quote from default.cfg ; Global Configuration Settings ; ; ************************************************************** ; * DO NOT EDIT THIS FILE if you want personal customisations: * ; * create a text file called "local.cfg" instead, and copy * ; * the lines from this file that you want to change. * ; * * ; * If a setting is part of a section (for instance [hotkey]) * ; * you need to append the section name at the beginning of * ; * your custom line (for instance you need to write * ; * "hotkey.pause = Space" if you want to change the pausing * ; * hotkey to the spacebar). * ; * * ; * On Linux, create: * ; * $XDG_CONFIG_HOME/0ad/config/local.cfg * ; * (Note: $XDG_CONFIG_HOME defaults to ~/.config) * ; * * ; * On OS X, create: * ; * ~/Library/Application\ Support/0ad/config/local.cfg * ; * * ; * On Windows, create: * ; * %appdata%\0ad\config\local.cfg * ; * * ; **************************************************************
  18. This 2.5 percent is offset by more efficient indexing in the file system. If you change instead of reading - for access to file meta-information, then the file system will play out the time saved due to defragmentation 10kk stat() time perl -e 'my $i = 0;while(1) { stat("./binaries/system/pyrogenesys"); $i++; exit unless $i % 10_000_000; }' 10.47 sec 10kk tar stat time perl -MArchive::Tar -e 'my $a = Archive::Tar->new("test.tar");while(1) { $a->contains_file("file"); $i++; exit unless $i % 10_000_000; }' 118.23 sec
  19. Description: The game expects the graphics card driver to set the value to 60 frames per second when setting "Vertical sync" Most likely in the settings of the video card it is worth that the game itself will figure out how much FPS it needs. Setting "Use 3D application setting" As a result, the game accelerates to 1000 fps. You can check this by clicking Alt-F in the game (the FPS counter on the top right) I sent the patch to the developers: D4365 - Fix gamesetup slider for 1000fps configuration Workarroung: Set gui.gamesetup.settingsslide = "false" in user.cfg
  20. The loading order of the game files is non-deterministic with the disk regions on which these files are located. IMHO accordingly, on the same HDD, the probability of random access (to another disc region or previous region) inside the archive and raw files is statistically the same.
  21. Thanks. I mostly show funny pictures - my video card is really lowcost It's very difficult to repeat - two screenshots in a hundred games
  22. During the game, the textures of buildings are changed to random. Such beautiful pictures turn out
×
×
  • Create New...