Showing posts with label win. Show all posts
Showing posts with label win. Show all posts

Tuesday, December 27, 2011

Terraria vs Mumble Conflict

There is currently a problem starting Terraria when you also have Mumble running.

Apparently that a lot of people have problems starting the game, but no one seems to be sure of the issue. Some say it's because of the .NET or XNA framework and others say it could be a conflict with creative sound cards.

Of course, you should check if you have the latest .NET and XNA framework installed. Be sure to have the latest Creative drivers for your card (mine installed automagically with Windows Update optional updates). You could try verifying Terraria game cache integrity under Steam.

I was getting a "Terraria stopped working" window with the follwing details:
Problem signature:
  Problem Event Name:    APPCRASH
  Application Name:    Terraria.exe
  Application Version:    1.0.4.0
  Application Timestamp:    4eea0a07
  Fault Module Name:    RTSSHooks.dll
  Fault Module Version:    0.0.0.0
  Fault Module Timestamp:    4d4fb7eb
  Exception Code:    c0000005
  Exception Offset:    0000a5f2
  OS Version:    6.1.7601.2.1.0.256.48
  Locale ID:    3084
  Additional Information 1:    0a9e
  Additional Information 2:    0a9e372d3b4ad19135b953a78882e789
  Additional Information 3:    0a9e
  Additional Information 4:    0a9e372d3b4ad19135b953a78882e789

Read our privacy statement online:
  http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

If the online privacy statement is not available, please read our privacy statement offline:
  C:\Windows\system32\en-US\erofflps.txt


A workaround is to stop Mumble, start Terraria, then restart Mumble. This conflict could very well happen with something else than Mumble. I have a Creative sound card (good old Audigy 1), but I don't know how to fix this issue so I am unsure if it's related.

What kind of sound card do you have? Did you have the same issue using another sound-related software?

EDIT: Not just Terraria! Grand Theft Auto 4 also crashes on start if Mumble is open.

Monday, June 6, 2011

hidden scheduled task

When running a batch file or ruby script (even .rbw) or anything that does not have a GUI, a cmd window normally pops up. This is surely unwanted when scheduling a task with those kind of programs. Sadly, I don't see any checkbox to hide the window at runtime in the scheduled task wizard.

The best way I found is posted at http://serverfault.com/questions/9038/run-a-bat-file-in-a-scheduled-task-without-a-window.

Schedule a .vbs script containing something like:
Set WinScriptHost = CreateObject("WScript.Shell")
WinScriptHost.Run Chr(34) & "C:\Scheduled Jobs\mybat.bat" & Chr(34), 0
Set WinScriptHost = Nothing

There are other tools like hstart and cmdow that lets you do pretty much the same thing, but I prefer using built-in tools a lot more.

Sunday, March 27, 2011

SSHFS on Windows

or secure file sharing, a replacement for samba (windows client, accessing files on *nix server).

