Cyberpunkgothic1 on 10/1/2011 at 03:03
well, okay! If you tell that c++ is easyer, then I will choose it for the project.
I got lost in 2 c++ books. one very easy, and one hard to understand. but after all, I shoulden't had to read them, because java and c++ are very similar, for the most in the general things! isn't it? :) finally, I should not have too much to read about it.
as far I have seen so far, the handeling of strings could be something hard to understand?
well, something general needs to be choosen: the name of the project!? are there any suggestions? by this please remember, that uw1, uw2 and system shock will be supported finally by success. I think it could be something like "ttlg???".
also anyone is welcome to join the project! especially people who like to help coding the tool to support different languages!
and finally also to do the translations into their native language language! :)
[Edit:]
well, we have those three solutions. Al_B you told me that one is easyer to understand, than the other one. I have to compare those 3, but can you already tell, if those two produce the same solution? and also how correct is the UW formats doc is by his description? I will invite the authors of those three solutions, if they accept to contribute of their solutions, and if they are willing to share their experience.
finally I have the question, which compiler/IDE we could use? I would suggest: Visual Studio Express, because it needs to be free for use. and it also needs to support windows, because it is for gamers.
Al_B on 12/1/2011 at 23:34
I have no reason to believe that any of the algorithms are incorrect - the string decoding of UW / UW2 is a solved problem and the UW formats document is also correct as far as I know.
I suggested that if you're not used to heavily structured C++ that the UW Adventures implementation may be easier to understand as it's a reasonably clean implementation that doesn't rely on templates or the standard library. Yes, C++ and Java share some syntax but they're not similar enough that you can magically start programming in one if you only know the other.
Visual Studio is fine as a platform if you want to use it. It can be very easy to debug programs in it and the auto-completion can be handy while you develop. I wouldn't worry about getting other people on board for now - get a program working that can read and write string files first to prove the principles.
Cyberpunkgothic1 on 18/1/2011 at 00:46
thank you for your replay!
it is good to know, that they are correct!
the programminglanguage is not the problem. the problem is, that I dont have a picture of the huffmann codec in my mind? also I dont know by which magical number the correct textitem is found while gaming? and finally if it works, if I would simply read the algo from the end to the beginning? however, I saw your first replay again. I would ask the makers of the spanish or the portuguise versions about these questions, or how they did their translations. but there are no mailaddresses in thouse patches?
by visual studio I were talking about the free version. for that I have to search harder for the documentation however, because there are some questions left.
I have named the project ttlg4D and registered at sourceforge.net here:
(
http://ttlg4d.sourceforge.net/)
Cyberpunkgothic1 on 30/4/2011 at 21:07
well, I will now have the time, to begin coding. first I will code the given file (stringsloader.cpp) of uwadv, in the reverse order from the end to the beginning; to get a stringssaver.cpp. I dont know if that would work right, but this will be a beginning.
I will use ms visual studio express 2010 and hope that this will be enougth.
I heard, that uwadv contains a file that can be used, to test the file produced by the stringsloader.cpp. any idea, what file is there be meant?
I also have to search for german explenations of the huffmancodec, because the ones that were given to me, dont meat my understandment? so I already have the question, where from does uw know which piece of string is to choose. or spoken in other words, what is the index?
edit: I have copied the includes to a new project directory and made a new project of it. now I get the error that the SDL.h is missing. is this file realy neaded? ?)
Cyberpunkgothic1 on 18/5/2011 at 02:26
well okay. I heard that sdl.h isn't needed.
I will try to understand uwadv and write a stringssaver.cpp.
the other question is: what are thouse files of the portuguese and spanish translations? is this grafic of the panorama of the characters, really used? is that the needed format of the files? that work would better meet my abilities i think. I will read thouse fileformat rules about this.
EDIT:
I had read the doc-files, and found out that there is a strpak.cpp, that en-, and decodes the strings.pak. I will try to use this file for my translation application.
otherwise spoken, the translation could start here! one only need to decode the strings.pak into a textfile, by using strpak, like described inside the README.tools.txt file, in the docs folder. after done this, the translated text, could be encoded by strpak.cpp back again, into a valid translation.
if I could do the translation, I would do it, but I understand too less of the english spoken in the game. it would be very funny, to translate the grafics, if there would be a german strings.pak. so I would really appreciate a translation. ;)
further more, I read throught the uw-formats.txt, and it is needed for modification of the grafic-files and the modification of the shown texts inside of them, that I have to find out, what programms exists, that show and modify thouse grafics? ...and evetually how far could the gimp take me here? so if anyone knows a tool for one of the pictures, please give us the related link to download it?
Al_B on 18/5/2011 at 21:18
I may be misremembering but I think that the animations are in Deluxe Paint format. I wouldn't worry about them until you have the rest of the text sorted - it sounds like you may have other challenges with the translations.
Cyberpunkgothic1 on 19/5/2011 at 05:38
that picture-format could be. may be I have read something like that in the uw-formats.txt. I thought that there may be fileviewers specialy for uw and ss. I will try to use gimp for this, it needs to be for free. what other problems do you mean? if thouse strpak.cpp could truely de- and encode, there might be only the pictures left.
I read yesterday a lot of the uw-formats.txt and after that I realized that I have to read the sources at the same time. :p the way the formats are described is new to me...
when I yesterday tried to install uwadv under xp, I ran into the problem, that the installation of the additional needed packages were described not complete. I don't know, how I have to edit the glutwin32.mak to work with vs c++ express together. also there is a platform sdk needed, but the link to it is broken. okay, okay, I will look at the origin to get help for that problem, but if I would try to separate the string codes from the rest of the uwadv code, that would be the work I should do; and that would not be a big problem I think?
Cyberpunkgothic1 on 22/5/2011 at 21:06
I will give it up right hee now.
I tryed to build uwadv with visual studio 2010 express, but the projectfile won't open. again, I tried to install uwadv-binaryes for windows, but the version of uw1 + 2, on one cd, does not work with uwadv-installer. this means also, because this version only install's some less files of uw1, that I finally wouldn't know, how a translated strings-file could be substituted inside the version I own.
twisty on 20/6/2011 at 01:29
Not sure if the following tool will be of any use to you:
<a href="http://uwediting.freehostia.com/download.html"><img alt="Ultima Underworld Conversation Tools" src="http://uwediting.freehostia.com/img/cnvide_med.jpg" /></a>
Cyberpunkgothic1 on 22/6/2011 at 19:12
thank you, I will have a look at it. :)
currently I have two problems.
a) I cannot compile uwadv, because vs2010 express, don't supports it full.
b) my version of uw1 and uw2 comes on one cd, and installs only some files on hd, not all.