Posts: 69
Threads: 10
Joined: Oct 2011
Thanks: 0
Given 0 thank(s) in 0 post(s)
Hi-
I was just wondering how to make AssaultCube portable, so that you can put it on a USB drive and play it anywhere. My main issue is the OpenAL... if the computer doesn't have it installed, you can't play it. Is there a way to move the DLL file to a different location and point the game to it? Thanks in advance.
Posts: 178
Threads: 4
Joined: Dec 2011
Thanks: 0
Given 0 thank(s) in 0 post(s)
1) I have no idea about how to do this but very interesting idea, i would probably use it if it was created
2) i would suggest to post this thread in the help section, not in the general one
3) hope you find the solution
Posts: 1,331
Threads: 44
Joined: Jun 2010
Thanks: 13
Given 10 thank(s) in 8 post(s)
I don't think you can force AC to look for the OpenAL DLL in a different directory without modifying the source yourself. Though, it might not be a bad idea for us to allow that in future versions, possibly via a client command line switch.
Posts: 1,436
Threads: 7
Joined: Jun 2010
Thanks: 0
Given 3 thank(s) in 2 post(s)
14 Sep 12, 11:25PM
(This post was last modified: 14 Sep 12, 11:26PM by tempest.)
Actually, the only thing you have to do is modify the launcher script. E.g. in assaultcube.bat:
start bin_win32\ac_client.exe "--home=data" --init %1 %2 %3 %4 %5
should put all the stuff into a new directory named "data" within the main AC directory. The server should need no modifications at all.
As for the DLL, it might work if you just drop it into bin_win32.
Posts: 61
Threads: 7
Joined: Sep 2011
Thanks: 0
Given 1 thank(s) in 1 post(s)
You can use the win.rar to create an SFX, fill in the parameters correctly, example: Way to extract and assaultcbe.bat to run after the extraction is very simple and I already used it a few times.
Posts: 1,718
Threads: 169
Joined: Jun 2010
Thanks: 0
Given 1 thank(s) in 1 post(s)
its easy...
Find Assaultcube - BinWin32 - oalinst - double click
Thats how i did it, takes like a nonsecond to install.
Posts: 69
Threads: 10
Joined: Oct 2011
Thanks: 0
Given 0 thank(s) in 0 post(s)
I didn't realize that the OpenAl32 file was already in the bin_win32 folder. I deleted the "RemoveThisPart..." so hopefully it will work next time I try it.
Posts: 3,780
Threads: 33
Joined: Jun 2010
Thanks: 0
Given 7 thank(s) in 6 post(s)
"DbgHelp_RemoveThisPartIfOnWin98" or "openal32_RemoveThisPartToUseOpenAL-Soft"? :S
Posts: 69
Threads: 10
Joined: Oct 2011
Thanks: 0
Given 0 thank(s) in 0 post(s)
It didn't work. I am going to try the portable version from PortableApps and see if that works. It works on my laptop, but then again, so does the standard version.
Posts: 533
Threads: 33
Joined: Jun 2010
Thanks: 0
Given 1 thank(s) in 1 post(s)
If you give me some time, I´ll look into that, okay?
Posts: 69
Threads: 10
Joined: Oct 2011
Thanks: 0
Given 0 thank(s) in 0 post(s)
Perhaps another problem is that command prompt is disabled by the administrator of the network. Should that affect it?
Posts: 533
Threads: 33
Joined: Jun 2010
Thanks: 0
Given 1 thank(s) in 1 post(s)
Well, PortableApps is a good way of distribute this game :)
Others should follow as well.
Posts: 533
Threads: 33
Joined: Jun 2010
Thanks: 0
Given 1 thank(s) in 1 post(s)
PortableApps got openal in the bin-directory, so it´s working ;)