GT7 SVG request thread.

  • Thread starter Thread starter daan
  • 6,758 comments
  • 601,515 views
Could somebody make some warning stickers? I tried to make one for a 90s F1 active suspension hydraulic system and gave up after 30 minutes of fiddling just trying to get it to fit under the stupid 15kb limit.

I do have a finished SVG, I just can't get it to fit without splitting it into a billion chunks because of that stupid limit:

View attachment 1511560
Here you go

To ensure perfect alignment in the game, place layer 1of3 where you want your decal, then duplicate that layer it two times. Swap one copy for layer 2of3 and the other copy for layer 3of3. They will be perfectly aligned.
 

Attachments

Thanks so much! How did you get it down to such a small size?
You're welcome!

I recreated it from scratch, then converted all text to shapes, saved it as an SVG and checked the file size. By splitting the file up into three files and sending them through SVGOMG, I was able to push the per-file size down enough.

A recreation is helpful in such a case because a simple conversion from a bitmap to a vector file will create many more points and curves than needed. If you instead start with a freshly drawn vector file, in a case like this you can minimize the file size right out of the box. Yes, this was some work, but if you dive into a converted SVG file to delete points and clear up paths manually, you will quickly spend the same amount of time, if not more.
 
You're welcome!

I recreated it from scratch, then converted all text to shapes, saved it as an SVG and checked the file size. By splitting the file up into three files and sending them through SVGOMG, I was able to push the per-file size down enough.

A recreation is helpful in such a case because a simple conversion from a bitmap to a vector file will create many more points and curves than needed. If you instead start with a freshly drawn vector file, in a case like this you can minimize the file size right out of the box. Yes, this was some work, but if you dive into a converted SVG file to delete points and clear up paths manually, you will quickly spend the same amount of time, if not more.
I had created it with text in inkscape, then converted to shapes but found I couldn't get it under 30 or so KB. Is there any tricks I can do?
 
I had created it with text in inkscape, then converted to shapes but found I couldn't get it under 30 or so KB. Is there any tricks I can do?
Well, I had to split it up into three files. The recreated complete file with all text came out at 50 kB, optimized with SVGOMG as a bit over 40 kB. If course you can compromise on image quality and push it further, but I doubt you can get it below 15 kB in one file. You did everything correct, at some point you just need to start thinking about splitting a file up. Then you just need to find the right balance so each single file will come as close as possible to the 15 kB limit so you won't need to split it into too many files. With the complete file being 50 kB (40 kB optimized), I assumed that three 15 kB files will suffice, which worked out.

EDIT: An important part in splitting up a file is that you do not resize the canvas and do not move items into other places between the single files. If you don't make any of those changes, you will get perfect alignment in the game with the principle I described.

EDIT #2: Oh, another helpful hint: after converting text to paths, you should always optimize paths. I don't know where to find this in Inkscape (I work mainly with Illustrator), but I an sure it is capable of this. Background: for characters with curves such as S, C, D, R etc., a path will usually use many more points to describe the curves than necessary. Optimizing parths eliminates as many points as possible while trying to keep the original shapes. Even at a conservative setting (give keeping the shape priority over deleting points), you can usually get rid of quite a few points without visual impact, yet resulting in a much smaller file.
 
Last edited:
good morning could anyone help me with these
View attachment 1509103
225×225
14,2 kB

View attachment 1509102
Finally fixed the color gradients so you have both logos complete, see the attached ZIP files.

I had to split up both logos to respect the file size limit. You can stack them perfectly in the game by placing the bottom logo first, then duplicate it and swap the ducplicate(s) with the upper layers.
 

Attachments

Last edited:
Back