Translation: Chaos Strikes Back

Discuss Chaos Strikes Back, the "expansion pack" for Dungeon Master.
This forum may contain spoilers.
Forum rules
Please read the Forum rules and policies before posting.
Post Reply
hrvg
Craftsman
Posts: 101
Joined: Tue May 22, 2018 10:46 pm
Location: France

Translation: Chaos Strikes Back

Post by hrvg »

Hi,
My English is bad, sorry.
I would like to know if someone has translated the Atari and PC versions: Chaos Strikes Back?
(French, Deutsch, Spanish, Italian, Russian or another languages)
Thank you.
m1ckey
Journeyman
Posts: 74
Joined: Fri Feb 06, 2015 9:24 pm

Re: Translation: Chaos Strikes Back

Post by m1ckey »

I think the only officially ported translation is Japanese.
User avatar
ChristopheF
Encyclopedist
Posts: 1537
Joined: Sun Oct 24, 1999 2:36 pm
Location: France
Contact:

Re: Translation: Chaos Strikes Back

Post by ChristopheF »

There are multilanguage versions on Amiga French/English/German.
hrvg
Craftsman
Posts: 101
Joined: Tue May 22, 2018 10:46 pm
Location: France

Re: Translation: Chaos Strikes Back

Post by hrvg »

Hi,
Thank you for your answers.
I would like to translate this game. PC version and if it is possible Atari version.
User avatar
ChristopheF
Encyclopedist
Posts: 1537
Joined: Sun Oct 24, 1999 2:36 pm
Location: France
Contact:

Re: Translation: Chaos Strikes Back

Post by ChristopheF »

