Page 1 of 2

[Help] Blades of Time

Posted: Thu Apr 19, 2012 6:40 pm
by Maxunit
Heyo Xentax Community,

I bought Blades of Time today and played it a bit. Later on I found out, that it is from another Developer but seems to be using the same engine as X-Blades (slightly modified tho, I think).

Now I tried to unpack the file ayumi_base.grp with offzip using the following command:

offzip.exe -a ayumi_base.grp ayumi_base 0x0

It extracted 4 files, but all 4 are numeric named .dat files, where the largest is 0004e3f0.dat with 551 kilobytes. A complete list:

000487c4.dat - 12 kilobytes
000a2c39.dat - 37 kilobytes
000018e4.dat - 441 kilobytes
0004e3f0.dat - 551 kilobytes

ayumi_base.grp - 686 kilobytes

Maybe ayumi_base.grp only contains textures or the 3d model...

I know, that it is no longer allowed to upload copyrighted content to Xentax, therefor I ask, what I can do to supply information for the more experienced people here? I would like to extract more of the game, maybe even re-do some of the textures, because there a textures, which look like... 512x512, which is rather ugly.

EDIT:

I own the game, my email is [email protected]. You can either send me a PM or E-Mail me.

Re: [Help] Blades of Time

Posted: Fri Apr 20, 2012 12:39 am
by howfie
I have the game. I was going to look at it but haven't had the chance. I haven't extracted it yet so if you want you can contact me for help. That's all offzip extracted?

Re: [Help] Blades of Time

Posted: Fri Apr 20, 2012 6:59 am
by Mr.Mouse
Please take a look at the discussion here: viewtopic.php?f=28&t=8760&p=71355#p71355

The only condoned way of talking about getting into touch to discuss samples is this one as stated by Craptain:
""I own the game, my email is [email protected]". Wait for PM or email.
I edited your original message to reflect this conduct.

Re: [Help] Blades of Time

Posted: Tue May 01, 2012 9:00 pm
by JonhOliver
Any news on how to extract the text?

Re: [Help] Blades of Time

Posted: Sat May 05, 2012 1:15 pm
by Delacroix
X-Blades aka Oniblade, the prequel, had supposedly all texts stored in zlib-compressed ob.vromfs.bin. Blades of Time is based on the same engine, so I suppose that the file bot.vromfs.bin is responsible for all the text. It is in the main game folder.

It's a main component of the game so I reckon it IS included in the demo, but whomever wants to work on the latest version from the fill game, may PM me for the file. It's small, little more than 2 MB in size.

For some localizations, fonts must be edited. These are in ui subfolder and also have the bin extension.

I'd be happy if anyone could look into editing either. Please advise.

Re: [Help] Blades of Time

Posted: Sat May 05, 2012 2:52 pm
by lostprophet
Up! :)

Re: [Help] Blades of Time

Posted: Sun May 06, 2012 7:05 pm
by swuforce
There is a method to edit the language files

Use Offzip to decompress the bot.vromfs.bin file.
offzip.exe bot.vromfs.bin bot.vromfs.bin.dec 0x10

Unpack the decompressed file with this script(bot.vromfs.bin.dec).

Code: Select all

goto 0x8
get BASE_OFF long
get FILES long
for i = 0 < FILES
get NAMEOFF long
savepos OFF
goto NAMEOFF
get NAME string
goto BASE_OFF
get OFFSET long
get SIZE long
savepos BASE_OFF
log NAME OFFSET SIZE
goto OFF
next i
Keep the language files and delete the others.
Edit the text, but the file size must be equal or less, so i suggest to delete some lines from other langs.
Use quickbms to reimport the edited files to bot.vromfs.bin.dec
Compress the .dec file with zlibc.
zlibc.exe -k bot.vromfs.bin.dec bot.vromfs.bin.cmp

Check the .cmp file size and convert it to hexadecimal. eg use this site
1970886 --> 1E12C6

Open the .cmp and the original .bin with hex editor.
Copy the first 16 bytes from the original file, and paste it at the beginning of the .cmp file.
Edit the compressed size 0xC position, watch the endianess.
Image

Copy .cmp file to gamedir and rename to orig, backup original file.


You can try it if want
http://i48.tinypic.com/2m6shlt.jpg

Re: [Help] Blades of Time

Posted: Sun May 06, 2012 8:59 pm
by Delacroix
swuforce, could you look into the fonts as well? Thank you very much in advance.

Re: [Help] Blades of Time

Posted: Mon May 07, 2012 12:05 am
by lostprophet
Delacroix wrote:swuforce, could you look into the fonts as well? Thank you very much in advance.
My guess would be, that the fonts are in the ui directory in BIN format, but it's not the same BIN format as bot.vromfs.bin.

Re: [Help] Blades of Time

Posted: Mon May 07, 2012 4:02 pm
by JonhOliver
could better explain how to use the Offzip?

Re: [Help] Blades of Time

Posted: Mon May 07, 2012 4:47 pm
by lostprophet
JonhOliver wrote:could better explain how to use the Offzip?
1. Open up the commandline (Start menu > Run > type "cmd" (without quotes) > press ENTER

2. Copy the offzip.exe to the same directory as the bot.vromfs.bin file.

3. In command line, go to the same directory, for eg. if the bin file is in C:\new, then type "cd C:\new" (without quotes)

4. Then run offzip.exe, by typing "offzip.exe bot.vromfs.bin bot.vromfs.bin.dec 0x10" (without quotes)

BTW, the translation works perfectly, if it's done as swuforce wrote, but we have to wait until someone finds a way to edit the fonts (they are in the installation directory, in the ui directory)

Re: [Help] Blades of Time

Posted: Mon May 07, 2012 7:24 pm
by swuforce
I think the font file supports many characters, so its not necessary to edit it. http://oi45.tinypic.com/2nvquft.jpg

Btw i cant do anything with the fonts.

Re: [Help] Blades of Time

Posted: Mon May 07, 2012 8:55 pm
by Delacroix
swuforce, I am attempting translation of the game. I'm hoping it will succeed. Thank you for all your help so far.

Re: [Help] Blades of Time

Posted: Mon May 07, 2012 9:24 pm
by JonhOliver
Thanks, could generate bot.vromfs.bin.dec. But did not understand what I do now, excuse my ignorance, I'm still learning.

Re: [Help] Blades of Time

Posted: Tue May 08, 2012 2:51 am
by delutto
JonhOliver wrote:Thanks, could generate bot.vromfs.bin.dec. But did not understand what I do now, excuse my ignorance, I'm still learning.
When you are online on MSN, I explain in detail the process.