Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » How can I translate these ingame Messages?
icon9.gif  How can I translate these ingame Messages? [message #200494] Tue, 23 May 2006 01:27 Go to next message
EA-DamageEverything
Messages: 423
Registered: January 2005
Location: Germany
Karma: 0
Commander
Hi everyone,

I want to translate some ingame phrases like

"Looks like GDI got a random vehicle...." = all Crate messages which are displayed in F2 chat. ALSO all private messages which I get in case of picking up a crate by myself.

"The NOD Airstrip has been destroyed thanks to you" = I only translated the presets which was easy to make in ssaow.ini... I wanna translate the whole message.
-----------------------
2 more questions=

If I would edit the objects file from ssaow to get the "under attack-Sounds running (like repair pad, Conyard etc all where the sound is missing), will the server send the command to all clients? I mean they still can read whats under attack but some Buildings haven't got a sound for this.

I have LE, how do I set up my personal strings.tdb correctly?
Re: How can I translate these ingame Messages? [message #200495 is a reply to message #200494] Tue, 23 May 2006 01:34 Go to previous messageGo to next message
Whitedragon is currently offline  Whitedragon
Messages: 832
Registered: February 2003
Location: California
Karma: 1
Colonel
Translate to what? Another language? They're hard coded into the scripts.dll and cant be changed without editting it.

Black-Cell.net
Network Administrator (2003 - )

DragonServ, Renegade's first IRC interface bot
Creator and lead coder (2002 - )

Dragonade, Renegade's first server side modification
Lead coder (2005 - )
Re: How can I translate these ingame Messages? [message #200496 is a reply to message #200494] Tue, 23 May 2006 01:39 Go to previous messageGo to next message
EA-DamageEverything
Messages: 423
Registered: January 2005
Location: Germany
Karma: 0
Commander
Translating them into another language, right.

Inside the zip files of the scripts, there are expanded script files, can I use them instead of the DLLs in the main dir? i mean I should edit the cpp etc the same way like text files.

I don't know how to edit DLLs, what do I need? I read something of MS Visual Studio -I don't have this.
Re: How can I translate these ingame Messages? [message #200497 is a reply to message #200494] Tue, 23 May 2006 01:56 Go to previous messageGo to next message
sycar is currently offline  sycar
Messages: 144
Registered: February 2006
Location: Reading, UK
Karma: 0
Recruit
yea, the scipts.dll package is written in C so to edit this you either need a specific C compiler or visual studio 2006/ visual .net 2003

Re: How can I translate these ingame Messages? [message #200499 is a reply to message #200494] Tue, 23 May 2006 02:43 Go to previous messageGo to next message
EA-DamageEverything
Messages: 423
Registered: January 2005
Location: Germany
Karma: 0
Commander
I am downloading 2 compilers now. Which DLL has the code in that I must edit (the crate messages and the destroying messages)?
Re: How can I translate these ingame Messages? [message #200503 is a reply to message #200494] Tue, 23 May 2006 03:46 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
General (3 Stars)

For the latest SSAOW, you want Microsoft Visual C++ .NET 2003.
Then you open the scripts.sln file in Visual C++, find the strings you want and edit them to what you want them to be.
After that, you select "compile" from the menu and it will produce a new scripts.dll file which you can use on your server.


Jonathan Wilson aka Jonwil
Creator and Lead Coder of the Custom scripts.dll
Renegade Engine Guru
Creator and Lead Coder of TT.DLL
Official member of Tiberian Technologies
Re: How can I translate these ingame Messages? [message #200506 is a reply to message #200494] Tue, 23 May 2006 04:17 Go to previous messageGo to next message
N1warhead is currently offline  N1warhead
Messages: 319
Registered: May 2006
Location: On the Pc
Karma: 0
Recruit

Hey well im not sure if this has anything to do with it, but i was looking in the Always.dat folder to replace sounds and stuff, and the creators have sounds of Buildings under attack and stuff that they never used i dont no why but they do, i just woke up so im not sure if thats what ur talking about besides teh scripts i just noticed " SOme Buildings aint got sounds " but anyways yea

www.cncmodders.com All your C&C Modding Tutorials/Downloads/Forums, etc! Conquering the C&C universe with a rush of MEDS and MRLS!
Re: How can I translate these ingame Messages? [message #200601 is a reply to message #200503] Tue, 23 May 2006 17:45 Go to previous messageGo to next message
EA-DamageEverything
Messages: 423
Registered: January 2005
Location: Germany
Karma: 0
Commander
jonwil wrote on Tue, 23 May 2006 12:46

you want Microsoft Visual C++ .NET 2003....you select "compile" from the menu and it will produce a new scripts.dll
I have worked for approx. 2 hours now on it.

I am using MS Visual Studio 8 (MS Visual C++ 2005 express Edition) and I have NO scripts being outputted into the dir.

This is what I got= "Message: 'This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
.\crate.cpp(724) : warning C4996: 'sprintf' was declared deprecated" I don't know what it means with sprintf...

I put all the source files EXCEPT the DLLs into a new dir and followed your instructions Jonwil. But it didn't put out/modified the scripts.dll.

the file crate.cpp is know duplicated to a crate.sbr file in a sub-dir "Releases".
-------------------------------------
Please tell me my mistakes I made. Sorry, i thought it would be simple editing a DLL.

I'm going to bed now, cya tomorrow.
  • Attachment: compile.jpg
    (Size: 259.50KB, Downloaded 97 times)
Re: How can I translate these ingame Messages? [message #200623 is a reply to message #200494] Wed, 24 May 2006 03:41 Go to previous messageGo to next message
Cat998
Messages: 1081
Registered: January 2004
Location: Austria, Vienna
Karma: 0
General (1 Star)
Moderator/Captain

You can ignore the warnings,
for the errors, you need to download and install the Microsoft Platform SDK:

http://www.microsoft.com/downloads/details.aspx?familyid=0BA F2B35-C656-4969-ACE8-E4C0C0716ADB&displaylang=en

http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/


When people ask me "Plz" just because it's shorter than "Please" I feel perfectly justified to answer "No" because it's shorter then "Yes"

Programming is like sex: one mistake and you have to support it for the rest of your life

Want the best answers? Ask the best questions!

"So long, and thanks for all the fish."
Re: How can I translate these ingame Messages? [message #204608 is a reply to message #200494] Tue, 20 June 2006 15:08 Go to previous messageGo to next message
EA-DamageEverything
Messages: 423
Registered: January 2005
Location: Germany
Karma: 0
Commander
I give up. I have had it all the way ready, but it didn't build, compile or whatever anything.

VC Express complains about a missing windows.h Header file which is listed inside the aow.cpp but not present. In the end, the scripts can be updated with my custom changes, but I don't get new Dll files. There is zero option to compile in the menu. Only if I mark one single .cpp file -but this won't help me. I have the SDK installed.

I thought about hex editing the DLL itself, but this would be the hard way and I don't want this.

If someone can easily compile this for me, feel free to do it. I will be happy. I added the changed source files below.
  • Attachment: scripts.zip
    (Size: 901.74KB, Downloaded 62 times)

[Updated on: Tue, 20 June 2006 15:09]

Report message to a moderator

Re: How can I translate these ingame Messages? [message #204619 is a reply to message #204608] Tue, 20 June 2006 16:28 Go to previous messageGo to next message
=HT=T-Bird is currently offline  =HT=T-Bird
Messages: 712
Registered: June 2005
Karma: 0
Colonel
EA-DamageEverything wrote on Tue, 20 June 2006 17:08

I give up. I have had it all the way ready, but it didn't build, compile or whatever anything.

VC Express complains about a missing windows.h Header file which is listed inside the aow.cpp but not present. In the end, the scripts can be updated with my custom changes, but I don't get new Dll files. There is zero option to compile in the menu. Only if I mark one single .cpp file -but this won't help me. I have the SDK installed.

I thought about hex editing the DLL itself, but this would be the hard way and I don't want this.

If someone can easily compile this for me, feel free to do it. I will be happy. I added the changed source files below.

Make sure that VC8Express knows where to find the SDK...


HTT-Bird (IRC)
HTTBird (WOL)
Proud HazTeam Lieutenant.
BlackIntel Coder & Moderator.

If you have trouble running BIATCH on your FDS, have some questions about a BIATCH message or log entry, or think that BIATCH spit out a false positive, PLEASE contact the BlackIntel coding team and avoid wasting the time of others.
Re: How can I translate these ingame Messages? [message #204623 is a reply to message #200494] Tue, 20 June 2006 17:06 Go to previous messageGo to next message
Cat998
Messages: 1081
Registered: January 2004
Location: Austria, Vienna
Karma: 0
General (1 Star)
Moderator/Captain

You can get the Microsoft Windows SDK here:

http://www.microsoft.com/downloads/details.aspx?FamilyId=0BA F2B35-C656-4969-ACE8-E4C0C0716ADB&displaylang=en

Install instructions are available here:

http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/


When people ask me "Plz" just because it's shorter than "Please" I feel perfectly justified to answer "No" because it's shorter then "Yes"

Programming is like sex: one mistake and you have to support it for the rest of your life

Want the best answers? Ask the best questions!

"So long, and thanks for all the fish."
Re: How can I translate these ingame Messages? [message #204625 is a reply to message #200494] Tue, 20 June 2006 17:14 Go to previous messageGo to next message
Aircraftkiller is currently offline  Aircraftkiller
Messages: 8213
Registered: February 2003
Karma: 0
General (5 Stars)
Remember, it's Nod, not NOD.
Re: How can I translate these ingame Messages? [message #204630 is a reply to message #200494] Tue, 20 June 2006 17:39 Go to previous messageGo to next message
DreamWraith is currently offline  DreamWraith
Messages: 130
Registered: November 2005
Karma: 0
Recruit
Isn't Kane the leader of NOD?

http://www.renevo.com/members/carl/banner.png
Re: How can I translate these ingame Messages? [message #204692 is a reply to message #200494] Wed, 21 June 2006 01:31 Go to previous messageGo to next message
EA-DamageEverything
Messages: 423
Registered: January 2005
Location: Germany
Karma: 0
Commander
I already followed the instructions "using SDK..:".

When I load up the sourcecode, there are the scripts and the keyconfig project. So far so good. Clicking on "properties" also does show the correct output format= scripts.dll.

But there is no option to compile but I can build the scripts. I did that and it didn't want to work. It complains about this windows.h line in the aow.cpp again. Removing this line caused some other serious errors.

You may look at this logfile=
  • Attachment: BuildLog.htm
    (Size: 41.00KB, Downloaded 284 times)
Re: How can I translate these ingame Messages? [message #204700 is a reply to message #204692] Wed, 21 June 2006 02:54 Go to previous messageGo to next message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma: 0
General (3 Stars)
EA-DamageEverything wrote on Wed, 21 June 2006 04:31

I already followed the instructions "using SDK..:".

When I load up the sourcecode, there are the scripts and the keyconfig project. So far so good. Clicking on "properties" also does show the correct output format= scripts.dll.

But there is no option to compile but I can build the scripts. I did that and it didn't want to work. It complains about this windows.h line in the aow.cpp again. Removing this line caused some other serious errors.

You may look at this logfile=


If you post the sentences you are referring too, and what you would liek them changed too, I will do it for you.



Re: How can I translate these ingame Messages? [message #204716 is a reply to message #200494] Wed, 21 June 2006 05:54 Go to previous messageGo to next message
dead6re is currently offline  dead6re
Messages: 602
Registered: September 2003
Karma: 0
Colonel
Visual Studio .NET 2005 did NOT work to compile the scripts.dll. It seems the compiler isn't "backwards compatiable"

Let all your wishes be granted except one, so you will still have something to strieve for.
Re: How can I translate these ingame Messages? [message #204718 is a reply to message #204716] Wed, 21 June 2006 06:07 Go to previous messageGo to next message
Cat998
Messages: 1081
Registered: January 2004
Location: Austria, Vienna
Karma: 0
General (1 Star)
Moderator/Captain

dead6re wrote on Wed, 21 June 2006 14:54

Visual Studio .NET 2005 did NOT work to compile the scripts.dll. It seems the compiler isn't "backwards compatiable"


You are WRONG, it works fine.
You just need to install the Microsoft SDK correctly.
The windows.h file is part of it.

I don't have any problems with compiling the scripts with VC 2005.


When people ask me "Plz" just because it's shorter than "Please" I feel perfectly justified to answer "No" because it's shorter then "Yes"

Programming is like sex: one mistake and you have to support it for the rest of your life

Want the best answers? Ask the best questions!

"So long, and thanks for all the fish."
Re: How can I translate these ingame Messages? [message #204719 is a reply to message #200494] Wed, 21 June 2006 06:19 Go to previous messageGo to next message
EA-DamageEverything
Messages: 423
Registered: January 2005
Location: Germany
Karma: 0
Commander
The windows.h file is NOT included inside the ssaow sourcecode. I followed the instruction from MS how to get started with the P-SDK. I've set up those directories etc...

I had it running on XPprofessional. I additional installed the Platform SDK and the DirectX-SDK also. Like I wrote in the opening post, I'm not skilled in such things, it seems to get better configured before running well.
Re: How can I translate these ingame Messages? [message #204723 is a reply to message #200494] Wed, 21 June 2006 06:38 Go to previous messageGo to next message
dead6re is currently offline  dead6re
Messages: 602
Registered: September 2003
Karma: 0
Colonel
I have all the tools needed VS2005 + SDK and yet once compiled the new scripts aren't registered and the filesize is over 1mb. And 2003 seems more efficient than 2005 Smile

Let all your wishes be granted except one, so you will still have something to strieve for.
Re: How can I translate these ingame Messages? [message #204736 is a reply to message #200494] Wed, 21 June 2006 08:31 Go to previous messageGo to next message
Cat998
Messages: 1081
Registered: January 2004
Location: Austria, Vienna
Karma: 0
General (1 Star)
Moderator/Captain

It's maybe because you compile them in Debug mode instead of
Release mode.


When people ask me "Plz" just because it's shorter than "Please" I feel perfectly justified to answer "No" because it's shorter then "Yes"

Programming is like sex: one mistake and you have to support it for the rest of your life

Want the best answers? Ask the best questions!

"So long, and thanks for all the fish."
Re: How can I translate these ingame Messages? [message #204739 is a reply to message #200494] Wed, 21 June 2006 09:10 Go to previous messageGo to next message
Zion is currently offline  Zion
Messages: 2722
Registered: April 2006
Karma: 1
General (2 Stars)
No Message Body

[Updated on: Wed, 21 June 2006 09:11]

Report message to a moderator

Re: How can I translate these ingame Messages? [message #204743 is a reply to message #200494] Wed, 21 June 2006 09:33 Go to previous message
ghost is currently offline  ghost
Messages: 437
Registered: May 2005
Location: California
Karma: 0
Commander
Its fine as is.

http://img287.imageshack.us/img287/9936/davesigea4rw5.png
Please visit my forums at: RenForce
Creator of the CrazyAOW Mod
Previous Topic: Parichutes?
Next Topic: Health
Goto Forum:
  


Current Time: Tue Nov 26 16:51:22 MST 2024

Total time taken to generate the page: 0.01094 seconds