The Dink Network

HoKi's Profile

2006-01-17 19:09:30
peasantm.gif
HoKi
Peasant He/Him
 
Hello out there,

I tested a little bit more, as there was response in other topics. I think it would be better to keep the information concerning Dink 1.0x on Linux (powered by wine) concentrated in this thread. Therefor im posting my responses only here. Feel free to ask questions or to correct me if there are errors or mistakes. I learned English at school, but thats quite some years ago. Ok, now the information, written as an easy-to-follow-howto:

First of all boot your sytem and log in as normal user. You don't have to be root. Start your preferred windows-manager, i.e. KDE or Gnome and download Dink Smallwood, if not yet done. I suggest highly Version 1.08 (rc4 or higher), because it seems to be much better than 1.07 and includes DFArc2 to launch DMODs. Feel free to download the full version here.

Ok, let's say you downloaded the full install to a directory named /downloads in your home directory. Now open a terminal-emulation, i.e. xterm or konsole. Insert the following line:

wine $HOME"/downloads/dinksmallwood108_rc4.exe"

Wine should open now its well-know message window, saying that it is attempting to process this file. There will also appear some messages in your terminal. After some (several) seconds the normal installation process will start. It is exactly the same procedure as on "your-other-operation-system", and you should follow it accepting all given suggestions. Don't forget to notice where you installed Dink. Normaly this would be
c:\program files\Dink Smallwood\ but this depends on the language of your system.

Ok, did everything work? If not, don't forget to check your spelling (case-sensitive! spaces must be in braces " " and such things) before you blame me

Once you have properly installed Dink you can proceed with modifying the file config in your wine-folder. Normally this folder is named .wine and is located in your home-directory. The point at the beginning of the folder's name makes it invisible, so you shouldn't see it within konqueror or whatever filebrowser you prefer. Hmmm, what shall we do with such an invisible folder? You could change your browser's preferences to see it or simply use the terminal. I prefer the second way, because it's easier to explain
Ok, you didn't shut your terminal, so it's already open. Insert the following lines at the prompt:

cd $HOME/.wine
ls
vi config


Instead of vi in the last line you can use another editor, i.e. kwrite, emacs or whatever you prefer. In case of kwrite the last line would change to
kwrite config
and the file config should be opened in a new window. Anyway, insert the following lines:

[AppDefaults\\dink.exe\\x11drv]
"Desktop" = "640x480"

[AppDefaults\\DFArc.exe\\x11drv]
"Desktop" = "640x480"


Make sure these lines appear in the correct section (near the end of the file), which begins with the following lines:

#########################################
# Application dependent sections follow #
#########################################


an ends with this:

# [/wineconf]

Have it? Good, save the file and return to your open terminal. Remember we made an ls? Have a look at the list your terminal gave back. There should be a folder named fake_windows or drive_c or skel(depends on your system). This is the location where wine stores its user-dependend data, especially our newly installed Dink Smallwood directory.

Let's say this folder is named drive_c on your system. Check this by inserting

cd drive_c
ls


at the prompt of your terminal. You will see a windos-like directory-structure. Follow it until you are in the main Dink-directory. Normally you should get there by inserting the following line sat the prompt:

cd "program files/Dink Smallwood"
ls


Allright until now? No? You got a message?
no such file or directory
No problem! You did write down the location where you installed Dink, didn't you? You didn't?!? Oh man, I told you to do so! Why the hack am I writing until my fingers hurt and you don't even read it?

Ok, you found the directory. You are right when ls gave back a list which contains
dink.exe
DFArc.exe

and some other files. Make sure you haven't gone to deep in the subdirectory Dink whith the story folder for the main game.

Ladies and Gentleman, please fasten your seatbelts, we are ready for take-off...

There are now two possibilities to launch Dink. First way: you can launch it directly by typing:

wine dink.exe -truecolor

This works well as long as you are in the Dink Smallwood directory. Everywhere else you type in:

wine $HOME"/.wine/drive_c/program files/Dink Smallwood/dink.exe" -truecolor

or whereever you installed Dink to. Write it down or make a link on your desktop or write a script or remember it or or or ... hey man, you are free!

Second way is to launch DFArc.exe and to open Dink from within that. That's easier if you want to play different DMODs, not only the main game. Type in:

wine DFArc.exe

Choose the DMOD you want to play, check Truecolor and uncheck Windowed. Click on play, and dink.exe should open with the desired DMOD.

Ok, folks, that's it. Hope you enjoyed the journey. Now it's on you to try it out and play a little bit. And for me it's time to go to bed (i'm living in Europe, it's deepest night here).

What? Didn't work?! Before you post a flaming reply and curse the earth where my feet are walking on please please wait a minute. Tomorrow I'll answer all the lots of questions you posted (I wonder if anyone ever reads this topic)
and write a nice story about getting Dink to work in fullscreen. Yes. it's possible! No more small 640x480 windows within my big 21" display. So if you are nice boyz and girlz and kind to me i'll tell you tomorrow. Good night.

And check out the following sentences. They are notes to remember myself want I should sometimes explain better, but maybe there's a hint for you if you're stuck. If not, feel free to post your questions here.

Some questions and answers

bash says "wine: Command not found" What can I do?
Try to logout and login again into bash. That might fix it. If it doesn't, then make sure the wine binary is in your PATH.
Run as root:
find / -name "wine" -type f -perm +111
to find the path where the wine binary is in. Then check whether PATH includes it:
echo $PATH
If not, add that e.g. to /etc/profile by doing:
export PATH=$PATH:/path/to/wine/binary
That should help.

To download wine packages, use http://rpmseek.com/ or the Download section of winehq.org.

And make sure you wrote everything correct. Linux is case-sensitive, you remember. Don't forget braces if you have spaces in file- or foldernames.

If this message window doesn't open, make sure that wine is correctly installed on your system as described above. It also might be that you have once chosen that wine should start without this message window? Wait some seconds and look at the errormessages wine returns to te terminal.

For our purpose it's better you use the full install of Dink Smallwood. But after having installed the full version there should be no problem patching it with newer versions, as provided by the windows-installer which comes with Dink.