LINUX.ORG.RU

Сообщения s1n

 

Ion Maiden

Форум — Games

Для любителей старого дюка, сейчас пилят новую игру «Ion Maiden». Превью компанию прошел, мяса много, враги меткие, АИ туповат, оружия 4 штуки, тормозит как будто крайзис 3, а графон словно из 90х.

Игра использует открытый движок eduke32.

Линукс тут притом, что игра нативная, плюс в игре есть линуксы.

 ,

s1n
()

Пятиклассник изобрел миниатюрный суперкомпьютер

Форум — Talks

Собственно сабж и немного подробностей:

https://www.youtube.com/watch?v=IGAB9yNy6U8

Дело Попова живёт.

з.ы. на видео не я, просто разместил объяву.

 ,

s1n
()

TV-тюнер

Форум — Linux-hardware

Добрый день!

В общем решил разжиться не дорогим TV-тюнером, чтобы в божественном линуксе играть в консольки разные. На выбор имеются от денди с композитом до ps4 с hdmi. В целом охота для начала поиграться в старые консольки, максимум с компонентом.

Главные критерии, это поддержка Debian и цена маленькая.

з.ы. был usb EasyCAP какой-то древний, но запустить под линуксом я так и не смог, а под виндой он еще и артефакты показывал. Выбросил.

з.ы.2. Про эмуляторы я знаю. Просто хочу железо потыкать. Монитор умеет только в DVI и VGA.

 , ,

s1n
()

ПО для рисования мебели

Форум — Talks

Добрый день, ищу софт под Debian для рисования/проектирования мебели. Что посоветуете? Под оффтопиком 100500 времени назад пользовался pro100. В целом хочу нарисовать полочки и тумбу, а потом заказать распил и уже самому собрать мебель.

з.ы. еще интересно есть ли репозиторий разных проектов мебели, чтобы можно там что-нибудь форкнуть.

 ,

s1n
()

Наличие данных в конце бинарного файла

Форум — Development

Хочу написать баш-скрипт, который проверяет бинарные файлы и если в конце его есть нужна строка, то отрезает n-ое количество байт от файла. Если с последним в целом понятно и есть truncate, то вот с первым проблемка. Сначала хотел через strings вытащить все строки и проверить последнюю, но проблема в том, что данная строка может быть и в середине файла. Единственный костыль придумал через stat и dd отрезать начало файла и потом грепать его:

#!/bin/bash
declare -i truncsize=0
filesize=$(stat -c%s "$1")
truncsize="$filesize - 10"

dd if="$1" of=/tmp/out.qwe skip=$truncsize bs=1
if grep -q "teststring" /tmp/out.qwe;
then
  truncate -s -10 "$1"
else
  echo NORM
fi

Интересует, если какой-нибудь более короткий способ проверить конец бинарного файла?

 ,

s1n
()

Postal Open Source

Форум — Games

Если кратко: спустя 19 лет выложили первую часть игры Postal в Open Source под лицензией GPL2.

Новость

Репозиторий

 ,

s1n
()

Вывод звука по умолчанию в Pulse

Форум — Desktop

Есть PC (с GNU/Debian на борту) и к нему подключен телевизор через HDMI. Звук соответственно выводился через HDMI. Все шло хорошо. Недавно заметил, что если телек вырубить, то дефолтный вывод меняется на обычный вывод вместо HDMI и после включения телевизор вывод звука не меняется на HDMI.

Вывод нормального человека:

$ pacmd list-sinks  | grep -e 'name:'  -e 'alsa.device ' -e 'alsa.subdevice '
	name: <alsa_output.pci-0000_00_1b.0.hdmi-stereo>
		alsa.subdevice = "0"
		alsa.device = "3"

Вывод курильщика:

$ pacmd list-sinks  | grep -e 'name:'  -e 'alsa.device ' -e 'alsa.subdevice '
	name: <alsa_output.pci-0000_00_1b.0.iec958-stereo>
		alsa.subdevice = "0"
		alsa.device = "1"

Начал рыть интернеты. В итоге в /etc/pulse/default.pa прописал:

