blast code plugin for maya 2013 exclusive
Last visit was: Sun Mar 08, 2026 11:46 pm
It is currently Sun Mar 08, 2026 11:46 pm



Blast Code Plugin For Maya 2013 Exclusive Access

This exclusive feature prevents all pieces from exploding simultaneously.

Let’s create a classic destruction shot: a concrete pillar shattering under a heavy impact.

If you believe this plugin was real and released, try these legacy searches:

If you find a download link from a non‑official source, treat it as potentially malware – Maya 2013 plugins often required specific C++ redistributables and could crash modern Maya.

Blast Code is a high-performance destruction and physics-based simulation plugin for Autodesk Maya

, specifically favored for large-scale urban destruction in feature film productions like Fantastic Four: Rise of the Silver Surfer

, the plugin is often cited as a more advanced, albeit complex, alternative to native dynamics for creating stable fracture and shatter effects. Key Features of Blast Code

Blast Code operates as a specialized solver designed to handle simulations that standard Maya rigid bodies might struggle with. Physics-Based Fracture

: It uses its own solver (historically the Kiloton solver) to calculate real-time or baked shattering of complex geometry. Procedural Shattering

: Allows for the creation of intricate destruction patterns, such as glass shards or masonry debris, that respond to impacts and explosions. Native Integration

: While it uses an external engine for physics, it integrates directly into the Maya viewport and outliner, allowing you to use Maya's native fields (like gravity and wind) to influence the simulation. Baking to Keys

: Once a simulation is satisfied, the plugin can "bake" the movement of thousands of shattered pieces into standard Maya keyframes, making it easier to render and share the scene without requiring the plugin on every machine. Compatibility & Performance (Maya 2013 Exclusive)

During the Maya 2013 era, Blast Code faced stiff competition from newer tools like Fracture FX

, which some users found to be more stable and feature-rich for the same price point. Maya 2013 Support

: Versions of Blast Code specifically compiled for Maya 2013 were released to keep up with Autodesk's annual updates. Performance

: The plugin is known for its ability to handle "millions of cells" in complex multi-dimensional problems, making it suitable for high-end VFX work. Installation : Typically installed as an file on Windows, it must be activated via the Plug-in Manager Window > Settings/Preferences > Plug-in Manager Usage Workflow in Maya 2013 Preparation : Ensure your mesh is clean and has its history deleted. Plugin Loading : Open the Plug-in Manager for the Blast Code entry. Applying Blast

: Select the target mesh and use the Blast Code shelf or menu to apply a "Blast" node. Simulation

: Adjust parameters like material strength, impact velocity, and fracture density.

: View the results in the Maya timeline. For final rendering, bake the simulation to keyframes to ensure stability. modern alternatives

that offer similar destruction capabilities for current versions of Maya?

Blast Code Plugin for Maya 2013 Exclusive Review

As a 3D artist and Maya user, I'm always on the lookout for tools that can streamline my workflow and enhance my productivity. The Blast Code plugin for Maya 2013 Exclusive caught my attention, and I'm excited to share my review of this powerful plugin.

What is Blast Code?

Blast Code is a plugin designed specifically for Autodesk Maya 2013, offering a comprehensive set of tools to simplify and accelerate various tasks, from modeling and texturing to lighting and rendering. Developed by a team of industry experts, Blast Code aims to bridge the gap between creativity and technical limitations, allowing artists to focus on what they do best – creating stunning visuals.

Key Features

After installing and testing Blast Code, I was impressed by its extensive feature set, which includes:

Performance and Workflow

During my testing, I was pleased to find that Blast Code significantly improved my workflow and performance in Maya 2013. The plugin's tools are well-designed, intuitive, and seamlessly integrated into the Maya interface.

Pros and Cons

Pros:

Cons:

Conclusion

The Blast Code plugin for Maya 2013 Exclusive is an indispensable tool for 3D artists and studios working with Autodesk Maya. Its extensive feature set, intuitive interface, and performance improvements make it a valuable addition to any Maya workflow. If you're looking to boost your productivity, streamline your workflow, and enhance your creative output, I highly recommend giving Blast Code a try.

Rating: 4.5/5

Recommendation: If you're a Maya 2013 user, Blast Code is an absolute must-have. For users working with other Maya versions, I recommend checking the plugin's compatibility and waiting for future updates.

Blast Code is a high-end demolition and destruction plugin for Autodesk Maya that was widely considered an industry standard for visual effects (VFX) in the mid-to-late 2000s. While primarily associated with earlier versions like Maya 5 and 6, legacy versions and specific builds remained in use for later releases like Maya 2013. Core Features

The plugin uses a sophisticated workflow to simulate complex demolition scenarios without requiring manual frame-by-frame animation.

Procedural Destruction: Quickly create exploded bombs, destroyed walls, and collapsing buildings.

Slab System: Users can convert simple NURBS or polygon surfaces into "slabs," which give objects physical thickness and internal structure for realistic shattering.

Locator-Based Explosives: Place specific locators in a scene to act as triggers for explosions, allowing for precise control over where a fracture starts.

Fracture Mapping: Uses maps to define how an object breaks, allowing for jagged, natural-looking cracks rather than simple geometric shards.

Kiloton & Megaton Scales: Offers different "strengths" of simulation—Kiloton for standard physics and Megaton for massive, high-intensity destruction. Why "Exclusive" for Maya 2013?

Maya 2013 was one of the last versions to support certain legacy 32-bit and 64-bit plugin architectures before Autodesk moved toward the more modern Bifrost and Bullet physics engines. blast code plugin for maya 2013 exclusive

Legacy Stability: For many VFX houses, Maya 2013 served as a stable long-term "bridge" for projects that relied on Blast Code’s specific procedural algorithms.

Performance: Blast Code was designed to handle high-resolution destruction with relative ease, a niche it dominated before modern integrated solvers became standard. Basic Usage Steps

Activation: Load the plugin via the Plug-in Manager (Window > Settings/Preferences > Plug-in Manager).

Creation: Create a surface (like a NURBS plane) and use the Blast Window to define it as a New Control.

Slab Creation: Apply the Create Slab command to add physical depth to your target object.

Explosives: Add a Locator Explosive from the Explosive tab and link it to your surface to trigger the destruction. Blast Code ver 1.2 for Maya release Archived

Blast Code is a specialized procedural destruction plugin for Autodesk Maya

that was highly popular in the mid-2000s to early 2010s for creating complex demolition and shattering sequences.

While it was a staple for visual effects (VFX) artists during the Maya 2013 era, it is now considered legacy software. Below is an informative breakdown of its features, history, and status for Maya 2013. What is Blast Code? Developed by FerReel Animation Labs

, Blast Code was designed to simplify the process of blowing things up in Maya. Instead of manually modeling every piece of debris, the plugin used procedural "codes" to control how objects shattered, reacted to physics, and interacted with explosives. Key Features for Maya 2013 Procedural Destruction:

It allowed artists to define "blast" zones where objects would fracture realistically based on the force applied. Shatter Controls:

Users could control the density, size, and shape of shards, making it ideal for everything from glass breaking to concrete crumbling. Kiloton & Megaton:

The software often came in different "strengths," with "Kiloton" being a lighter version for less complex simulations. Real-time Interaction:

For its time, it provided a relatively fast workflow for iterating on destruction scenes before committing to a final high-resolution render. Historical Context & Compatibility Peak Usage: Blast Code was most prominent between Maya 5 and Maya 2013

. As Maya’s own internal physics engines (like Bullet and Bifrost) improved, the need for third-party destruction plugins shifted. Legacy Status:

The original developers, FerReel Animation Labs, ceased active updates for the plugin many years ago. Finding an "exclusive" version for Maya 2013 usually refers to the final stable builds released before the software became largely unavailable. Modern Alternatives: Today, VFX artists typically use for complex destruction or modern Maya plugins like (for 3ds Max users) or built-in tools like Bullet Physics Why It Matters Today For those still running

—often for legacy pipeline compatibility or specific old-school project files—Blast Code remains a nostalgic but powerful tool. It represents a specific era of VFX where procedural "black box" plugins were the primary way to achieve Hollywood-level destruction. installing this specific version, or are you interested in modern alternatives for newer versions of Maya? Unreal Engine: The most powerful real-time 3D creation tool

