Stunts Forum

Stunts - the Game => Stunts Related Programs => : Duplode October 02, 2010, 07:29:59 +02:00

: StuntsCarSwapper
: Duplode October 02, 2010, 07:29:59 +02:00
One month ago I made the following "promise":

: Duplode  September 02, 2010, 11:49:07 +02:00
I have not tried the Trueno yet - the creative mood of our designers means I met the 24-car limit, and since I am unwilling to remove any of them I'm going to write a car file swapping app to save some of the trouble.

Well, here it is  :D In the end, it turned out that Krys (from whom I read about the limit back in early 2008) was mistaken, and the limit is actually 32 cars... it was a fortunate mistake though, for now we (hopefully) have a convenient way of managing arbitrary amounts of cars in Stunts.

A screenshot is provided so that you can see what it does before downloading the zip. Some additional notes:

Enjoy!  ;)
: Re: StuntsCarSwapper
: dreadnaut February 16, 2013, 03:22:47 +01:00
This works very well, thanks!

It would be additionally cool if it could handle zip files containing single cars, so one could just download them and place them in the scs directory... ;)

And maybe one day there'll be an online car database —cough...


edit:  we could move these threads to the new section!
: Re: StuntsCarSwapper
: Duplode February 16, 2013, 03:57:20 +01:00
Thanks for the appreciation! Zip file handling is a nice idea, and it might be worth it to include a way to handle packed/unpacked file conflicts. At this stage, however, it is more likely that I will end up rewriting this small application rather than maintaining its clumsy Java implementation. Late 2010 feels like a long, long time ago to me...

: dreadnaut  February 16, 2013, 03:22:47 +01:00
edit:  we could move these threads to the new section!

Zak, or dstien, can you move it please?

(There is also the JRPLInfo thread (http://forum.stunts.hu/index.php?topic=2637.msg47428#msg47428), though I don't think that program has a future...)
: Re: StuntsCarSwapper
: Duplode February 17, 2013, 10:45:22 +01:00
: Duplode  February 16, 2013, 03:57:20 +01:00
Zak, or dstien, can you move it please?

Thank you!
: Re: StuntsCarSwapper
: zaqrack February 18, 2013, 08:48:09 +01:00
welcome :)
: Re: StuntsCarSwapper
: Duplode February 18, 2013, 04:41:53 +01:00
: dreadnaut  February 16, 2013, 03:22:47 +01:00
And maybe one day there'll be an online car database —cough...

By "online car database" do you mean a centralized web page with downloads of individual cars or something fancier? I guess you mean the latter, but if it is the former I keep a very basic one at http://scr.stunts.hu/mods.html . It really could do with some improvements, however...
: Re: StuntsCarSwapper
: CTG February 18, 2013, 08:14:39 +01:00
: Duplode  February 18, 2013, 04:41:53 +01:00
: dreadnaut  February 16, 2013, 03:22:47 +01:00
And maybe one day there'll be an online car database —cough...

By "online car database" do you mean a centralized web page with downloads of individual cars or something fancier? I guess you mean the latter, but if it is the former I keep a very basic one at http://scr.stunts.hu/mods.html . It really could do with some improvements, however...

Thanks God, I don't have to make that "Vehicle data" section. :D
: Re: StuntsCarSwapper
: dreadnaut February 18, 2013, 09:48:29 +01:00
: Duplode  February 18, 2013, 04:41:53 +01:00
By "online car database" do you mean a centralized web page with downloads of individual cars or something fancier? I guess you mean the latter, but if it is the former I keep a very basic one at http://scr.stunts.hu/mods.html . It really could do with some improvements, however...

Something like that is probably enough :)   But it could be centralized and easy to read by a program, so StuntsCarSwapper could just get them for pipsqueaks without having to download them manually, move the files, etc etc.
: Re: StuntsCarSwapper
: Duplode February 19, 2013, 03:33:47 +01:00
: CTG  February 18, 2013, 08:14:39 +01:00
Thanks God, I don't have to make that "Vehicle data" section. :D

I wonder about which data to include. For the purposes I have in mind it would be nice to summarize the key features in a way that wouldn't take half a screen per car. For instance, one unoriginal idea would be a NFS-style bar chart with acceleration, handling and so on, plus a few icons for things like PG...

: dreadnaut  February 18, 2013, 09:48:29 +01:00
Something like that is probably enough :)   But it could be centralized and easy to read by a program, so StuntsCarSwapper could just get them for pipsqueaks without having to download them manually, move the files, etc etc.

Interesting... even for a static site I guess there could be a plain text / SQLite database in a known location to be used by the program for automatically downloading cars.
: Re: StuntsCarSwapper
: CTG March 12, 2013, 11:04:47 +01:00
: Duplode  February 19, 2013, 03:33:47 +01:00
For instance, one unoriginal idea would be a NFS-style bar chart with acceleration, handling and so on, plus a few icons for things like PG...

Original idea or not, thumbs up! I would be fond of that kind of car evaluation.
: Re: StuntsCarSwapper
: dreadnaut March 13, 2013, 12:05:22 +01:00
: Duplode  February 19, 2013, 03:33:47 +01:00Interesting... even for a static site I guess there could be a plain text / SQLite database in a known location to be used by the program for automatically downloading cars.

Actually, a decently written html page can be parsed as xml, so you don't even need two files :)
: Re: StuntsCarSwapper
: CTG July 25, 2013, 09:15:07 +02:00
: Duplode  February 19, 2013, 03:33:47 +01:00
For the purposes I have in mind it would be nice to summarize the key features in a way that wouldn't take half a screen per car. For instance, one unoriginal idea would be a NFS-style bar chart with acceleration, handling and so on, plus a few icons for things like PG...

::)

When?
: Re: StuntsCarSwapper
: Duplode July 25, 2013, 05:29:35 +02:00
: CTG  July 25, 2013, 09:15:07 +02:00
::)

When?

Good question  ::) As far as suspended Stunts projects go I have maybe three other things on my plate that would have to come before that, but anyway thanks for reminding me  :)
: Re: StuntsCarSwapper
: CTG July 25, 2013, 06:53:35 +02:00
: Duplode  July 25, 2013, 05:29:35 +02:00
: CTG  July 25, 2013, 09:15:07 +02:00
::)

When?

Good question  ::) As far as suspended Stunts projects go I have maybe three other things on my plate that would have to come before that, but anyway thanks for reminding me  :)

If you don't do it then I will. And believe me: the world would be happier with your version. ;D