There is no official version of CSB on PC to translate. However, you may want to translate CSBwin. You would have to make your changes in the source code (downloadable from http://dmweb.free.fr/?q=node/851) and then recompile the program.
If you want to translate the Atari ST version, you may start from the ReDMCSB source code available here: viewtopic.php?t=29805
hrvg
Craftsman
Posts: 101
Joined: Tue May 22, 2018 10:46 pm
Location: France

Re: Translation: Chaos Strikes Back

Post by hrvg »

Hi ChristopheF,
I thank you for your help.
I am very bad at computer. I translate games only.
I have windows 7.
I have Chaos Strikes Back for Windows x86-32 2015-12-13 and Atari version.
I downloaded:
ReDMCSB_Release2.7z
Tool-DataFileDecoder20.zip

I can not run these tools.
I tried with command prompt and Atari (Steem).
I do not find the source code files.
I thought there was a editor of game CSBWIN. (As screenshot)
I see some words and texts in "CSBwin.exe" file. I can translate words or sentences. Missing texts.. And surely a picture of the beginning (Enter in: Prison or Resume).

Thank you for your patience.
User avatar
ChristopheF
Encyclopedist
Posts: 1537
Joined: Sun Oct 24, 1999 2:36 pm
Location: France
Contact:

Re: Translation: Chaos Strikes Back

Post by ChristopheF »

In order to fully translate the game, you will need to modify C source code (to update the texts themselves and also some hard coded coordinates to print the texts based on their length) and compile the program again. You should get help from a programmer if you don't know how to make these changes.
ReDMCSB_Release2.7z contains all the Atari ST source code (in the SOURCE folder). You will find all text strings from the executable file in there. Search for double quotes characters " in *.C and *.H files to find all the strings you would need to translate.

Also you will need to update graphics and text data stored in graphics.dat file.
Tool-DataFileDecoder20.zip contains Visual Basic scripts to run on Windows (not Atari). It will help you decode the content of graphics.dat, but will not help you rebuild a modified file. For that purpose, you should take a look at this tool instead: http://dmweb.free.fr/?q=node/913 (I have never tried myself to create a customized graphics.dat file so I can't help you much there).
hrvg
Craftsman
Posts: 101
Joined: Tue May 22, 2018 10:46 pm
Location: France

Re: Translation: Chaos Strikes Back

Post by hrvg »

In order to fully translate the game, you will need to modify C source code (to update the texts themselves and also some hard coded coordinates to print the texts based on their length) and compile the program again. You should get help from a programmer if you don't know how to make these changes.
Yes, because I do not am very bad at computer. But, I am hopeless in computing.
ReDMCSB_Release2.7z contains all the Atari ST source code (in the SOURCE folder). You will find all text strings from the executable file in there. Search for double quotes characters " in *.C and *.H files to find all the strings you would need to translate.

Yes, I saw "SOURCE" folder. I searched (looked) for this sentence "there is only one level here". I opened all the files in these folders with a hexadecimal editor:
BOOTSECT===> Nothing.
ENGINE===> Nothing.
MAKE===> Nothing.
START.PRG===> Nothing.
SWOOSH.IMG===> Nothing.

There is a lot of text, but the sentences of game are missing.
Thanks.
User avatar
ChristopheF
Encyclopedist
Posts: 1537
Joined: Sun Oct 24, 1999 2:36 pm
Location: France
Contact:

Re: Translation: Chaos Strikes Back

Post by ChristopheF »

There are strings to translate in the dungeon.dat file too. You need to use a dungeon editor but I'm not sure there is one where you can easily modify texts.
hrvg
Craftsman
Posts: 101
Joined: Tue May 22, 2018 10:46 pm
Location: France

Re: Translation: Chaos Strikes Back

Post by hrvg »

It's too technical for me.
It's a shame, because I would have liked to translate this game.
I thank you for your help and your patience.
hrvg
Craftsman
Posts: 101
Joined: Tue May 22, 2018 10:46 pm
Location: France

Re: Translation: Chaos Strikes Back

Post by hrvg »

I think of one thing.
If a person can extract all text and graphics files (where there are texts). This person sends me all files. I translate all files. And I send all files to this person.
User avatar
terkio
Mon Master
Posts: 937
Joined: Tue Jul 10, 2012 8:24 pm

Re: Translation: Chaos Strikes Back

Post by terkio »

An easy and dirty way, is to patch the rtc file using an hexadecimal editor.
This allows modifying text.
The editor will show every string of ASCI characters and allow to change it by whatever string you want of equal length or shorter.
"You can be on the right track and still get hit by a train!" Alfred E. Neuman
hrvg
Craftsman
Posts: 101
Joined: Tue May 22, 2018 10:46 pm
Location: France

Re: Translation: Chaos Strikes Back

Post by hrvg »

Hi,
An easy and dirty way, is to patch the rtc file using an hexadecimal editor.
This allows modifying text.
The editor will show every string of ASCI characters and allow to change it by whatever string you want of equal length or shorter.
Thank you for your answer.
I can not find "rtc" file. (Atari and CSBwin).

I found some tools to translate CSBwin:
Image

I can not find the pointers in "CSBwin.exe" file.
Someone can help me, please ?
Thanks.


For translators. (CSBwin)
The graphics :
Download "Tool-ADGE.net_.bin_.20090308.rar".
Open "graphics.dat" file. (game folder)
List of files to translate:
1, 4, 5, 6, 10, 27, 30, 31, 32, 40, 122.

The Champions and 1 text.
Download "Tool-CSBuild251.zip".
Open "dungeon.dat" file. (game folder)

The texts :
Open "CSBwin.exe" file with a hexadecimal editor.
hrvg
Craftsman
Posts: 101
Joined: Tue May 22, 2018 10:46 pm
Location: France

Re: Translation: Chaos Strikes Back

Post by hrvg »

There are strings to translate in the dungeon.dat file too. You need to use a dungeon editor but I'm not sure there is one where you can easily modify texts.
Yes, I found this sentence (CSBwin version only), thank you. (See screenshot, post above)


For Atari Version.
I looked at all the files in SOURCE folder:

SOURCE folder:
SWOOSH.IMG folder--> SWOOSH.C file---> No Text.
START.PRG folder--> INIT.C and START.C files---> No Text.
MAKE folder--> BUILDASM.C file---> No Text.
BOOTSECT folder--> BOOTSECT.C file---> No Text.

ENGINE folder--> CHAMPION.C, COMMAND.C, DIALOG.C , INVNTORY.C, MENUS.C, OBJECT.C, STARTND2.C ---> English, Deutsch and French Texts.

ENGINE folder--> COPYPROT.C, DUNGEON.C, DUNVIEW.C, EXPAND.C, FLOPPY1.C, FLOPPY2.C, GRA21CSB.C, GROUP1.C, GROUP2.C, INIT.C, LZW.C, MAIN.C, MEMINIT.C, MEMORY.C, MOUSE.C, MOVE.C, OS.C, PROJEXPL.C, SAVEUTIL.C, SENSOR.C, SOUND.C, START.C, STARTND1.C, TEXT.C, TIMELINE.C, VIDEO.C ---> No Text.

ENGINE folder--> DEFS.H---> Text. But no "".
User avatar
Paul Stevens
CSBwin Guru
Posts: 4318
Joined: Sun Apr 08, 2001 6:00 pm
Location: Madison, Wisconsin, USA

Re: Translation: Chaos Strikes Back

Post by Paul Stevens »

Here is the German translation file that someone (I forget who)
supplied for CSBwin (the comments suggest that not all the translations work):

Code: Select all

"QUIT"                                      "BEENDEN" //not yet
"DUNGEON"                                   "ZUM VERLIES" //not yet
"UTILITY"                                   "WERKZEUGE" //not yet
"HINT"                                      "ORAKEL" //not yet
"I AM READY, MASTER"                        "ICH BIN BEREIT, MEISTER" //not yet
"WHAT IS YOUR WISH?"                        "NENNE MIR DEINEN WUNSCH?" //not yet
"CONSUMABLE"                                "ESSBAR" //not yet
"CURSED"                                    "VERFLUCHT" // not yet
"BROKEN"                                    "ZERBROCHEN" // not yet
"POISONED"                                  "VERGIFTET" // not yet
"NORTH"                                     "NORDEN" //not yet
"EAST"                                      "OSTEN" //not yet
"SOUTH"                                     "SUEDEN" //not yet
"WEST"                                      "WESTEN" //not yet
"WEIGHS "                                   "WIEGT " //not yet
"PARTY FACING"                              "GRUPPENRICHTUNG" //not yet
"xyz"  "zyx" // BELOW: EVERYTHING THAT WORKS.
"% NEEDS MORE PRACTICE WITH THIS SPELL."    "% BRAUCHT MEHR ERFAHRUNG MIT DIESEM ZAUBERSPRUCH." // WORKS !!! conflux
"THE SPELL FIZZLES."                        "DER SPRUCH VERPUFFT." 
"THIS SPELL REQUIRES A COMPONENT."          "DIESER ZAUBER MUSS AUF EINEN GEGENSTAND GEWIRKT WERDEN." // WORKS !!! conflux
"SELECT GAME FILE"                          "WAHL DES SPIELSTANDS" // NOW WORKS !!!
"CANCEL"                                    "ABBRECHEN" //now works! (save)
"SAVE AND QUIT"                             "SPEICHERN ENDE" //NOW works! (save)
"SAVE AND PLAY"                             "SPEICHERN UND WEITERSPIELEN" //NOW works! (save)
"READY TO SAVE GAME"                        "BEREIT UM DAS SPIEL ABZUSPEICHERN" //NOW works! (save)
"NEOPHYTE"                                  "NEULING"  //NOW WORKS !!! (chars eye)
"NOVICE"                                    "EINSTEIGER" // (for all ranks below)
"APPRENTICE"                                "LEHRLING"
"JOURNEYMAN"                                "ARBEITER"
"CRAFTSMAN"                                 "GESELLE"
"ARTISAN"                                   "FACHMANN"
"ADEPT"                                     "ADEPTE"
"EXPERT"                                    "EXPERTE"
"` MASTER"                                  "` MEISTER"
"a MASTER"                                  "a MEISTER"
"b MASTER"                                  "b MEISTER" // (WORKS !!!)
"c MASTER"                                  "c MEISTER"
"d MASTER"                                  "d MEISTER"
"e MASTER"                                  "e MEISTER"
"ARCHMASTER"                                "ERZMEISTER" 
" RESURRECTED"                              " WIEDERBELEBT" // NOW WORKS !!!
" REINCARNATED"                             " AUFERSTANDEN" // NOW WORKS !!!
"LOAD"                                      "LAST" // WORKS
"HEALTH"                                    "LEBEN" // WORKS
"STAMINA"                                   "AUSDAUER" // WORKS
"MANA"                                      "MAGIE" // WORKS
"FIGHTER"                                   "KAEMPFER" // WORKS for "needs more" and eye
"NINJA"                                     "NINJA"/// WORKS for "needs more" and eye
"PRIEST"                                    "PRIESTER" // WORKS for "needs more" and eye
"WIZARD"                                    "ZAUBERER" // WORKS for "needs more" and eye
"NEED AMMO"                                 "KEINE MUNI" // WORKS (always did!)
"IT COMES UP HEADS"                         " KOPF" // WORKS
"IT COMES UP TAILS"                         " ZAHL" // WORKS
"STRENGTH"                                  "KRAFT" // WORKS 
"DEXTERITY"                                 "GESCHICK" // WORKS 
"VITALITY"                                  "GESUNDHEIT" // WORKS 
"WISDOM"                                    "WEISHEIT" // WORKS 
"ANTI-FIRE"                                 "ANTI-FEUER" // WORKS 
"ANTI-MAGIC"                                "ANTI-MAGIE" // WORKS 
" MUMBLES A MEANINGLESS SPELL."             " MURMELT EINEN ZAUBERSPRUCH OHNE BEDEUTUNG." // WORKS 
" NEEDS MORE PRACTICE WITH THIS "           " BRAUCHT MEHR ERFAHRUNG MIT DIESEM " // WORKS 
" NEEDS AN EMPTY FLASK IN HAND FOR POTION." " BRAUCHT EINE LEERE REAGENZFLASCHE IN DER HAND." // WORKS 
" SPELL."                                   " ZAUBERSPRUCH." // WORKS 
"THAT IS A DIFFICULT SPELL.  STUDY IT."     "EIN SCHWIERIGER ZAUBERSPRUCH. FINDE MEHR HERAUS." // ???
"THE SPELL FIZZLES AND DIES."               "DER SPRUCH IST UNWIRKSAM UND VERPUFFT." // ???
"THIS SPELL IS TOO DIFFICULT."              "DIESER ZAUBERSPRUCH IST ZU SCHWIERIG." // ???
"DRIVE A:"                                  "LAUFWERK." //don't know (hint oracle?)
"DRIVE B:"                                  "LAUFWERK."
hrvg
Craftsman
Posts: 101
Joined: Tue May 22, 2018 10:46 pm
Location: France

Re: Translation: Chaos Strikes Back

Post by hrvg »

Hi Paul Stevens,
Thank you for your answer.
Yes, It is "CSBwin.exe" File. I translated this file. (See screenshot)
Image
There are two problems:
A) Pointers. I do not find the pointers to have a clean translation.
B)Problem of "compound" sentences. For example (see screenhot):
Image
I) Sentence (green): PATRICK JUST GAINED A DRUIDE LEVEL
French = PATRICK JUST GAINED A LEVEL DRUIDE (PATRICK GAGNE UN NIVEAU DE DRUIDE.) Problem.
II) Sentence (blue): PATRICK MUMBLES A MEANINGLESS SPELL. (PATRICK MARMONNE UN SORT INCOHERENT.) No problem.
User avatar
Paul Stevens
CSBwin Guru
Posts: 4318
Joined: Sun Apr 08, 2001 6:00 pm
Location: Madison, Wisconsin, USA

