PSP Hacks - Forums

Go Back   PSP Hacks - Forums > PSP Community > Homebrew

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 05-10-2007, 12:07 PM
thehman thehman is offline
PSP Veteran
 

Join Date: Mar 2007
Posts: 1,092
thehman is on a distinguished road
Default

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
__________________

ʕθ̿␣̅θ̿ʔ ℋiЬЬyℬot™
Reply With Quote
  #2  
Old 05-10-2007, 12:40 PM
Cy-4AH Cy-4AH is offline
PSP Newbie
 

Join Date: May 2007
Location: Belarus
Posts: 16
Cy-4AH Has a Beginner Reputation
Default

Thanks for competition.
Sloynik v1.0: www.xd-studio.com/sloynik.rar
Waiting feedbacks for improving application.
__________________
Sloynik Release Thread: http://www.psp-hacks.com/forums/viewtopic.php?id=88653
Reply With Quote
  #3  
Old 05-10-2007, 06:52 PM
PSdonkey's Avatar
PSdonkey PSdonkey is offline
Lop-sided Testicule Admin
PSP Titan
 

Join Date: Dec 2005
Posts: 9,426
PSdonkey has a reputation beyond reputePSdonkey has a reputation beyond reputePSdonkey has a reputation beyond reputePSdonkey has a reputation beyond reputePSdonkey has a reputation beyond reputePSdonkey has a reputation beyond reputePSdonkey has a reputation beyond reputePSdonkey has a reputation beyond reputePSdonkey has a reputation beyond reputePSdonkey has a reputation beyond reputePSdonkey has a reputation beyond repute
Default

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
__________________
Obey Beaker. That is all.


Spoiler:
Want to become a PSP Dev the easy way? Check out my tutorial for the PSP here http://www.psp-hacks.com/forums/f141...orial-t152466/
Want to learn how to create your own games on the PSP? Check out my tutorial here http://www.psp-hacks.com/forums/f141...-your-t153653/
Want to learn how to program C++ ? Check out that tutorial here http://www.psp-hacks.com/forums/f124...ram-c-t122337/
Reply With Quote
  #4  
Old 05-11-2007, 02:07 PM
Cy-4AH Cy-4AH is offline
PSP Newbie
 

Join Date: May 2007
Location: Belarus
Posts: 16
Cy-4AH Has a Beginner Reputation
Default

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.
__________________
Sloynik Release Thread: http://www.psp-hacks.com/forums/viewtopic.php?id=88653
Reply With Quote
  #5  
Old 05-11-2007, 04:14 PM
thehman thehman is offline
PSP Veteran
 

Join Date: Mar 2007
Posts: 1,092
thehman is on a distinguished road
Default

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,
__________________

ʕθ̿␣̅θ̿ʔ ℋiЬЬyℬot™
Reply With Quote
  #6  
Old 05-12-2007, 10:17 AM
Cy-4AH Cy-4AH is offline
PSP Newbie
 

Join Date: May 2007
Location: Belarus
Posts: 16
Cy-4AH Has a Beginner Reputation
Default

Quote:
Originally Posted by hibbyware
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.
__________________
Sloynik Release Thread: http://www.psp-hacks.com/forums/viewtopic.php?id=88653
Reply With Quote
  #7  
Old 05-22-2007, 10:54 AM
Cy-4AH Cy-4AH is offline
PSP Newbie
 

Join Date: May 2007
Location: Belarus
Posts: 16
Cy-4AH Has a Beginner Reputation
Default

Quote:
Originally Posted by foebea
...I need to find out how you do your unicode so I can add that support to my own program :D...
Ok, there is two functions for working with Utf-8-strings:
Code:
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;    
}
__________________
Sloynik Release Thread: http://www.psp-hacks.com/forums/viewtopic.php?id=88653
Reply With Quote
  #8  
Old 05-30-2007, 05:54 AM
Cy-4AH Cy-4AH is offline
PSP Newbie
 

Join Date: May 2007
Location: Belarus
Posts: 16
Cy-4AH Has a Beginner Reputation
Default

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.
__________________
Sloynik Release Thread: http://www.psp-hacks.com/forums/viewtopic.php?id=88653
Reply With Quote
  #9  
Old 06-03-2007, 09:48 PM
supes supes is offline
PSP Newbie
 

Join Date: May 2007
Posts: 5
supes Has a Beginner Reputation
Default

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.:mrgreenthumbsup:
Reply With Quote
  #10  
Old 06-04-2007, 10:07 AM
Cy-4AH Cy-4AH is offline
PSP Newbie
 

Join Date: May 2007
Location: Belarus
Posts: 16
Cy-4AH Has a Beginner Reputation
Default

Quote:
Originally Posted by supes
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.:mrgreenthumbsup:
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?
__________________
Sloynik Release Thread: http://www.psp-hacks.com/forums/viewtopic.php?id=88653
Reply With Quote
Reply

 



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:31 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
©