You are not logged in.
Name of Coder : Cy-4AH
Name of Entry : Sloynik
Type of Entry : Sloynik is program for reading StarDict text dictionaries
Description of Entry : english to russian and russian to english dictionaries, but you can add your own.
You just need convert dictionaries from StarDict format to my own with BtdxMaker.
Download it and give feedback to the creator in this thread.
Download link: http://www.xd-studio.com/sloynik_v1.0SS.rar
Last edited by hibbyware (2007-05-12 09:23:09)
Offline
Thanks for competition.
Sloynik v1.0: www.xd-studio.com/sloynik.rar
Waiting feedbacks for improving application.
Last edited by Cy-4AH (2007-05-10 11:43:07)
Offline
Cy-4AH, try to implement the psp-hacks splash screen inside your program instead of just in the game section of the PSP. Also, have you released this already somewhere else? I seem to have tried this program before
Last edited by PSdonkey (2007-05-10 17:52:33)
Offline
One of psp-hacks splash screen already displayed at XMB, when you choose Sloynik icon. Hibbyware already verified it, I was thinking that's enoungh. Am I also need add it inside application? It isn't a problem, but it will increase loading time, witch is not nice thing. Btw, you can set it to background
(But image must be png).
I released before application witch only can translate english words to russian.
Then peoples at this forum advised to make universal dictionary and I decided participate with it in competition.
But when old version was created, competition was already started.
New version, that released here is else reseled nowhere.
Last edited by Cy-4AH (2007-05-11 13:11:54)
Offline
Technically this program doesn't qualify for our competition because it was already released before and on another site.
However, we will let this program remain in the competition as long as you do 2 things before the deadline of the competition,
1 - You need to implement the splash screen inside your program and not just under the xmb in the game menu of the PSP,
2 - You need to include somewhere in this program an about screen or credits saying that this program is entered into the psp-hacks.com homebrew competition 2007,
3 - Also if possible, you could add new features to this program to make it better then the one you already had on the other site,
Offline
hibbyware wrote:
1 - You need to implement the splash screen inside your program and not just under the xmb in the game menu of the PSP,
2 - You need to include somewhere in this program an about screen or credits saying that this program is entered into the psp-hacks.com homebrew competition 2007,
3 - Also if possible, you could add new features to this program to make it better then the one you already had on the other site,
Ok, there is new version: http://www.xd-studio.com/sloynik_v1.0SS.rar.
There are already a lot of features witch make it better.
In old version on the other site is only english-russian dictionary with no capability changing font color and size, it can't attach new dictionaries, text didn't alligned by width, words in translation are breaked by screen bounds and you can't view translatable words list.
I'd show you this old version but it no longer exist at my pc and psp.
Also, old version is unavailable in internet now, because forum at this site is down.
Offline
foebea wrote:
...I need to find out how you do your unicode so I can add that support to my own program
...
Ok, there is two functions for working with Utf-8-strings:
int GetUTF8CharLenght(char *str)
{
if (!(*str & 0x80))
{
return 1;
}
else if ((*str&0xE0) == 0xC0 && (*(str+1)&0xC0) == 0x80)
{
return 2;
}
else if ((*str&0xF0) == 0xE0 && (*(str+1)&0xC0) == 0x80 && (*(str+2)&0xC0) == 0x80)
{
return 3;
}
else if ((*str&0xF8) == 0xF0 && (*(str+1)&0xC0) == 0x80 && (*(str+2)&0xC0) == 0x80 && (*(str+3)&0xC0) == 0x80)
{
return 4;
}
return 1;
}
unsigned int GetCharFromUTF8(char *&str)
{
unsigned int ch;
if (!(*str & 0x80))
{
ch = *str;
str++;
}
else if ((*str&0xE0) == 0xC0 && (*(str+1)&0xC0) == 0x80)
{
ch = (*str&0x1F)<<6 | *(str+1)&0x3F;
str += 2;
}
else if ((*str&0xF0) == 0xE0 && (*(str+1)&0xC0) == 0x80 && (*(str+2)&0xC0) == 0x80)
{
ch = (*str&0x0F)<<12 | (*(str+1)&0x3F)<<6 | *(str+2)&0x3F;
str += 3;
}
else if ((*str&0xF8) == 0xF0 && (*(str+1)&0xC0) == 0x80 && (*(str+2)&0xC0) == 0x80 && (*(str+3)&0xC0) == 0x80)
{
ch = (*str&0x07)<<18 | (*(str+1)&0x3F)<<12 | (*(str+2)&0x3F)<<6 | *(str+3)&0x3F;
str += 4;
}
else
{
ch = '?';
str++;
}
return ch;
}Offline
Great news! Sloynik v1.1 Released!
You don't need any more BtdxMaker, just include StarDict dictionaries like it shown in example with ru-en and en-ru dictionaries.
Download link: http://www.xd-studio.com/psp/Sloynik_v1.1.rar
Changes from v1.0SS:
BtdxMaker builded into Sloynik. If some dictionary used in first time, it will be automaticaly converted.
Also in BtdxMaker Solved bug witch limit count usable dictionaries by ifo-file size.
Added Dictionary Name Field. (Name get from ifo-file, make sure that it's not too long, bacause it may get not into field rect).
Added application loading status.
Listing words by L-Shift with analog.
Last edited by Cy-4AH (2007-05-30 08:49:24)
Offline
nice app. i was sort of able to get it to work with jap-eng/eng-jap dictionaries but i need font support. the readme isnt really clear on much, and says nothing about other adding fonts. any info on what i can do about that? i probably just have to find a romanji-eng dictionary. but other than that it works fine.
nice work. thanks.![]()
Offline
supes wrote:
nice app. i was sort of able to get it to work with jap-eng/eng-jap dictionaries but i need font support. the readme isnt really clear on much, and says nothing about other adding fonts. any info on what i can do about that? i probably just have to find a romanji-eng dictionary. but other than that it works fine.
nice work. thanks.
Just rename another font to font.ttf and put it into res folder.
But I am not sure that Sloynik will work correctly with japanise. Can you give me link for japanise font?
Offline