Re: Translation: Chaos Strikes Back

Post by Paul Stevens »

I'm sorry. I do not understand the problem with the green sentence 1.
"Patrick just gained a druide level" does not look like a 'compound' sentence.

Here is the code that produces that line:

Code: Select all

  PrintLinefeed();
  QuePrintLines(color = (UI8)(d.Byte1386[chIdx]), d.CH16482[chIdx].name);
  QuePrintLines(color, " JUST GAINED A ");
  QuePrintLines(color, d.Pointer16596[basicSkill]); //"FIGHTER", "NINJA", etc
  QuePrintLines(color, " LEVEL");
And this is typical.....the strings are scattered about in the code itself.
Any 'pointers' exist in the machine-language instructions!

The file named "translation.txt'" could be used to translate if the code were modified
as follows:

Code: Select all

  PrintLinefeed();
  QuePrintLines(color = (UI8)(d.Byte1386[chIdx]), d.CH16482[chIdx].name);
  QuePrintLines(color, Translate(" JUST GAINED A "));
  QuePrintLines(color, Translate(d.Pointer16596[basicSkill])); //"FIGHTER", "NINJA", etc
  QuePrintLines(color, Translate(" LEVEL"));
But, of course, the noun/verb/adjective sequence might be entirely wrong for
many languages. Nevertheless, I think this is about as far as I am
willing to go.