DokanInstall_0.6.0.exe Dokan library (http://dokan-dev.net/en)
dokan-sshfs-0201226.zip for installer and explorer context menu
dokan-sshfs-0.6.0.zip take DokanNet.dll and DokanSSHFS.exe and replace in 0201226.

Advantages secure, read/write, easy to install.
Drawback easily bottlenecks at a few MBps on slow CPU. Not multi-core. Shows bad size information. Unstable?

Sunday, December 19, 2010

delete service in windows 7 / 2008

To remove an entry from the list of services in windows 7 / 2008 (and maybe others), first get the full name of the service (win+r, services.msc).

Then, in a command prompt (win+r, cmd, run as administrator), type
sc delete servicename
where servicename is the full name of the service. If it contains spaces, put double quotes around it.

It may be necessary to reboot for the service to be completely removed from the list.

Tuesday, December 14, 2010

cygwin packages and binairies search

For example, searching for strings utility:
cygcheck -p strings.exe

Best to add .exe if you know it's an executable --- it will narrow the search.

ref: http://www.trueblade.com/knowledge/finding-which-cygwin-package-contains-a-particular-file

Saturday, November 20, 2010

open pdf with gimp on win

Install ghostscript.

Accentuated characters in file names breaks import.

Wednesday, November 17, 2010

windows at work

Here are some tips on how to set up a computer at work. There should be the least possible influence to other accounts or system-wide settings.

firefox + addons
gvim
launchy
avast
processxp
foobar2000 (and usb sound-card + phones + somafm :)
ctrl2caps (not system-wide?)
coretemp
tail

Saturday, October 16, 2010

gimp win language

For some reason, by default, Gimp runs in french on my 7(English) desktop. I didn't find any option to change language, in Gimp or GTK. So, to start Gimp in English, make a batch file containing something like:
set lang=en
cd C:\Program Files (x86)\GIMP-2.0\bin
gimp-2.6.exe

Wednesday, October 13, 2010

file type association win7

cmd as admin (using powershell does not work, why?)
assoc
ftype

assoc .rar=7zip
assoc .rar=

Tuesday, June 15, 2010

dbus and X forwarding

Under Ubuntu 10.4
It seems some files under ~/.dbus are set to owner root, which causes problems when starting an X application over SSH.

chowning -R ~/.dbus to user seems to fix the problem.

Under Windows 7
PuTTY often crashes when forwarding an X application. Could this be related?

Sunday, June 13, 2010

vlc

ca fait 2 fois que je me fais fourrer avec vlc

- ma livecam n'a pas d'image quand je tente d'ouvrir un peripherique
  de capture a son nom;
- le desktop recording n'a pas l'air de fonctionner.

EDIT: un cossin trop automatique c'est juste donné le droit d'updater un driver. J'ai rebranché la cam et j'ai maintenant une image invert (AKA je suis bleu). Je ne suis cependant toujours pas capable de rediriger ça dans un file.

Saturday, May 8, 2010

steam is single-user

It is not possible to have multiple users running steam (Windows 7). Worse than that, because any user can run steam, passwords are remembered between sessions. AKA my girlfriend receives my steam chat when she's using my box.

The Steam client is not a system-wide service. It's a game manager, chat client and browser (!?). Each user has its own steam account --- it makes no sense to have these settings system-wide. What kind of design is this? Please fix it! (I'm aware this isn't an open source project and I don't really have anything to say about it, but it's not a feature request. This is a flaw that needs to be fixed).

natural selection 2 beta tests

Lags!

No option to invert mouse in menus. To invert mouse, edit line 197 of player.lua to
local angles = Angles(-1 * input.pitch, input.yaw, 0.0)

Sunday, April 25, 2010

disable hibernation in windows 7

Start, type command, right-click run as administrator, and type powercfg -h off.

This will disable hibernation and remove hiberfil.sys, which saves a lot of disk space when you have a lot of RAM.

Friday, April 9, 2010

jabber (gtalk) client

Google Talk client from Google sucks. I didn't find any way to disable pop-ups so it keeps switching to desktop whenever I receive a new message, which is horribly annoying when playing games.

Pidgin sucks, as it does the same thing. I also heard that it takes huge amount of RAM after several days of use under Ubuntu (mem leak?).

I'm now using Psi and so far like it.

Wednesday, March 31, 2010

login to unix remote with rsa key pair from windows

On Windows client, we need:
  • PuTTY
  • PuTTYgen
  • Pageant
Use PuTTYgen to make key pair, save private key to file and copy public key to clipboard. Add key to Pageant.

On Unix remote, edit ~/.ssh/authorized_keys and add public key from Windows clipboard (one-line).

Use PuTTY to login to remote. WinSCP also uses Pageant when possible.

Thursday, February 18, 2010

moving users

  Apparemment que la pratique commune pour changer le répertoire "C:\Users" vers un autre dossier ou partition est de faire ça tout croche, alors j'ose éclaircir la chose et faire part de ce que ça donne.

Background
On devrait y trouvé tous nos fichiers de configuration (par user) pour chaque programme, en plus des documents ou autres. Faites simplement l'analogie avec "/home" sous un Unix. "/home" est le parent pour tous les users.
Les nouveaux users s'y trouveront aussi. On ne veut pas ces fichiers sur la partition système. C'est une séparation naturelle.

Façons stupides
- Changer un par un la location de chaque "library" sous un certain user. Utile que pour faire rapidement de la place de façon ghetto.
- Essayer des cossins sans faire de backup.
- Laisser faire car c'est pas dans un menu et ça pas l'air si facile. J'ai failli succomber à cette dernière.

  Il se peut très bien que mes essaies engendre l'effacement de tous mes données, soit par erreur technique ou humaine, alors j'ai pris le temps de faire un backup de mes trucs. En fait j'ai plutôt fait un backup de la partition système entière, et cela pour 2 raisons:
- Je peux scrapper le boot.
- En voulant faire une archive du dossier "C:\Users", j'ai constaté l'échec. Au départ, je croyais que la copie fût extrêment rapide, mais en vérifiant la grosseur de l'archive j'ai bien vu que c'était impossible. Moins d'1% des données s'y retrouvait. Aucun message d'erreur! On n'a simplement pas accès aux données, et ils sont ignorées. Je ne me suis pas lancé dans explorer en cliquant sur tous les fichiers pour y avoir accès.
- Car il étant temps que j'en fasse un.

  Y a-t-il une façon de faire des symbolic links sous Windows, comme on l'a longtemps fait avec unix? Et bien apparemment que oui. Depuis peut-être 2000 avec des jonctions! Depuis Vista je crois qu'il y a aussi du support pour de vrais symlinks, qui fonctionneraient over network, mais je n'en vois pas l'utilité ici.

reboot
f8 avant que win load
recovery (premier choix)
log as admin (j'avais un dummy admin, je ne sais pas si c'était nécessaire)
command prompt
  robocopy C:\Users D:\Users /E /COPYALL /XJ
  rmdir /S /Q C:\Users
  rmdir "C:\Documents and Settings"
  mklink /J C:\Users D:\Users
  mklink /J "C:\Documents and Settings" D:\Users
  exit
alt-ctrl-del, reboot

ref: http://forums.techarena.in/vista-setup-install/620001.htm#post4477675

  Pour le saké de la chose, certains modifiaient avec succès des keys sous HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList mais je ne connais pas la procédure exact; apparemment qu'on doit changer une douzaine de registres! J'aime mieux la façon mklink, qui a fonctionné sur un setup qui roulait depuis plus de 4 mois.

Friday, December 18, 2009

unison on win

first get gtk+ runtime libs.

then get unison.

tested on winxp32 and win7x64.

EDIT: latest redist package: http://www.microsoft.com/downloads/en/ResultsForProduct.aspx?productID=23947d52-b2bc-4e88-8c51-e81dc2905b0d&stype=n_a2z

Monday, December 7, 2009

mp

For Win7x64: foobar2000 http://www.foobar2000.org
For Linux: mplayer, for a lack of anything better (rythmbox and the one from KDE never impressed me)
For both: vlc for video