UFO:Alien Invasion

General => Discussion => Topic started by: Matachusets2 on May 14, 2010, 01:54:50 am

Title: Starter programer C
Post by: Matachusets2 on May 14, 2010, 01:54:50 am
Hello everyone! I'm a boy of 25 years with experience "gamer" since I have 9. This year was tired of everyone telling me:
"Hey, with what you like computers that do not study?" I left school at 16 to go to work and I was afraid to return to stud, well, I bought a book of learning and I'm studying the language C. And not 100% finished but neither book can not be completed to learn without practicing much they have the book.
 
Well I'm going to the point:
One day looking for open source software for simple copy test and learn, I met this game inspired by the X-com that when I was between 9 and 14 years playing nonstop. So I download the open source but the codeblocks. Not the extent to which language is used c in this game, because in the code saw a file called LUA, which is a language is widely used in both commercial games open source, such as LUA language itself, only I know by references on the Internet and the compiler I use, WX-Dec C + +, how well a pack for use in the compiler. As I am learning by myself without anyone to teach me (and I like to have a mentor but I live in a village and those who know the topic for years and were hardly come by here, so you see how this case .. .), I would like to request a little help to know where I can try to get their hands and compiled by modules, as only compile all of the pull. I also talked about the corrections section, since I became a mess when I went to see them and not throw anything straight. (Weno something if, download 2GB of data that do not know what to do with them, so that delete it from my PC and I only download the version 2.3 dev.) Thank you and excuse me for my english I use a translator to do fast the post
Title: Me again
Post by: Matachusets2 on May 14, 2010, 01:59:11 am
By the way I´m Spanish if your guys send the tex who haven´t yet translated to Spanish, I can do it. Thanks again
Title: Re: Starter programer C
Post by: MCR on May 14, 2010, 12:35:26 pm
Welcome !
Here some info about translation:
http://ufoai.ninex.info/wiki/index.php/Translating
Title: Re: Starter programer C
Post by: Duke on May 14, 2010, 10:54:56 pm
There is a recent thread in the 'Newbie Coding' forum:
http://ufoai.ninex.info/forum/index.php?topic=4779.0 (http://ufoai.ninex.info/forum/index.php?topic=4779.0)
Maybe you can join forces ?

Title: Re: Starter programer C
Post by: Matachusets2 on May 17, 2010, 03:46:02 am
Hello, I have traslated both Spanish and bakucp the original, how I can update  SVN ones whit tortuise? It asked me for a password.
I try wit my login from here and password and can´t do nothing.
Title: Re: Starter programer C
Post by: geever on May 17, 2010, 08:12:29 pm
Hello, I have traslated both Spanish and bakucp the original, how I can update  SVN ones whit tortuise? It asked me for a password.
I try wit my login from here and password and can´t do nothing.

