WineHQ
Category: Main Games Torchlight 1.x

Torchlight

This includes the current version of Torchlight and all updates for version 1. Since older binaries are no longer available once the install sources are updated, it makes no sense to maintain separate versions.

Application Details:

Version: 1.x
License: Retail
URL: http://www.torchlightgame.com/
Votes: 5
Latest Rating: Platinum
Latest Wine Version Tested: 2.4

Maintainers: About Maintainership

Test Results

Old test results
The test results you have selected are very old and may not represent the current state of Wine.
Selected Test Results

What works

Everything appears to be working very well, loading saving and running! Played for about an hour and tested every feature aside from netplay.

What does not

Unknown as of yet

Workarounds

What was not tested

Netplay

Hardware tested

Graphics:

  • GPU:
  • Driver:

Additional Comments

So my steps ~Before Install # winetricks dcom98 vcrun2008 mono24 ~Installed Game # cd ~/.wine/c/Programme/Runic\ Games/Torchlight/ # wine Torchlight.exe SAFEMODE=1 ~ Go to Settings--> Enter desired resolution, select ok and game will error out. # winecfg ~ Select Graphics-->Emulate virtual desktop | enter resolution for game # wine Torchlight.exe Worked flawless for me!

selected in Test Results table below
Operating systemTest dateWine versionInstalls?Runs?Used
Workaround?
RatingSubmitter
ShowUbuntu 16.10 "Yakkety" amd64 (+ variants like Kubuntu)Apr 03 20172.4Yes Yes PlatinumDmitri Smirnov 
ShowUbuntu 16.10 "Yakkety" amd64 (+ variants like Kubuntu)Mar 27 20172.4Yes Yes PlatinumBen 
ShowArch Linux x86_64Mar 13 20161.9.5Yes Yes Platinuman anonymous user 
ShowManjaro LinuxMar 07 20161.9.4Yes Yes Platinuman anonymous user 
ShowLinux Mint 17.3 "Rosa" x86_64Feb 06 20161.8.1Yes Yes Platinuman anonymous user 

Known Bugs

Bug # Description Status Resolution Other apps affected
42289 Torchlight "not responding" dialog in wine-staging UNCONFIRMED View

Show all bugs

HowTo / Notes

Installation Source
Please, when making comments and submitting test results, please include where you got the installation files. It is confirmed, there seems to be enough of a difference in the installation files between different sources of where you can get/buy torchlight, so again please note that in your comments and submissions.
HOWTO

1. Buy and Download installation file from either Gamersgate.com or Steam, "torchlightgame.com" and "perforctworld.com" versions will install but will NOT run.

2. download winetricks (http://wiki.winehq.org/winetricks)

3. sh winetricks vcrun2008 d3dx9

4. download http://www.runicgames.com/uploads/safemode.zip, extract the files and run the .bat file using wine

5. either run winecfg and configure Display to run in emmulated desktop, or use the command line $ wine explorer desktop=Torchlight,1280x1024 "c:\program files\runic games\torchlight\torchlight.exe"

Forgive me for the moment until I can confirm the above $PATH stuff again, but I am doing this from memory. I have yet to succesfully run this game as I have the torchlightgames.com version. All comments are welcome and if you have new information for this howto please also note it in the comments section so we can maintain a properly updated HOWTO.

Comments

The following comments are owned by whoever posted them. WineHQ is not responsible for what they say.

1.7.8 Notes with Gentoo
by Fletch Hasues on Tuesday March 18th 2014, 0:14
Seeing as I can't edit my old notes above, it appears this affects Torchlight on Wine 1.7.8:

bugs.winehq.org/show_bug.cgi?id=35361

Essentially, disable Steam In-Game overlay support or update to Wine.
Works with Wine 1.7.7
by Carlos Rodriguez on Wednesday December 18th 2013, 9:31
Tested on:

Wine 1.7.7 (compilado)
Nvidia Drivers 331.20 (.run package)
Linux Mint 15 KDE 32Bit - Kernel 3.8.0.26 PAE
CPU: INTEL Pentium G3220 (Nucleo Haswell a 22nm) 3.0Ghz (Dual-Core) Stock Clock
MEM: 8GB DDR3 1333 (2x4) Patriot value (128 bit dual channel: 21.3 gb/s)
GPU: Zotac Nvidia Geforce GT630 (GK208 28nm: 384 Shaders / 8 ROPS) Zone Edition Passive Cooling 2GB DDR3 1800Mhz a 64Bit (14.4Gb/s)
MAINBOARD: MSI H81M E33

www.youtube.com/watch?v=jmbpHMuefv4
how to for opensuse 12.2
by Joël on Sunday July 21st 2013, 8:04
) using wine 1.6
) using the steam version of the game

There is a 'Plugins.cfg' file in the game directory with these lines :
'Plugin=RenderSystem_Direct3D9
#Plugin=RenderSystem_GL'

DO NOT edit the # to enable GL rendering, it doesn't work (game crashes before rendering anything).

in 'winecfg' add the following libraries overrides (no need to download them because they're already there) :

d3dx9_39.dll
msvcp90.dll
msvcr90.dll

(edit to native and enjoy the game)
Ubuntu 13.04 x64, GF 560, wine 1.5
by digitalblade on Wednesday June 19th 2013, 4:07
I got the game from GOG website. Installed the installer with the Wine GUI. No problems, out of the box it worked. However I already had installed DirectX 9 and 10 in wine, as well as most of the vc libraries so other games can play.
only runs from install
by Fernando Martins on Wednesday November 28th 2012, 15:47
The game ran fine after install (GoG version), when it asked if I wanted to run the game. However, after that, it's always crashing:

Backtrace:
=>0 0x100b3480 ? logMessage@LogManager@Ogre@@QAEXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@W4LogMessageLevel@2@_N@Z() in ogremain (0x78550a2a)
1 0xe8785acc (0x18680c6a)
0x100b3480 ? logMessage@LogManager@Ogre@@QAEXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@W4LogMessageLevel@2@_N@Z in ogremain: movl 0x24(%ecx),%ecx

-SAFEMODE option does not make a difference.
RE: only runs from install
by Fernando Martins on Saturday December 1st 2012, 10:41
I found this happens because I had not yet installed vcrun2008 with winetricks. The problem is that a function is needed from this library (see bug 31845 above) when quitting the game. Because the game does not quit correctly, the sate of the game is not saved correctly. At start time, the game crashes when it finds the corrupt game state.

So, don't run the game from the install process. Finish it, install vcrun2008, and it should be fine. So far, no need for d3dx9
Humble Bundle VI version
by Jim Salter on Sunday September 30th 2012, 20:26
I'm running Ubuntu Precise x64. Very vanilla. Downloaded the Windows version of Torchlight from my copy of the Humble Bundle 6, ran the installer in Wine, and poof - instant gratification. Everything works flawlessly. No tweaking was required.
Torchlight way too dark
by Zombirate on Wednesday September 19th 2012, 10:53
After a lot of struggling I've managed to get Torchlight to work, but now I have a new problem - Torchlight is too dark. Everything, from the loading screen to in-game, and menus/HUD are affected too. It's not the black texture problem, as I can see the textures, they're just way too dark. Is there any way I can fix this?
Native Linux version available
by Lauri Niskanen on Tuesday September 18th 2012, 15:08
There's also a native Linux version of Torchlight available. You can get it at least as a part of Humble Indie Bundle 6:
www.humblebundle.com/
GOG version of Torchlight working great
by Little Girl on Friday July 6th 2012, 22:16
We got the GOG version of Torchlight and are using it in Kubuntu Lucid Lynx and Ubuntu Lucid Lynx with absolutely no problem. Everything is working and the game runs smoothly and looks beautiful. We didn't have to do install anything from Winetricks to get it to run, but it's possible we already had what we needed installed. Either way, it was a quick and painless installation and it behaves as though it's native.
Does not require winetricks
by Jamie Nadeau on Thursday June 21st 2012, 10:03
I've compiled version 1.5.6 from git and have had no issues with installing steam, then letting steam setup directx and the visual C++ runtime. Runs perfectly without any issues on Arch Linux. There was no sound at first but that's because I was missing lib32-alsa-plugins and lib32-libpulse on my 64 bit system.
Unhandled page fault
by azure on Wednesday May 30th 2012, 15:00
Platinum?? All I get is "wine: Unhandled page fault on read access to 0x7f77b31b at address 0x7f77b31b (thread 0009), starting debugger...
Unhandled exception: page fault on read access to 0x7f77b31b in 32-bit code (0x7f77b31b)." Furthermore, a quick Googling proves I'm hardly the only one, and there is NO working fix available: just guesses and conjecture. I would love to actually have this game (or anything at all) work in wine. The fact is that wine is and always has been pretty terrible software. While not directing my comments at anyone in particular, I'd like to take this opportunity to point out a few things...

1) I have NEVER succeeded in having wine properly run ANYTHING I've wanted to run. The things it will run are things for which there are numerous superior Linux alternatives. As such, I've never had any use for wine.

2) Wine is often advocated as a reasonable means of playing Windows games on Linux. But on the rare occasion it works at all it usually only does so after significant tweaking and hacking. This proves wine has never gone beyond alpha/beta software. Windows, after all, does not have a problem running Torchlight. So if wine is successful in the least at pretending to be Windows, then the end user wouldn't have to spend hours hacking at wine in the misguided hope it will magically start working. For those of you who find some success, you're lucky, and that is all.

