Tool, FP-Trace - adds SVG data to FPT

Support File FP Tool, FP-Trace - adds SVG data to FPT v2013-04-03c

No permission to download
by beta-tester
at 2013-04-02
Type Program
Subtype Tools

I made a tool,
that can add SVG vector path objects to an existing FuturePinball table.
(it based on the "FP Addons SDK")

how to call/execute from command line:
command line:> "<FP-Trace.exe>""<input.svg-file>""<input.fpt-file>"
<FP-Trace.exe> the application
<input.svg-file> the input SVG file
<input.fpt-file> the input FPT file
(the input FPT file will not be touched - a new output table will be created with name "<input.fpt>.patch.fpt")

currently it is limited / tested to inkscape SVG files.

known limitations:
- only inkscape output is tested.
- only vector path objects can be recognized.
- unknown behavior, if path objects are combined or non continued path objects.
- translation, rotation, skew transformation are not supported.
- dimensions and units are not supported.
- there is no name collision detecting - if an element name is already existing in the source table, it may result in a corrupt output table.

in inkscape, giving the vector path objects a proper Id-name, controls how it will appear in FP:
following names can be handled:
"Surface", "Light", "Rubber", "Guide", "WireGuide", "WireRamp", "Ramp".
e.g.
- if you give the name "SurfaceComplexObject123", it will be added as a surface,
- if you give the name "LightObject123", it will be added as a shapeable light,
...
all objects, its Id-name does not match, will be added as surface.

in inkscape, press [Shift]+[Ctrl]+[O], adjust the Id name and press [Set] to apply the new name.



EDIT 2013-04-03: added a FP-Trace.cfg file. that gives you the chance to change some options...
- substitute options, to change the prefix namings to control object assignments.
- curve options, to tweak shape point interpolation. (to enlarge/reduce the number of points and the mode how to calculate)
WARNING: CHANGE CURVE OPTIONS AT YOUR OWN RISK!
with wrong settings, it may boost the count to many thousand points



EDIT 2013-04-03b: automatic detection and correction of wrong point order.
the object always appear in FP in the game - even when the order is incorrect in SVG.
no need to reverse path by hand in inkscape ("Path -> Reverse").



EDIT 2013-04-03c: added new option to FP-Trace.cfg,
- point option, to make all points to sharp.
- curve options, to turn off curve interpolation.
  • 35189.png
    35189.png
    190.8 KB · Views: 36
  • 35191.png
    35191.png
    187.7 KB · Views: 37
Author
Not Registered
Downloads
5
Views
307
First release
Last update
Rating
0.00 star(s) 0 ratings
General chit-chat
Help Users
You can interact with the ChatGPT Bot in any Chat Room and there is a dedicated room. The command is /ai followed by a space and then your ? or inquiry.
ie: /ai What is a EM Pinball Machine?
  • No one is chatting at the moment.
  • Chat Bot Mibs Chat Bot Mibs:
    joeuro has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    oettmane has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    charly_ey has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    j24sailr has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    dwood has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    gregonitov has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    Drogo has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    SmashXD has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    mrdarc has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    butterface5000 has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    Pinheads has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    helptv has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    joeboxer has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    Auleric has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    vizzone has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    Develop has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    Krusty104 has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    grh450 has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    redharry has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    kono87 has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    Blonderkarli has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    Seven Tigerz has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    onedevotee75 has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    rgmohr has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    teelegend has left the room.
      Chat Bot Mibs Chat Bot Mibs: teelegend has left the room.
      Back
      Top