1. Factorio
  2. News

Factorio News

Factorio upgraded with controller support - now in the stable release

Factory building and automation sim Factorio has a fresh stable release out, continuing years of free upgrades and it now has gamepad controller support.

Read the full article here: https://www.gamingonlinux.com/2023/07/factorio-upgraded-with-controller-support-now-in-the-stable-release

Version 1.1.87 released as stable

Changes from 1.1.80 to 1.1.87

Features


  • Added controller(gamepad) support. Change input method in Settings->Controls to play using a controller.
Minor Features


  • Added contextual hotkey hints. Enable it in Settings->Interface. Useful when playing using a controller.
  • When connecting wires to entities with multiple sides(combinator, power switch), the hovered side is highlighted.
  • Changed --dump-data to write infinite values as the string "inf" and "-inf".
  • It is now possible to blueprint entities of friendly forces.
Changes


  • Updated SDL to version 2.26.5.
  • Replace "Version" column in mods install menu with "Last highlighted"
  • Disabled the Command+W keyboard shortcut for closing the game window on Macs. Command+Q will still quit the application. more
  • On macOS, left and right variants of the Command and Option keys are differentiated when not bound as a modifier.
  • Improved sounds fading in and out on game resume and pause.
  • Allow "Pick up items" and "Drop items" actions to be fired at the same time as other actions, in keyboard and mouse mode. more
  • "Pick up items" will no longer fire at the same time as other actions. This fixes character picking up items when flipping blueprints. more
Bugfixes


  • Fixed wind sound not changing its volume with zoom level.
  • Fixed that productivity values did not show correctly in some cases. more
  • Fixed texture compression artefacts on Apple Silicon Macs. more
  • Fixed that playing music with master volume and music volume set to 100% would mute all other sounds.
  • Fixed a crash when unit has a composite command with a dead unit group. more
  • Fixed that recipe category notification icons would draw under the category icon. more
  • Fixed that inserting invalid items into blueprint books through script would crash. more
  • Fixed being unable to copy or paste extremely large blueprint strings on Linux more
  • Fixed a desync between ARM and x86 platforms when the pathfinder was overloaded. more
  • Fixed a crash when trivial smoke was defined with bad movement speed values. more
  • Fixed that startup color mod settings would appear as changeable during runtime.
  • Fixed multiple forces being unable to order deconstruction of the same forceless entity. more
  • Fixed deconstruction markers being visible to forces which did not order the deconstruction.
  • Fixed inconsistent rounding in tooltips caused by floating-point inaccuracy. more
  • Fixed that upgrading modules with fast-transfer could cause the returned modules to overlap with the inventory hand.
  • Fixed not being able to type in textboxes on steam deck. more
  • Fixed that dump-icon-sprites did not work correctly for icons using shift values. more
  • Fixed ghosts could be removed even if they do not collide with built entity. more
  • Fixed a crash when removing modded pipe-to-ground that connects to a shifted pipe-to-ground. more
  • Fixed a crash when a mod sets a train's schedule while a temporary stop with no wait conditions is being removed.
  • Fixed a crash when saving the game after a server disconnect with non-blocking saving enabled.
  • Fixed that blueprints could have duplicate logistic filters. more
  • Fixed that LocalisedString ignored 'correct' translation status of its parameters. more
  • Fixed that some PNGs loaded darker than intended on Macs, affecting some mods.
  • Fixed remapped modifier keys not registering properly in some environments. more
  • Fixed that migrating color type mod settings did not work correctly. more
  • Fixed cancel deconstruction of pipe would not remove colliding pipe to ground ghosts.
  • Fixed a crash related to construction robots delivering items and upgrading entities in the same tick.
  • Fixed LuaSurface::force_generate_chunk_requests() did not respect generate_with_lab_tiles. more
  • Fixed changing recipe from one using custom fluidbox indexes into one not using custom fluidbox indexes could result in incorrect fluidbox layout. more
  • Fixed some sounds (for example sounds from programmable speaker or rocket silo) not fading out on pause.
  • Fixed a crash when trying to change direction of a loader simulation with fluid energy source. more
  • Fixed a loader with energy source would not consume all the energy from internal buffer preventing out of fuel icon from showing up. more
  • Fixed god/editor/spectator/ghost controller movement in latency when game speed is greater than 1.
  • Fixed building underground belt over transport belt with target direction set would create incorrect undo action. more
  • Fixed a desync when reading cursor_display_location in on_gui_click.
  • Fixed macOS release missing files due to a third party library bug.
  • Fixed "Enter/leave vehicle" shortcut never allowing other shortcuts to use the same key combination. more
  • Fixed a crash when downgrading ghost of assembling machine when target machine cannot craft recipe due to missing pipes. more
  • Fixed IME no longer working on Windows. more
  • Fixed on_entity_color_changed not being raised for some entities. more
  • Fixed a crash when trying to start sound fade out when there are no audio devices. more
  • Fixed that Factorio wouldn't load on macOS versions prior to 10.15. more
  • Fixed not being able to select assembling machine recipe if Craft, Craft 5 and Craft all were not bound to any button more
  • Fixed another crash when downgrading ghost of assembling machine when target machine cannot craft recipe due to missing pipes.
  • Fixed that you could blueprint enemy force tile ghosts.
  • Fixed that the mod manager would occasionally download updates that are incompatible with the current game version. more
  • Fixed missing support for wind and ambient category for sound prototypes. more
  • Fixed selection tool rendering in the chart for ghost rails. more
  • Fixed enemy expansion would fail to expand into chunks with entities invisible to the enemy. more
  • Fixed some controls allowing binding to buttons that would not work. more
  • Fixed LuaGameScript::check_prototype_translations() did not work correctly for manual localised strings with parameters. more
  • Fixed it was possible to drop cursor items through ghosts. more
  • Fixed a crash when fast replacing loader into a loader with fluid energy source when the loader type needs to be changed. more
  • Fixed LuaFluidBox::get_pipe_connections() returning target_index as zero-indexed.
