programs icon indicating copy to clipboard operation
programs copied to clipboard

Unsure how to run SakunaTools in Bottles

Open ghost opened this issue 1 year ago • 6 comments

SakunaTools is used to edit .arc files from the game Sakuna: Of Rice and Ruin, I added it to Bottles but not sure how to run the actual executable.

You can either drag and drop .arc files on to it but also run it manually with commands, I'm not sure how this works with Bottles. I read the documentation and it doesn't seem to account for an instance like this since normally you'll launch a program with a GUI.

ghost avatar Jul 14 '22 10:07 ghost

  1. make a bottle
  2. open the bottle
  3. if the program
  4. (if the executable is an installer) press "Run Executable", the big blue button on top and pick the installer and follow the procedure, it should be appear in the "Programs" view, if not .. 4.1. just press the "+" button and add it manually pointing to the executable
  5. (if not an installer) press the 3 dots icon on top, then "Browse Files" and put the executable with all its files inside, then press the "Run Executable" button, pick the executable you just copied and follow point 4.1

if nothing appear or crash or anything else, check on WineDB

mirkobrombin avatar Jul 14 '22 12:07 mirkobrombin

Sorry if I was unclear but I've done all that. The problem is the executable has no GUI, on Windows you either drag and drop an .arc file on to it and it automatically decompress and compress files or run it through the command promt. If I "run" it, it does nothing.

ghost avatar Jul 14 '22 12:07 ghost

Ah I think this is not possible with Wine or Bottles. It may have cli support so that you can use form the command line

mirkobrombin avatar Jul 14 '22 12:07 mirkobrombin

Not sure if I'm doing it correctly but I got this in my terminal flatpak run com.usebottles.bottles -b Sakuna Of Rice and Ruin -e '/home/metabox/Games/Sakuna Of Rice and Ruin/win-x64/SakunaTools.exe'

The readme for SakunaTools says it's commands are SakunaTools.exe <input> <output> [-o|--overwrite] [--switch]

I tried flatpak run com.usebottles.bottles -b Sakuna Of Rice and Ruin -e '/home/metabox/Games/Sakuna Of Rice and Ruin/win-x64/SakunaTools.exe' '/home/metabox/Games/Sakuna Of Rice and Ruin/win-x64/Text2.arc' but nothing happens.

I did try that again but with an output path such as flatpak run com.usebottles.bottles -b Sakuna Of Rice and Ruin -e '/home/metabox/Games/Sakuna Of Rice and Ruin/win-x64/SakunaTools.exe' '/home/metabox/Games/Sakuna Of Rice and Ruin/win-x64/Text2.arc' '/home/metabox/Games/Sakuna Of Rice and Ruin/win-x64/Text2/' but nothing happened either.

I can upload an .arc if you want to confirm.

ghost avatar Jul 14 '22 12:07 ghost

use the bottles-cli instead https://docs.usebottles.com/advanced/cli#run

mirkobrombin avatar Jul 14 '22 12:07 mirkobrombin

For some reason I recieve Bottle Sakuna Of Rice and Ruin not found when I input in to the terminal flatpak run --command=bottles-cli com.usebottles.bottles run -b 'Sakuna Of Rice and Ruin'

If I input flatpak run --command=bottles-cli com.usebottles.bottles run -b Sakuna Of Rice and Ruin I would get this issue bottles-cli: error: unrecognized arguments: Of Rice and Ruin

EDIT: Installed the aur version of bottles, flatpak always gives me trouble.

This is what I have in my terminal bottles-cli run -b 'Sakuna Of Rice and Ruin' -e '/home/metabox/Games/Sakuna Of Rice and Ruin/win-x64/SakunaTools.exe' -a '/home/metabox/Games/Sakuna Of Rice and Ruin/win-x64/Text2.arc' '/home/metabox/Games/Sakuna Of Rice and Ruin/win-x64/Text2' mirroring the commands on windows SakunaTools.exe <input> <output> but I get this error bottles-cli: error: unrecognized arguments: Text2.

ghost avatar Jul 14 '22 12:07 ghost