Page 2 of 2

Re: Visual Basic

Posted: 29.08.2011, 19:57
by Greyhead
rremedio wrote:Easy to understand why reshaping everything line by line it's so annoyning.
You got that right!

Re: Visual Basic

Posted: 30.08.2011, 21:17
by rremedio
The real work has started, it will be harder than I thougth cause every poligon needs a different aprouch. But it's worth the job becouse in the end it will make everything a lot easier and you will be able to extend it to other templates than the saloon. I will post images when I have something interesting to show (I hope it's until the weekend, but free time is short).

I didn't try anything with Visual Basic becouse I've found great tools for using with Ruby. Ruby is also incomparable easier to code. However, it results in also incomparable slower applications, but for complex tasks like this, is better to use something easier than something fast.

Re: Visual Basic

Posted: 31.08.2011, 04:11
by Greyhead
Great news =D>

PS what's Ruby? I've never heard of that!

Re: Visual Basic

Posted: 31.08.2011, 19:11
by rremedio
Ruby is another programming language, just like VB. It's easier to code, but its also slower to process things. I was aware of two libraries to manipulate images using Ruby and tested them and liked the results. Should be much more complex writing with VB.

VB would surely do the job and the program would be much faster, but I don't have real programming training, so easier is better than faster :)

Re: Visual Basic

Posted: 31.08.2011, 19:17
by Greyhead
Fair enough! I have to admit, Ruby is a new one on me. Anything that makes life easier has to be a bonus! I remember the days of typing out line after line of BASIC on a Commodore 64...

Re: Visual Basic

Posted: 31.08.2011, 19:25
by Peze
Greyhead wrote: I remember the days of typing out line after line of BASIC on a Commodore 64...
In those days you could buy a magazine, type the code from it and the result: you had a new game!

Re: Visual Basic

Posted: 31.08.2011, 19:53
by rremedio
When I was a kid I had a TK90X (brazilian version of the ZX Spectrum). No magazines to help, just the user manual. I remember annoying everybody in the house while I was trying to make a song out of its sound commands. And we could save and load programs from K7 tapes! I've broken it trying to put Atari 2600 cartridges on its cart lock.

It had no use for me, as sadly I didn't know that impressive game list http://en.wikipedia.org/wiki/List_of_ZX_Spectrum_games. I was 9 or 10, but I could write a program that said you were right if you awsered "yes" to the question: "Is (my brother name) an idiot?". Oh, such good times. :lol:

Re: Visual Basic

Posted: 01.09.2011, 14:08
by Michael82
I don't know if I understood everything but you are creating a new base for the cars bitmaps? You change something in Gp2.exe?

Re: Visual Basic

Posted: 01.09.2011, 14:17
by RacerBG
Michael82 wrote:I don't know if I understood everything but you are creating a new base for the cars bitmaps? You change something in Gp2.exe?
If this is true then GP2 will trully reborn and we will create a accurate template for every season ever made :shock:

Re: Visual Basic

Posted: 01.09.2011, 14:19
by rremedio
Michael82 wrote:I don't know if I understood everything but you are creating a new base for the cars bitmaps? You change something in Gp2.exe?
Greyhead create templates from the real carshapes and paint these templates so they fit that carshape. But GP2 will only accept the GP2 original template (that bitmap we use with GP2Lap) so he has to convert his templates on a GP2 bitmap, which have a very different shape. He does that by resizing and reshaping parts of the bitmap so they will fit the gp2 bitmap, but it's a painfully long and annoying process. We are trying to create a tool that will convert it automatically for him.

Creating a new base would be better, but I've never found where the info is stored in GP2.exe. It is hidden somewhere but I have no clues about where.

Re: Visual Basic

Posted: 01.09.2011, 14:26
by RacerBG
rremedio wrote:
Michael82 wrote:I don't know if I understood everything but you are creating a new base for the cars bitmaps? You change something in Gp2.exe?
Greyhead create templates from the real carshapes and paint these templates so they fit that carshape. But GP2 will only accept the GP2 original template (that bitmap we use with GP2Lap) so he has to convert his templates on a GP2 bitmap, which have a very different shape. He does that by resizing and reshaping parts of the bitmap so they will fit the gp2 bitmap, but it's a painfully long and annoying process. We are trying to create a tool that will convert it automatically for him.

Creating a new base would be better, but I've never found where the info is stored in GP2.exe. It is hidden somewhere but I have no clues about where.
And this is also a good idea.

For the .exe file I know only that where in it are stored the names of the drivers, the teams, game info, all buttons and texts - the other things I dont know but I have Visual Studio 2010 Professional Edition with all needed programs. If anyoe wants somehow I will try to upload this monster somewhere. :D

Re: Visual Basic

Posted: 01.09.2011, 18:35
by Michael82
It's a great project. Congratulations to you! Any progress in GP2 is very good!

Re: Visual Basic

Posted: 25.09.2011, 23:35
by rremedio
No progress yet, for several reasons. I've been travelling and now my home is under improvement and I have no peace to work with programming. But I hope to achieve it in some weeks.

Re: Visual Basic

Posted: 26.09.2011, 05:39
by Greyhead
I've actually managed to cut down the time to reshape a car to about an hour, with a lot of practice! Obviously I'll never be as fast as a machine but I'm making progress :lol:

Re: Visual Basic

Posted: 26.09.2011, 07:08
by RacerBG
Greyhead wrote:I've actually managed to cut down the time to reshape a car to about an hour, with a lot of practice! Obviously I'll never be as fast as a machine but I'm making progress :lol:
But for now I prefer the old way. :lol: