mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-24 03:29:57 -07:00
Merge branch 'dev' of https://github.com/flipperdevices/flipperzero-firmware into mntm-dev
This commit is contained in:
@@ -1,17 +1,19 @@
|
||||
# Requirements
|
||||
# Firmware Assets {#firmware_assets}
|
||||
|
||||
## Requirements
|
||||
|
||||
- Python3
|
||||
- Python3 packages: Pillow & heatshrink2
|
||||
|
||||
# Compiling
|
||||
## Compiling
|
||||
|
||||
```bash
|
||||
./fbt icons proto dolphin_internal dolphin_blocking dolphin_ext resources
|
||||
```
|
||||
|
||||
# Asset naming rules
|
||||
## Asset naming rules
|
||||
|
||||
## Images and Animations
|
||||
### Images and Animations
|
||||
|
||||
`NAME_VARIANT_SIZE`
|
||||
|
||||
@@ -22,16 +24,16 @@
|
||||
Image names will be automatically prefixed with `I_`, animation names with `A_`.
|
||||
Icons and Animations will be gathered into `icon.h` and `icon.c`.
|
||||
|
||||
## Dolphin and Games assets
|
||||
### Dolphin and Games assets
|
||||
|
||||
Rules are same as for Images and Animations plus assets are grouped by level and level prepends `NAME`.
|
||||
Good starting point: https://docs.unrealengine.com/4.27/en-US/ProductionPipelines/AssetNaming/
|
||||
|
||||
# Important notes
|
||||
## Important notes
|
||||
|
||||
Don't include assets that you are not using, compiler is not going to strip unused assets.
|
||||
|
||||
# Structure
|
||||
## Structure
|
||||
- `dolphin` - Dolphin game assets sources. Goes to `compiled` and `resources` folders in `build` directory.
|
||||
- `packs` - Hot-swappable asset packs used system wide, both animations and icons. Compiled to `.bm` and `.bmx`, then put at `SD/asset_packs`
|
||||
- `icons` - Icons sources. Goes to `compiled` folder in `build` directory.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Dolphin assets
|
||||
# Dolphin assets {#dolphin_assets}
|
||||
|
||||
Dolphin assets are split into 3 parts:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user