Forum

[Script] Combat Arms

This script does NOT work yet. Needs some work

Författare Svar
Ronin DUSETTE Monday 18 March 2013 at 21:44
Ronin DUSETTE

Ok, so this script installs everything just fine. It throws an error when the patcher starts before launching the game, but the patcher DOES finish.

The problem that I am having is that when HackShield starts running (it stops hackers from messing with online play), it goes to 100% with no errors, and then crashes. Im guessing this is probably the only thing stopping this game from running.

This is a FREE to play game Its actually really good for a free, online FPS. It can be downloaded here:

http://combatarms.nexon.net/


#!/bin/bash
# Date : (2013-03-18)
# Last revision : (2013-03-18)
# Distribution used to test : Kubuntu 12.04 LTS 64-bit
# Author : DJYoshaBYD
# Licence : GPLv3
# PlayOnLinux: 4.1.9
 
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
PREFIX="CombatArms"
WINEVERSION="1.5.25"
TITLE="Combat Arms"
 
#Initialization
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_RequiredVersion "4.1.9" || POL_Debug_Fatal "$APPLICATION_TITLE 4.1.9 is required to install $TITLE"
 
POL_Debug_Init
 
# Presentation
POL_SetupWindow_presentation "$TITLE" "Nexon" "http://combatarms.nexon.net" "DJYoshaBYD" "$PREFIX"
 
# Create Prefix
POL_System_SetArch "x86"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
 
#Dependencies
POL_Call POL_Install_vcrun2008
POL_Call POL_Install_ie6
POL_Call POL_Install_wininet
 
# Configuration
Set_OS "win7"
 
# Installation
POL_SetupWindow_browse "$(eval_gettext 'Please select the $TITLE Install file:')" "$TITLE"
POL_Wine_WaitBefore "$TITLE"
GC_DONT_GC=1 POL_Wine "$APP_ANSWER"
POL_Wine_WaitExit "$TITLE"
 
# Create Shortcuts
POL_Shortcut "CombatArms.exe" "$TITLE"
 
POL_SetupWindow_message "$(eval_gettext 'The first time that you run $TITLE, it will patch itself. When the patched opens, it WILL give an error. Click NEXT and disregard this error when the patcher is running. It will finish.')" "$TITLE"
 
POL_SetupWindow_Close
exit 0


Ändrat av RoninDusette


Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
Ronin DUSETTE Monday 18 March 2013 at 21:46
Ronin DUSETTE

If anyone has any ideas, feel free to post them up. Im not too sure how to go about getting hackshield to work.

NOTE: HackShield is NOT a piracy-protection feature, and I is not to be bypassed. The game is free, so piracy is a null point. Its just to protect online experience of gamers like PunkBuster. :)

Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
petch Monday 18 March 2013 at 22:39
petch

Hi DJYoshaBYD,
Given AppDB ratings, I'm not sure it can be made to work:
http://appdb.winehq.org/objectManager.php?sClass=application&iId=7960

There's also so bug reports about Hackshield support in general, like http://bugs.winehq.org/show_bug.cgi?id=4666 that can be worth reading.

By the way DRMs are not always anti-piracy measures, Digital Rights Management "[...] is any technology that inhibits uses of digital content that are not desired or intended by the content provider." https://en.wikipedia.org/wiki/Digital_rights_management
I think this applies here.

At any rate, from a technical point of view they're similar, relying on intricate implementation details of Windows; So they're just as difficult to get to work, beside plain bypass.

Ändrat av petch

Ronin DUSETTE Monday 18 March 2013 at 23:16
Ronin DUSETTE

Hmm. Interesting. I didnt think that would fall into that category. Good to know. Too bad, too. Its a killer FPS for being free. lol

Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
Ronin DUSETTE Monday 18 March 2013 at 23:57
Ronin DUSETTE

Yeah. I wasnt looking to bypass it at all. Im sure there has to be a way to get it to work, although now may not be the time.

From the reading I have done, it operates in userspace PARTLY, and also has a kernel-mode aspect of it, which is probably where its failing. I have also read that it is mainly just verifying system specifications, but I couldnt find too much detail into this. I wonder if there is a way to present our system specs to it, without spoofing them, so that it will "smell what we are cooking", so to speak?

Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts