Coder Social home page Coder Social logo

x4_customizer's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

x4_customizer's Issues

How i can close tab

Can't find any way to close opened tab. There is no context menu for tabs and no X button somewhere.

image

Scale_Sector_Size throws error "wave_active"

Unfortunately not completely compatible with Tides of Avarice - when attempting to rescale the game board without any extensions/mods installed, one will see the mentioned error.

Same for version in Releases, or when done from Visual Studio.

Assertion Error: "" when attempting to scale_sector_sizes without make_maximal_diffs set to true

Problem can be recreated by making a script that resizes sectors and calling Write_To_Extension with preference set to loose files.
example script:

from Plugins import *

if 1:
    Scale_Sector_Size(
        scaling_factor                     = 0.3,
        scaling_factor_2                   = 0.25,
        transition_size_start              = 200000,
        transition_size_end                = 400000,
        precision_steps                    = 20,
        remove_ring_highways               = True,
        remove_nonring_highways            = True,
        extra_scaling_for_removed_highways = 0.7,
        move_free_ships = True,
        debug = True
        )

Write_To_Extension()

traceback:

Traceback (most recent call last):
  File "Main.py", line 253, in Run
  File "<frozen importlib._bootstrap_external>", line 407, in _check_name_wrapper
  File "<frozen importlib._bootstrap_external>", line 907, in load_module
  File "<frozen importlib._bootstrap_external>", line 732, in load_module
  File "<frozen importlib._bootstrap>", line 265, in _load_module_shim
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "D:\X4 Customizer\X4_Customizer_v1.24\Scripts\Vash transforms.py", line 44, in <module>
    Write_To_Extension()
  File "Common\Plugin_Manager.py", line 163, in wrapper
  File "Common\Plugin_Manager.py", line 138, in wrapper
  File "D:\X4 Customizer\X4_Customizer_v1.24\Plugins\Utilities\Write_Mod_Files.py", line 67, in Write_To_Extension
    File_System.Write_Files()
  File "File_Manager\File_System.py", line 87, in func_wrapper
  File "File_Manager\File_System.py", line 643, in Write_Files
  File "File_Manager\File_Types.py", line 769, in Write_File
  File "File_Manager\File_Types.py", line 739, in Get_Binary
  File "File_Manager\File_Types.py", line 707, in Get_Diff
  File "File_Manager\XML_Diff.py", line 629, in Make_Patch
  File "File_Manager\XML_Diff.py", line 772, in _Get_Patch_Ops_Recursive
AssertionError

Language id invalid

'..\Plugins\Utilities\Write_Mod_Files.py' line: 153

for lang_id in ['7','33','37','39','44','49','55','81','82','86','88']:

Change 37 to 34 to correctly reference the Spanish language id.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.