Forum

> > Off Topic > all cs2d strings
Forums overviewOff Topic overviewLog in to reply

English all cs2d strings

24 replies
Page
To the start Previous 1 2 Next To the start

old Re: all cs2d strings

FlooD
GAME BANNED Off Offline

Quote
user IWhoopedPythagoras has written
If people want to make translations of these texts, i could offer gameclients in other languages.

who would want to spend the time...

btw how u do this? i guess the strings in cs2d are compressed by something so just using strings doesn't work

can u do this for the dedi server too?

old Re: all cs2d strings

EngiN33R
Moderator Off Offline

Quote
I might help, but this is a LOOOOT of text so it will take a LOOOOT of time respectively. But how to deliver the translation to you? In what form?

old Re: all cs2d strings

EngiN33R
Moderator Off Offline

Quote
Welp, it's not as severe as I thought - many among the strings are program strings like error codes and stuff. So it'll take a little less time than I thought. Yay for Russian CS2D.

old Re: all cs2d strings

IWhoopedPythagoras
BANNED Off Offline

Quote
You could hand in files like:


1
2
3
4
5
[original]=[new]

Affermative/Roger=D'accord!
She's gonna Blow!=Kumbajanoga
Failed to join=loser

Then it will work for every version, not just b0.1.1.9

cs2d DOES support unicode, so russian shouldn't be a problem.
One restriction is that the length of the new text must ALWAYS be shorter or equal to the length of the original text.
edited 1×, last 27.08.11 08:58:04 pm

old Re: all cs2d strings

EngiN33R
Moderator Off Offline

Quote
Oh, well I copied what you had there in pastebin and just started changing strings into Russian keeping the string numbers. Would that be acceptable?

old Re: all cs2d strings

EngiN33R
Moderator Off Offline

Quote
Woah, no one said anything about the length of string. It's often impossible to do that (make the new string the same length). What do?

old Re: all cs2d strings

ohaz
User Off Offline

Quote
DC does NOT allow modifying the executable (which you propably had to do)

old Re: all cs2d strings

medeiros
User Off Offline

Quote
user ohaz has written
DC does NOT allow modifying the executable (which you propably had to do)

At least he didn't do it for hacking purposes, I think.

old Re: all cs2d strings

Lee
Moderator Off Offline

Quote
Actually, the strings are stored within a specific segment of the executable, so it doesn't actually require modification to extract.

The OP sounds like he means well, so we should at least give him a chance.

old Re: all cs2d strings

Alistaire
User Off Offline

Quote
@IWhooped

That's bullshit, it has to be:

"Vind Servers, Afsluiten, Opties, Bewerken, Help, Vrienden, Server Starten"

old Re: all cs2d strings

IWhoopedPythagoras
BANNED Off Offline

Quote
user Lee has written
Actually, the strings are stored within a specific segment of the executable, so it doesn't actually require modification to extract.

The OP sounds like he means well, so we should at least give him a chance.


BlitzMax strings are stored like this:

{DWORD * classpointer,
DWORD typeIdentifier,
DWORD length,
wchar_t * text
}

I searched for the pattern [*classpointer,typeIdentifier] and found all the strings this way.

old Re: all cs2d strings

EngiN33R
Moderator Off Offline

Quote
Well it's good for that, but when talking about Russian for example it's impossible due to the string length restriction. Unfortunately I don't think it'll be possible.

old Re: all cs2d strings

DC
Admin Off Offline

Quote
this might lead to problems and changing the binary is also not allowed at all.

I know that you just want to help but I don't recommend to do that.
To the start Previous 1 2 Next To the start
Log in to replyOff Topic overviewForums overview