Modding


  • Added CustomInputPrototype::controller_key_sequence and CustomInputPrototype::controller_alternative_key_sequence.
Scripting


  • Added optional surface parameter to LuaForce::rechart.
  • Added LuaGuiElement::auto_toggle read/write.
  • Added LuaGuiElement::toggled read/write.
  • BoundingBox accepts orientation from lua.
  • Added LuaModSettingPrototype::type read.
  • Added on_entity_color_changed.
  • Added on_player_input_method_changed.
  • Added defines.game_controller_interaction.
  • Added LuaGuiElement::game_controller_interaction read/write.
  • Added LuaPlayer::input_method read.
  • Added LuaSurface::find_closest_logistic_network_by_position.
  • Added optional area to LuaSurface::get_connected_tiles.
  • Added cursor_display_location to custom input events and on_gui_click.
  • Added target_fluidbox_index to PipeConnection.
  • Renamed PipeConnection's target_index to target_pipe_connection_index.
  • Added dash_offset to LuaRendering::draw_line.
  • Added LuaFluidBox::get_fluid_system_contents() method.
  • Added LuaFluidBox::get_pipe_connections() method.

Factorio adds controller support in experimental update

Good news for Steam Deck and gamepad fans, as official controller support is coming to Factorio and you can try it out right now.

Read the full article here: https://www.gamingonlinux.com/2023/06/factorio-adds-controller-support-in-experimental-update

Version 1.1.80 released as stable

Changes from 1.1.77 to 1.1.80

