Overclock.net banner
1 - 7 of 7 Posts

Aiden327

· Registered
Joined
·
358 Posts
Discussion starter · #1 ·
My problem is I can't use .ink files with WINE. The game I am planning to run has a gold rateing and works fine but in order to use mods you add to the end of the .ink -mod=@modname -nosplash - nomap and then the ink will load the mod folder with the game. There are .exe's that work with some mods but not all the modes have exe's.

Is there any way to convert these .inks or at lease tell wine to execute the string on the end of the .exe?

Example.

Exe Target = C:\\programfiles\\operationflashopoint\\operationf lashpointRESITANCE.exe -mod=@ffsx2007 -nosplash -nomap

needs to be converted into an .exe and not an .ink....

Does a converter even exist? I don't have the skills to make my own .exe becuase that would inlcude editing the existing .exe wich may violate copyrights. It was nice of the developers to use the .ink system but sadly linux can't use them.

Google keeps turning up answers related to actual ink and .bat to .exe conversions
Image


Debated on weather to put this under linux or programs. Mods can move it if they need too.

Thanks
Aiden
 
<hairsplit> it's .lnk, not .ink </hairsplit>

There are a few ways of doing it. I would try creating a batch file (.bat) with the command line and parameters, then simply running it. That should do it.

If that doesn't work, you can try creating a launcher for the game, with the parameters.
 
Discussion starter · #3 ·
LOL... The fon't I must be using on kbuntu is not working out great....sorry its .lnk

Ok, what is the easiest way to create a .bat? Thank you for your reply. I also noticed there is something similar to a target in the .exe properties telling wich .exe will load. Do you think that will work or render the .exe useless? I wil back it up ofcourse..
 
Quote:
Ok, what is the easiest way to create a .bat?
Just use the text editor that comes with Kubuntu... or the WINE notepad. Really, any plaintext editor that will allow you to save the file with a BAT extension will work. And all you need to do is have the command line in there, and it should run under WINE just fine.

Quote:
Thank you for your reply. I also noticed there is something similar to a target in the .exe properties telling wich .exe will load. Do you think that will work or render the .exe useless? I wil back it up ofcourse..
.exe's properties... you actually navigated in the folder where the actual exe is? I'm not exactly sure what you mean... you positive you're not viewing the launcer properties or something?
 
Discussion starter · #5 ·
Very Sorry, I should have explained why I needed the inks in the first place and what I was doing before I asked for a converter.

The game operation flashpoint is a striped down civilian version of the military grade combat simulator VBS1(it could be the military simulator DARWARS but they are made by the same manufacture).

The mod adds most of the stuff back in making it the most realistic simulation other than the sequal arma assualt. its a little to real sometimes
Image


There are 4 plain .exe's under the install directory on my windows drive. wich is E:/program files/operationflashpoint/

The 4 exe's are these

RESISTANCE.exe (this is the expansion pack and is what the mods use)

ResistancePrefrences.exe (allows you to edit hidden graphics settings before launching the game)

Operationflashpoint.exe (the original with out the expansion)

FlashpointPrefrences.exe (same as above)

To load a mod you make a folder in the games install directory with the sub folders just like the install location

ex.

@mod and inside is addons,campaigns,missions etc.

To load the mod you must right click on any of the 4 exe's above and make a shortcut, in the shortcuts target line you add -mod="insertmodfolderhere"

The command -nomap stops loading the entire mod into memory wich would cuase major lag if it wasn't and -nosplash skips the intro cutscenes allowing the game to load instantly.

The .ink looks like

Start in: E: \\program files\\codemasters\\operationflashpoint

Target: RESITANCE.exe -mod="modname" -nomap -nosplash

My goal is to turn the .lnk into a .exe so it will work under wine. The game engine is designed to look for the -mod= -nomap and the -nosplash to load advanced features. The -mod= allows for the install of an infinite version of mods without conflicts or modifing the original game and is very inventive and easy to set up under windows.

Im not sure if you can add those commands to the target of an exe without makeing a shortcut. The .bat idea seems like it could work but would the game read the -mod= and -nomap commands im not sure about.

If this is not possible I will go back to windows until I get my new build, the reason im using linux is under windows I must reboot every 5 minutes to maintain a good framerate becuase my pc is dieing. Linux uses 90% less resources and all I would need to do is restart wine to get rid of lag.

Thank you,
Aiden

Edit: Fixed missing \\ marks
 
I don't get it, I've got a feeling I'm missing something... you know that .lnk is just a shortcut and you can't make an executable of one? the "start in"+"target" of the shortcut (.lnk) is basically the command line for starting the program, and the command line will work anywhere wherever standard MS-DOS/cmd command lines are allowed, including batch files. Having the "<programlocation>\\<executable name> -parameter1 -other_parameters" in a batch file and running the batch is virtually the same as using the shortcut with the parameters added to it.
 
Discussion starter · #7 ·
Thank you, that's all I needed to know. All I asked was if the game would read the parameters and I only gave you that explanation because you asked for it. Now I will go find a help file on the structure of a .bat as Ive never made one before
Image


Thank you, sorry for making it so confusing....

-Aiden
 
1 - 7 of 7 Posts