Blast Code for Maya 2013: The Ultimate Destruction Guide If you were working in visual effects around 2013, you know that creating realistic destruction wasn’t as simple as clicking a button. Before modern solvers became standard, Blast Code was the undisputed king of shatter and debris for Autodesk Maya. Even today, some legacy pipelines and enthusiasts seek out this specific plugin to recreate that classic "crunchy" cinematic destruction.

In this article, we’ll dive into what made the Blast Code plugin for Maya 2013 a staple in the industry and how it handled complex simulations. What is Blast Code?

Blast Code is a physics-based destruction plug-in designed specifically for Maya. Unlike basic Voronoi shattering tools, Blast Code utilized a unique approach to fracture mechanics. It allowed artists to simulate everything from glass shattering and wood splintering to concrete exploding under the pressure of a ballistic impact. Key Features for Maya 2013:

Layered Damage: You could define how different materials reacted to stress.

Automatic Debris Generation: It didn't just break the mesh; it generated the secondary dust and "chunks" that make an explosion look real.

Texture-Based Control: Artists could use bitmaps to define where a structure was "weak," allowing for highly art-directed destruction.

High Performance: For its time, Blast Code was remarkably efficient at handling high-poly counts during a simulation. Why Maya 2013?

The 2013 version of Maya was a "sweet spot" for many VFX houses. It was stable, supported a wide array of legacy plugins, and sat right at the transition point before Maya moved heavily toward the Bifrost and Bullet physics integration.

Using Blast Code in this specific environment offered an exclusive level of control over secondary fragments that early versions of the Bullet solver simply couldn't match. How the Blast Code Workflow Works

If you’re revisiting this classic tool, here is the general workflow used to create a professional destruction sequence:

Preparation: You start with a clean, manifold mesh. Blast Code is sensitive to geometry, so ensuring your "walls" or "objects" are closed volumes is key.

Defining the Blast: You place a "Blast Locator." This acts as the epicenter of the force.

Material Settings: You assign "Blast Bond" settings. This tells the plugin if the object is brittle like glass or tough like reinforced concrete.

The Solve: You run the simulation. Blast Code calculates the stress propagation and swaps your static mesh for a fractured one in real-time.

Refinement: You can tweak the "Shatter Patterns" to ensure the cracks look organic rather than procedural. The Legacy of Blast Code

While tools like Houdini and Maya's internal Bifrost have largely taken over the heavy lifting in modern cinema, Blast Code remains a fascinating piece of VFX history. Its "exclusive" feel came from its ability to make a single artist feel like an entire FX department.

For those still running legacy workstations or looking to study the roots of digital destruction, Blast Code for Maya 2013 remains a powerful, nostalgic, and effective tool for blowing things up with style.

Blast Code is a high-end demolition and destruction plugin for Autodesk Maya, specifically known for its procedural approach to shattering and exploding objects. While it was a staple in major VFX pipelines (such as for Monsters vs Aliens), it has largely been superseded by newer tools like Fracture FX. Core Features of Blast Code

The plugin provides a logical workflow for complex destruction scenarios, using specialized tools to handle physics and debris.

Blast Window: A central interface where users manage "Control Surfaces" and destruction settings.

Kiloton and Megaton: Distinct solvers within the plugin designed to handle different scales of destruction, from small-scale shattering to massive demolition.

Slab Creation: The ability to add thickness to NURBS planes, turning them into "slabs" that can be realistically destroyed.

Explosive Locators: Specialized locators used to define the origin and force of a blast within the scene.

Secondary Debris: Automated systems for generating smaller fragments and dust resulting from the primary destruction. Maya 2013 Context

By the time of Maya 2013, Blast Code was considered an older standard. Users often utilized it for: This exclusive feature prevents all pieces from exploding

Glass Shattering: It was highly regarded for realistic glass effects.

NURBS-based Workflow: Unlike modern plugins that work with existing geometry, Blast Code typically used a unique workflow involving NURBS planes as source meshes for destruction.

If you are working in Maya 2013, you might also find the ATOM (Animation Transfer Object Model) file format useful, as it was introduced in that version to simplify animation import/export.

Blast Code is a legacy destruction and physics simulation plugin for Autodesk Maya, once famous for its use in blockbuster films like

. While the original company, Blast Code LLC, is no longer in operation, the plugin remains a niche tool for artists working with older versions of Maya, such as Maya 2013. Core Capabilities

Blast Code is designed to handle complex fracturing and structural failure in real-time or near-real-time environments. Its primary features include: Procedural Fracturing

: Unlike basic "shatter" tools, Blast Code uses a procedural approach to break objects based on impact velocity and material density. Hierarchical Destruction

: It allows for multi-level breaking—chunks of a wall can break into smaller debris upon a secondary impact. Material Presets

: It includes built-in physics properties for materials like concrete, wood, glass, and metal. Blast Damage

: Specialized "Blast" nodes allow you to simulate shockwaves from explosions that realistically displace and destroy geometry. Installation Guide for Maya 2013

Since the plugin was built for older architectures, ensure you have the correct version (typically Blast Code 1.5 or 1.6) for the 32-bit or 64-bit version of Maya 2013 you are using. Copy Files : Move the (plugin file), (scripts), and any icon files to your Maya directory. C:\Program Files\Autodesk\Maya2013\bin\plug-ins C:\Documents\maya\2013\scripts Load the Plugin Open Maya 2013. Window > Settings/Preferences > Plug-in Manager BlastCode.mll Initialize the Shelf : Source the Blast Code script in the Script Editor ( source "blastCode.mel";

) or use the provided installer to create the shelf buttons. Usage Workflow Create a Blast Layer : Select the geometry you want to destroy and click the Create Blast Layer icon. This converts your mesh into a "BlastObject." Set Material Attribute Editor , navigate to the Blast node and select a preset (e.g., Concrete_Reinforced Add an Effector : Create a "Blast" (explosive) or "Cracker" (impact) node.

: Move the effector into your object. You will see the geometry fracture dynamically based on the effector's settings. Bake Results : Once satisfied, use the

command to convert the simulation into standard Maya keyframes or geometry for rendering. Troubleshooting Maya 2013 Compatibility Viewport Issues : Blast Code was designed before the Viewport 2.0

era. If the simulation doesn't display correctly, switch to the Legacy Default Viewport Dependencies : Ensure your system has the legacy C++ Redistributables

(2005-2010) installed, as the plugin relies on older libraries. that work on modern versions of Maya?

Blast Code is a specialized structural demolition and visual effects plugin for Autodesk Maya, originally developed by FerReel Animation Labs. While it was a staple in the mid-2000s for creating complex destruction sequences (like those in The Matrix

trilogy), it has largely been superseded by modern tools like , or native Bullet Physics in newer Maya versions.

For users specifically seeking "exclusive" content or setup for , here is a deep dive into its functionality and legacy: Core Functionality

Blast Code was designed to simplify the "demolition" workflow by automating the fracturing and physics of objects. Procedural Fracturing:

Instead of manually modeling broken pieces, users define "Blast Layers" where the plugin procedurally cracks surfaces based on impact points. Dynamic Simulation:

It utilizes a custom solver to handle the physics of falling debris and dust, which was significantly faster than Maya’s native rigid body dynamics at the time. Kiloton Version: A "light" version called was also released for smaller-scale effects. Using Blast Code in Maya 2013

Maya 2013 was one of the last versions where legacy plugins like Blast Code could still be reliably run, provided the user had the correct (Windows) or (macOS) files compiled for that specific Maya API version. Description Fracture Control

Define grain patterns and wood splintering or glass shattering styles. Impact Objects Set "colliders" that trigger the destruction upon contact. Secondary Debris

Automated generation of smaller particles and "kicked up" dust. Deformation

Capability to bend metal before it snaps, a precursor to modern FEA (Finite Element Analysis) tools. Legacy & Alternatives

Because the original developer, FerReel Animation Labs, has long been inactive, finding an official "exclusive" 2013 build is difficult. Modern animators typically use these alternatives: Advanced Playblast Tools:

For simple visualization of animations (often confused with "blast" code), tools like Zurbrigg Advanced Playblast are preferred for high-quality previews. Destruction Suites: RayFire for Maya or the native Bullet Physics

engine included in Maya 2013 and later provide more modern fracturing capabilities. Important Note on Compatibility

Plugins for Maya are strictly compiled for specific versions. A plugin built for Maya 2011 will

work in Maya 2013 because of changes in the Python and C++ API. Ensure any "exclusive" download specifically mentions the 2013 (x64) architecture. of a legacy file or finding modern fracturing scripts for Maya 2013? DuBlast for Maya - RxLaboratorio


Title: 🔓 [Release] Blast Code 1.5 Plugin for Maya 2013 (Windows Exclusive)

Body:

For those still running legacy pipelines or looking to study the "golden era" of practical VFX simulation, I am archiving this specific release for preservation.

After digging through old drives, I’ve recovered a fully functional build of Blast Code specifically for Autodesk Maya 2013 (64-bit Windows).

🧨 What is Blast Code? Before Bifrost and before bullet became standard, Blast Code was the industry standard for high-impact destruction. Unlike standard rigid body simulations, Blast Code models deformation based on material stress. It allows you to take a single piece of geometry, define stress lines, and "blast" it apart with incredible control over the fragmentation, debris, and dust. It was the engine behind iconic destruction scenes in films like 2012, Watchmen, and X-Men.

💾 Download Details:

⚙️ Installation Notes:

⚠️ Why 2013? This plugin relies on specific physics libraries present in the Maya 2013 architecture. It is notoriously unstable in newer versions (2015+) due to changes in the Maya API. If you want to run Blast Code natively without a complex virtual machine setup, Maya 2013 is your best bet.

Download Link: [Link Removed - Dead] (Note: This post is for historical discussion. If links are dead, please do not re-up. Seek official archives.)


User Comments Simulation:

User: CG_Retro Thanks for preserving this! I remember learning VFX with this back in college. The stress-based fracturing is still better than some modern tools. If you find a download link from a

User: RenderFarm_Guy Does this work on Maya 2024?

OP: @RenderFarm_Guy No. The API is too old. You need to install Maya 2013 specifically. It doesn't load in newer versions.

User: ImpactFX I still use this for pre-vis. It’s faster to set up a blast in this than waiting for a Bifrost graph to compile sometimes. Legend plugin.

Blast Code for Maya 2013: The Ultimate Guide to the Iconic Destruction Plugin

In the history of visual effects, few tools carry as much "legendary" status as Blast Code. Before Houdini became the industry standard for procedural destruction, Blast Code was the secret weapon used by top-tier studios to create cinematic explosions, structural collapses, and shattering glass.

Even today, many artists and legacy pipelines look for the exclusive Blast Code plugin for Maya 2013 to maintain older projects or tap into its unique, artist-friendly workflow. Here is everything you need to know about this powerhouse plugin. What is Blast Code?

Blast Code is a sophisticated physics-based destruction system designed specifically for Autodesk Maya. Unlike basic shatter scripts, Blast Code utilizes a "Pre-Fracture" and "Dynamic Solver" workflow. It allows artists to define how materials—like concrete, wood, or steel—should react to forces, providing realistic secondary debris and dust. Why Maya 2013?

Maya 2013 is often considered one of the most stable "classic" versions of the software. For many VFX houses, the transition to the 2014-2016 versions introduced changes to the API and the underlying Viewport 2.0 that broke older plugins. The Blast Code 1.6 and 1.7 versions were specifically optimized for the Maya 2013 architecture, making it the "Goldilocks" zone for stable destruction simulations. Exclusive Key Features of Blast Code 1. The "Blast Layer" System

Blast Code doesn’t just break geometry; it creates a "Blast Layer." This allows you to stack effects. You can have a primary explosion break a wall, and a secondary layer handle the crumbling of the individual bricks. 2. Procedural Fracturing

Instead of manually cutting mesh faces, Blast Code uses "p-sets" (particle sets) to determine fracture points. This means you can move your "detonator" around the scene in real-time, and the fracture pattern will update accordingly. 3. Material Presets

One of the exclusive benefits of the plugin was its deep library of material properties. You could set a mesh to "Brittle Concrete" or "Ductile Metal," and the plugin would automatically calculate the stress-strain curves required to trigger a break. 4. Low Computational Overhead

For its time, Blast Code was incredibly fast. It used optimized C++ solvers that allowed Maya 2013 to handle thousands of fragments without the immediate "crash-to-desktop" common with other early solvers. The Workflow: Creating a "Hero" Destruction Shot

If you are using the exclusive Maya 2013 version, the workflow generally follows these steps:

Preparation: Ensure your geometry is "watertight" (no holes).

Blast Code Node: Select your mesh and initialize the Blast Code node.

Define the Blast: Create a "Blast Locator." This acts as the epicenter of your explosion.

Tuning the Slab: Adjust the thickness and reinforcement settings. Blast Code was famous for its ability to simulate rebar inside concrete.

Execution: Run the solver. The plugin generates a new "cracked" mesh while hiding the original, creating a seamless transition from solid to shattered. The Legacy of Blast Code

While Autodesk eventually introduced Bifrost and integrated the Bullet Physics engine, they often lack the "instant-action" feel of Blast Code. Many veteran FX artists still prefer the way Blast Code handles "crack propagation"—the way a crack travels through a surface before the piece actually falls. Finding the Plugin Today

Since the original developer (Pro-Concepts) ceased updates years ago, finding a legitimate, working version of the Blast Code plugin for Maya 2013 is a challenge. It is largely considered "abandonware," residing in the archives of legacy VFX studios. However, for those who still have access to the license, it remains a testament to how efficient and powerful Maya-based destruction can be. Conclusion

The Blast Code plugin for Maya 2013 represents a specific era of VFX where artistry and physics met in a perfectly balanced tool. It turned a tedious manual task into a procedural, exciting process. Whether you are a hobbyist exploring the history of CGI or an artist maintaining a legacy pipeline, Blast Code stands as a titan of the Maya plugin ecosystem.

Blast Code Plugin for Maya 2013: A Comprehensive Review

Introduction

The Blast Code plugin is a popular and highly sought-after tool for Autodesk Maya, a 3D computer animation, modeling, simulation, and rendering software. Specifically designed for Maya 2013, the Blast Code plugin offers a wide range of features and functionalities that can significantly enhance the user's experience and productivity. In this article, we will provide an in-depth review of the Blast Code plugin for Maya 2013, exploring its key features, benefits, and usage.

What is the Blast Code Plugin?

The Blast Code plugin is a third-party software development kit (SDK) created by Blast Code, a company renowned for its innovative solutions for computer-generated imagery (CGI) and visual effects. The plugin is designed to integrate seamlessly into Maya 2013, providing users with an extensive array of tools and features that can be used to streamline their workflow, improve performance, and expand the software's capabilities.

Key Features of the Blast Code Plugin

The Blast Code plugin for Maya 2013 offers a diverse range of features, including:

Benefits of Using the Blast Code Plugin

The Blast Code plugin for Maya 2013 offers numerous benefits, including:

Installation and Setup

Installing the Blast Code plugin for Maya 2013 is a straightforward process:

Usage and Tips

To get the most out of the Blast Code plugin, follow these tips:

Conclusion

The Blast Code plugin for Maya 2013 is a powerful and feature-rich tool that can significantly enhance the user's experience and productivity. With its advanced polygon modeling, dynamic simulations, animation and rigging, rendering and lighting, and scripting and automation features, the plugin offers a comprehensive solution for 3D artists, animators, and visual effects professionals. Whether you're a seasoned pro or just starting out, the Blast Code plugin is definitely worth checking out.

System Requirements

Pricing and Availability

The Blast Code plugin for Maya 2013 is available for purchase on the Blast Code website. Pricing starts at $299 for a single-user license, with discounts available for students, educators, and businesses.

Conclusion and Final Thoughts

In conclusion, the Blast Code plugin for Maya 2013 is an exclusive and highly valuable tool that can help users unlock the full potential of Maya. With its extensive range of features, intuitive interface, and robust performance, the plugin is an excellent addition to any 3D artist's or animator's toolkit. Whether you're working on a small project or a large-scale production, the Blast Code plugin is sure to deliver impressive results.


Blast Code 1.5 (commonly used with Maya 2013) includes built-in auxiliary systems for secondary effects. It can automatically generate smaller "chip" debris from cracked edges and includes basic sprite-based dust particle generation, saving time on setting up secondary nParticle systems.


The core of Blast Code is the Slab. Users create a slab (a piece of geometry with thickness) and define its material properties. Unlike standard Maya rigid bodies, slabs have internal structural integrity. They can bend, buckle, and break based on stress maps painted directly onto the surface.


Who is online

Users browsing this forum: Google [Bot] and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF (mod by Zeru-j).