Unreviewed extracted actors are now held in idle: see the idle policy and tested type list. Movement/attack labels below retain historical profile metadata; they do not mean that generic AI is enabled. Source-specific controls remain active.
The current implementation targets usable game content. It does not certify frame-by-frame native equivalence. Original frame geometry/palettes are extracted from revision-pinned local ROM packets; animation selections, collision boxes, attack timing, drops and movement are reviewed functional approximations unless an actor explicitly supplies a translated native controller.
The native conversion ledger tracks all 104 actors from the recent functional batch. Creeper runs generated original procedures. Mad Pecker and Metal Wing use direct C# adaptations of original control (Metal Wing’s activation/death stages remain pending). The next direct-adaptation batch adds Dodge Blaster, Ray Field/Ray Trap, Planty/Iworm, Morgun/Gas Pipe, Refleczer, Wall Shock and Atareeter. Subsequent individual integrations add the two Batton variants, Rolling Gabyoall, Tubamail S, Notor Banger, Escanail and Barite Laser. Twenty-two actors have original-derived control in some form; 81 retain generic controls and one historical actor (RayTrapper) is excluded after its event identification proved invalid. Behavioral verification is deferred; no actor in this batch is classified as a completed native conversion.
XSharp.Enemies.Common: optional shared movement, aiming and projectile lifecycle.
Its deterministic EnemyBrain has no graphics or audio dependency in its API.XSharp.Enemies.X1, .X2, .X3: named actors, game-scoped factories and assets.
The engine does not reference these projects. Hosts opt into the relevant modules.Run the standalone C# tool after extracting original packets:
dotnet run --project EnemyExtractor -- --packets <packet-root> --recipe docs/enemies/x1-art-recipes.json --output XSharp.Enemies.X1/Assets/Enemies
Recipes select body/attack/projectile assembly indices explicitly. Every selected frame must have all its tiles, and packet images/metadata must match their SHA256 manifest entries. No ROM is needed at runtime. Runtime art JSON retains ROM SHA1, source packet, original pivot and palette diagnostics for future editor reuse. A diagnostic grayscale palette is identified explicitly and is not native-color parity.
The following are authored controllers, not empty class registrations. Shared movement primitives provide ground motion, jumping, airborne pursuit, wall movement, traps, ballistic aiming and finite projectiles. Per-enemy definitions select their mechanics, health, damage, artwork and attack patterns. Native timing/weapon/drop parity is pending.
X1 retains the already implemented core enemies and Sine Faller. The tables below list new optional-module content. Child-only actors are also available through the entity factory; they are not additional original object-event IDs.
| Actor | Original event | Movement / attack |
|---|---|---|
| Amenhopper | 20 |
Hop / None |
| ArmorSoldier | 2F |
Native foot/boarding/armored controller |
| ArmorSoldierPilot | 2F |
Native foot gunner / straight orb |
| BallDeVoux | 27 |
Native fall/bounce, unfolding attack and ball travel; calibration deferred |
| BattonBone | 2D |
Dive / None |
| BattonM501 | 2D |
Dive / None |
| Compressor | 39 |
Native proximity, tremor, descent/impact and delayed return; calibration deferred |
| CragMan | 34 |
Proximity drop, rebound and linked falling-rock/throw cycle; body debris and support probes pending |
| Creeper | 1F |
Generated native air/ground procedures; host parity pending |
| Crusher | 0F |
Native carrier/head patrol, drilling, recovery and separate destruction; calibration deferred |
| DeathRogumerCannon | 50 |
Native preparation/turn/reload and own projectile13; calibration deferred |
| DodgeBlaster | 13 |
Stationary / Horizontal |
| FlamePillar | 47 |
Stationary / None |
| Flamer | 38 |
Native player-facing body, linked four-part flames and independent fade; calibration deferred |
| GroundSineFaller | 10 |
Native pursuit, terrain fall/settling and own 25-frame ground variant; calibration deferred |
| Gulpfer | 1D |
Swim / None |
| Hotarion | 37 |
Wave / Drop |
| Iworm | 06 |
Patrol / None |
| LadderYadder | 3B |
Extend / Horizontal |
| LiftCannon | 59 |
Lift / Aimed |
| MadPecker | 1E |
ROM-derived proximity, held Creeper, animation release and RNG |
| MetalWing | 35 |
ROM-derived live flight; activation/death pending |
| Missile | 46 |
Fly / None |
| MoleBorer | 2C |
Patrol / None |
| Planty | 06 |
Stationary / Lob |
| RayField | 42 |
Stationary / Beam |
| RayTrap | 44 |
Stationary / Spread |
| RoadAttacker | 11 |
Charge / Horizontal |
| RollingGabyoall | 4F |
Patrol / None |
| Scrap | 32 |
Patrol / contact |
| ScrapRobo | 32 |
Patrol / Beam |
| SeaAttacker | 1C |
Swim / None |
| SkyClaw | 49 |
Dive / None |
| SlideCannon | 3F |
Slide / Aimed |
| SlideCannonBase | 3F |
Stationary / contact |
| Actor | Original event | Movement / attack |
|---|---|---|
| BarWaying | 1B |
Extend / None |
| BariteLaser | 2D |
Stationary / Beam |
| BarrierAttacker | 3A |
Wave / Aimed |
| Beetron | 22 |
Align, charge right and rebound from terrain; linked encounter actors pending |
| Blecker | 37 |
Drop / Aimed |
| CannonDriver | 0C |
Stationary / Spread |
| ChopRegister | 08 |
Orbit / None |
| CrashRoader | 65 |
Charge / None |
| CroakerHopper | 17 |
Hop / None |
| DiskBoy08 | 49 |
Patrol / Returning |
| Fishern | 19 |
Swim / None |
| GarakutaRobot | 16 |
ROM-derived pursuit / layers / returning pieces; DX9 lifecycle and replay validated |
| GasPipe | 30 |
Stationary / Horizontal |
| HangedReploid | 11 |
Stationary / None |
| Installer | 39 |
Patrol / None |
| JellySeeker | 32 |
Swim / None |
| MechaArm | 05 |
Extend / None |
| Morgun | 1F |
Crawl / Lob |
| PararoidR5 | 0B |
ROM-derived jump, attachment and forced-input escape; limits |
| PararoidS38 | 12 |
Leech / None |
| PararoidV1 | 10 |
ROM-derived four-arc flight / horizontal charge; limits |
| Refleczer | 44 |
Stationary / Spread |
| RideroidG | 2F |
Patrol / Horizontal |
| Rightod | 27 |
Leech / Beam |
| RoadRider | 47 |
Fly / Horizontal |
| Sabottein | 28 |
Stationary / None |
| Scrambler | 0A |
Stationary / Horizontal |
| SeaCanthller | 29 |
Swim / Aimed |
| SkyFarmer | 21 |
Wave / Spawn |
| Slidame | 04 |
Rise to subtype anchor, paired side devices, moving field columns and cue timing |
| SoleSolar | 1A |
Wave / Aimed |
| Tiranos | 3F |
Patrol / Spread |
| TubamailS | 57 |
Fly / Aimed |
| WeatherSeed | 24 |
Patrol / contact |
| Actor | Original event | Movement / attack |
|---|---|---|
| Atareeter | 22 |
Hop / Horizontal |
| Blady | 03 |
Native rolling, weapon-triggered blade deployment; combat/services pending |
| CarryArm | 0F |
Fly / None |
| Caterkiller | 0B |
Crawl / Spread |
| Crablaster | 11 |
Patrol / Aimed |
| DrillWaying | 2B |
Extend / None; native composite drill mechanism pending |
| DrimoleW | 0C |
Charge / Horizontal |
| EarthCommander | 06 |
Fly / Horizontal |
| Escanail | 09 |
Patrol / Horizontal |
| GansekiCarrier | 35 |
Fly / Spawn |
| GansekiMine | 1B |
Hop / None |
| HammaHamma | 2D |
Patrol / Returning |
| Hangerter | 4C |
Fly / None |
| HeadGunner | 18 |
Patrol / Horizontal |
| HeadGunnerCustomer | 18 |
Patrol / Aimed |
| Helit | 0D |
Wave / native missile 08; body/firing cadence pending |
| Hotareeca | 42 |
Swim / Aimed |
| IceDeVoux | 29 |
Charge / None |
| IwanDeVoux | 29 |
Charge / None |
| MetaCapsule | 16 |
Stationary / Spread |
| MineTortoise | 1C |
Patrol / Lob |
| MudPourer | 3F |
Stationary / Drop |
| NotorBanger | 08 |
Hop / Lob |
| RayTrapper (historical only) | 10 association invalid |
Excluded from original-event registration; fixed screen/palette handler, not a common enemy |
| SnowRider | 23 |
Charge / Horizontal |
| SnowRiderPilot | 23 |
Hop / Horizontal |
| Tombort | 1F |
Wave / Lob |
| Trapper | 3D |
Directional scan with placement ranges and alarm cue; stage alarm effect pending |
| Victoroid | 1E |
Patrol / Lob |
| VictoroidCustomer | 1E |
Patrol / Spread |
| WalkBlaster | 28 |
Patrol / Horizontal |
| WallCancer | 0E |
Crawl / Lob |
| WallShock | 32 |
Crawl / None |
| WildTank | 1D |
Patrol / Beam |
| WindTurbine | 24 |
Native proximity activation and vertical updraft; no gun |
Creeper is a separate actor (X1 object 1F, handler $82:A989, assembly shared
with Mad Pecker). Its generated controller uses the original subtype speed table,
landing/ledge transitions and animation scripts. Engine spawning maps to release
from the parent for direct spawns; Mad Pecker now explicitly holds/releases its
child through its ROM-derived control. Validation is deferred. Planty launches
the distinct Iworm using the engine’s ballistic API. The old MadPeckerHatchling
type remains only for demos created during the initial port, and is not counted
as another enemy species.
X1 event 2D selects Batton M-501 for subtype zero and Batton Bone otherwise.
Batton M-501 retains its guaranteed extra-life drop. Occupied Ride Armors resolve
to enemies; unoccupied vehicle subtypes are rejected by the enemy modules.
X3 subtype 18/80 selects Head Gunner Customer, 1E/01 selects Victoroid Customer,
and levels 1/2 select Ice de Voux for event 29. Other levels use Iwan de Voux.
Customer/ice palettes come from separate original palette bindings.
Sky Farmer drops WeatherSeed (X2 object 24, handler $02:C024; initialization
writes health 3 at $02:C03B and contact damage 1 at $02:C03F). The capsule
lands before creating Sabottein or Rightod. A host can set SkyFarmer.Rainy;
automatic synchronization with a complete native weather controller remains
fine-parity work. Sabottein grows into its contact box. Ganseki Carrier creates
mines. Destroyed Snow Riders leave pilots; occupied X1 Armor Soldiers do not. Slide Cannon leaves
a solid stepping stone. Hanged Reploid releases after damage. Hamma Hamma and
Mole Borer protect the front while exposing the back.
Weather timing, possession details, multipart damage timing, exact surface wrapping and hardware entity limits remain native-parity work. The machine-readable inventory records new and retained actors without equating actor counts with species counts.
Bosses/minibosses (including Genjibo/Shurikein, Mosquitus, RT-55J, Magna Quartz, Raider Killer, the large ocean minibosses and boss-specific summons), stage infrastructure and unoccupied player vehicles are outside this common-enemy batch. Cylinder Waying, rising lava, checkpoint devices and camera scripts are level objects, not additional common-enemy implementations.
Slidame, Chop Register and Rolling Gabyoall currently use the packet’s explicitly identified diagnostic grayscale palette. Scrap Robo and Slide Cannon have selected unloaded padding tiles treated as transparent in their reviewed recipes. These are functional presentation approximations, not native-color or pixel parity. The recipes and exported metadata retain those decisions for follow-up repair.
Contextual export accepts one exact original --rom, plus explicit TileBias,
ContextLevel/ContextLoadSet or an automatic context search (ContextLevel: -2).
Explicit TransparentTiles never overwrite recovered original pixels. This mode
recomposes checked original assembly/graphics artifacts and records the context.
It does not infer or certify native VRAM state. The X3 alternate-palette recipes
use packets exported with --all-palettes in a separate packet root.
CommonEnemyBrainTests exercises launch/landing cooldowns, wall turns, bounded
trap movement, shield windows and turret burst timing. CommonEnemyIntegrationTests
creates each real actor through the entity factory, initializes its resources,
runs lifecycle/physics ticks and checks original event placement. Projectile spawn
velocity is tested after the base sprite reset, as well as finite lifetime.
RuntimeArtExporterTests checks checksum rejection, frame validation and metadata.
GPU presentation and complete native-stage playthroughs require separate runtime verification.
The current whole-engine run passes 1,637 tests with the local X1/X2 USA ROMs enabled, and the extractor passes 43 tests. These results validate executable controllers, resources, attacks, damage, save-state continuation and factories; they do not certify complete original-stage playthroughs or 1:1 behavior.
Every roster actor and its spawned entities also runs a 240-frame arena encounter with actual world collision maps, without GPU/audio devices. Targeted cases cover terrain landing, weather-seed hatching, surviving parts, front/back shield hits, passive grabbing, vehicle subtype filtering and binary controller continuation. The table describes executable behavior; it does not promise full original-stage parity.
The inventory currently has 125 concrete actors: 104 new functional actors and 21 retained implementations. Actor totals include child entities, variants and selected hostile devices; they are not a count of enemy species. The two final inventory/module-routing checks also pass. All new primary factories are exercised through the actual X1/X2/X3 modules, including vehicle subtype exclusions.
For authored levels, reference the desired game project, register its module and
use its public game-scoped actor types or the original-object factory. Some older
BaseEngine.Add... helpers still reference historical core compatibility shells;
use the content-module path documented here for the new implementations. Removing
those old game-specific core APIs is a separate compatibility migration.
X1 standard Ride Armor and Armor Soldier now use separate ROM-derived controls; see source, subtype routing and validation.