3) The wine community/developers/etc. are apparently completely disorganized or possibly even dishonest. Take for example Torchlight's platinum rating. It is a joke! If a piece of software has a platinum rating that is supposed to mean it works immediately or with only very mild, simple, reasonable tweaks, perhaps. Am I mistaken?? However, this game is peopled for years with users who have the same "unhandled page fault" error over and over again. There has NEVER been any serious fix for this problem. No one expresses any understanding of it in any forum or comment section. All you get is, "Oh...uh... It works for me... Uhm... maybe try these random things..." One gets the impression you'd have better results praying for it to work or lighting incense as an offering to the computer deities so they'll un-break wine.

4) This article lauding how well wine allegedly works for Torchlight contains a broken link to part of the instructions and the referenced file isn't available anywhere. Then you have random comments around the 'net claiming you don't need safemode.zip anymore. No one says why this is supposedly the case. No one explains why after NOT having it and NOT running it this error continues to occur. Who even knows what is in the file?!?

5) Considering that I have tried NUMEROUS versions of wine with NUMEROUS pieces of software over MANY years and across MANY distributions of Linux from Ubuntu to Gentoo only to discover that NOTHING EVER WORKS AS ADVERTIZED I'm completely at a loss as to why wine is even continuing to be maintained. Functionally it has NEVER been maintained or done right in the first place. If it can neither run a VERY popular, three-year-old game nor even adequately explain why it won't/can't, then it clearly is very poorly supported and maintained by a largely incompetent group. Meanwhile, it would seem a great deal of time and effort has gone into this website which is mostly filled with completely misleading information giving people the FALSE impression that software works with wine that clearly does not. It would be much more honest to advertize wine as perpetual beta-ware and explain to end users that they'll likely have to become expert in every aspect of wine, windows api, the particular software they hope to run, etc. And they better have time and talent to take the VERY buggy wine application and somehow build a bridge between it and the particular piece of software they hope to run. After all that, they'll likely end up either deciding to do without the software or just configuring a dual-boot system so they can run it in Windows. Actually running things in wine with consistent success is about as likely as winning the lottery. Sure, it happens every day for some people, but for any given person it is more likely to prove to be an irritating waste of time and effort.

All that being said, I sincerely hope the "wine people" eventually get their acts together. After so many years of consistent failure, I'll be rather surprised if they do. Part of the problem is likely that in trying to mimic Windows one is already trying to mimic a broken, unholy mess! And that is fine and reasonable. But be honest about the extreme limitations of wine. It is truly pathetic to rate it platinum for a very popular three year old game that actually will not run for a HUGE number of people. If that rating is accurate, then on a scale from one to ten wine's "platinum" is a three or a four and there is no rating above that. It is ridiculous to have outdated information on the main page for the game (broken link to non-existent, allegedly no longer needed file). If someone has the magic words to say over my system to actually make Torchlight work with wine, I would be extremely appreciated to learn them. As it is, I'm likely stuck playing Torchlight on my Windows laptop, because I'm only here hoping to play Torchlight on my Linux desktop. I AM NOT here to help wine developers debug their code and join the team working to build the bridge between wine and Torchlight. I have REAL work to do. During my free time I like to relax and sometimes play video games--not take on MORE work in the hopes of EVENTUALLY playing the video games. Had winehq been honest about the alpha/beta state of the support for Torchlight, I would not have even tried to set it up. Having been misled, I've now wasted time I could have been playing working pro bono to debug code that hasn't worked correctly since the wine project began years ago.
RE: Unhandled page fault
by Kelytha on Thursday May 31st 2012, 7:44
Two questions:
1) Did you make sure, you have a supported version of Torchlight? (Gamersgate or Steam version)

2) If you have the Steam version, did you install Steam through Winetricks? (If not, then it worths a try, because of some dependencies) Or if it's the Gamersgate version, did you try to install DirectX and Visual C++ 2008 runtimes?

I made all my testing of Torchlight with the Steam version and that works for me perfectly.
RE: Unhandled page fault
by azure on Friday June 1st 2012, 0:03
Hi!

Thank you for responding and for being patient with my rant. In retrospect I was probably too harsh. But I tend to get a bit more irritated every time I try to do something with wine!...lol

Now to your questions:

1) I originally purchased the game through www.torchlightgame.com. I had been playing it on a Windows 7 laptop for a week or so when I decided it would be more comfortable playing at my desktop. After coming here and realizing my version was not ideal for use with wine, I tried to acquire first the Gamersgate version and then the Steam version. The Ganersgate version suffered from the same error as my original copy. The Steam demo worked, seemingly, but there was nowhere to enter my key to prove I'd purchased the game. Steam had a place to enter keys, it seemed, but when I entered mine it said it did not match anything, asked me to check my typing, etc. Obviously, I did not wish to pay for the game yet again just to have the Steam version.

2) When I installed Steam I merely did it with the msi installer on their main web site. I executed the msi installer as was recommended in the wine FAQ, as I recall. It was something like "msiexec /i Steam_Installer.msi". Then I had to install Adobe Flash player as recommended by Steam. All of that went well, but there was some initial time with a black screen that led me to believe it was not working. Thankfully I was patient and it eventually did what it was supposed to do. I installed the winetricks bits as per the instructions here--namely: "sh winetricks vcrun2008 d3dx9".

Now, in conclusion, I seem to have finally gotten it working. I was able to acquire an iso image of the boxed version of the game. I mounted it, set up a WINEPREFIX with the wintricks bits, window setting, etc. Then I ran the iso Setup.exe with the appropriate WINEPREFIX. I then imported my saved game from my other computer running Windows 7. I was never asked to input my key. I suspect perhaps it was stored in some part of the save files I imported. I have no had an opportunity to play the game, but my character is there and intact. My town portal is still up from last time I logged out. My minions are in place, etc. When I walked about the town everything seemed to be as expected. Providing I don't start getting random crashes or the like I am quite pleased!

Oh, and I almost forgot! At first I had no sound. I simply ran the winecfg in my prefix and manually selected the proper soundcard output. I saved the settings and reloaded the game. The sound was as it should be.

For some final notes, I am running Sabayon with wine-1.5.4. The system has all the latest updates, etc. If I run into any problems once I am able to spend some more time testing things (i.e., playing the hell out of Torchlight!...lol) I will post back here. I may be in a ranting mood again, but I'll try to say some productive things, as well...;)

Thanks again for your patience and I hope my comments will be of some help to others struggling to make Torchlight work with wine. Ultimately, since Windows is capable of running every version, I think wine should be able to, as well. If it cannot, I still think the rating should be reduced a bit to reflect that it is not all it could be. If my understanding that platinum is the highest rating, then I think it should only apply when the behavior is virtually identical to the behavior with a Windows installation.

Kind regards,
RE: Unhandled page fault
by K1773R on Friday June 1st 2012, 7:10
wine depends on alot of librarys, if some arent fully working or just not to new/to old then its normal that programs page faults. WINE is not responsible for page faults (only rarely), its one (or more) of ur libs, therefore its ur exotic distro fault. if you really want a stable wine then get the source, all libs and compile it on your own, this prodcues the best binary to use (since the header files matches the libs to 100% and not to 90-95%).

greetings
RE: Unhandled page fault
by Kelytha on Friday June 1st 2012, 9:26
In this case it was most likely the DRM causing it. The version bought directly from the developers contains a type of DRM that is unsupported by Wine.
RE: Unhandled page fault
by K1773R on Friday June 1st 2012, 13:44
i know, im just saying ;) sadly most ppl dont read the notes/howtoes
RE: Unhandled page fault
by azure on Saturday June 2nd 2012, 0:14
That makes sense. Honestly, I have never previously prioritized using wine on my systems. I occasionally try and hope, but if it fails I just move on to something else. Part of me wishes strongly there was no need for wine--that people would just abandon Windows, stop developing for it, etc. I know that isn't very likely, but I try my best to keep as far from Windows as possible.

That being said, to get Torchlight working I delved more deeply into wine than ever I have previously. I must admit I've become intrigued and will probably try to get more up to speed. I think your advice is likely very good regarding compiling wine myself, and I will seriously consider doing just that in the near future. However, on a related note, I hope the libraries aren't too difficult to come by. I tried compiling VLC a while back and was having to go to such great lengths to gather up all the correct libraries. I finally just gave up and decided to make do with the slightly buggy version I got through repos.

Anyway, thanks again for the advice and explanations. Hopefully I will soon have a more thorough understanding and not find myself so frustrated next time I try to run something via wine! No promises, though...;P

Kind regards,
RE: Unhandled page fault
by NolanSyKinsley on Thursday September 20th 2012, 3:12
I have to try and not rage at you >.<

I too have tried many programs under wine and I have had a really good experience. This game being one of them, I installed, and it worked 100%!!! In my opinion, on my computer this deserves the platinum rating. If you would notice, the ratings are listed per distribution, but even in distributions linux can vary widely from system to system.

The ratings are not meant to be "If you have this distro it will work". It is a report from a person saying "I ran it on this system/distro and it worked, so here is MY rating for this program on this distro"

I do not know where you are coming from with your whole post, it is entirely 180 degrees from my experience with wine.

