PSP Hacks

#1 Spot for PSP Hacks



Home | PSP News | PSP Hacks | PSP Saves | PSP Downloads | PSP Backgrounds | PSP Hacks Live Chat | Free PSP | Contact Us


You are not logged in.

Announcement

  • Index
  •  » Homebrew
  •  » [Release] Sloynik - PSP-Hacks homebrew competition 2007

#1  2007-05-10 11:07:52

thehman
PSP Veteran
Registered: 2007-03-27
Posts: 1060

[Release] Sloynik - PSP-Hacks homebrew competition 2007

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

 

#2  2007-05-10 11:40:51

Cy-4AH
PSP Newbie
From: Belarus
Registered: 2007-05-10
Posts: 16

Re: [Release] Sloynik - PSP-Hacks homebrew competition 2007

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

 

#3  2007-05-10 17:52:14

PSdonkey
Squirrel Nuts 4 President '08
Registered: 2006-03-15
Posts: 9018

Re: [Release] Sloynik - PSP-Hacks homebrew competition 2007

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)


Want to become a PSP Dev the easy way? Check out my tutorial  for the PSP here psp-hacks.com/forums/viewtopic.php?id=65403
Want to learn how to create your own games on the PSP? Check out my tutorial here psp-hacks.com/forums/viewtopic.php?pid=693884#p693884
Want to learn how to program C++ ? Check out that tutorial here psp-hacks.com/forums/viewtopic.php?id=28694

Offline

 

#4  2007-05-11 13:07:06

Cy-4AH
PSP Newbie
From: Belarus
Registered: 2007-05-10
Posts: 16

Re: [Release] Sloynik - PSP-Hacks homebrew competition 2007

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 smile (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

 

#5  2007-05-11 15:14:40

thehman
PSP Veteran
Registered: 2007-03-27
Posts: 1060

Re: [Release] Sloynik - PSP-Hacks homebrew competition 2007

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

 

#6  2007-05-12 09:17:47

Cy-4AH
PSP Newbie
From: Belarus
Registered: 2007-05-10
Posts: 16

Re: [Release] Sloynik - PSP-Hacks homebrew competition 2007

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

 

#7  2007-05-22 09:54:23

Cy-4AH
PSP Newbie
From: Belarus
Registered: 2007-05-10
Posts: 16

Re: [Release] Sloynik - PSP-Hacks homebrew competition 2007

foebea wrote:

...I need to find out how you do your unicode so I can add that support to my own program big_smile...

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;    
}

Offline

 

#8  2007-05-30 04:54:00

Cy-4AH
PSP Newbie
From: Belarus
Registered: 2007-05-10
Posts: 16

Re: [Release] Sloynik - PSP-Hacks homebrew competition 2007

Great news! Sloynik v1.1 Released!
http://www.xd-studio.com/psp/Sloynik.jpg
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

 

#9  2007-06-03 20:48:00

supes
PSP Newbie
Registered: 2007-05-12
Posts: 5

Re: [Release] Sloynik - PSP-Hacks homebrew competition 2007

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

Offline

 

#10  2007-06-04 09:07:39

Cy-4AH
PSP Newbie
From: Belarus
Registered: 2007-05-10
Posts: 16

Re: [Release] Sloynik - PSP-Hacks homebrew competition 2007

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.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?

Offline

 
  • Index
  •  » Homebrew
  •  » [Release] Sloynik - PSP-Hacks homebrew competition 2007
Home | PSP News | PSP Hacks | PSP Saves | PSP Downloads | PSP Backgrounds | PSP Hacks Live Chat | Free PSP | Contact Us



Board footer

Powered by PunBB
© Copyright 2002–2008 PunBB