Create a diff (patch) with your SVN client and upload it to the Patch Tracker (http://sourceforge.net/tracker/?atid=805244&group_id=157793&func=browse).

-geever
Title: Re: Starter programer C
Post by: Mattn on May 18, 2010, 08:28:45 am
you don't have write access to the svn repository. only read access - as geever said, use the patch tracker to submit patches (diffs)
Title: Re: Starter programer C
Post by: Matachusets2 on May 19, 2010, 02:38:11 am
Ok, I think I do it well, if not tell what I have worng. First I do whit tortoise the diff and make a save in other directory whit same name and .po. I have registered on SourceForge and upload ufoai-es_ES.po in 7z format, the other .po file "ufoai-es.po" why are two spanish translations? Its for some special reason? if necesary i upload it, but as the same translation whit diferent name, like I found the two files. Thanks and sorry for my english.
Title: Re: Starter programer C
Post by: bayo on May 19, 2010, 08:04:54 am
"es_ES" mean spanish from Spain. Maybe "es" use a more generic vocabulary understandable by all countries talking spain (america latina...)
Title: Starter programer C
Post by: Matachusets2 on May 21, 2010, 01:57:12 am
I got a problem whit this "(can host %i live alien)", when I translate, it corrup the *.po file and can´t open it anymore. I got a error mssg. what said
"1:56:58: D:\...\UFOAI translation ES\src\po\ufoai-es_ESmodificado.po:17624: missing `msgstr[]' section 1:56:58: msgfmt: found 1 fatal error".

By the way I omited this one who cause trouble and continue transte the *.po.

Thanks very much guys.

POST-EDIT: What are provisional? I can translate every correctly.
Title: Re: Starter programer C
Post by: bayo on May 22, 2010, 11:10:54 am
provide a diff of your corrupted edition. Or few lines where the problem is
Title: Re: Starter programer C
Post by: Matachusets2 on May 24, 2010, 01:45:48 am
Hello everyone! I uploaded a *. 7z file with the *. po file corrupt and info.txt. Now I'm translating the yellow lines, a few I will translate and test the results before I do anything else, I found a very rare  taducion and I have the feeling that they will not work as I believe, and sorry for the previous post the other day was a little dizzy when I wrote, thanks to all
Title: Re: Starter programer C
Post by: Matachusets2 on June 05, 2010, 10:01:02 pm
Hi! how I can rebuil the game whit the source fron SVN whit codeblock? It don´t allow me and said the file has no compiler installed. And I have they installed include WX 2.81 i think, But I´m sure is the last version I like to see the game and the translation Im doing. Thanks guys.
Title: Re: Starter programer C
Post by: geever on June 05, 2010, 11:17:17 pm
Hi! how I can rebuil the game whit the source fron SVN whit codeblock? It don´t allow me and said the file has no compiler installed. And I have they installed include WX 2.81 i think, But I´m sure is the last version I like to see the game and the translation Im doing. Thanks guys.

Make sure you're using the latest codeblock package linked on our wiki site. It contains all the libs you need. Detailed description how to set up the CodeBlock environment for compiling UFO:AI can be found here (http://ufoai.ninex.info/wiki/index.php/Code::Blocks).

-geever
Title: Re: Starter programer C
Post by: Matachusets2 on June 06, 2010, 01:15:50 am
A lot of thanks! I just did what said in the wiki and now is working, but there is one more toruble, how I can change the output directory? I just make a mess and compile on the source directory! Thanks again

Edit: I let the compilation on the source dir, is a boring task search and clean jeje, by the way the game is compile fully, and the maps and pot files, but I see there is a file "WINenvVER", the game star, the compiler sais go, its a harder error to detec because there is no warning no fault, the copy I running stop because don´t find the version scripts and no more futher.

Also there is the report:


---- filesystem initialization -----
Adding game dir: ./base
Adding game dir: D:\Users\...\AppData\Roaming\UFOAI/2.4-dev/base
using D:\Users\...\AppData\Roaming\UFOAI/2.4-dev/base for writing
executing default.cfg
couldn't execute config.cfg

----- network initialization -------
libcurl/7.16.4 zlib/1.2.2 initialized.

------ server initialization -------

----- console initialization -------
Console initialized.

SDL_image version 1.2.6
SDL_ttf version 2.0.9 - we need at least 2.0.7

------- sound initialization -------
SDL_mixer version: 1.2.8
... requested audio rate: 44100
... driver: 'dsound'
... audio rate: 44100
... audio channels: 2

------- input initialization -------
0 possible joysticks
no joystick found.

----------- parse scripts ----------
0 script files

Could not find version string for script files

Thanks
Title: Re: Starter programer C
Post by: Matachusets2 on June 08, 2010, 09:27:30 pm
We compile the maps whit the cpu power, true? Why no we use the GPU of the video board? I sure it will be faster compiling the maps whit GPU rather that CPU. It only a sugestion, I see not much time a opensurce progran who crack rar files and it used GPU of video card for generate password up to 3 times more faster that using CPU, don´t remember where I see right now, but if I remind, I will post it. I know is not easy job. bye boys.