XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Sun Oct 21, 2018 7:24 pm

All times are UTC + 1 hour


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 13 posts ] 
Author Message
 Post subject: Blood Knights string .bin File
PostPosted: Sun Dec 01, 2013 2:13 pm 
Offline
advanced

Joined: Fri Dec 17, 2010 11:24 am
Posts: 44
Has thanked: 16 times
Have thanks: 0 time
How To Edit Blood Knights string .bin File?


Attachments:


You do not have the required permissions to view the files attached to this post. Register to gain access.



Top
 Profile  
 
 Post subject: Re: Blood Knights string .bin File
PostPosted: Tue Dec 03, 2013 3:47 pm 
Offline
advanced

Joined: Fri Dec 17, 2010 11:24 am
Posts: 44
Has thanked: 16 times
Have thanks: 0 time
reznov wrote:
How To Edit Blood Knights string .bin File?


Can anyone take a look at this files.


Top
 Profile  
 
 Post subject: Re: Blood Knights string .bin File
PostPosted: Thu Dec 05, 2013 10:29 am 
Offline
veteran

Joined: Thu Nov 05, 2009 8:46 pm
Posts: 121
Has thanked: 9 times
Have thanks: 104 times
The game has some kind of file validation, so editing is not possible until someone find out what hash is it.


Top
 Profile  
 
 Post subject: Re: Blood Knights string .bin File
PostPosted: Sat Dec 07, 2013 11:04 pm 
Offline
veteran

Joined: Thu Nov 05, 2009 8:46 pm
Posts: 121
Has thanked: 9 times
Have thanks: 104 times
I search the game folder for keyword "hash", and found this in FledgeCore.dll: DJB2Hash, SDBMHash.
Does anyone know what are these things? :D


Top
 Profile  
 
 Post subject: Re: Blood Knights string .bin File
PostPosted: Tue Dec 10, 2013 1:45 pm 
Offline
M-M-M-Monster veteran
M-M-M-Monster veteran

Joined: Wed Mar 31, 2010 6:54 am
Posts: 1627
Has thanked: 61 times
Have thanks: 784 times
This 2 functions used for strings.

Code:
unsigned long DJB2Hash(unsigned char *pString)
{
    unsigned long pHash = 5381;
    int pChar;

    while (pChar = *pString++)
        pHash = ((pHash << 5) + pHash) + pChar;
    return pHash;
}

unsigned long SDBMHash(unsigned char *pString)
{
    unsigned long pHash = 0;
    int pChar;

    while (pChar = *pString++)
        pHash = pChar + (pHash << 6) + (pHash << 16) - pHash;
    return pHash;
}


Well i disable hash validation. Here results. In attach link for download. Enjoy.


Attachments:


You do not have the required permissions to view the files attached to this post. Register to gain access.



Top
 Profile  
 
 Post subject: Re: Blood Knights string .bin File
PostPosted: Wed Dec 11, 2013 4:06 am 
Offline
advanced

Joined: Fri Dec 17, 2010 11:24 am
Posts: 44
Has thanked: 16 times
Have thanks: 0 time
Perfect!
Thanks Ekey. :bravo:


Top
 Profile  
 
 Post subject: Re: Blood Knights string .bin File
PostPosted: Wed Dec 18, 2013 9:26 pm 
Offline
veteran

Joined: Thu Nov 05, 2009 8:46 pm
Posts: 121
Has thanked: 9 times
Have thanks: 104 times
Here is a tool to edit bin file: https://www.sendspace.com/file/xpdpvz
And don't forget to use Ekey's patch.


Last edited by swuforce on Thu Jun 26, 2014 7:10 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Blood Knights string .bin File
PostPosted: Thu Dec 19, 2013 6:00 pm 
Offline
advanced

Joined: Fri Dec 17, 2010 11:24 am
Posts: 44
Has thanked: 16 times
Have thanks: 0 time
Thanks!
It was a big help. :wink:


Top
 Profile  
 
 Post subject: Re: Blood Knights string .bin File
PostPosted: Wed Jan 22, 2014 10:34 pm 
Offline
beginner
User avatar

Joined: Tue Jun 29, 2010 1:21 am
Posts: 25
Location: Polska
Has thanked: 0 time
Have thanks: 0 time
Any way to edit font.bin file, or how can I add polish signs in font? Link below is to the font.bin and other font files (including textures) in case it will be helpful.

http://www.sendspace.com/file/93p728

EDIT: Hey guys! I manage to edit font.bin file thanks to my fellow friend Brucie! He wrote a template for 010 Editor with which you can edit this file. Remember: do not insert new character (!), replace an already existing one. You can add new character on the texture but you can't add new one in file, replace some other unused character and use X and Y pixels address from the texture file.


Attachments:


You do not have the required permissions to view the files attached to this post. Register to gain access.


_________________
Image


Top
 Profile  
 
 Post subject: Re: Blood Knights string .bin File
PostPosted: Thu Aug 14, 2014 9:37 pm 
Offline
ultra-n00b
User avatar

Joined: Thu Aug 14, 2014 9:17 pm
Posts: 2
Has thanked: 0 time
Have thanks: 0 time
Sorry my english. Could someone get me the tools to extract the file string.bin? The links are off! I would love to translate this game. Thank you very much!


Top
 Profile  
 
 Post subject: Re: Blood Knights string .bin File
PostPosted: Sun Apr 08, 2018 9:58 pm 
Offline
ultra-n00b

Joined: Mon Aug 11, 2014 11:49 am
Posts: 4
Has thanked: 1 time
Have thanks: 0 time
Ekey wrote:
This 2 functions used for strings.

Code:
unsigned long DJB2Hash(unsigned char *pString)
{
    unsigned long pHash = 5381;
    int pChar;

    while (pChar = *pString++)
        pHash = ((pHash << 5) + pHash) + pChar;
    return pHash;
}

unsigned long SDBMHash(unsigned char *pString)
{
    unsigned long pHash = 0;
    int pChar;

    while (pChar = *pString++)
        pHash = pChar + (pHash << 6) + (pHash << 16) - pHash;
    return pHash;
}


Well i disable hash validation. Here results. In attach link for download. Enjoy.


Any have this patch and tool ? Update pleas
sorry for english if so.


Top
 Profile  
 
 Post subject: Re: Blood Knights string .bin File
PostPosted: Mon Apr 09, 2018 8:15 am 
Offline
veteran
User avatar

Joined: Mon May 12, 2014 10:41 pm
Posts: 152
Has thanked: 22 times
Have thanks: 42 times
@PetkaBY
Try this tool https://www33.zippyshare.com/v/StU3r9ws/file.html


Top
 Profile  
 
 Post subject: Re: Blood Knights string .bin File
PostPosted: Mon Apr 09, 2018 9:52 am 
Offline
ultra-n00b

Joined: Mon Aug 11, 2014 11:49 am
Posts: 4
Has thanked: 1 time
Have thanks: 0 time
makcar wrote:


Sanks. Anything by decision with Hash, Ekey remove it, but link dead.

Import text not working( create the same file with NEW_ prifix.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: HeavenWraith, RealymanLP and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group