Otherwise......the most flexible solution....
If you were to create a French (for example) version of CSBwin ("CSBwinFR.exe")
I would be willing to help and would try to maintain it and publish it with my
other versions.
hrvg
Craftsman
Posts: 101
Joined: Tue May 22, 2018 10:46 pm
Location: France

Re: Translation: Chaos Strikes Back

Post by hrvg »

My English is bad, sorry.
I write: "compound" sentences. Because sentence has 4 pieces: Name(1), sentence(2), skills(3) and level(4).
Sentence (green): [PATRICK](1) [JUST GAINED A](2) [DRUIDE](3) [LEVEL](4)
French translation: [PATRICK](1) [JUST GAINED A](2) [NIVEAU DE](4) |DRUIDE.](3)
I thought find a string that makes up this sentence (CSBwin.exe file with hexadecimal editor).
For example:
%(1)%(2)%(3)%(4). And edit: %(1)%(2)%(4)%(3)
Of course, It is not correct.
Other example:
LSL1 VGA Sierra game:
"Hey, everybody!! This weirdo just bought a %s-weight, %s-gauge, %s-flavored, %s, %s, %s, %s, %s, %s small-sized xxxxxx!!!"

AVIS à nos clients ! Ce MONSIEUR vient d'acheter un xxxxxx %s, %s, %s, %s, %s, %s, %s, %s, %s et taille ultra petit !!
In this sentence, I can edit "xxxxx" place.
And this is typical.....the strings are scattered about in the code itself.
Any 'pointers' exist in the machine-language instructions!
Yes, but there is a pointers table (before or after the text) or to be dispersed in a file.
I can not find the pointers in CSBwin.exe file.
I am bad in computer. I only translate.

