The Forum is up for sale: XeNTaX Forum looking for new owner

Cultures 3-4 (.lib)

Need help translating games in other languages? Have your language problems solved here.
Post Reply
Peter49
ultra-n00b
Posts: 3
Joined: Wed Dec 10, 2014 4:22 pm
Has thanked: 1 time

Cultures 3-4 (.lib)

Post by Peter49 »

Can someone write a quick BMS script to Cultures 3(Northland) and Cultures 4(8th wonder of the world) lib file?
I want to translate the game
WRS
ultra-veteran
ultra-veteran
Posts: 603
Joined: Fri Nov 06, 2009 12:13 am
Has thanked: 74 times
Been thanked: 136 times

Re: Cultures 3-4 (.lib)

Post by WRS »

wrong section - this needs to be posted here - viewforum.php?f=35

any sample files? will the demo do for research purposes?
Useful tool links:
Peter49
ultra-n00b
Posts: 3
Joined: Wed Dec 10, 2014 4:22 pm
Has thanked: 1 time

Re: Cultures 3-4 (.lib)

Post by Peter49 »

WRS wrote:wrong section - this needs to be posted here - viewforum.php?f=35

any sample files? will the demo do for research purposes?
Oops, that's my fault.
I will translate Cultures 2,3,4
I found a extractor program for Cultures 2 but i do not know how to reimport the files.
Cultures 2:data0001.lib,data0002.lib and t.dat
https://www.dropbox.com/sh/cb72wr7hol6f ... p4Z2a?dl=0
Cultures 3:data0001.lib and t.dat
https://www.dropbox.com/sh/bi227w29l5ys ... xqn3a?dl=0
Cultures 4:data0001.lib and t.dat
https://www.dropbox.com/sh/ja3vqne27o6b ... T3wba?dl=0
The game text,pictures etc. files, it is in .lib file(s),however i uploaded .dat files too, this is in the same folder with the .lib file.
WRS
ultra-veteran
ultra-veteran
Posts: 603
Joined: Fri Nov 06, 2009 12:13 am
Has thanked: 74 times
Been thanked: 136 times

Re: Cultures 3-4 (.lib)

Post by WRS »

i went ahead and made a start on the demo as the structure has a top-only file list at the start.

**not complete** just a 5-minute pseudocode

Code: Select all

get VER long
get COUNT long
for i = 0 to COUNT
get FILES long
get NLEN long
getdstring NAME NLEN
next i

# then actual files are referenced differently:
# 1387 is the first 'FILES' value
for i = 0 to 1387
get UNKNOWN long # offset?
get NLEN long
getdstring NAME NLEN
get UNKNOWN long # length?
next i

maybe this is enough for someone to take over?
Useful tool links:
Peter49
ultra-n00b
Posts: 3
Joined: Wed Dec 10, 2014 4:22 pm
Has thanked: 1 time

Re: Cultures 3-4 (.lib)

Post by Peter49 »

Can somebody help ?
Post Reply