XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Mon Jan 22, 2018 11:36 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: Portal 2
PostPosted: Fri Jul 01, 2011 5:45 am 
Offline
Moderator

Joined: Sun Mar 27, 2011 8:42 pm
Posts: 935
Has thanked: 10 times
Have thanks: 120 times

Hello,

Can anyone help me to repack this files please? What i need is to subtitles_czech.txt file turn into subtitles_english.360.dat format for x360. it should be the same format as it is for PC expect it is big endiannes. So if you repack the PC file than X360 would be piece of cake after all. :)

Original File in TXT form - PC:
Code:
http://loadfiles.in/lrzusd3xh1d0/subtitles_czech.txt


Original File in dat form - PC - little endianess:
Code:
http://loadfiles.in/jr1mqa35bmyr/subtitles_czech.dat


Original File in dat form - X360 - big endianess:
Code:
http://loadfiles.in/1hqnbmvmz7s9/subtitles_english.360.dat


Thank you in advance

You can make the ads go away by registering


_________________
Quick BMS Editor GUI - simple easy to use
Goto : viewtopic.php?uid=34229&f=29&t=6797&start=0

Downloads from DropBox : https://dl.dropboxusercontent.com/u/


Top
 Profile  
 
 Post subject: Re: Portal 2
PostPosted: Mon Jul 04, 2011 11:48 am 
Offline
Moderator

Joined: Sun Mar 27, 2011 8:42 pm
Posts: 935
Has thanked: 10 times
Have thanks: 120 times
please anyone ?

_________________
Quick BMS Editor GUI - simple easy to use
Goto : viewtopic.php?uid=34229&f=29&t=6797&start=0

Downloads from DropBox : https://dl.dropboxusercontent.com/u/


Top
 Profile  
 
 Post subject: Re: Portal 2
PostPosted: Thu Jul 07, 2011 5:15 pm 
Offline
veteran

Joined: Fri Feb 18, 2011 10:23 am
Posts: 106
Has thanked: 2 times
Have thanks: 29 times
i think source sdk can convert txt to dat format.
with captioncompiler that is in source sdk.


Top
 Profile  
 
 Post subject: Re: Portal 2
PostPosted: Fri Jul 08, 2011 9:23 pm 
Offline
Moderator

Joined: Sun Mar 27, 2011 8:42 pm
Posts: 935
Has thanked: 10 times
Have thanks: 120 times
rengareng wrote:
i think source sdk can convert txt to dat format.
with captioncompiler that is in source sdk.


Ok i have it just need to try thx a lot for kick up :)

_________________
Quick BMS Editor GUI - simple easy to use
Goto : viewtopic.php?uid=34229&f=29&t=6797&start=0

Downloads from DropBox : https://dl.dropboxusercontent.com/u/


Top
 Profile  
 
 Post subject: Re: Portal 2
PostPosted: Sun Jul 10, 2011 11:23 am 
Offline
Moderator

Joined: Sun Mar 27, 2011 8:42 pm
Posts: 935
Has thanked: 10 times
Have thanks: 120 times
rengareng wrote:
i think source sdk can convert txt to dat format.
with captioncompiler that is in source sdk.


Idid worked but only for PC, i would like to get something for X360 . Anyone pls ?

_________________
Quick BMS Editor GUI - simple easy to use
Goto : viewtopic.php?uid=34229&f=29&t=6797&start=0

Downloads from DropBox : https://dl.dropboxusercontent.com/u/


Top
 Profile  
 
 Post subject: Re: Portal 2
PostPosted: Mon Jul 11, 2011 3:51 pm 
Offline
veteran

Joined: Fri Feb 18, 2011 10:23 am
Posts: 106
Has thanked: 2 times
Have thanks: 29 times
you can change little endian to big endian with notepad++. just from coding, choose convert to big endian. then try to this txt file compile in sdk.


Top
 Profile  
 
 Post subject: Re: Portal 2
PostPosted: Mon Jul 11, 2011 4:39 pm 
Offline
Moderator

Joined: Sun Mar 27, 2011 8:42 pm
Posts: 935
Has thanked: 10 times
Have thanks: 120 times
rengareng wrote:
you can change little endian to big endian with notepad++. just from coding, choose convert to big endian. then try to this txt file compile in sdk.



Hm, you cant do it as it is byte reversed!

_________________
Quick BMS Editor GUI - simple easy to use
Goto : viewtopic.php?uid=34229&f=29&t=6797&start=0

Downloads from DropBox : https://dl.dropboxusercontent.com/u/


Top
 Profile  
 
 Post subject: Re: Portal 2
PostPosted: Wed Jul 20, 2011 1:27 pm 
Offline
veteran

Joined: Fri Feb 18, 2011 10:23 am
Posts: 106
Has thanked: 2 times
Have thanks: 29 times
notepad++ automatically, should reverse bytes.


Top
 Profile  
 
 Post subject: Re: Portal 2
PostPosted: Mon Nov 20, 2017 8:10 pm 
Offline
n00b

Joined: Mon Nov 20, 2017 7:49 pm
Posts: 14
Has thanked: 2 times
Have thanks: 4 times
michalss wrote:
rengareng wrote:
i think source sdk can convert txt to dat format.
with captioncompiler that is in source sdk.


Idid worked but only for PC, i would like to get something for X360 . Anyone pls ?


First of all, generate the .dat file using captioncompiler. This .dat is in PC format.

Then, submit the PC .dat file to the following quickbms script:

Code:
get SIGN long   # VCCD
get DUMMY long
get DUMMY long
get DUMMY long
get FILES long
get DUMMY long
for i = 0 < FILES
    get DUMMY long
    get DUMMY long
    get DUMMY short
    get DUMMY short
next i
get DAT_SIZE asize
for
    savepos TMP
    if TMP u>= DAT_SIZE
        break
    endif
    get CHAR short
next


I'm doing a Portal translation to PT-BR, and it worked to me.

Ps. I'm using the following command: quickbms.exe -E -w script.bms closecaption_english.dat



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

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 2 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