.Ink file editing

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Setlec
Newbie
Newbie
Posts: 4
Joined: Wed Jul 22, 2009 12:34 am

.Ink file editing

Post by Setlec »

I'm trying to edit an*.Ink of a mod of LotR:BfME2 RoWK but i can't make it work here is a copy of what i'm trying to do:

windows normal link:

Code: Select all

"C:\Program Files\Electronic Arts\The Lord of the Rings, The Rise of the Witch-king\lotrbfme2ep1.exe" -mod "C:\RJ_RotWK_1_06"
the game is installed in

Code: Select all

/home/setlec/.wine/drive_c/Program Files/Electronic Arts/The Lord of the Rings, The Rise of the Witch-king/
the mod is installed in

Code: Select all

/home/setlec/.wine/drive_c/rj_rotwk_1_06
i've tried this

Code: Select all

env WINEPREFIX="/home/setlec/.wine" wine "C:\Program Files\Electronic Arts\The Lord of the Rings, The Rise of the Witch-king\lotrbfme2ep1.exe"  -mod "C:\RJ_RotWK_1_06"
but didn't work with the desktop shortcut created in the default instalation...
on the provided *.ink file of the mod (on gnome) i've set as default opening software the game executor itself, normal game was loaded and not the mod.

Any thoughts?

PS:Also i've tried to edit it as TXT file but can't open the file at all.
Soulcage
Level 3
Level 3
Posts: 67
Joined: Tue Jun 16, 2009 4:02 am

Post by Soulcage »

try in a terminal:
gedit ~/Desktop/LOTR.desktop
then copy from another shortcut, changing what's needed.
Setlec
Newbie
Newbie
Posts: 4
Joined: Wed Jul 22, 2009 12:34 am

Post by Setlec »

i've tried that but nothing worked...

Code: Select all

[Desktop Entry]
Name=RJ-RoWK
Exec=env WINEPREFIX="/home/setlec/.wine" wine "C:\\Program Files\\Electronic Arts\\The Lord of the Rings, The Rise of the Witch-king\\lotrbfme2ep1.exe" -mod "C:\\rj_rotwk_1_06"  
Type=Application
StartupNotify=true
Path=/home/setlec/.wine/dosdevices/c:/rj_rotwk_1_06
Icon=/home/setlec/.local/share/icons/40bb_lotricon.0.png
Name[en_US]=RJ-Rowk
then i've tried this

Code: Select all

[Desktop Entry]
Name=RJ-RoWK
Exec=env WINEPREFIX="/home/setlec/.wine" wine "C:\\Program Files\\Electronic Arts\\The Lord of the Rings, The Rise of the Witch-king\\lotrbfme2ep1.exe" -mod "C:\\rj_rotwk_1_06"  
Type=Application
StartupNotify=true
Path=/home/setlec/.wine/drive_c/rj_rotwk_1_06
Icon=/home/setlec/.local/share/icons/40bb_lotricon.0.png
Name[en_US]=RJ-Rowk
but only the normal game was loaded...
Setlec
Newbie
Newbie
Posts: 4
Joined: Wed Jul 22, 2009 12:34 am

Post by Setlec »

there is a *.lnk file provided but i can't edit at all with wine. and i don't know what to do. wasn't a file explorer with wine?
Setlec
Newbie
Newbie
Posts: 4
Joined: Wed Jul 22, 2009 12:34 am

Post by Setlec »

ignore my previous post. I've found the file manager in wine i've tried to use the proprieties in order to change whatever needs to be changed in the *.LNK but can't load the proprieties window...
Soulcage
Level 3
Level 3
Posts: 67
Joined: Tue Jun 16, 2009 4:02 am

Post by Soulcage »

1. Have you tryied running from a terminal? type in: cd ~/.wine/drive_c/Program\ Files/Electronic\ Arts/The\ Lord\ of\ the\ Rings,\ The\ Rise\ of\ the\ Witch-king && wine lotrbfme2ep1.exe -mod ~/.wine/drive_c/rj_rotwk_1_06

2. Try using notepad. Type in a terminal wine ~/location/notepad file.lnk
Soulcage
Level 3
Level 3
Posts: 67
Joined: Tue Jun 16, 2009 4:02 am

Post by Soulcage »

i meant: wine notepad ~/location/notepad file.lnk
Locked