Now, time to time I have come across programs that are rated platinum that did not work for me. That was an issue with my system, not with wine. Most of the time though I could find a fix with a quick google search. I found that If I couldn't then my situation was a rare one cause by my setup. You CANNOT expect wine to keep up with everything that happens in the computer/linux/windows world. They do their best, so you should be happy that you can run any programs through wine, not deriding them, calling them incompetent, and raging at them because you can't run some programs, or that you can't run something that someone else rated platinum.

I despise the fact that you call the wine maintainers incompetent, and you ranted so vociferously about how horrible wine is. First of all, they are doing this for free, stop complaining about it so much!!

Second, I believe they are doing a wonderful job!

Third, if you need professional help with wine, take a look at codeweavers, it is made by the wine people but you can pay for pro tech support.

Lastly it seems to me from that error that you are using the open source graphics drivers. Therefore it would not be an issue with wine, it would be an issue with your drivers.

Next time pleas don't rage at, insult, and deride the people that are giving you something FOR FREE because you disagree with what a user posted.
Gameplay Video
by Xpander on Wednesday May 23rd 2012, 13:05
Crash on start up - unhandled exception.
by Zootal on Wednesday March 7th 2012, 15:56
I have never been able to get this to work, no matter what wine version I have. It starts, goes to the Torchlight screen showing you the three charactor types, and then I get:

Unhandled exception: page fault on read access to 0x00000000 in 32-bit code

The console shows: wine: Unhandled page fault on read access to 0x00000000 at address 0x4be3b2 (thread 0067)

I'm using Slackware 64 but 13.37, and the steam version of torchlight. I'm using at this time wine 1.4, clean prefix with winetricks and vcrun2008 and d3dx9.
RE: Crash on start up - unhandled exception.
by K1773R on Thursday March 8th 2012, 8:08
are you use wine64bit? dont use wine64...
RE: Crash on start up - unhandled exception.
by Zootal on Thursday March 8th 2012, 11:23
64 bit linux, yes, but I'm using Alien Bob's mulitlib so I compile wine as 32 bit. Not sure if that is the problem or not - maybe I should slap 32 bit linux on a spare partition and see if it works. I use 64 bit because I have 8GB Ram, and I need all of it. IIRC, 32 bit linux has the same memory restrictions that 32 bit Winbloze has, doesn't it?
RE: Crash on start up - unhandled exception.
by Zootal on Thursday March 8th 2012, 15:06
So I installed 32 bit linux (slackware 13.37) on a spare partition. Since the kernel has pae enabled, it happily showed me all 8GB of ram. Installed wine 1.4 and 32 bit AMD video driver.

Alas, torchlight crashed in the exact same way. This appears to not be a 32 bit versus 64 bit problem, at least.
RE: Crash on start up - unhandled exception.
by K1773R on Thursday March 8th 2012, 15:16
i didnt talk about 32/64 bit linux, i was talking about wine.
to fix ur problem: before running the game, cd into the dir where the game resides, like this:

#!/bin/bash
width=1920
height=1032


cd "/home/k1773r/.winetorchlight/drive_c/Programme/Runic Games/Torchlight/"
WINEPREFIX=/home/k1773r/.winetorchlight wine explorer /desktop=Torchlight,"$width"x"$height" Torchlight.exe

adjust the pathes and evn WINEPREFIXes
RE: Crash on start up - unhandled exception.
by K1773R on Thursday March 8th 2012, 15:16
*env
RE: Crash on start up - unhandled exception.
by Zootal on Thursday March 8th 2012, 15:35
You said don't use Wine64. I wasn't but I have had problems running 32 bit programs even with multilib, so I installed 32 bit linux to ensure it wasn't a multilib problem.

Anyhow, using the script you suggest doesn't change anything, I still get:

Unhandled page fault on read access to 0x00000000 at address 0x4be3b2
RE: Crash on start up - unhandled exception.
by K1773R on Thursday March 8th 2012, 15:40
you have to adjust the pathes, point it where ur Torchlight.exe resides, after that it will work.
RE: Crash on start up - unhandled exception.
by Zootal on Thursday March 8th 2012, 16:16
I did. If it wasn't pointed to the correct paths, then torchlight.exe would not run. It runs, but then crashes. Putting the prefix in a window by default with various resolutions gives the same result.

Alas, something else is wrong. I'm not quite sure what. Debugging it via wine would be a monumental task, and I just don't have time...
RE: Crash on start up - unhandled exception.
by K1773R on Thursday March 8th 2012, 16:29
i had the same problem and fixed it with a nice config file (i can send
u that too) and cd'ing to the exe.
RE: Crash on start up - unhandled exception.
by Zootal on Thursday March 8th 2012, 16:35
Thanks for your help - I would love to try your config file. Can you post it here?
RE: Crash on start up - unhandled exception.
by K1773R on Thursday March 8th 2012, 16:46
here u go (adjust the resolutions and dont use fullscreen!)

LEVEL_SEED :0
OPENGL :0
RENDERBEHIND :1
FULLSCREEN :0
FLOATY_NUMBERS :1
VSYNCH :1
WINDOW_WIDTH :800
WINDOW_HEIGHT :600
RES_WIDTH :1920
RES_HEIGHT :1019
MAX_FPS :200
CURRENT FPS :58
MAX_PARTICLES :5000
SHADOWS_ENABLED :1
SHADOWS_DETAIL :5
RIMLIGHTS_ENABLED :1
LIGHTING_ENABLED :1
DONT POPULATE LEVEL :0
NO PET :0
DISPLAY PATHS :0
ENABLE DSP :0
CONSOLE NOPAUSE :0
NO SOUNDS :0
SHOW TIPS :0
NETBOOK MODE :0
ALLOW HWSKINNING :0
CONSOLE :1
GAME_COMPLETED_ONCE :1
FREEZE AI :0
PLAYER NO TARGET :0
DESTROY DEAD CORPSE :0
UPDATE DISPLAY STATS :1
DISPLAY STATS :0
COMBAT LOG :0
SOUND DEBUG :0
MAX_RENDER_FPS :60
NUM TICKS PER SECOND :58
GAME TYPE :0
SOUND MUTE :0
MUSIC MUTE :1
FSAA :1
SHADOWRESOLUTION :1024
DISPLAY_COLLISION :0
DOVERRIDE_LIGHTING :0
AMBIENT RED :76
AMBIENT GREEN :76
AMBIENT BLUE :76
MATERIAL AMBIENT RED :76
MATERIAL AMBIENT GREEN :76
MATERIAL AMBIENT BLUE :76
DIRECTIONAL RED :255
DIRECTIONAL GREEN :255
DIRECTIONAL BLUE :255
AUTOMAP :1
TOGGLE DROPPED ITEMS :1
SHOW MISSILE TRAILS :0
SHOW DAMAGE SHAPES :0
LOGIC LOGGING :0
LOG CONSOLE :0
SHOW BLOOD :1
NO CAMERA SHAKE :0
KEYMAP_1 :49
KEYMAP_2 :50
KEYMAP_3 :51
KEYMAP_4 :52
KEYMAP_5 :53
KEYMAP_6 :54
KEYMAP_7 :55
KEYMAP_8 :56
KEYMAP_9 :57
KEYMAP_0 :48
FKEYMAP_1 :112
FKEYMAP_2 :113
FKEYMAP_3 :114
FKEYMAP_4 :115
FKEYMAP_5 :116
FKEYMAP_6 :117
FKEYMAP_7 :118
FKEYMAP_8 :119
FKEYMAP_9 :120
FKEYMAP_10 :121
FKEYMAP_11 :122
FKEYMAP_12 :123
KEYMAP_INVENTORY :73
KEYMAP_PET :80
KEYMAP_STATS :67
KEYMAP_SKILLS :83
KEYMAP_QUESTS :81
KEYMAP_JOURNAL :74
KEYMAP_OPTIONS :27
KEYMAP_PAUSE :13
KEYMAP_AUTOMAP :65
KEYMAP_AUTOMAPZOOMIN :221
KEYMAP_AUTOMAPZOOMOUT :219
KEYMAP_HOLDPOS :16
KEYMAP_SHOWITEMS :18
KEYMAP_CYCLESKILLUP :190
KEYMAP_CYCLESKILLDOWN :188
KEYMAP_SWAPSKILLS :9
KEYMAP_WEAPONSET :87
KEYMAP_CLOSEALL :32
KEYMAP_ZOOMIN :187
KEYMAP_ZOOMOUT :189
KEYMAP_CONSOLEKEY_PRESS :192
KEYMAP_CONSOLEKEY_HOLD :16
PARTICLEFPS :40.000000
PARTICLE_EMIT_PCT :100.000000
ANIMATION_FPS :1000.000000
X_RATIO :1.875000
Y_RATIO :1.326823
AVERAGE FPS :57.112930
PARTICLE FALL OFF :130.000000
FOV :45.000000
NEARCLIP :0.100000
FARCLIP :1000.000000
SOUND VOLUME :0.581315
MUSIC VOLUME :0.217993
DIRECTIONAL INTENSITY :1.500000
AUTOMAP ZOOM :40.000000
RETIREE_QUEST :COMPLETEDONCE
NAME :TESTING
RESOURCES PATH :media\
SCREENSHOT PATH :screenshots\
EDITOR RESOURCES PATH :DataEditor\
VERSION :17088_200910250307
ZIP :Pak.zip
Problem with Blurry/Spotty
by Nir Friedman on Friday February 3rd 2012, 12:25
I got this to work under various wine versions, but I always have this problem where things have this kind of black fuzz on them. I have a screen shot that I could send. Any suggestions? I get this message in the background when I run it


fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
Sound Issues
by Greg S on Wednesday May 25th 2011, 21:44
Fresh install on Ubuntu 11.04. I'm on 1.3.20 with directx and vrun2008 installed. Game installed and runs fine, however I get intermittent sound loss. To get sound back I need to restart the game, but not wine. There is no relevant output in terminal. I am running with the safemode=1 option.
RE: Sound Issues
by K1773R on Wednesday May 25th 2011, 22:29
i did use the winepulse patch, worked flawless, every video/sound is correct :)
RE: Sound Issues
by Xpander on Wednesday September 7th 2011, 5:58
without the winepulse patch i get some sound issues also sometimes.
what helps in this case is to make script:
killall pulseaudio
sleep 5
wine torchlight.exe

that helps for me and with many games.
versions
by Simon McVittie on Monday April 18th 2011, 11:31
Maintainers: would you consider splitting this game up into versions according to the publisher it was obtained from? It seems the various versions are not compatible, and some versions are better with Wine than others.

I can confirm that the JoWooD (international) DVD release can be made to work, and many people seem to have had success with the Steam version.

Known versions (collected from www.torchlightgame.com/download/ "patches and updates"):

* Direct2Drive download

* EncoreUSA retail DVD

* EncoreUSA (Digital River) download

* GamersGate download

* GameStop download

* GameWare.at download

* JoWooD (international) retail DVD

* Perfect World download

* Runic (torchlightgame.com) download

* Steam download

* WildTangent download

Runic's instructions for downloading updates suggest that all of these may be different!
Can't see character nor criters
by Thomas Courbon on Saturday February 26th 2011, 16:03
The game run fine out of the box with 1.3.14 but it's rather unplayable since you I can't see my character (What I see is his axe and buckler floating around). Mobs are invisible too.

This is with Ubuntu 10.10 and fglrx.

As I'm quite new in this area I don't know if I missed something (which is likely given the platinum status of the game) or if I've hit a genuine bug.