Minor Features


  • In the blueprint preview window, deselecting all train fuel items disables the 'Train fuel' option. (This was already the case for modules. https://forums.factorio.com/102804)
Graphics


  • Added support for Wayland on Linux. To enable it, set SDL_VIDEODRIVER=wayland in your environment. (thanks to raiguard)
Changes


  • Music no longer fades out on technology screen. more
  • On macOS, when AZERTY keyboard layout is used, the shortcut for Undo will default to Cmd + Z instead of Cmd + W. more
Bugfixes


  • Fixed 'on_string_translated' event having incorrect localised_string parameter for fallback groups.
  • Fixed that LuaPlayer::cursor_stack_temporary returned false for pasted blueprints. more
  • Fixed size issues related to mod relative GUIs. more
  • Fixed that item request proxies could be created through script with a count of 0. more
  • Fixed that electric energy interface entities didn't use the render layer defined in the prototype for animations. more
  • Fixed a memory corruption issue when saving under linux with async saving enabled. more
  • Fixed ping shown for a server in the multiplayer games browser sometimes not updating correctly.
  • Fixed the game would fail to load sprites with some mods when max texture size was set to 2048. more
  • Fixed centrifuge uranium glow effect flickering on and off on arm64 builds.
  • Fixed a scripting error in tips and tricks simulations related to mod migrations. more
  • Fixed a crash when downgrading specific entities in multiplayer. more
  • Fixed that LuaItemStack::transfer_stack didn't work correctly for inventories that went over normal item stack limits. more
  • Fixed TransportLine consistency issue when changing force of a linked-belt. more
  • Fixed a crash related to custom map generation. more
  • Fixed a crash with SDL's X11_XInput2. more
  • Fixed programmable speaker playing incorrect sound in certain scenarios. more
  • Fixed that create_spidertron() didn't scale lights correctly. more
  • Fixed LuaFluidBox::get_prototype would try to return fluidbox prototypes ignoring layout of fluidboxes when part of crafting machine. more
  • Fixed inserter could start moving to the drop target while still being in the pickup mode. more
  • Fixed multiple personal roboports discharging. more
  • Fixed that LuaLogisticNetwork::insert() wouldn't insert all of the requested items in some cases. more
  • Fixed loader would ignore ElectricEnergySourcePrototype::buffer_capacity. more
  • Fixed rotating a loader would not update heat connections if it has any. more
  • Fixed migrating loader energy sources between types could fail to update energy source buffer size. more
  • Fixed migrating inserter energy source between types could fail to update energy source buffer size.
  • Fixed migrating pump energy source between types could fail to update energy source buffer size.
  • Fixed migrating radar energy source between types could fail to update energy source buffer size.
  • Fixed migrating reactor energy source between types could fail to update energy source buffer size.
  • Fixed double sound when transferring crafting materials from cursor stack into crafting machine or when taking items from the result slot.
  • Fixed a desync related to fluid energy source energy extraction when floating point rounding errors are involved.
  • Fixed a bad error message when registering custom hotkey events with filters. more
  • Fixed that color mod settings wouldn't migrate to the default value. more
  • Fixed that escape did not work to close the user-login GUI. more
  • Fixed that the CustomGuiElement "switch" type would fire the click event twice. more
  • Fixed a rare crash related to watching replays. more
  • Fixed consistency issue related to building loader ghosts over existing loader ghosts. more
  • Fixed spilling items would fail to spread items when surface had width or height set to more than 2^31. more
  • Fixed an AI Pathfinder desync when changing goal_pressure_ratio while the pathfinder was running. more
  • Fixed land mine was not colliding with rail signals. more
  • Fixed a crash when disconnecting and reconnecting a display on Wayland more
  • Fixed inconsistent clipboard behavior on Wayland more
  • Fixed that disabling permissions to move didn't work correctly in some cases more
  • Fixed furnace would stop crafting when recipe could not be deduced from ingredients and technology effects were being reset. more
  • Fixed a crash related to script creation of entities. more
  • Fixed module and fuel entries disappearing from blueprint preview when selectively disabled, instead of showing up with count 0. more
  • Fixed automatic targeting with spidertrons did not work if all ammo slots were not filled. more
  • Fixed technology title not updating when technology was researched. more
  • Fixed horizontal lines ending up too short when close to line-wrapping labels more
  • Fixed a crash related to migrating spider vehicle guns. more
  • Fixed loader ghosts would connect to transport belts even when they had different forces. more
  • Fixed a crash when moving blueprint book to blueprint library when there is also another book that will get under the cursor and tooltips are showing. more
  • Fixed that "item-with-inventory" would allow setting inventory_size to "dynamic". more
  • Fixed balance of several audio files. more
  • Fixed InserterPrototype would accept too large stack size bonuses. more
  • Fixed a crash when maximum-sounds is set below 16, for example by using --disable-audio or on failed audio initialization. more
  • Fixed that some effects would sometimes be performed twice in multiplayer when FPS is lower than UPS.
  • Fixed LuaSurface::find_entities_filtered would not accept force indexes. more
  • Fixed that solar panels on multiple surfaces would all produce electricity based on a daytime of one of the surfaces when they were part of a single electric network with a script created wire between surfaces. more
  • Fixed that loaders would spill their items when fast-replaced or upgraded.
  • Fixed valid path searches failing because a previously failed path with a wider bounding box was cached. more
  • Fixed LuaRendering::draw_sprite and draw_animation throwing an exception when orientation_target was not given.
Modding


  • Added a command line flag (dump-data) to dump data-raw to the script output folder as json.
  • Added a command line flag (dump-icon-sprites) to dump prototype icons to the script output folder.
  • Added a command line flag (dump-prototype-locale) to dump prototype locale to the script output folder.
  • Sprites with size close to 2048px (or 4096px when high resolution is enabled) will have forced "no-atlas" priority. more
  • Added LoaderPrototype::energy_source and energy_per_item.
  • Added support for "icon_horizontal_align" to sprite-button.
  • Added "color-setting" prototype.
  • Added 'entity-ghost' and 'tile-ghost' selection tool modes.
  • Added chart.zoom_threshold_to_draw_spider_path utility constant.
Scripting


  • Added LuaControl::get_max_inventory_index() read.
  • Added LuaItemStack::entity_label and LuaItemStack::entity_color read.
  • Added "unlocks-recipe" to technology prototype filters.
  • ForceIdentification can now be specified by force index.
  • Added script_raised_teleported.
  • Added raise_teleported to LuaControl::teleport.
  • Added 'use_rich_text' parameter to LuaRendering::draw_text() and getter/setter functions.
  • Added 'has_item_inside' to LuaSurface::find_entities_filtered parameters. Will filter for entities that have the specified item inside them.
  • LuaFluidBox::get_prototype may return an array of LuaFluidBoxPrototype if the entity uses compound fluidboxes. more
  • Added optional character parameter to LuaSurface::create_entity. Will simulate fast replacing using the character.
  • Added LuaEntityPrototype::max_power_output read support for burner generators.
  • Added LuaItemStack::use_capsule.
  • Added LuaEntity::beacons_count read.
  • Added LuaEntity::get_beacons().
  • Added LuaEntity::get_beacon_effect_receivers().
  • Added LuaRendering::use_target_orientation for Sprite, Animation, and Polygon.
  • Added on_gui_hover, on_gui_leave.
  • Added LuaGuiElement::raise_hover_events read/write.

Factorio gets official Wayland support on Linux

Are you a Wayland user? Do you play Factorio? The latest update should make things a lot smoother for you.

Read the full article here: https://www.gamingonlinux.com/2023/03/factorio-gets-official-wayland-support-on-linux