Otherwise......the most flexible solution....
If you were to create a French (for example) version of CSBwin ("CSBwinFR.exe")
I would be willing to help and would try to maintain it and publish it with my other versions.
Yes, thank you. I translated these files:
dungeon.dat ==> 100 %.
graphics.dat ==> 99 %... It remains a picture to translate. But I can not read the message on this picture (122).
CSBwin.exe===> 80 %. There are still English words that I have not seen in CSBwin file. I see these English words because I play at CSBwin to see if I have not created any bugs.

I can send you these 3 files?
User avatar
Paul Stevens
CSBwin Guru
Posts: 4318
Joined: Sun Apr 08, 2001 6:00 pm
Location: Madison, Wisconsin, USA

Re: Translation: Chaos Strikes Back

Post by Paul Stevens »

Yes, but there is a pointers table (before or after the text) or to be dispersed in a file.
I can not find the pointers in CSBwin.exe file.
I see no reason for the compiler to produce such a 'pointer table'. I believe you
are wrong.

You can send me the three files. My email address can be found
at the bottom of: (The .edu address)

http://dianneandpaul.net/DianneGenealogy/
hrvg
Craftsman
Posts: 101
Joined: Tue May 22, 2018 10:46 pm
Location: France

Re: Translation: Chaos Strikes Back