Any directions appreciated.
RE: Can't see character nor criters
by Thomas Courbon on Tuesday March 15th 2011, 12:38
Disabling glsl using winetricks (I don't know how to do that without winetricks) solved the issue.
Cannot install [GamersGate demo]
by MS on Wednesday November 10th 2010, 17:28
Hi, I'm new to Linux, Ubuntu, Wine etc... but I've been reading to learn how to do stuff. I have Ubuntu 10.10 and Wine version 1.2.1. I downloaded the GamersGate demo v1.15, downloaded winetricks and did the "sh winetricks vcrun2008 d3dx9" instructed, they downloaded and installed. Couldn't download the safemode.zip because link is broken and couldn't find the file elsewhere. When I try to install, the installation gets stuck when trying to install the C++, after a while it gives me an error message saying that the game task information could not be found and to look for the GDF file and reinstall. Tried to do the "kill -HUP vcrun" but the terminal stated that arguments must be process or job ID. Can someone shed some light here?
RE: Cannot install [GamersGate demo]
by Colin Wetherbee on Thursday November 11th 2010, 2:35
The safemode.zip thing doesn't really matter anymore. Have you tried using the Steam demo, instead?
RE: Cannot install [GamersGate demo]
by MS on Saturday November 13th 2010, 10:55
How does that work?
RE: Cannot install [GamersGate demo]
by Colin Wetherbee on Saturday November 13th 2010, 13:58
If you create an account for Steam and download it , then you can download the demo for Torchlight through the Steam client.

Be sure to follow the instructions at the Steam appdb entry ; there are a few extra things to install first.
RE: Cannot install [GamersGate demo]
by Colin Wetherbee on Saturday November 13th 2010, 13:59
Hmm, my URLs showed up as spaces. Let's try this again:

store.steampowered.com/

appdb.winehq.org/objectManager.php?sClass=version&iId=19444
dark scenario and netbook mode
by fral on Wednesday August 25th 2010, 20:22
hey all, i was having a graphic problem with the game, the game was running very fluid but the scenario (backgrounds,ground, buildings) appears completely black, only the characters and some lights appears properly, but i checked the "netbook mode" and now it works perfectly :S, i have a desktop PC. I'm commenting this here in case someone else is having the same problem.

Greetings.
RE: dark scenario and netbook mode
by fral on Wednesday August 25th 2010, 21:46
i just realized that the real problem was the shadows configuration, so i put the shadows off, unchecked the "netbook mode" and actived the rest, now looks even better, too shame for the shadow's problem.

PS:sorry for any misspelling.
Steam demo
by Dan Kegel on Tuesday August 10th 2010, 11:27
I tried the Steam demo under Wine, and when I ran it the first
time (cd ~/.wine/drive_c/Program Files/Steam/steamapps/common/torchlight; wine torchlight)
it worked great, but fairly often it just silently fails to launch.
WINEDEBUG=+relay might nudge it into launching more often, not sure.
demo?
by Dan Kegel on Tuesday August 10th 2010, 9:27
Does the demo at www.torchlightgame.com/download/#demo
work for anyone? It crashes for me, nothing interesting in
the console output.
RE: demo?
by Mariano on Tuesday August 10th 2010, 11:50
Same here. I just downloaded it an installed without problems, but no matter if I try to run the "safe mode" or the normal mode, it crashes. :(

Jaunty fully updated, Wine 1.2.
RE: demo?
by Béla Gyebrószki on Tuesday August 10th 2010, 12:20
Likely, the demo is also copy-protected: www.gameshield.com/Home.aspx
GamersGate version chokes on SecuROM
by Forest on Thursday August 5th 2010, 22:59
I bought the GamersGate version (as instructed in the HOWTO). The download went fine, as did the install, but trying to run the game pops up a SecuROM dialog box demanding an activation serial code. GamersGate and SecuROM support are unresponsive at the moment. Anyone know how to fix this problem?
RE: GamersGate version chokes on SecuROM
by Forest on Saturday August 7th 2010, 3:36
Update: GamersGate support eventually got back to me. It turns out that I was supposed to be issued a serial number to enter into the SecuROM dialog, but they had a run on Torchlight orders and ran out of serial numbers. I now have one, SecuROM accepted it, and the game works.
Crash while turning in quests
by ssimon on Wednesday June 16th 2010, 11:27
Hey guys!

After hours of playtime the game crashes while turning in a quest, doesn't matter which.
I did not have this problems before and I tried it with many wine versions (1.1.40+, 1.2-rc* too)

Relevant debug output:

warn:d3d:IWineD3DDeviceImpl_GetDeviceCaps (0x18c230) : stub, calling idirect3d for now
warn:d3d9:IDirect3DDevice9Impl_QueryInterface IDirect3D9 instance wasn't created with CreateDirect3D9Ex, returning E_NOINTERFACE
warn:gdi:GDI_GetObjPtr Invalid handle (nil)
warn:gdi:GDI_GetObjPtr Invalid handle (nil)
warn:ntdll:NtQueryAttributesFile L"\\??\\K:\\.PlayOnLinux\\wineprefix\\Torchlight\\drive_c\\Program Files\\JoWooD\\Torchlight\\mscoree.dll" not found (c0000034)
warn:ntdll:NtQueryAttributesFile L"\\??\\K:\\.PlayOnLinux\\wineprefix\\Torchlight\\drive_c\\Program Files\\JoWooD\\Torchlight\\mscoree.dll" not found (c0000034)
warn:driver:CloseDriver Failed to close driver
warn:driver:CloseDriver Failed to close driver
warn:driver:CloseDriver Failed to close driver
warn:driver:CloseDriver Failed to close driver
warn:driver:CloseDriver Failed to close driver
warn:driver:CloseDriver Failed to close driver
warn:driver:CloseDriver Failed to close driver
warn:driver:CloseDriver Failed to close driver
warn:rpc:RPCRT4_default_receive_fragment Short read of header, -1 bytes
warn:rpc:RPCRT4_io_thread receive failed with error 6be

The error appears at "warn:gdi:GDI_GetObjPtr Invalid handle (nil)"

Error itself:

(Microsoft Visual C++ Runtime Library)

Program: ...t\drive_c\.. blah ..\Torchlight.exe
This application has requested the Runtime to terminate it in a unusual way.
Please contact ...

Does anyone got this error too? Any ideas to get around this?
Running Linux Mint 9 - No Go
by Tuishimi on Monday May 31st 2010, 12:04
Linux-x86_64 version
GeForce GTX 470
Driver 195.26.15
Wine 1.2 from linux mint repository

Installed Wine, tried all the winetricks but they don't seem to work, I get all sorts of errors. Ex.

mitch@ZuGzUg ~/Downloads $ sh winetricks vcrun2008 directx9
wine: Call from 0x7bc4b590 to unimplemented function rpcrt4.dll.I_RpcExceptionFilter, aborting
wine: Unimplemented function rpcrt4.dll.I_RpcExceptionFilter called at address 0x7bc4b590 (thread 0013), starting debugger...
err:module:attach_process_dlls "rpcrt4.dll" failed to initialize, aborting
err:module:LdrInitializeThunk Main exe initialization for L"C:\\windows\\system32\\winedbg.exe" failed, status c0000005

err:process:__wine_kernel_init boot event wait timed out
err:process:__wine_kernel_init boot event wait timed out
err:process:__wine_kernel_init boot event wait timed out
err:process:__wine_kernel_init boot event wait timed out
drive_c already named harddiskvolume0
Using native,builtin override for following DLLs: msvcr90
Executing early_wine regedit c:\winetrickstmp\override-dll.reg
...

This seems wonky. I am thinking about completely uninstalling wine and getting the sources and building it from scratch. :(

When I start torchlight, ogre.log does not indicate any problems. It just stops recording after...

09:50:57: *-*-* Version 1.6.4 (Shoggoth)
09:50:57: Path for saving is ... C:/users/mitch/Application Data/Runic Games/Torchlight/SAVE
09:50:57: Setting YRatio Init - 0.78125
09:51:01: CreateViewports AspectRatio message - 800 x 600
09:51:01: CreateViewports AspectRatio message AR - 1.33333
09:51:01: GAMEUI AspectRatio message - 800 x 600
09:51:01: GAMEUI AspectRatio message AR - 1.33333

I noticed someone mentioned using the 32 bit versions of the nvidia drivers - or having the libraries available anyway - but I cannot find them via LinuxMint repositories. Any tips would be welcomed.
Gameplay video
by Jake ward on Sunday May 16th 2010, 13:27
www.youtube.com/watch?v=RP6xFlk5Fdg

How the game should run in wine 1.1.44
Not working properly....
by William on Saturday March 20th 2010, 17:04
I followed the walkthrough for installing Torchlight, however, when I try to run the game after installation, it doesn't launch. Instead, I get this error.

roberts@ghost ~/.wine/drive_c/Program Files/Runic Games/Torchlight $ wine Torchlight.exe
err:seh:setup_exception_record stack overflow 816 bytes in thread 003e eip f74df64c esp 00241000 stack 0x240000-0x241000-0x340000

and...

roberts@ghost ~/.wine/drive_c/Program Files/Runic Games/Torchlight $ wine Torchlight.exe
wine: Unhandled privileged instruction at address 0x7f7d888e (thread 0009), starting debugger...
err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr 0xabe9ed72

Any suggestions? I am currently running wine 1.1.40, x86_64 gentoo build. I can provide more information if needed.

(here is my wine build)
[ebuild R ] app-emulation/wine-1.1.40 USE="X alsa custom-cflags dbus gecko gnutls lcms ncurses opengl* perl png samba ssl threads truetype xcomposite xinerama xml (-capi) -cups (-esd) -fontconfig (-gphoto2) -gsm (-hal) -jack (-jpeg) -ldap (-mp3) -nas -openal -oss -pulseaudio (-scanner) -test -win64" 0 kB
crashes after one minute of gameplay
by sdavies on Tuesday March 16th 2010, 23:16
Seems to crash after 1 minute of gameplay.

terminal output:
pastebin.com/6VwRrV9i

lspci output:
pastebin.com/tbL0Fucb

Had to disable vertex shader in winecfg. Lowered all graphics settings to minimum. I've tried running from 800x600 to 1280x1024.
Had to set mmdevapi = none in winecfg to make the sound work.
SAFEMODE=1 does not work at all.

wine-1.1.38 on Fedora 12 i5 intel CPU with onboard intel graphics.
kernel 2.6.32.9

Any ideas?
RE: crashes after one minute of gameplay
by sdavies on Thursday March 18th 2010, 9:38
Reverted to an older version of wine. Changed the settings to run on a Netbook.

Works well now.
Fire bug fixed!
by Maciej Warnecki on Friday March 5th 2010, 13:41
As of Wine 1.1.40, the fire bug should be no longer present. yay!
We need a regression test
by Maciej Warnecki on Tuesday February 23rd 2010, 8:18
Please, visit the fire bug's bugzilla site and make a regression test - I'd very much like to do it myself, but it's nearly impossible - I run Arch 64-bit, and as such it has no 32-bit libraries I could depend on for building wine from git. I'd need to create a separate fake 32-bit installation in my /opt, but since it's on a different partition, it's impossible - symlinking is not possible. Theoretically, it could be possible to fix that, and i'll try - but it would be 20x times easier for somebody not running Arch, and in particular 32-bit distro.

Please visit the fire bug's page to get more information.
RE: We need a regression test
by Joseph Judistira on Wednesday March 3rd 2010, 21:20
For anyone interested, here's the bug page:
bugs.winehq.org/show_bug.cgi?id=21779

The problem has been identified:
bugs.winehq.org/show_bug.cgi?id=21276

and a patch posted:
bugs2.winehq.org/attachment.cgi?id=25603

It works great for me now on my local 1.1.39 build (with the applied patch) on Ubuntu 9.10 amd64.

Excellent teamwork, thank you all :)
RE: We need a regression test
by mb on Monday March 8th 2010, 22:26
Warnack I did the regression test running 64bit (; And you are correct as of 1.1.40 the patch has been incorporated and the fire should be fixed.
Fire bug / crash on exit
by MrMarcus on Saturday February 20th 2010, 14:46
I've tested the 1.1.31 and 1.1.37 version of wine.
I can confirm that the fire bug is there in both versions.
The crashes while changing the settings or exitting the game also occurs in 1.1.37 but not in 1.1.31.

Ubuntu karmic
Torchlight v. 1.15
Fire bug is a regression
by Maciej Warnecki on Saturday February 20th 2010, 8:37
I can confirm that the fire bug is NOT present in Wine 1.0.1.


Now, it is time to find the wine version where it started to appear first. I'm filing a bug report.
Game crashes accessing inventory or changing zone?
by ghedamat on Sunday February 14th 2010, 16:44
I don't know if this could be a new bug...
I was playing gme perfectly util last week, than i've updated to wine 1.1.38 and now the game is crashing almost randomly when i've to change zone ( portal, stairs etc.) or when i'm trying to wear a object i've in my inventory...

:( too bad, i was enjoying this game a lot


p.s. i'm playing steam game version...

anybody out there with the same issue?

p.p.s thx a lot for your help guys! i've solved a lot of problems looking at older posts ( i.e. sound! )
RE: Game crashes accessing inventory or changing zone?
by Maciej Warnecki on Monday February 15th 2010, 14:10
I'm playing on '38 from every beggining, and experienced lots of crashes when in Directx mode. After switching to OpenGL mode, everything works like a charm (but excessive fires, of course).

The description how to run the game in OpenGL mode is somewhere below in the comments. If you can't find it/aren't sure, I can elaborate ;)
RE: Game crashes accessing inventory or changing zone?
by ghedamat on Wednesday February 17th 2010, 10:10
Tnx for answering and sorry for my late answer:)

I'll try to see how I can switch to OpenGL mode..
I'll let you know!
RE: Game crashes accessing inventory or changing zone?
by ghedamat on Wednesday February 17th 2010, 10:18
OK, i've changed Plugins.cfg to
#Plugin=RenderSystem_Direct3D9
Plugin=RenderSystem_GL
Plugin=Plugin_ParticleFX
Plugin=Plugin_CgProgramManager
Plugin=Plugin_OctreeSceneManager
Plugin=ParticleUniverse

and now seems to load opengl plugin.. but this way game crashes at launch! :(
RE: Game crashes accessing inventory or changing zone?
by Maciej Warnecki on Wednesday February 17th 2010, 12:42
You should have two files - "Plugins.cfg" and "plugins_opengl.cfg".

Both should look like this:

# Defines plugins to load

# Define plugin folder
PluginFolder=.

# Define plugins
#Plugin=RenderSystem_Direct3D9
Plugin=RenderSystem_GL
Plugin=Plugin_ParticleFX
Plugin=Plugin_CgProgramManager
Plugin=Plugin_OctreeSceneManager
Plugin=ParticleUniverse


So your seems to be fine. Just make sure there's plugins_opengl.cfg.

Besides, it is best to play the game through Steam or cracked executable. There are multiple reports of successes running it through Steam, but for every other distribution method, cracked exe is the best option - it makes sure you avoid any problems with copy protection. Also, make sure you run the newest version of Torchlight (1.15). If you bump into any other problems, it would be a good idea to send a link to pastebin with the Wine crash report.
RE: Game crashes accessing inventory or changing zone?
by ghedamat on Thursday February 18th 2010, 6:24
Well, I've always played the Steam version...

I tried to add the file plugins_opengl.cfg but nothing changes..
game's not even starting in opengl mode

now i'm trying to revert to the previous version of wine and see what's up...

later i'll post on pastebin my results!


Thanks for all the help man!

I'll let you know!
RE: Game crashes accessing inventory or changing zone?
by ghedamat on Thursday February 18th 2010, 8:51
ok!
i've reverted to wine 1.1.37 and seems to work fine with d3d

except for fire of course

I'm running Gentoo with 2.6.28

Just a little problem,.. after a couple of hours playing, game/pc freezes due to high disk usage :(

no log cause I've to reboot :P

but game is fully playable!


tnx for the help!
RE: Game crashes accessing inventory or changing zone?
by Maciej Warnecki on Thursday February 18th 2010, 11:12
The freeze is propably caused by the fact you're using D3D. It would greatly help if you had any console output after trying to run the game in OpenGL mode.

Try something like "wine Torchlight.exe > winelog.txt" (not sure if the syntax is correct, but propably it is). It should craete a file with all the console output, so you should be able to view it even after restart.
RE: Game crashes accessing inventory or changing zone?
by ghedamat on Thursday February 18th 2010, 16:30
here you've the log

pastebin.com/f2a5b12be

I'm using this files of conf

Plugins.cfg:
# Defines plugins to load

# Define plugin folder
PluginFolder=.

# Define plugins
#Plugin=RenderSystem_Direct3D9
Plugin=RenderSystem_GL
Plugin=Plugin_ParticleFX
Plugin=Plugin_CgProgramManager
Plugin=Plugin_OctreeSceneManager
Plugin=ParticleUniverse

plugins_opengl.cfg is the same

wine version 1.1.37 on gentoo linux with a 2.6.28 kernel


as previously said game runs fine with d3d, with huge fire bug and huge disk usage and pc freeze ( but after a couple of hours playing)


tnx for your help!

hope this's going to be useful
RE: Game crashes accessing inventory or changing zone?
by Maciej Warnecki on Friday February 19th 2010, 8:03
Well, I'm none of a programmer, So I can't tell you much. But there are a few things:

1) Try to run the game through cracked executable (without Steam)

2) Try to run with Wine 1.0.1 (I heard from a reliable source that the fire bug is not present there, will investigate myself:

forums.runicgames.com/viewtopic.php?f=24&t=11258#p104309

)
RE: Game crashes accessing inventory or changing zone?
by Maciej Warnecki on Thursday February 18th 2010, 11:12
PS.: I've also heard this game runs pretty nicely on VirtualBox. (from Runic Games forum).

Will try this one and report back.
32-bit libraries for NVIDIA drivers
by Maciej Warnecki on Saturday February 13th 2010, 7:51
After becoming hopeless with no chance to running the game, I finally found a solution for the crashes which occured right after running the game - for those who aren't able to run the game even with the above advice (winetricks packages, safemode, etc.), make sure you have 32-bit libraries of your graphics drivers if you use 64-bit distro. On my 64-bit Arch, after installing package named "lib32-nvidia-utils" the game works like a charm, even in Fullscreen mode. There is no sound, but that's a completely different story.
RE: 32-bit libraries for NVIDIA drivers
by Maciej Warnecki on Saturday February 13th 2010, 7:53
PS.: I downloaded the game from GamersGate. The link is here:

demos.gamersgate.com/Torchlight_v1.15_Runic.exe

It's a demo, so don't worry about copyright infringment or any problems of that sort.
settings.txt
by Wintershade on Monday February 1st 2010, 13:12
Okay, nevermind the safemode.bat/safemode.zip I asked for before... I got the game running (wine 1.1.35, runs out-of-the-box), but I have a problem with the fire particles (just waaay too much flames around). However, I'm running the game published by Runic Games, and my settings.txt is not really in plaintext... what gives?
RE: settings.txt
by Robert "Vulpes" Gladson on Monday February 1st 2010, 20:33
I suggest you use a hex editor... they have really messed up files. Also, opening the file in wine notepad seems to work as well, which might be a more pleasant experience. All of their files seem to contain very many null characters, like they fucked up saving properly in UTF-8.
RE: settings.txt
by Craig on Thursday April 21st 2011, 3:20
actually, the files are UTF-16 with a byte-order mark[1]. The characters are two bytes wide so they show up in less as having a NULL character (^@) between each printable character.

you can edit them with vim (it automatically recognises UTF-16 files), and you can safely save them in, say, UTF-8 by typing ":set encoding=utf-8"

NOTE: the byte-order mark is optional, so vim may not be able to recognise the file encoding automatically. just type ":set encoding=utf-16" before making any changes. and optionally set it to utf-8 before saving.

for more info, type ":help unicode" in vim or the wikipedia link below.


if you don't like vi, you'll have to convert the file to plain-text first.

probably "tr -d '\000' < inputfile > outputfile" is the easiest way.


this used to annoy the hell out of me when i encountered files like this before i figured out what was going on. now i just get on with editing them :)

en.wikipedia.org/wiki/Byte-order_mark
safemode.bat
by Wintershade on Monday February 1st 2010, 6:11
Does anyone have a copy of safemode.bat on their hard disk? If so, would you be willing to share it? Since the original link is broken...
issue trying to play
by kurt on Tuesday January 12th 2010, 23:38
i saw i need to download safemode.zip file that was provided here but file is unavalible and i got an error trying to start the game and while clicking on settings. if anyone could help me out that would be great thanks.
RE: issue trying to play
by kurt on Tuesday January 12th 2010, 23:50
ps i tryed wine Torchlight.exe -SAFEMODE but i still got an error after i select the difficulty and start and when going to settings
RE: issue trying to play
by kurt on Wednesday January 13th 2010, 1:08
n/m figured it out
No sound in Torchlight
by Jarno Kuusela on Monday January 11th 2010, 10:11
There is no sound in Torchlight.

Anyone else having some problem? Game downloaded and installed fine from STEAM. Expect I needed to turn shadow quality off because it caused some graffical errors. Too big fires don't botter me so much as sound at all.
Im NOT using pulseaudio.


Kubuntu 9.10
Wine: 1.1.36
Sound: HDA Intel ( NO pulseaudio )
Torchlight version: 1.14


Sorry about bad english.
RE: No sound in Torchlight
by Jose Argao on Monday January 11th 2010, 11:28
Wine 1.1.36 broke sound, and in my case also caused Torchlight to hang every time I quit the game. Problems are instantly fixed by removing wine 1.1.36 and reinstalling 1.1.35.
RE: No sound in Torchlight
by gjl on Tuesday January 26th 2010, 11:34
> Try adding the mmdevapi = none override in winecfg

osdir.com/ml/wine-bugs/2010-01/msg00760.html
RE: No sound in Torchlight
by Dragan Maglov on Sunday February 7th 2010, 10:46
wine 1.1.37
mmdevapi = none (disabled)
This helps with sound. Thanks gjl.
RE: No sound in Torchlight
by Michael Hill on Tuesday June 1st 2010, 21:41
I'm having the same problem, running Torchlight from Steam under wine 1.1.44. I have no quibbles with the graphics - they're beautiful at 1920x1200. However, I can't get any sound. I've tried the tricks here: setting audio to emulation, disabling mmdevapi, etc. ... Nothing. :^( All my other Steam games have sound, so there's nothing wrong with my general wine or Steam setup.
Big Fire Fix
by Seamus Riordan on Sunday January 10th 2010, 17:44
The descriptions for particle effects appear to be stored as individual files in Pak.zip in the main Torchlight directory with the executable. If you delete the appropriate files out of the archive it disables the effect and the game doesn't seem to mind.

To get the town fire, mine torches, and a few others that I've encountered I've deleted:

/media/particles/Objects/town/TORCH.LAYOUT.cmp
/media/particles/TORCH_WALL.LAYOUT.cmp
/media/particles/TORCH.LAYOUT.cmp
/media/particles/monsters/ONFIRELARGE.LAYOUT.cmp
/media/particles/monsters/ONFIRESMALL.LAYOUT.cmp

The gnome archive manager works pretty well for this task. You may want to make a backup of Pak.zip before you go mangle it.

Anyone have other files they've encountered that fix other effects in the game?
RE: Big Fire Fix
by Zachary Mertens on Monday January 11th 2010, 9:49
Rather than delete files out of the pak, create a mod for it.

By default, it's in /users//Application Data/runic games/torchlight/mods/

Make a folder, call it whatever you want, it doesn't matter as long as you can identify it.

Within the folder, create the directory structure you find in the pak.zip file, but only for the paths you need, starting with media. Once you have the structure, use touch to create files for all the filenames you want to remove.

You should now have a non-destructive, portable file override that can be easily copied to other systems and one that will survive updates.
RE: Big Fire Fix
by Jose Argao on Sunday January 24th 2010, 7:27
This idea was a lifesaver! I went ahead and made the mod and uploaded it here:

www.mediafire.com/?yumjzjyz55d

BTW: I noticed that fire-based weapons were also affected by the glitch so I replaced media/particles/Weapons/FIRE.LAYOUT.cmp and media/particles/Weapons/FIREPISTOL.LAYOUT.cmp with the particle effects for the lightning weapons. Man, if only we could get a real mod to replace the fire particle effects with non-glitchy ones the game would be perfect!
Fix for too-huge fire effects
by Corey O'Connor on Friday January 8th 2010, 22:45
Instead of
PARTICLE FALL OFF : 150.000000
use
PARTICLE FALL OFF : 1500.000000
in your settings file. For the steam version I changed local_settings.txt.

This makes the particles die off faster. Which, for the fire effects at least, appears to work around the issue.

Does this imply a bug in the implementation of timers?
RE: Fix for too-huge fire effects
by Martin Franc on Saturday January 9th 2010, 5:59
Does not work for me.
RE: Fix for too-huge fire effects
by Corey O'Connor on Saturday January 9th 2010, 19:29
I should note I'm using the latest wine from git.
RE: Fix for too-huge fire effects
by Fletch Hasues on Saturday January 23rd 2010, 17:06
This did not work for me either.
RE: Fix for too-huge fire effects
by Fletch Hasues on Saturday January 23rd 2010, 17:38
I set this to 1500 and the MAX_PARTICLES to 500 and the flames are merely blasting with intensity as opposed to be always on with intensity.
Audio temp solution
by Secret Online Gamer on Tuesday January 5th 2010, 4:50
wine: 1.0.1
os: Ubuntu Karmic Koala
game files: steam purchase

Go terminal and cat /dev/urandom >> /dev/dsp
It will state if the soundcard is occupied. If soundcard is not occupied, it will give off static. Close terminal window if there is static & start Torchlight. Otherwise type killall pulseaudio and start up Torchlight. Sound should work now. However you probably have to do it for every reboot.
Full Version Working
by Andrew on Monday January 4th 2010, 11:05
Downloaded the demo through steam (had to run a special command to do so, though). Demo played through with stuttering audio, as had been mentioned a couple weeks ago.

I booted into my Win XP partition, purchased the full version through Steam, downloaded, and played. No problems there, of course. When I booted back into linux, Steam saw that I had purchased the full version, took a few moments to update the ~/.wine/drive_c install of torchlight to the full version, and played just fine. No audio stuttering; actually, it plays identically to the experience on Win XP.

I always load Steam and enter the game through Steam; unsure if that step is relevant.

Running:
Ubuntu 9.10 64 bit
Wine 1.1.35
nvidia 260gx card, though unsure if it's the 190.53 driver or the previous version.
Realtek ALC888 onboard audio
Can only play demo with Steam, even with full version installed
by Colin Wetherbee on Sunday January 3rd 2010, 22:46
I downloaded the Torchlight demo through Steam yesterday, played through it, and bought the full version of Torchlight today.

I can't start Torchlight through Steam (it crashes; adding -SAFEMODE or SAFEMODE=1 to the launch options doesn't help, and safemode.zip isn't at runicgames.com anymore), so I've been running it at the command line ("wine Torchlight.exe -SAFEMODE"). However, this always starts the demo instead of the full version.

I deleted Torchlight and reinstalled it, and then I deleted Torchlight *and* Steam and reinstalled them both, to no avail.

I'm not sure whether this is a Wine problem (e.g. maybe the full version would start *if* I could get it to run in Steam?) or a Valve/Steam problem (e.g. maybe they keep sending me the demo, even though in "My games" it doesn't say "demo" anymore?). I'd appreciate some help debugging this, though.

Thanks.
[work-around found] RE: Can only play demo with Steam, even with full version installed
by Colin Wetherbee on Monday January 4th 2010, 2:15
With a freshly compiled Wine 1.1.35 and a brand new WINEPREFIX, I was able to install Steam, vcrun2008, d3dx9, and Torchlight (in that order) and play the full version of the game. I didn't need to use any of the safe mode hacks to do it, either.

I'm still not sure why the previous WINEPREFIX would only let me play the demo, though. Perhaps the demo set some flag that Steam never overwrote?
Platinum
by Robert "Vulpes" Gladson on Wednesday December 30th 2009, 14:24
I'm not sure how you can call this game platinum rating when a whole version of the game simply cannot run under wine.
RE: Platinum
by Fletch Hasues on Saturday January 23rd 2010, 13:14
I installed from a CD and added winetricks, set the DirectDrawRender to opengl, and did the winetricks steps mentioned. I don't even need safe mode, it just works. The fire issues are present however, and seeing as I am not using Steam, I don't know what file to modify to correct that issue.
Messed up graphics on OpenGL.
by Skitzman69 on Friday December 18th 2009, 13:11
The game runs with default settings.txt but I have the large fire bug. None of the suggestions seems to work to fix that.

I tried to run using OpenGL but the graphics are messed up, looks like a texture problem.

fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI Radeon HD 4870
OpenGL version string: 3.2.9232

wine --version
wine-1.1.34

uname -srvmo
Linux 2.6.28-17-generic #58-Ubuntu SMP Tue Dec 1 21:27:25 UTC 2009 x86_64 GNU/Linux

It also randomly crashes if run in non-opengl mode.

Any ideas?
safemode.zip no longer available
by Stefan on Friday December 4th 2009, 20:33
The above link to the safemode.zip on runicgames.com isn't working anymore. Is there another mirror for that file or can someone post what exactly was in that safemode.zip-archive?
RE: safemode.zip no longer available
by Mikael Åkersund on Saturday December 5th 2009, 11:26
Start the game with the "-SAFEMODE" parameter instead.Ie use:
wine Torchlight.exe -SAFEMODE
Game from Gamersgate.com not working
by Lauri Niskanen on Monday November 30th 2009, 2:42
I downloaded the game first from the official website. It just crashed on start. Then I saw the note on this page and downloaded the game from Gamersgate.com. It also just crashes.
RE: Game from Gamersgate.com not working
by Lauri Niskanen on Monday November 30th 2009, 13:01
'wine Torchlight.exe SAFEMODE=1' fixed it.
Fire effects
by Harrison Hollingsworth on Saturday November 28th 2009, 19:04
How I fixed the fire effects was editing drive_c/users/runic games/torchlight/settings.txt.
Change 'MAX_PARTICLES' from 5000 to 500
Hope this helps anyone else with this problem
RE: Fire effects
by Harrison Hollingsworth on Saturday November 28th 2009, 19:43
This does not work.

After changing the settings the game ran correctly with fire rendered nicely, upon closing the game and re-opening it I am back to the same problem of too much fire.
The same thing happened when enabling a few other options but nothing has been a permanent fix.
Changing settings.txt to read and execute only the game will not run.
RE: Fire effects
by Mike Matis on Monday November 30th 2009, 7:37
That's strange, because you suggestion worked for me even after restarting the game several times!
RE: Fire effects
by Fletch Hasues on Saturday January 23rd 2010, 13:48
This worked for me as well. I'd also like to note that within regedit for WINE DIRECT3D, I have the DirectDrawRender set to opengl, but I am running the game using Direct3D and not using opengl. Runs like a champ.
RE: Fire effects
by Fletch Hasues on Saturday January 23rd 2010, 17:05
Okay, now this stopped working. It stopped working once I changed resolutions or switched to full screen. So I'm stumped as why this is a temporary fix.
Big fires won't go away.
by Dennis Hedegaard on Tuesday November 24th 2009, 0:53
Hey there, I'm running gentoo with wine 1.1.33, I've set OPENGL to 1 in settings and cp'ed Plugins.cfg to plugins_opengl.cfg, commented d3d out in there and uncommented the opengl renderer (in both files). I am sure I am running opengl, yet I still see the big fire animations everywhere, anyone got the same problem ?

Got my copy off of steam, and running in virtual desktop,with 1024x768.

Any suggestions would be nice :)
RE: Big fires won't go away.
by Timo on Tuesday November 24th 2009, 15:51
no solution sry ... but i have the same problem ... so at least you are not mad ... but perhaps I am ... just dreaming about your post (o0) ?


