Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 1 addition & 27 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,35 +79,9 @@ jobs:
- name: Publish to Release
uses: softprops/action-gh-release@v2
with:
generate_release_notes: true
files: |
*.AppImage
*.dmg
*.zip
SHA256SUM-*
body: |
### Installation Instructions - ${{ github.ref_name }}

**Windows User Note:**
This build is unsigned. Windows SmartScreen will show a warning alert.
Click **More info** → **Run anyway** to launch the tool.

**Linux User Note:**
Make the AppImage executable before launching:
```bash
chmod +x RadiataModdingTool-*.AppImage
./RadiataModdingTool-*.AppImage
```

**macOS User Note:**
This build is unsigned. macOS Gatekeeper will block execution by default.
If blocked, clear the quarantine flag with:
```bash
xattr -cr /path/to/RadiataModdingTool.app
```
Or **Control-click (Right-click)** on the app icon and select **Open** from the context menu.

### Integrity Verification (Optional)
Verify your downloads match the compile-time binary fingerprints:
- **macOS:** `shasum -a 256 -c SHA256SUM-macos-arm64.txt`
- **Linux:** `sha256sum -c SHA256SUM-linux-x86_64.txt`
- **Windows (PowerShell):** `Get-FileHash .\RadiataModdingTool-*.zip` compare to `SHA256SUM-windows-x64.txt`
41 changes: 34 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Overview

A desktop application for modding _Radiata Stories_. This application automatically manages the disk's file system in-memory, allowing you to modify, extract, and analyze game data without cluttering your local machine with thousands of extracted files.
A desktop application for modding _Radiata Stories_. This application automatically manages the disk's file system in-memory, allowing you to modify, extract, and analyze game data without cluttering your local machine with thousands of extracted files.

## Use Cases

Expand Down Expand Up @@ -29,14 +29,41 @@ A desktop application for modding _Radiata Stories_. This application automatica
- __GUI__: PyQt6
- __Build__: Automated Windows and Linux CI releases with smoke testing via PyInstaller. MacOS support is questionable.

### Acknowledgements
# Installation

Special thanks to project contributors and CUE.
## Windows

Unofficial and not associated with Square Enix or tri-Ace.
This build is unsigned. Windows SmartScreen will show a warning alert.
Click More info → Run anyway to launch the tool.

## Linux

Install with preferred AppImage manager _or_ make the AppImage executable before launching:

``` bash
chmod +x RadiataModdingTool-*.AppImage
./RadiataModdingTool-*.AppImage
```

## macOS

This build is unsigned. macOS Gatekeeper will block execution by default.
If blocked, Control-click (Right-click) on the app icon and select Open from the context menu _or_ clear the quarantine flag with:

## Screenshots
<img width="620" height="480" alt="image" src="https://github.com/user-attachments/assets/1a2e7d3e-5570-445a-ae9c-cdbf0a4fb7bd" />
<img width="620" height="480" alt="image" src="https://github.com/user-attachments/assets/b2f334ca-a1ec-4edc-bd46-edcd6a7abf90" />
``` zsh
xattr -cr /path/to/RadiataModdingTool.app
```

## Build Integrity Verification (Optional)

Verify your downloads match the compile-time binary fingerprints:

- Windows (PowerShell): `Get-FileHash .\RadiataModdingTool-*.zip` compare to the SHA256SUM-windows-x64.txt stored sting
- Linux: `sha256sum -c SHA256SUM-linux-x86_64.txt`
- macOS: `shasum -a 256 -c SHA256SUM-macos-arm64.txt`

## Acknowledgements

Special thanks to project contributors and CUE.

Unofficial and not associated with Square Enix or tri-Ace.
2 changes: 1 addition & 1 deletion core/dispatcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -790,7 +790,7 @@ class PatchTargetRule:
parent_hid: tuple[int, ...]

PATCH_TARGET_RULES: dict[IsoRebuildFlags, PatchTargetRule] = {
# IsoRebuildFlags.CUTSCENE_SKIPPER: PatchTargetRule(action='Skip cutscenes', parent_hid=(186,)),
IsoRebuildFlags.CUTSCENE_SKIPPER: PatchTargetRule(action='Skip cutscenes', parent_hid=(186,)),
}

class RebuildCoordinator(QObject):
Expand Down
32 changes: 30 additions & 2 deletions core/handlers/evd_leaf.py
Original file line number Diff line number Diff line change
Expand Up @@ -18468,5 +18468,33 @@ def properties(self) -> str:
f'size: {stats.byte_size} bytes'
)

def skip_cutscenes(self, node: VfsNode) -> None:
raise NotImplementedError('Cutscene skipping is not yet implemented')
def skip_cutscenes(self, node: VfsNode) -> bytes:
keep_heads = {
'event', 'set_value', 'set_flag', 'clear_flag', 'if_value', 'if_flag',
'jump', 'set_game_clock', 'change_inventory', 'trigger', 'branch',
'nop', 'change_map', 'stop_script', 'start_script', 'unless_value',
'change_game_mode_and_flags', 'end_script', 'configure_battle',
'add_battle_character', 'bytes', 'header', 'headerExtra', 'header_extra',
'entry', 'label', 'set_background_visibility', 'load_background', 'start_script_stacked',
'play_fmv', 'play_movie', 'stop_movie'
}
if not self._raw.startswith(EVD_MAGIC):
raise EvdError(f'{node.name} is not an EVD script (expected magic {EVD_MAGIC!r})')
try:
code = decompile_code(self._raw, node.name)
except Exception as e:
raise EvdError(f'Failed to decompile EVD code: {e}')

lines = parse_code(code)
out: list[str] = []
for line in lines:
if line.kind != KIND_COMMAND or line.opens or line.closes:
out.append(line.text)
continue
if line.head in keep_heads:
out.append(line.text)
continue
# logger.debug(f'Skipping {line.text.strip()}')
# out.append(' ' * line.indent + 'nop()')

return compile_code('\n'.join(out) + '\n')
Loading