Post by hrvg »

Ok, thank you very much for your help.
User avatar
Paul Stevens
CSBwin Guru
Posts: 4318
Joined: Sun Apr 08, 2001 6:00 pm
Location: Madison, Wisconsin, USA

Re: Translation: Chaos Strikes Back

Post by Paul Stevens »

I have received your three files. Looks good.

Do I understand correctly that you have attempted to modify the
executable file "CSBwin.exe"?

I will make no attempt to help you with that sort of hacking.
If you want to change the executable, you should go to the source code
and locate the strings that you want to translate. It should be
relatively easy to find them. Send me their location along with
the desired translation. I will put a conditional execution around them
and produce an updated CSBwin.exe with an option in the command line.
Perhaps something like "French". The code would look like this:

Code: Select all

        if (option_French) printf("Oui");
        else printf("Yes");
In many cases it may be possible to use the translation.txt file to do this
work. In that case, the code would look like this:

Code: Select all

        printf(Translate("Yes"));
hrvg
Craftsman
Posts: 101
Joined: Tue May 22, 2018 10:46 pm
Location: France

Re: Translation: Chaos Strikes Back

Post by hrvg »

Do I understand correctly that you have attempted to modify the
executable file "CSBwin.exe"?

I will make no attempt to help you with that sort of hacking.
No, I translated only English text of game. But, if it is hacking. I destroy this CSBwin.exe file that I translated.
I apologize. I did not know it was Hacking, sorry.
I will make no attempt to help you with that sort of hacking.
If you want to change the executable, you should go to the source code and locate the strings that you want to translate. It should be relatively easy to find them. Send me their location along with the desired translation. I will put a conditional execution around them and produce an updated CSBwin.exe with an option in the command line.
I downloaded: Clone-CSBwin-SourceCode-12_100.zip. This is this source code file?
There are a lot of files.
Or do I have to create (encode) a file?
For example:
PrintLinefeed();
QuePrintLines(color = (UI8)(d.Byte1386[chIdx]), d.CH16482[chIdx].name);
QuePrintLines(color, " JUST GAINED A ");
QuePrintLines(color, d.Pointer16596[basicSkill]); //"FIGHTER", "NINJA", etc
QuePrintLines(color, " LEVEL");

Translation:
PrintLinefeed();
QuePrintLines(color = (UI8)(d.Byte1386[chIdx]), d.CH16482[chIdx].name);
QuePrintLines(color, Translate(" GAGNE UN "));
QuePrintLines(color, Translate(d.Pointer16596[basicSkill])); //"VOLEUR", "NINJA", etc
QuePrintLines(color, Translate(" NIVEAU"));


I am lost because I do not understand.
I do not know how to program (computing).
hrvg
Craftsman
Posts: 101
Joined: Tue May 22, 2018 10:46 pm
Location: France

Re: Translation: Chaos Strikes Back

Post by hrvg »

I am sorry, but I can not edit my message. I do not know why.

PS:
I do not find the "source code" file with English texts. Where I can find the "source code" file with English sentences or words, please?
Thanks.
User avatar
Paul Stevens
CSBwin Guru
Posts: 4318
Joined: Sun Apr 08, 2001 6:00 pm
Location: Madison, Wisconsin, USA

