Good night,
The below instructions apply to crossover too, for that you will need to change the path where is the Origin folder. It is somewhere in .cxoffice if I recall correctly.
During the installation you may face an application crash which you will not understand where it comes from even looking at the terminal output for errors. Perhaps in your case Origin is locking out its own folder for writing access as it did for me. To know that, navigate to the following folder at your preferred file browser:
~/.wine/drive_c/Program Files
If it has a locked icon in the "Origin" folder, or at folder properties there is no mention to write access, at the linux terminal do the following:
cd ~ && cd ".wine/drive_c/Program Files"
The && allows for the execution of multiple commands, it is the same as AND.
Run the following command which will keep changing the folder permissions to 755 while being run:
bash
-c 'while [ 0 ]; do chmod 755 Origin; done'
"-c" stands for command
"while[0]" will execute the command until at the terminal window you press Ctrl+C to end it
"do chmod 755 Origin" will change the Origin folder permission to read and write to you (7) and read to groups (5) and others (5).
"done" tells where the code to be executed in loop ends.
Run Origin and you will notice it will not crash during installation at least. After the install is complete end the command above at its terminal window with the said hotkey combination.
Origin will also crash if you have not installed Microsoft corefonts or at least will display ugly fonts. To do that you need to install winetricks using your distro commands. Then at the terminal do:
winetricks corefonts
After the process finish you should have a functional Origin installation.
If your origin keeps crashing, remove your .wine folder or equivalent and do:
winecfg
There set the environment to Windows XP, then use as installer the old windows XP origin from the link below while keeping in mind all the possible issues above:
https://www.dm.origin.com/download/legacy
Regards,
Yuko