Important information: this site is currently scheduled to go offline indefinitely by December 1st 2023.
If you wish to donate to attempt the preservation of tools and software somewhere else before it goes down, check the GoFundMe

DARK [.darkpack]

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

DARK [.darkpack]

Post by lostprophet »

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 | Previous translations: http://lostprophet.hu
swuforce
veteran
Posts: 121
Joined: Thu Nov 05, 2009 8:46 pm
Has thanked: 14 times
Been thanked: 106 times

Re: DARK [.darkpack]

Post by swuforce »

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: 202
Joined: Wed Apr 07, 2010 7:38 pm
Has thanked: 35 times
Been thanked: 7 times

Re: DARK [.darkpack]

Post by lostprophet »

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 | Previous translations: http://lostprophet.hu
michalss
Moderator
Posts: 954
Joined: Sun Mar 27, 2011 8:42 pm
Has thanked: 10 times
Been thanked: 161 times

Re: DARK [.darkpack]

Post by michalss »

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: 202
Joined: Wed Apr 07, 2010 7:38 pm
Has thanked: 35 times
Been thanked: 7 times

Re: DARK [.darkpack]

Post by lostprophet »

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 | 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: 26 times

Re: DARK [.darkpack]

Post by Vash »

The format is pretty easy, If I have the time I'll try something
User avatar
lostprophet
mega-veteran
mega-veteran
Posts: 202
Joined: Wed Apr 07, 2010 7:38 pm
Has thanked: 35 times
Been thanked: 7 times

Re: DARK [.darkpack]

Post by lostprophet »

It looks like the reimport feature for Quickbms cuts some texts, so I'll wait for a proper repacker then.
Hungarian translator | Previous translations: http://lostprophet.hu
SileniusLegard
n00b
Posts: 19
Joined: Sun Jul 25, 2010 12:00 am

Re: DARK [.darkpack]

Post by SileniusLegard »

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: 26 times

Re: DARK [.darkpack]

Post by Vash »

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: 103
Joined: Sun Dec 13, 2009 8:35 pm
Has thanked: 30 times
Been thanked: 34 times

Re: DARK [.darkpack]

Post by Herdell »

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: 868
Joined: Sun Apr 20, 2008 2:58 am
Has thanked: 5 times
Been thanked: 41 times

Re: DARK [.darkpack]

Post by OrangeC »

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: 26 times

Re: DARK [.darkpack]

Post by Vash »

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: 202
Joined: Wed Apr 07, 2010 7:38 pm
Has thanked: 35 times
Been thanked: 7 times

Re: DARK [.darkpack]

Post by lostprophet »

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 | 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: 26 times

Re: DARK [.darkpack]

Post by Vash »

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: 202
Joined: Wed Apr 07, 2010 7:38 pm
Has thanked: 35 times
Been thanked: 7 times

Re: DARK [.darkpack]

Post by lostprophet »

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 | Previous translations: http://lostprophet.hu
Post Reply