Re: Translation: Chaos Strikes Back

Post by Paul Stevens »

You are close....The source code does indeed contain many files.
You should be able to search all the files whose name ends with
either ".h" or ".cpp". For example, you might search them for
the string "JUST GAINED A". You would make a note of the
file-name and the line number within the file. Send that and
your desired translation to me.

On a linux machine you could use the 'grep' command.
The Windows browser has a primitive search function that
might work. I, myself, cannot tolerate the Windows browser and
I use xplorer-2, which has a nice search function. Looking around on
the internet would probably reveal other solutions to the problem
of searching many files.
Where I can find the "source code" file with English sentences or words, please?
Thanks.
As I said before, the text strings in the executable itself are scattered about
in the code itself.
hrvg
Craftsman
Posts: 101
Joined: Tue May 22, 2018 10:46 pm
Location: France

Re: Translation: Chaos Strikes Back

Post by hrvg »

Thank you for your help.
I found the sentence: "JUST GAINED A" in "Magic.cpp" file.
It is in CSBwin--> src folder. (See screenshot)

Image

For translation:
[PATRICK](1) [JUST GAINED A](2) [DRUIDE](3) [LEVEL](4)
[PATRICK](1) [GAGNE UN](2) [NIVEAU](4) [DRUIDE](3)

I saw in files the English sentences. If I translate these sentences. There is a length of letters to be respected (Outside those of the graphs)?
For example:
English: SAVE
French: SAUVEGARDE
It is very long.
I wrote SVG (or SVGD) It is more short.
I translate all files with English sentences and words (CSBwin game). I sending you these translated files, ok?
Thank you.
User avatar
Paul Stevens
CSBwin Guru
Posts: 4318
Joined: Sun Apr 08, 2001 6:00 pm
Location: Madison, Wisconsin, USA

Re: Translation: Chaos Strikes Back

Post by Paul Stevens »

Oh, dear! We have a bit of misunderstanding.

The source files are text files. You examine and search them
with a text editor, not a hex editor. They contain human-readable
text, not hexadecimal digits. You might use Notepad, for example.
But there are better, free text editors readily available.

In general, you need not worry about replacing a short string with
a longer string. There are, no doubt, exceptions which we will
discover.
I translate all files with English sentences and words (CSBwin game). I sending you these translated files, ok?
No. NOT OK. Look at the files (for example Magic.cpp) with a text
editor and then we will try to decide our next step. I need to know
three things about each occurrence:
1) File name
2) Line number
3) Translation
Then I will decide how to go about getting it done.
User avatar
Paul Stevens
CSBwin Guru
Posts: 4318
Joined: Sun Apr 08, 2001 6:00 pm
Location: Madison, Wisconsin, USA

Re: Translation: Chaos Strikes Back

Post by Paul Stevens »

***A long and rambling note***

I received the following via private PM. I may have said something
that can be misinterpreted.
Hi Paul,
I erased (deleted) these three files of my computer:
dungeon.dat
graphics.dat
CSBwin.exe
I am not a hackering (pirate)
But, I would like a French version on your "site". Because CSB Atari and CSBwin are very good game.
Regards,
<signature>
I used the word 'Hack'. But it was not intended as 'Bad Thing'. To me, 'Hacking'
in this case means to modify the operation of a program via the 'back door'.
Changing HEX bytes in an executable is a perfect example. And I said that
I would not cooperate in that endeavor. But I said that only because I find
it distasteful. Not because I disapprove of other people's doing it.

Hack away at CSBwin to your heart's content. I don't mind at all. Just
don't ask me for help.

Two of the files you deleted (dungeon.dat and graphics.dat) are not mine at all.
You certainly don't have to answer to me for any use you put them to.
They belong to the creators of those files. And CSBWin.exe, itself, can hardly
be called 'mine'. I stole almost all of it from the Atari version of Chaos Strikes Back.
It was not even reverse-engineered.....it was simply translated.

