Sistema completo de packaging para distribuir ViBe3 Physics:
**Core - ResourcePack:**
- source/resource_pack.{h,cpp}: Clase para empaquetar/desempaquetar recursos
- Header binario "VBE3" con índice de archivos
- Encriptación XOR simple para ofuscar contenido
- Checksums para verificar integridad
**Integración en Texture:**
- source/external/texture.cpp: Carga desde pack con fallback a disco
- Método estático Texture::initResourceSystem()
- 1. Intenta cargar desde resources.pack
- 2. Si falla, carga desde carpeta data/ (modo desarrollo)
**Herramienta de empaquetado:**
- tools/pack_resources.cpp: Herramienta CLI para generar .pack
- tools/README.md: Documentación actualizada para ViBe3
- make pack_tool: Compila herramienta
- make resources.pack: Genera pack desde data/
**Sistema de releases (Makefile):**
- Makefile: Adaptado de Coffee Crisis a ViBe3 Physics
- Targets: windows_release, macos_release, linux_release
- APP_SOURCES actualizado con archivos de ViBe3
- Variables: TARGET_NAME=vibe3_physics, APP_NAME="ViBe3 Physics"
- Elimina carpeta config (no usada en ViBe3)
**Recursos de release:**
- release/vibe3.rc: Resource file para Windows (icono)
- release/Info.plist: Bundle info para macOS (.app)
- release/icon.{ico,icns,png}: Iconos multiplataforma
- release/frameworks/SDL3.xcframework: Framework macOS
- release/SDL3.dll: DLL Windows
- release/create_icons.py: Script generador de iconos
**Resultado:**
- resources.pack generado (5 recursos, ~1.3KB)
- Compila correctamente con CMake
- Listo para make windows_release / macos_release
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
91 lines
2.3 KiB
Plaintext
91 lines
2.3 KiB
Plaintext
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
<plist version="1.0">
|
|
<dict>
|
|
<key>AvailableLibraries</key>
|
|
<array>
|
|
<dict>
|
|
<key>BinaryPath</key>
|
|
<string>SDL3.framework/Versions/A/SDL3</string>
|
|
<key>LibraryIdentifier</key>
|
|
<string>macos-arm64_x86_64</string>
|
|
<key>LibraryPath</key>
|
|
<string>SDL3.framework</string>
|
|
<key>SupportedArchitectures</key>
|
|
<array>
|
|
<string>arm64</string>
|
|
<string>x86_64</string>
|
|
</array>
|
|
<key>SupportedPlatform</key>
|
|
<string>macos</string>
|
|
</dict>
|
|
<dict>
|
|
<key>BinaryPath</key>
|
|
<string>SDL3.framework/SDL3</string>
|
|
<key>LibraryIdentifier</key>
|
|
<string>tvos-arm64</string>
|
|
<key>LibraryPath</key>
|
|
<string>SDL3.framework</string>
|
|
<key>SupportedArchitectures</key>
|
|
<array>
|
|
<string>arm64</string>
|
|
</array>
|
|
<key>SupportedPlatform</key>
|
|
<string>tvos</string>
|
|
</dict>
|
|
<dict>
|
|
<key>BinaryPath</key>
|
|
<string>SDL3.framework/SDL3</string>
|
|
<key>LibraryIdentifier</key>
|
|
<string>ios-arm64</string>
|
|
<key>LibraryPath</key>
|
|
<string>SDL3.framework</string>
|
|
<key>SupportedArchitectures</key>
|
|
<array>
|
|
<string>arm64</string>
|
|
</array>
|
|
<key>SupportedPlatform</key>
|
|
<string>ios</string>
|
|
</dict>
|
|
<dict>
|
|
<key>BinaryPath</key>
|
|
<string>SDL3.framework/SDL3</string>
|
|
<key>LibraryIdentifier</key>
|
|
<string>ios-arm64_x86_64-simulator</string>
|
|
<key>LibraryPath</key>
|
|
<string>SDL3.framework</string>
|
|
<key>SupportedArchitectures</key>
|
|
<array>
|
|
<string>arm64</string>
|
|
<string>x86_64</string>
|
|
</array>
|
|
<key>SupportedPlatform</key>
|
|
<string>ios</string>
|
|
<key>SupportedPlatformVariant</key>
|
|
<string>simulator</string>
|
|
</dict>
|
|
<dict>
|
|
<key>BinaryPath</key>
|
|
<string>SDL3.framework/SDL3</string>
|
|
<key>LibraryIdentifier</key>
|
|
<string>tvos-arm64_x86_64-simulator</string>
|
|
<key>LibraryPath</key>
|
|
<string>SDL3.framework</string>
|
|
<key>SupportedArchitectures</key>
|
|
<array>
|
|
<string>arm64</string>
|
|
<string>x86_64</string>
|
|
</array>
|
|
<key>SupportedPlatform</key>
|
|
<string>tvos</string>
|
|
<key>SupportedPlatformVariant</key>
|
|
<string>simulator</string>
|
|
</dict>
|
|
</array>
|
|
<key>CFBundlePackageType</key>
|
|
<string>XFWK</string>
|
|
<key>XCFrameworkFormatVersion</key>
|
|
<string>1.0</string>
|
|
</dict>
|
|
</plist>
|