set-default-sink alsa_output.pci-0000_00_1b.0.hdmi-stereo
Вырубил pulseaudio, удалил ~/.config/pulse и завно его запустил. Не помогло. Там же в /etc/pulse/default.pa прописал:
load-module module-alsa-sink device=hw:0,3
Тоже не помогло.

Вариант с

load-module module-stream-restore restore_device=false
тоже не помог.

Что забавно, если перезапустить пульсу, то подхватывается HDMI по умолчанию. Если телек вырубается или переключается, то вновь HDMI теряется. Как вариант написать баш-скрипт, который ребутит pulseaudio перед каждым запуском mpv или kodi, но это все же костыль и не хотелось бы до такого опускаться.

Вариант «удалить пульсу и сидеть на альсе» - не вариант.

 ,

s1n
()

Falltergeist 0.1.2

Форум — Games

Тихо и не заметно 12.09.2014 вышло обновление открытой реализации движка игры Fallout 1/2. Из нововведений это новый участник Вадим В. Балашов (v.v.b.), рефакторинг кода и отделение рендера в отдельный модуль. Сейчас существует уже два рендера SDL и OpenGL.

Новость на сайте.

Снимок экрана 1, снимок экрана 2, видео.

Так же открылся форум.

 , , ,

s1n
()

Steam + Debian + HD Graphics 2000

Форум — Games

Раньше торчала GeForce GTX 260 с проприетарными дровами и проблем не было. Надоело, вытащил её и стал пользоваться встроенной HD Graphics 2000 на моем Core i5.

Теперь перестал запускаться steam. Пробовал его вычищать из системы, заодно полность удалял:

  • ~/.local/share/steam
  • ~/.steam/
  • ~/Steam/

Теперь при запуске выдает: http://pastebin.com/Js1kW6E4

glxinfo: http://pastebin.com/fhKJh4X7

Xorg.0.log: http://pastebin.com/E1qaWpHK

OS: Debian Jessie x86

 ,

s1n
()

Released Dwarf Fortress 0.40.01

Форум — Games

http://www.bay12games.com/dwarves/index.html#R2014-07-07

Here is the world activation release! Lots of processes from world generation — birth, invasions, succession, site foundation, and so on — now operate in the world after play has begun. Getting all of that to work led to a meandering route through various pieces of the game, some of which are described below. Aside from any bugginess, a lot of it will still feel rough and unfinished as things bump around.

New stuff

  • World activation! There are a few things that aren't active, like megabeast invasions, but lots of world gen actions made it into the game. Birth, death (to the extent it wasn't handled before), marriages, site foundation as well as reclaims, basic succession and appointments/etc., invasions, as well as some more detail beyond world gen, like patrols, banditry and animal population handling. We still don't have army battles — the invasions are all successful right now, unless they are locally interfered with by you.
  • The game advances two weeks before each play — the calendar there still moves slowly when there's a lot of action, as there is in larger worlds, but there are quite a few things I can do soon to speed that up. Due to the speed of the calendar, new forts in particular also get just two weeks. This'll probably cause some shenanigans with the caravan (or you'll just have to wait a year in an autumn fort for your first one) until we sort it out.
  • Fortresses can be retired and unretired. Losing is still fun but if it doesn't happen when you want, you can put it off for a while. Retired forts can be conquered (much more easily than they would be if you still controlled them), so don't be surprised if you have to reclaim instead of being able to unretire sometimes. You can reclaim forts that didn't make it through world generation.
  • Site maps for dwarves, elves and goblins. These are very basic, but they are there, anyway.
  • Multi-tile trees and lots of new plants. Fruit and flowers. Leaves that fall in little clouds. I had to put off dwarf mode tree harvesting, but we should get to that before long.
  • Megabeasts/forgotten beasts can attack, destroy and then reside within world gen sites like dwarf fortresses.
  • Various movement changes. Climbing/jumping/sprinting in both modes, though invaders still require a line of site to use them. Adventure mode has a stealth rewrite, and some elements of that are present in dwarf mode (it is generally easier to spot thieves and ambushers, and I'll probably need to make them smarter about finding cover). Movement and combat are separate now. Startled people climb up the walls of their homes a little too often. Tracking information in adventure mode. You can pull up a little window and see tracks (capital K), and you can also have it describe the freshest track that isn't yours to more easily stay on a trail (alt K). Tracks are also part of the regular look command.
  • Different levels of conflict — your opponents in adventure mode will be listed with the current status (non-lethal, lethal, no quarter, etc.).
  • Combat moves take place over a period of time now, and you can do things like catching an opponent's attack — you have to do that by targeting a grab at the offending part now (reactions used to have a menu, but that was before combat got more smeared out). You can get information about what attacks your opponent is doing in the attack menu — the quality of the information depends on your situational awareness skill. You can add adjective modifiers to your attacks (quick/heavy/etc.) and you can perform more than one attack at a time for a significant penalty to its force. It might make sense with two adamantine swords or something, twirling them about.
  • Rumors of incidents can be spread, and the rumors need to be spread before you gain reputation (good or bad). Killing all of the witnesses to an event will effectively remove it from play if you don't let them get off the screen. People are a little psychic as it regards ongoing conflicts, so that they can make decisions non-stupidly. Your liaison can share rumors with your fort, but I still need to set up the screen for reviewing them after you've seen them the first time... not that you can do much with the information.
  • You can travel through tunnels.
  • You can get a guide to travel with you to a faraway place — it still ended up being too cumbersome, so locals continue to be able to tell you the location of sites, but only within a certain distance of their home town.
  • In general, conversations have been redone. They no longer have their own screen, but run along with other actions, and there are many more options.
  • The mind has been rewritten quite a bit — people now experience emotions according to different circumstances (lots of awkward monologues there), and they consider actions differently. The main outstanding issue is that I didn't get around to converting existing dwarf mode thoughts, so they sort of exist concurrently with the new emotions and that needs to be changed. I'll get to that before job priorities (which was one of the main shorter-term reasons for the rewrite). Some dwarves have life-long dreams and it is possible for them to recognize that they've accomplished the ones relating to skills and family. They cannot yet realize their dreams of taking over the world.
  • The paragraph at the beginning of adventure mode was marginally more useful, but that slipped a bit at the end as things were tweaked. I think it'll still describe certain invasions and abductions, but it needs to be redone.
  • Lots of new arena options — not just the conflict state, but you can set the temperature etc. to all sorts of extremes.
  • Some experiments with procedural items, though the new demon-type sites are still quite un-fun now. The knowledge on the slab at the bottom can be used, but it is probably not worth the trouble.
  • The stuff I forgot

Bug fixes

  • I'm sure several old bugs were «fixed» as large portions of the code was rewritten/removed, but I haven't tried to track exactly which ones. Bug fixes will commence in earnest now, and everything will be handled over at the bug tracker.

Скачать

 , ,

s1n
()

OpenMW 0.27.0 Released

Форум — Games

Changelog:

  • Implemented Acrobatics
  • Implemented God Mode
  • Implemented torch extinguishing
  • Implemented breath meter color change when it is running low
  • Fixed polish language version of Morrowind crashing OpenMW
  • Fixed decimal numbers not displaying correctly in the UI
  • Fixed camera not lowering while sneaking
  • Fixed ambient sounds playing while the game is paused
  • Fixed being able to enter third person view with the mousewheel when it should be disabled
  • Fixed some CDs not working correctly with Unshield installer
  • Fixed a script instruction to allow the Quick Character Creation plugin to work
  • Fixed fatigue not regenerating when jumping
  • Fixed Laire dieing inexplicably in Beshara
  • Merged the –master and –plugin switches
  • OpenCS: Implemented a start dialogue
  • OpenCS: Implemented handling file paths so that files are saved only to the local data cirectory, and only with OpenMW extensions: omwgame/omwaddon
  • OpenCS: Implemented Saving
  • OpenCS: Implemented new ESX selector
  • OpenCS: Implemented enforcing single-instance mode since multiple projects can be open
  • OpenCS: Implemented record filtering
  • OpenCS: Implemented default record filters
  • OpenCS: Proper compiler configuration (currently used only for syntax highlighting)

 ,

s1n
()

RSS подписка на новые темы