Translating Dink Smallwood
August 14th 2012, 04:05 PM
Keepsoul
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.
In what file they are?Thanks.
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.
That's the path.
All the scripts are in the story folder.
You will most likely have to convert them.
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!
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!
Check out the Dink Translation project and follow their instructions on making a translation.
Actually doesnt the origanal dink download come with a file called "develop" where the source scripts are?
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.
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.)
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
Keepsoul
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.
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.
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.
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.
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.
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
Keepsoul
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
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
Just to make sure, you're not using Dink Smallwood HD, are you?
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!
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
Keepsoul
Using both right now since i'm out of ideas.
uninstalled both and intalled bot as well
uninstalled both and intalled bot as well
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\.
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
Keepsoul
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
I'll let you guys updated on my progress
August 29th 2012, 01:23 PM
Keepsoul
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??
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??
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.
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
shevek
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.
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.