Join also our Discord channel! Click here.

DARK [.darkpack]

Need help translating games in other languages? Have your language problems solved here.
User avatar
lostprophet
mega-veteran
mega-veteran
Posts: 197
Joined: Wed Apr 07, 2010 7:38 pm
Has thanked: 35 times
Been thanked: 5 times

DARK [.darkpack]

Post by lostprophet » Thu Jul 04, 2013 8:13 pm

This game just released on Steam and I suspect the texts are in the "LocText_en.darkpack" ( http://rghost.net/47215158 ).
Could somebody take a look on it? Thank you :)
Hungarian translator and member of Indies4indies.com | Previous translations: http://lostprophet.hu

swuforce
veteran
Posts: 121
Joined: Thu Nov 05, 2009 8:46 pm
Has thanked: 11 times
Been thanked: 105 times

Re: DARK [.darkpack]

Post by swuforce » Thu Jul 04, 2013 9:27 pm

Quickbms script for unpack

Code: Select all

idstring "DARKPACK"
get tablesz long
get files long
for i = 0 < files
get offset long
get null long
get unk long
get null long
get size long
get namesz long
getdstring name namesz
log name offset size
next i

User avatar
lostprophet
mega-veteran
mega-veteran
Posts: 197
Joined: Wed Apr 07, 2010 7:38 pm
Has thanked: 35 times
Been thanked: 5 times

Re: DARK [.darkpack]

Post by lostprophet » Fri Jul 05, 2013 9:55 am

Thanks, the bms script works great, the game uses the texts when reimported with quickbms (however I have to watch out to not exceed the original filesize):)
Hungarian translator and member of Indies4indies.com | Previous translations: http://lostprophet.hu

michalss
Moderator
Posts: 945
Joined: Sun Mar 27, 2011 8:42 pm
Has thanked: 10 times
Been thanked: 137 times

Re: DARK [.darkpack]

Post by michalss » Fri Jul 05, 2013 12:53 pm

lostprophet wrote:Thanks, the bms script works great, the game uses the texts when reimported with quickbms (however I have to watch out to not exceed the original filesize):)

I was thinking to make repacker but i dont know someone allready working on it :)
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/

User avatar
lostprophet
mega-veteran
mega-veteran
Posts: 197
Joined: Wed Apr 07, 2010 7:38 pm
Has thanked: 35 times
Been thanked: 5 times

Re: DARK [.darkpack]

Post by lostprophet » Fri Jul 05, 2013 2:55 pm

michalss wrote:
lostprophet wrote:Thanks, the bms script works great, the game uses the texts when reimported with quickbms (however I have to watch out to not exceed the original filesize):)

I was thinking to make repacker but i dont know someone allready working on it :)
Well, I would appreciate a repacker :D (since the reimport feature of Quickbms has the size limit).
Hungarian translator and member of Indies4indies.com | Previous translations: http://lostprophet.hu

Vash
mega-veteran
mega-veteran
Posts: 183
Joined: Fri Apr 29, 2005 2:39 pm
Has thanked: 5 times
Been thanked: 22 times

Re: DARK [.darkpack]

Post by Vash » Fri Jul 05, 2013 3:02 pm

The format is pretty easy, If I have the time I'll try something

User avatar
lostprophet
mega-veteran
mega-veteran
Posts: 197
Joined: Wed Apr 07, 2010 7:38 pm
Has thanked: 35 times
Been thanked: 5 times

Re: DARK [.darkpack]

Post by lostprophet » Sat Jul 06, 2013 7:32 am

It looks like the reimport feature for Quickbms cuts some texts, so I'll wait for a proper repacker then.
Hungarian translator and member of Indies4indies.com | Previous translations: http://lostprophet.hu

SileniusLegard
n00b
Posts: 19
Joined: Sun Jul 25, 2010 12:00 am

Re: DARK [.darkpack]

Post by SileniusLegard » Sat Jul 06, 2013 2:27 pm

Vash wrote:The format is pretty easy, If I have the time I'll try something
Wow, that would be great, thank you very much.

Vash
mega-veteran
mega-veteran
Posts: 183
Joined: Fri Apr 29, 2005 2:39 pm
Has thanked: 5 times
Been thanked: 22 times

Re: DARK [.darkpack]

Post by Vash » Sat Jul 06, 2013 3:32 pm

I'm on it..


[EDIT]
Ok, here a first version. At the moment it only unpacks, I'm sharing this because I only tried on this one file and I can't be sure it works with all of them.
https://www.dropbox.com/s/tbv2qhmk0o0e8 ... Packer.exe

I had to use Visual Studio 2012 to compile it, you might need the libraries

User avatar
Herdell
veteran
Posts: 104
Joined: Sun Dec 13, 2009 8:35 pm
Has thanked: 30 times
Been thanked: 30 times

Re: DARK [.darkpack]

Post by Herdell » Sat Jul 06, 2013 10:45 pm

Vash wrote:...I'm sharing this because I only tried on this one file and I can't be sure it works with all of them.
I've tried your tool on a 2gb file (Data.darkpack) and it worked well extracting 11.000+ files with proper filenames and folders.

So, yes, your tool works fine with another files from DARK game than LocText_en.darkpack.

OrangeC
double-veteran
double-veteran
Posts: 861
Joined: Sun Apr 20, 2008 2:58 am
Has thanked: 5 times
Been thanked: 34 times

Re: DARK [.darkpack]

Post by OrangeC » Sat Jul 06, 2013 11:39 pm

Doesnt work for me on the data.darkpack. what libraries do i need?

Vash
mega-veteran
mega-veteran
Posts: 183
Joined: Fri Apr 29, 2005 2:39 pm
Has thanked: 5 times
Been thanked: 22 times

Re: DARK [.darkpack]

Post by Vash » Sun Jul 07, 2013 11:21 am

These should do the trick:
http://www.microsoft.com/en-us/download ... x?id=30679

SOrry for taking my time, I'm just rusty with C and I'm kinda of experimenting on new stuff :D


[EDIT]
Here's the complete version. Once again, if you could test it on the biggest files would be better

http://www.mediafire.com/download/2n6bs ... Packer.exe

User avatar
lostprophet
mega-veteran
mega-veteran
Posts: 197
Joined: Wed Apr 07, 2010 7:38 pm
Has thanked: 35 times
Been thanked: 5 times

Re: DARK [.darkpack]

Post by lostprophet » Sun Jul 07, 2013 4:16 pm

So I think I'm doing something wrong.
1. I unpacked the LocText_en.darkpack with DarkUnPacker.exe
2. I modified the texts.csv file.
3. When I try to run the "DarkUnPack.exe -m LocText_en.darkpack", it says "Cannot open the file LocText_en.tbl".

The LocText_en.tbl is there, along with the "LocText_en" directory.
Hungarian translator and member of Indies4indies.com | Previous translations: http://lostprophet.hu

Vash
mega-veteran
mega-veteran
Posts: 183
Joined: Fri Apr 29, 2005 2:39 pm
Has thanked: 5 times
Been thanked: 22 times

Re: DARK [.darkpack]

Post by Vash » Sun Jul 07, 2013 4:46 pm

Be sure to run the tool outside the LocText_en dir and be sure that the tbl file isn't somehow locked... I wouldn't know what else to say, I tried with that file and it came out correct

User avatar
lostprophet
mega-veteran
mega-veteran
Posts: 197
Joined: Wed Apr 07, 2010 7:38 pm
Has thanked: 35 times
Been thanked: 5 times

Re: DARK [.darkpack]

Post by lostprophet » Sun Jul 07, 2013 4:55 pm

Vash wrote:Be sure to run the tool outside the LocText_en dir and be sure that the tbl file isn't somehow locked... I wouldn't know what else to say, I tried with that file and it came out correct
I'm using Win8 x64, UAC is turned off, I tried it on C:, D:, E:, always the same trouble. I'll try it on a virtual Win7.
Hungarian translator and member of Indies4indies.com | Previous translations: http://lostprophet.hu

Post Reply