Forum

> > Off Topic > all cs2d strings
ForenübersichtOff Topic-ÜbersichtEinloggen, um zu antworten

Englisch all cs2d strings

24 Antworten
Seite
Zum Anfang Vorherige 1 2 Nächste Zum Anfang

alt Re: all cs2d strings

FlooD
GAME BANNED Off Offline

Zitieren
user IWhoopedPythagoras hat geschrieben
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?

alt Re: all cs2d strings

EngiN33R
Moderator Off Offline

Zitieren
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?

alt Re: all cs2d strings

EngiN33R
Moderator Off Offline

Zitieren
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.

alt Re: all cs2d strings

IWhoopedPythagoras
BANNED Off Offline

Zitieren
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.
1× editiert, zuletzt 27.08.11 20:58:04

alt Re: all cs2d strings

EngiN33R
Moderator Off Offline

Zitieren
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?

alt Re: all cs2d strings

EngiN33R
Moderator Off Offline

Zitieren
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?

alt Re: all cs2d strings

ohaz
User Off Offline

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

alt Re: all cs2d strings

medeiros
User Off Offline

Zitieren
user ohaz hat geschrieben
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.

alt Re: all cs2d strings

Lee
Moderator Off Offline

Zitieren
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.

alt Re: all cs2d strings

Alistaire
User Off Offline

Zitieren
@IWhooped

That's bullshit, it has to be:

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

alt Re: all cs2d strings

IWhoopedPythagoras
BANNED Off Offline

Zitieren
user Lee hat geschrieben
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.

alt Re: all cs2d strings

EngiN33R
Moderator Off Offline

Zitieren
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.

alt Re: all cs2d strings

DC
Admin Off Offline

Zitieren
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.
Zum Anfang Vorherige 1 2 Nächste Zum Anfang
Einloggen, um zu antwortenOff Topic-ÜbersichtForenübersicht