The Dink Network

Translating Dink Smallwood

August 14th 2012, 04:05 PM
anon.gif
Keepsoul
Ghost They/Them
 
Hello guys, i'm from Brazil and i would like to translate the game, but i can't find the dialogues.

In what file they are?Thanks.
August 14th 2012, 04:17 PM
wizardg.gif
leprochaun
Peasant He/Him Japan bloop
Responsible for making things not look like ass 
C:\Program Files\Dink Smallwood\Dink\Story
That's the path.

All the scripts are in the story folder.

You will most likely have to convert them.
August 14th 2012, 04:36 PM
custom_marpro.png
Marpro
Peasant He/Him bloop
 
The source code is available as dink.c scripts here.

Best of luck.
August 14th 2012, 05:16 PM
spike.gif
That's it. Also be sure to check out Simple Dink Spell, which could save you a crapload of trouble.

Besides that, I think the most noteworthy thing about translating Dink is that each line of dialogue in a DinkC script can only be about 100 characters long. The game crashes if it goes over the limit, so you need to take care not to be overly verbose, or split the dialogue on multiple lines. Happy translating!
August 14th 2012, 10:28 PM
peasantmb.gif
yeoldetoast
Peasant They/Them Australia
LOOK UPON MY DEFORMED FACE! 
Check out the Dink Translation project and follow their instructions on making a translation.
August 15th 2012, 03:54 AM
knightgl.gif
zeddexx
Peasant He/Him New Zealand
I'm pretty sure I'm worth atleast SIX goats... 
Actually doesnt the origanal dink download come with a file called "develop" where the source scripts are?
August 15th 2012, 06:35 AM
spike.gif
Oh yeah, that's right. I figured that's what Marpro was linking to, but it seems that's the source code to the Dink engine; the actual .c scripts can be found in source.zip in the develop directory.
August 15th 2012, 03:58 PM
custom_marpro.png
Marpro
Peasant He/Him bloop
 
That is true, actually. Oh well.
August 16th 2012, 04:14 AM
slimeg.gif
metatarasal
Bard He/Him Netherlands
I object 
Yeoldetoast's link has some great info on translating for Freedink. This allows you to not only translate the original game but also DFArc. No Portuguese translation for Freedink is available, so that would be nice.

If you're not interested in Freedink but just in 'regular' Dink for windows I'd suggest using Simple Dink Spell as Scratcher suggested. It's probably the fastest and easiest way to translate Dink, just keep in mind a general maximum of 130 characters per line. (Longer lines can cause Dink to crash, though the maximum might be higher for some lines.)
August 21st 2012, 01:44 PM
anon.gif
Keepsoul
Ghost They/Them
 
Sorry for taking so long to reply, thanks to all who answered me, but i have a few more questions.

Simple Dink Spell works but i can't find the files to open, my game doesn't have a Dink Smallwood\Dink\Story
I downloaded the game, source code, and mods from several places and I still can't find the files to translate.
All other programs you guys mentioned like freedink, dinkedit, DFarc and etc doesn't work for me, they crash when they start.

Can anyone point me to a place with the correct files or upload them for me, I guess Simple Dink Smallwood would work if I found the right files.
August 21st 2012, 02:23 PM
spike.gif
Are you using Windows 7 perchance? Windows 7 has some problems where it moves the folders away from where they should be... If this is the case, I'd wager the crash problems are related as well.

Try looking for the files in these locations:

C:\Users\YOURUSERNAME\AppData\Local\Virtual Store\Program Files\Dink Smallwood\
C:\Users\Default\Owner\Virtual Store\Program Files\Dink Smallwood\

If that alone doesn't help, try searching for "windows 7" on the forum. There have been more than a few threads about Windows 7 problems in the past.
August 21st 2012, 04:03 PM
pq_knight.gif
ExDeathEvn
Peasant He/Him New Zealand rumble
"Skinny Legend" 
An easy way to get to the Appdata folder, if you don't have Show Hidden FIles and FOlders turned on, is to simply type %appdata% in the Run command window.
I'm unsure of how scratchers second suggestion line works, as I'm not familiar with a directory like that.
August 21st 2012, 08:42 PM
anon.gif
Keepsoul
Ghost They/Them
 
Ok, I got to the virtualstore folder but there is no dink folder there, I tried to reinstall the game, play some of it and save and etc.
Still can't find the folder with all the texts and etc, and yes, I'm on a Windows 7.
If anyone got the name of the files i should look for so i can do a search in my computer I would be glad. Thanks for the help
August 21st 2012, 10:22 PM
wizardg.gif
Paul
Peasant He/Him United States
 
Just to make sure, you're not using Dink Smallwood HD, are you?
August 21st 2012, 10:26 PM
spike.gif
Just to make sure, you're not using Dink Smallwood HD, are you?

The same question just occurred to me.

In case you are, you should download V1.08. HD doesn't have the develop folder and such, although the .D story files should still be around somewhere.

EDIT: They're in Dink Smallwood HD\dink\dink.pak. Pretty cool!
August 21st 2012, 10:27 PM
anon.gif
Keepsoul
Ghost They/Them
 
Using both right now since i'm out of ideas.
uninstalled both and intalled bot as well
August 21st 2012, 10:29 PM
spike.gif
Did you find the develop folder?

The actual .C scripts that you would be translating should be in Dink Smallwood\develop\source.zip, not in Dink Smallwood\dink\story\.
August 21st 2012, 10:31 PM
anon.gif
Keepsoul
Ghost They/Them
 
Ok, right now I installed dink (not hd) on a different folder other then the default and the /story folder showed up, gonna try dink spell right now.
I'll let you guys updated on my progress
August 29th 2012, 01:23 PM
anon.gif
Keepsoul
Ghost They/Them
 
OK I used simple dink spell, and extracted everything from source.zip
Then I extracted with simple dink spell, translated, imported and added to the zip file (and even created a new one with the same name after deleting the old one)
But somehow the game keeps its language in english, and I opened the game files with simple dink to check and they are translated.

Any ideas??
August 29th 2012, 01:50 PM
slayer.gif
rabidwolf9
Peasant He/Him United States
twitch.tv/rabidwolf9 
You actually need to put your new files in the story folder as that is where the game reads them from. The Source zip is just a reference for players to mess with the scripts in a non-compressed, non-encoded format. You may have to delete all the files that are already in the story folder since the engine will choose to read those .d scripts over your .c ones if both are present.
August 29th 2012, 04:48 PM
custom_magicman.gif
magicman
Peasant They/Them Netherlands duck
Mmmm, pizza. 
In addition, the messages you get when talking to nothing, or when trying to use magic with no spell equipped won't be translated either, as they're built-in into the engine. Unless Dink is using dnomagic.c and dnotalk.c by default these days.
August 30th 2012, 03:48 AM
anon.gif
shevek
Ghost They/Them
 
as they're built-in into the engine.

For Freedink, the engine is changed to support translations, including translations of those built-in texts.

IMO, if you go through the trouble of translating all texts (believe me, it's a huge job), you would be wise to do it on an engine that actually supports it, instead of hacking it into the source. But that may be just me.