Off topic a bit--------at first glance it would seem that translating Dungeon Master
and Chaos Strikes Back would be more straight-forward if you were to start
with DSB. The source for that has been released recently, I believe. And I can
attest to its adherence to the original games.
hrvg
Craftsman
Posts: 101
Joined: Tue May 22, 2018 10:46 pm
Location: France

Re: Translation: Chaos Strikes Back

Post by hrvg »

My English is bad. And I am bad in computer. Sorry.
I do not know the laws. I thought I had done something illegal. It is why I erased these three files. But, it is not important for me. If we can translate CSBwin in French. (For your site)
It was you who created CSBwin. I thank you for all this work. It is nice to play CSBwin with Windows. BRAVO.

Dungeon Master and Dungeon Master 2 are in French. Only Chaos Strikes Back is in English.
I do not know DSB. But, we can translate 2 games? Or I did misunderstand you?
For CBSwin. I downloaded "Notepad ++". It is correct?
(1) File name
(2) Line number
(3) Translation
I opened "CSBwin'==> "scr"==> Magic.cpp (1)
Sentence "JUST GAINED A" is on line 166. (2)// " GAGNE UN " (3)
Word "LEVEL" is on line 168. (2)// " NIVEAU" (3)

I found these sentences or words in Magic.cpp file:

984 line: const char *msg="UNKNOWN SPELL ERROR"; // "ERREUR, SORT INCONNU"


994 line: msg = TranslateLanguage(" NEEDS MORE PRACTICE WITH THIS "); // " DOIT S'ENTRAINER AVEC CE SORT DE "

997 line: msg = TranslateLanguage(" SPELL."); // " SORT."

1003 line: msg = TranslateLanguage(" MUMBLES A MEANINGLESS SPELL."); // " MARMONNE UN SORT INCOHERENT."

1008 line: msg = TranslateLanguage(" NEEDS AN EMPTY FLASK IN HAND FOR POTION."); // " DOIT AVOIR UN FLACON VIDE EN MAIN."

1096 line: msg = "THAT IS A DIFFICULT SPELL. STUDY IT."; // "C'EST UN SORT DIFFICILE. EXCERCE-TOI."


1099 line: msg = "THE SPELL FIZZLES.";// "LE SORT FAIBLIT."

1102 line: msg = "THE SPELL FIZZLES AND DIES."; // "LE SORT FAIBLIT ET CESSE."

1105 line: msg = "THIS SPELL IS TOO DIFFICULT."; // "CE SORT EST TROP DIFFICILE."

1108 line: msg = "% NEEDS MORE PRACTICE WITH THIS SPELL.", chIdx;// "% DOIT PRATIQUER PLUS SOUVENT CE SORT."

1111 line: msg = "THIS SPELL REQUIRES A COMPONENT."; // "CE SORT EXIGE UN ELEMENT."

Image

It is correct?


PS: Why I can not edit my old messages? I would like to delete all screenshots and some texts.
User avatar
Paul Stevens
CSBwin Guru
Posts: 4318
Joined: Sun Apr 08, 2001 6:00 pm
Location: Madison, Wisconsin, USA

Re: Translation: Chaos Strikes Back

Post by Paul Stevens »

I believe you can edit messages for a short time after posting them.

Editing old messages was disabled because (I think) people were
changing history inappropriately.

I'll try to make a CSBwin with your suggested translations.
hrvg
Craftsman
Posts: 101
Joined: Tue May 22, 2018 10:46 pm
Location: France

Re: Translation: Chaos Strikes Back

Post by hrvg »

Thank you.

I only wanted to delete the screenshots (and the text for translators.)

Two files you have. They have good.
dungeon.dat ==> 100%.
graphics.dat ==> 100%. Picture 122 is not readable text. I saw it in the game.
If the file I sent you is good. I continue.
Post Reply