Drivers: NVIDIA-Linux-x86_64-195.22-pkg2.run
using xinerama dualscreen with a resolution of 2x1920x1200

an playing the game in desktop mode with 1200x1024
Additional info to my test
by Daniel Tlach on Sunday November 22nd 2009, 3:31
My test was done on Steam version. Game itself works well (the problems with sound can be solved with the little hint I wrote to the Test comment). Yesterday I tried TorchED but even with Mono and .NET installed, I wasn't able to make it even start.
RE: Additional info to my test
by Scot McPherson on Tuesday November 24th 2009, 11:45
I was confused by this comment when I couldn't find your test results, but as I look I see it is because you listed wine-1.0.1. I guess I didn't catch that when I approved the test results. Is that accurate?

Thanks for the rest of the updates on your test info, I'll modify them presently.
RE: Additional info to my test
by Daniel Tlach on Tuesday November 24th 2009, 12:33
Yes, I tested on 1.0.1 version. Now I'm about to make another test on the latest version.
No need for winetricks
by Rodney Moss on Friday November 20th 2009, 8:04
I bought through the steam website.
With a clean new wine directory i didn't have to use winetricks anything.
wine 1.1.33 on amd64, gentoo

To install steam:
$ wine start SteamInstall.msi
When first running torchlight it tries to run the directx installer:
$ ps -A
$ kill -HUP
RE: No need for winetricks
by Rodney Moss on Friday November 20th 2009, 8:09
ok, half my post didn't happen. bad greater than less than use inthe kill command i guess.

continuing:
$kill (whatever the directx installer's process number is)

I can no longer test with the demo. to install the demo use:
$ wine Steam.exe -applaunch 41510

Fires are often annoyinging bright and large, blocking view, but otherwise it works.
Fires
by Rodney Moss on Friday November 20th 2009, 10:35
After following Steven Bergloff's instructions for using opengl in his testing data, i found most fires were now normal. yay!
Explosive shot fire looks still be too big and bright, but i don't have a windows version to compare.

Still no winetricks needed, but, i did have to run winecfg and use emulate a virtual desktop, as well as changing the two files.

Repeating steven's instructions, for other's benefit:

$ winecfg (in graphics set to emulate a virtual desktop)

Then, go find the Settings.txt file in [Windows user folder]/application data/runic games/torchlight, and set OPENGL: 1. You can also set FullScreen, Resolution, etc in this file.

Then, copy ~/.wine/drive_c/Program Files/Runic Games/Torchlight/Plugins.cfg to ~/.wine/drive_c/Program Files/Runic Games/Torchlight/plugins_opengl.cfg

Open plugins_opengl.cfg and comment out the line Plugin=RenderSystem_Direct3D9, and uncomment the line #Plugin=RenderSystem_GL
Worked with minor changes to instructions.
by Tesseracter on Sunday November 15th 2009, 1:22
heres the commands i used to get everything working.

rm -rf .wine-torchlight/ #messed up, so deleted the directory
wget www.kegel.com/wine/winetricks #grab winetricks if youre missing it
env WINEPREFIX="/home/tesseracter/.wine-torchlight" ./winetricks vcrun2008 directx9 dotnet11 dotnet20 #probably overkill, but it got rid of a few errors
env WINEPREFIX="/home/tesseracter/.wine-torchlight" winecfg #set graphics to virtual desktop, 1280x1024.
env WINEPREFIX="/home/tesseracter/.wine-torchlight" wine /media/cdrom/Torchlight_Setup.exe #uncheck run torchlight at the end of the install, one last thing to do.
cd .wine-torchlight/drive_c/Program\ Files/Runic\ Games/Torchlight/ #jump to installation directory
wget www.runicgames.com/uploads/safemode.zip #pull the file
unzip safemode.zip
env WINEPREFIX="/home/tesseracter/.wine-torchlight" wine cmd -c safemode.bat #this moves the settings.txt file to C:\users\tesseracter\Application Data\Runic Games\Torchlight\settings.txt, you can probably do that yourself if you like
env WINEPREFIX="/home/tesseracter/.wine-torchlight" wine Torchlight.exe #this should run the game, or create a desktop shortcut with this command, or create a script somewhere with this in it.

i haven't gotten fullscreen mode to work yet, and i run the game at max settings at 1620x1024 by changing the settings, the game will fail to change resolutions, but run the game again and it will start at the new resolution.
RE: Worked with minor changes to instructions.
by Scot McPherson on Tuesday November 17th 2009, 10:15
Can you please share where you bought/downloaded your installation sources from?

Thanks,
Scot
version 1.12
by Léo Studer on Monday November 9th 2009, 2:28
Bought the game from Torchlight official site, and downloaded version 1.12. The game crashes directly…
RE: version 1.12
by Scot McPherson on Monday November 9th 2009, 11:39
This is my experience also, it is the version I have as well. I keep trying to make it work though in those inbetween moments when I have time.
RE: version 1.12
by Nephyrin Zey on Monday November 9th 2009, 16:32
I can confirm this. Got the official version from their site, tried every winetricks thing, registry tricks, etc, just crashes outright.

Made a new wine install, put my video card PCI ids + ram size in registry, installed wine, downloaded torchlight, launched it. It immediately opens on one monitor (twinview) fullscreen, max settings, like magic. However, trying to change the resolution caused it to open in a tiny window, but opening the settings.txt it had created in application data and manually changing that (and manually enabling FSAA, too) makes everything work great.

(This is wine 1.1.32 with a GTX295 + 190.42 drivers on xorg 1.7)
RE: version 1.12
by Nephyrin Zey on Monday November 9th 2009, 16:35
I should also note, on my new wine install i used no winetricks - no directx9 install, no vcrun2008. Installing steam and torchlight took care of whatever needed to be taken care of. Also, installing things like dcom can seriously screw up your wineprefix, so be careful.
RE: version 1.12
by Scot McPherson on Monday November 9th 2009, 16:53
For the successful install, where from did you download torchlight?

Thanks.
RE: version 1.12
by Nephyrin Zey on Tuesday November 10th 2009, 3:37
Haha sorry, left that bit out. It did nothing but crash on the torchlightgame.com version, when i downloaded from steam it worked perfectly. On a fresh wineprefix with no winetricks stuff.
RE: version 1.12
by nobodysbusiness on Sunday November 15th 2009, 21:12
Within the settings.txt file, I modified FSAA, FULLSCREEN, WINDOW_WIDTH, WINDOW_HEIGHT, RES_WIDTH and RES_HEIGHT. This seemed to get it working fullscreen for me (without setting the "Emulate a virtual desktop" thing).
GamersGate install works
by rakete on Saturday November 7th 2009, 17:53
Just bought and installed the game from www.gamersgate.com and had almost no problems. All I had to do was enable 'Emulate a Virtual Desktop' in winecfg to make the game run fullscreen.
fullscreen works
by Marc on Saturday November 7th 2009, 8:00
since the patch, fullscreen works perfectly.
RE: fullscreen works
by Scot McPherson on Saturday November 7th 2009, 12:49
Where did you get the installation from?
RE: fullscreen works
by Marc on Saturday November 7th 2009, 13:06
Steam. I have everything working perfectly excepted in some places where fires are huge.
RE: fullscreen works
by Scot McPherson on Saturday November 7th 2009, 16:48
Marc,
If you have am opportunity, can you please document the exact method you used to get everything to work, so we can create a HOWTO ?

Thanks
Scot
How To
by Zeus on Monday November 2nd 2009, 18:03
To get this game working I had to do the following:

1. Install via Steam.

2. Right click save target as: www.kegel.com/wine/winetricks

3. In a terminal: sh ./winetricks vcrun2008 directx9

4. Download the following file, extract it and run the .bat file through Wine: www.runicgames.com/uploads/safemode.zip

5. Run the game, tweak the settings, but bear in mind full screen seems to cause the game to crash. The game works perfectly in windowed mode.

Optional: Navigate to /home//.wine/dosdevices/c:/users//Application Data/runic games/torchlight/settings.txt and change the line that says VSYNCH :0 to VSYNCH :1 to turn on V-Sync, which otherwise cannot be done through the menus.
Bad EXE format
by Andreas on Saturday October 31st 2009, 13:10
installation with wine 1.1.29 on Fedora 11 works fine but I can't start the game... here's my console output:

$ wine Torchlight.exe
err:module:map_image Could not map section YMY, file probably truncated
err:module:map_image Could not map section YMY, file probably truncated
wine: could not load L"C:\\Programme\\Runic Games\\Torchlight\\Torchlight.exe": Fehlerhaftes EXE-Format f�r

maybe I'll try compiling wine 1.1.32 myself to see if it works there
RE: Bad EXE format
by Caladan on Sunday November 1st 2009, 1:58
its the drm system on the none-steam download version of torchlight.exe, wine can't cope with it and you get this error.
RE: Bad EXE format
by Bernhard Witte on Sunday November 1st 2009, 9:46
and where do you get the steam-version of the game? or is there any other way to fix this problem?
RE: Bad EXE format
by Andreas on Monday November 2nd 2009, 12:43
none of the test results above mention drm or steam and there's a separate post for steam version. So how comes it works for some testers without problems and for others not?
Location of Purchase
by William Lightning on Friday October 30th 2009, 0:40
Can you please document where you got your downloaded version. I run into Yummy DRM issues on both www.torchlightgame.com/ version as well as torchlight.perfectworld.com/

If you purchased it at somewhere else, it would be useful for wine users to know, so we could purchase only one copy from the source that we knew had a good chance of working.
RE: Location of Purchase
by Furyhunter on Sunday November 1st 2009, 20:22
As far as I know, only the Steam version works.
RE: Location of Purchase
by Scot McPherson on Friday November 6th 2009, 14:58
I placed a note on all torchlight pages along these lines. it is unconfirmed as far as I can tell, but it's worth mentioning and keeping track of it. We can track problems specific do the source of the installation file if it is noted.
RE: Location of Purchase
by Howard Clements on Thursday November 12th 2009, 18:20
I don't have a Steam account, so I (unfortunately) bought this from torchlightgame.com before the post about location was made. I've been trying to get this to run an an Athlon 64 3200+ machine with an nVidia 6600 (proprietary driver) running 64-bit Ubuntu 9.10 and wine 1.1.32. Neither the install of vcrun2008 or directx9 worked from winetricks. Winetricks recommended installing d3dx9 instead of directx9, so I installed that one (successfully). Running torchlight as configured above simply gives me the "This program has encountered a serious error and needs to close" window, and a backtrace that doesn't seem to provide much useful information.
c++ redist problem
by John Doe on Thursday October 29th 2009, 18:43
Mh, wasn't able to get it to run with the same setup.
The problem seems to be that the installation of the c++2008 redis package failes.

Terminal output can be found here:
pastebin.com/m17b5ee56
RE: c++ redist problem (workaround)
by Mikael Åkersund on Monday November 2nd 2009, 11:50
Whenever the installation of a game/program hangs waiting on the stalled installation of vc redist, directx or some other software library just send a 'kill -HUP' to the stalled process.

When I installed Torchlight (Steam version) I had to poke (kill -HUP) both the installation of vcredist and directx.
RE: c++ redist problem
by Scot McPherson on Saturday November 7th 2009, 13:12
I think you are supposed to install that using winetricks like so:

$ sh winetricks vcrun2008
RE: c++ redist problem
by Bob Igo on Sunday November 15th 2009, 23:24
That didn't work for me; I had to read the winetricks script to find out what it was trying to do, then do it a different way:

1) wget download.microsoft.com/download/9/7/7/977B481A-7BA6-4E30-AC40-ED51EB2028F2/vcredist_x86.exe

2) cabextract vcredist_x86.exe

3) wine install.exe

by Anton Romanov on Wednesday October 28th 2009, 15:04
it works with settings.txt from
www.runicgames.com/uploads/safemode.zip
also, setting ALLOW HWSKINNING to 0 fixed graphical issues for me

put settings.txt into
%appdata%\runic games\torchlight
(search for torchlight in ~/.wine/drive_c/windows/profiles/)
RE:
by Dave Hoffman on Thursday October 29th 2009, 16:49
I have tested the game without the SAFEMODE=1 added to my launch properties after running it on first launch and it starts and runs just fine. I went through the first floor with no issues.

I think safe mode is needed to forcibly place the settings file in the proper directory so you can edit it from there.

I haven't tested full screen yet but I will when I get back from work.
Back