Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GNU/Linux scripts and programs are not marked executable #50

Open
kimimaru4000 opened this issue Nov 17, 2020 · 4 comments
Open

GNU/Linux scripts and programs are not marked executable #50

kimimaru4000 opened this issue Nov 17, 2020 · 4 comments

Comments

@kimimaru4000
Copy link

kimimaru4000 commented Nov 17, 2020

The ucon64 and xdelta3 programs in .ezpatch/bin/linux are not marked executable, resulting in a "Permission denied" error upon invoking the script. Furthermore, the unix.sh script in .ezpatch/scripts is not marked executable, causing the drag and drop for linux-drag-here.desktop to not work, since it internally invokes this script.

To fix these issues, these files should be applied executable permissions (Example: chmod +x ucon64) and distributed through a format that can preserve these permissions, such as a tarball (Ex. .tar.gz). File Roller and some other archiving applications can also preserve these permissions through .zip files.

@socceraswishbone
Copy link

socceraswishbone commented Sep 20, 2021

I'm still seeing this issue as of today while patching for the 1.0.0 release. I applied executable permissions to the necessary files as mentioned above with

chmod +x ucon64
chmod +x xdelta3
chmod +x unix.sh

and had called the unix.sh script manually in Terminal, entering the rom path for the %U parameter. Below is the command if calling from within the smashremix1.1.1 directory:

./.ezpatch/scripts/unix.sh "/path/to/rom.z64"

I think that covers the workaround for now. Thanks for documenting this, kimimaru4000.

@leodexe
Copy link

leodexe commented Feb 12, 2022

I followed the above steps but still I cannot patch the ROM in Arch Linux, I always get the message: "Your ROM does not match the developer's original ROM".
But in Windows I can do it effortlessly with the same ROM, so it's not a ROM issue.

@CHJ85
Copy link

CHJ85 commented Feb 18, 2022

@leodexe Use this instead: https://www.hack64.net/tools/patcher.php
I had the same issue here in Manjaro.

@ghost
Copy link

ghost commented Apr 15, 2022

how do you use the patch ? I uploaded both .zip files and it says "Error: unknow patch format"
I used "smashremix1.1.1.zip" and mine, but then for checking only I resorted to an easily available "Super Smash Bros. (USA).zip"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants