We used to do this in DOS and early Windows to help applications find common files.
Originally the PATH environment variable was a short list of folders the OS maintains as a list of places to search for files.
Since modifying the OS PATH is a bit bloated it looks like this dev borrowed the concept and will also search for game content in the locations specified, and in your example it'd look at the parent folder .. which in looking at a typical install would have been C:\rFactor2-Dedicated\Bin64\?
So if you added the parent folder to the OS PATH it'd probably do the same thing?
Do this as a temporary test:bash export PATH=$PATH:/path/to/your/game ... and then check it with:bash echo $PATH ... and you should see the equivalent folder path to C:\rFactor2-Dedicated\Bin64\ listed in your path?
Then try the game out to see? 🤔
#Desktop shortcut target edit need help. - RE Linux with WINE shortcut
47 messages · Page 1 of 1 (latest)
That won't make a permanent change to your path, but you could make that permanent if it works fine.
you mean just type this in the terminal then try the shortcut right ? Not to add it to the .desktop right ?
I can't tell if it worked, I assume not. When I move the .exe up one level where the +path-".." is refering to I assume. Then the program starts and sees created content for the server as expected.
But using the shortcut to the .exe in the \Bin64 still does not work and pops up and says I need to install mods so it does not recongnize where it's being run from and cannot recognize the modes in the rFactor3-Dedicated folder etc. So in short path didn't seem to solve
I mean PATH=$PATH
I don't really understand why they did this but makes it hard on linux but I assumed I could just add this in the .desktop execut part or something somehow.
I'd wonder why they are in different paths anyways. I'm so basic I'd either move/copy the files it's looking for or make symlinks to save space vs. fuss with the path stuff.
If you symlink all the extra files then they would look accessible in both folders? Job done. 😛
I don't know why, basically they have the rFactor Dedicated.exe file in the C:\rFactor-Dedicated\Bin64 folder that is the location. So I'm assuming (..) means to include /rFactor-dedicated folder but then why bother running it there and not just copy the thing to the rfactor-dedicated folder and run it there ?
Is there some reason it even needs to be in the /Bin64 ? Does it need something from both folders ? Is that why ?
I really don't get the specifics and they won't explain it to me.
I used to be so awful as a systems admin.. I'd not only make messes, I'd spend time making one-liners to generate the mess..```bash
for file in *; do [[ ! -e "../$file" ]] && ln -s "$file" ..; done
when steamcmd +update runs that's where it goes to. So perhaps if an update is done then that gets updated but I see no other reason for it to be there unless it needs both folders info etc. In fact they tell me the target needs changing even if run directly from the native location too which makes no sense.
what does this do exactly ? thanks
For all the files in the current directory, if they don't exist in the parent directory .., run an ln -s command (symlink) on each file between this directory and the parent directory.
I mean is there something I can add to the .desktop shortcut that would do the same thing as adding +path-(..) to the end of the target like they want me to do on windows ?
I would hunt down someone who loves to use Gnome or whatever you're running?
Thanks, sadly the steam valve method to just install steamcmd on linux doesn't work becaue it's not 32bit programs server anymore it's mixed. so it's why I installed PlayOnLinux cause it just works, but still prefer a more install wine and boom done method.
Actually I might have the logic backwards.. It may need to find all the parent files in the child folder? Either way symlinks might force it work? LOL
I think adding symlink is worth a try anyhow.
I was considering breaking my balls to get a Windows-only steamcmd server running, but then I realized I can just install Windows 10 on a VM and never activate it. So far so good? The only hiccup is I cannot run two copies of the VM on the same LAN.
Yep same , and windows 10 on VM takes a million years to install in seams compared to linux. I mess with installing VM's to mess around and could install so many of them by the time windows would even complete While telling me We are still working on setting up your stuff, Please wait don't turn off your computer, We are working hard to set things up etc. So stupid.
Yeah if you can get it working find from the shell you're probably going to get it working with a shortcut.
I'm getting too old to fuss about and I have the spare RAM that having it in a VM is a good trade off where I can appreciate the added flexibillity.
I see, I'm just hobby stuff though and cheap old poweredge server mostly a toy and games.
Too many people were urging me to try out Proxmox, and while I normally LOATHE learning someone's graphical mess, I gotta say this is one of the nicest FREE ways to manage a pile of VMs.
I love that I can deploy HTML/JS/CSS skills to mod the interface and hack in custom features like CPU core temp displays.
I did get rfactor server to install with steamcmd on wine but the main subject is that it can't be pure wine i386 that won't work it has to be the mix with syswow64 and mono windows version is the key. Somehow PlayOnLinux has it working smooth
I think because it's both 32bit and 64bit due to linux being 64bit only it's the problem and all these workarounds to use some windows stuff that has use of both patched stuff at least that's the vague description I'm understanding mostly
I don't want to be an evangelist or anything, there's a ton of gotchas, but Proxmox makes things so easy I'm tempted to put a slimmed down version of my server hardware into my parents' basement and run it as a slave off mine so they have a local terminal server instead of relying on the temperamental satellite internet.
or something like that like 64bit game that also still uses some 32bit libraries etc.
ugg sat internet
sounds painful
Yeah they finally got on Starlink, so it's not as bad as it used to, but they are in a valley with a nasty treeline on the Eastern ridge that screws them for coverage.
hmmm I heard it's pretty fast though at least people I talked to be not in valley or anything.
I tried to get it here but not available here yet for some reason
and not cheap yet.
The previous sat company was overpriced and had crazy caps, so when the parents COULD get good speeds they'd rapidly hit caps and artificial throttles? Ooof! And with the TV packages they were paying $145 a month at one point!?!
yep TV so expensive and in near cities like $200 for anything with any packages around here crazy $180 about for cheapest even sat stuff.
Oh sorry they actually had months that hit $215 and $185 was the usual "bad bill". They got a bunch of credit at one point when it turned out they'd been illegally breaking a rule for subscriber billing rates.
Either way, even the Starlink prices/speeds were amazing for them. LOL
Hope someone chimes in on Gnome desktop would hope to just add the path to the shortcut but I don't know how windows does it when you include it in the target I can't even read anything about +path= in a shortcut target for windows. I don't really know what it's actually doing
wow rule breaking penalties. these companies are so lame. I recall customers were always right days.
You need to poke someone like @lusty flame who loves to nerd out about GUI stuff vs. the old-as-dirt shell command heroes.
call complain gets some credits and boom thanks for your business and hang up etc.
lol
There might even be a tag for people who follow specific discussions but gnome desktop might be too obscure a topic? Hmm.. 🤔