---
url: https://cri-middleware.github.io/SSPlayerForWeb/api/@spritestudio/ssconverter-core/functions/locateProject.md
---
# Function: locateProject()

> **locateProject**(`paths`): [`ProjectLocation`](../interfaces/ProjectLocation.md)

Defined in: [src/index.ts:85](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssconverter-core/src/index.ts#L85)

Find the single `.sspj` among `paths` and derive its stem and directory.
Throws when zero or more than one `.sspj` is present (an ambiguous conversion).

## Parameters

### paths

`Iterable`<`string`>

## Returns

[`ProjectLocation`](../interfaces/ProjectLocation.md)
