The forum

Combat Arms Script

Not Finished

Author Replies
AmaturePenguin Saturday 12 December 2009 at 1:59

Hello. I've been trying to make a combat arms script ( and naturally, I would like some help. It's supposed to download the installer, install the game, and then let you put a shortcut where you want. (Yes it does make a prefix). If you see anything that's wrong with what it is supposed to do, please inform me. Remember: It downloads installer and then installs it. Here is where I have gotten so far:

#Wine version: 1.1.34
#Link to combat arms image is:
if [ "$PLAYONLINUX" = "" ]
exit 0
source "$PLAYONLINUX/lib/sources"


POL_SetupWindow_presentation "Combat Arms" "Nexon" "" "Bilal Itani" "CAV.33"

select_prefixe "$REPERTOIRE/wineprefix/CAV.33"

Set_GLSL "On"
Set_WineVersion_Session "1.1.34"
cd "$REPERTOIRE/wineprefix/CAV.33/drive_c/"
POL_SetupWindow_download "Downloading Combat Arms..." "Downloading Combat Arms..." ""
POL_SetupWindow_wait_next_signal "Installation in progress..." "Combat Arms"
wine "$REPERTOIRE/wineprefix/CAV.33/drive_c/CombatArmsDownloaderV33.exe"

POL_SetupWindow_make_shortcut "CAV.33" "Nexon/Combat Arms" "CombatArms.exe" "" "Combat Arms"


Thanks for your help. ;-)

Edited by AmaturePenguin

NSLW Saturday 12 December 2009 at 12:15

1) POL V2 functions shouldn't be here
2) wrong heading
3) GLSL is default set to on
4) You use Wine 1.1.34 not having it
5) cfg_check is deprecated

The best would be to look at other scripts and write your own script very alike.
AmaturePenguin Saturday 12 December 2009 at 15:35

Well, It seems to be downloading the downloader as opposed to downloading the downloader, then downloading the setup, and then intalling the game. I don't really know how to do that, and all the official scripts don't have anything like this. Do you think I should just make a script for getting the downloader and downloading and another for installing?

Also, you mean I should remove CFG check?

Edited by AmaturePenguin