#Counter-Strike 1.6

1 messages · Page 1 of 1 (latest)

tawdry fern
#

Hi! I’ve opened a PR for a new port and am sharing it here for testing.

Port: Counter-Strike 1.6 (GoldSrc)
Target devices: R36S / K36-class (ArkOS-based)

Tested by me on:

  • R36S clone
  • ArkOS4Clone

Notes:

  • Uses original Half-Life / Counter-Strike game data
  • Controls are currently configured via userconfig.cfg

Happy to provide logs or make fixes if anything comes up.
Thanks!

CFW Tests:
[x] AmberELEC
[x] ArkOS
[x] MuOS
[x] ROCKNIX
-> [x] Panfrost
-> [x] Libmali
-> [ ] Adreno (Optional)
[x] Knulli (Optional)

Resolutions:
[] 480x320 (Optional)
[x] 640x480
[] 720x720 (RGB30) (Optional)
[] Higher resolutions (e.g., 1280 x 720)

Installation

  1. Install this port via the autoinstall tool
    ( Copy the zip above to ports/autoinstall and then open PortMaster)

  2. Buy the game on steam https://store.steampowered.com/app/10/CounterStrike/

  3. Copy your valve folder into:

    /roms/ports/counter-strike/valve
    
  4. Copy your cstrike folder into:

    /roms/ports/counter-strike/cstrike
    
  5. Do not overwrite existing port files when copying game data.
    If prompted, choose Skip / Keep existing files.

  6. Launch Counter-Strike from PortMaster.

solid sable
#

Also instructions on how to install it?

#

If the testing is done then we can accept your PR

silent hound
#

Nice. This uses Xash right?

solid sable
tawdry fern
#

i've updated the post with install instructions

silent hound
#

<@&1216123318122577972>

tawdry fern
#

yes, it uses xash3d

solid sable
#

Installation
Install this port via the autoinstall tool
( Copy the zip above to ports/autoinstall and then open PortMaster)

Buy the game on steam https://store.steampowered.com/app/10/CounterStrike/

Copy your valve folder into:
/roms/ports/counter-strike/valve

Copy your cstrike folder into:
/roms/ports/counter-strike/cstrike

Do not overwrite existing port files when copying game data.
If prompted, choose Skip / Keep existing files.

I would say use that so people know where to buy the game and know how to install the port

tawdry fern
#

i don't see a way in discord to update the above zip, here is the zip with the install instructions.

trim aurora
#

Works on trimui smart pro perfectly 👍
(Firmware muOS)

solid sable
compact plaza
#

Woah this is cool, I'll have to give it a go when I get some time

compact flame
#

RG34XXSP MuOS ✅

obsidian canyon
tawdry fern
# obsidian canyon Offline or online?

Currently the default is offline "play with bots" but you can enable the "play online" menu option in userconfig.cfg ... i dont currently have a way to test "play online" (i dont have a wifi adapter/multiple devices) but this thread on reddit said online/lan worked. https://www.reddit.com/r/R36S/comments/1q9k8ca/cs_16_onlinelan/?share_id=7EcYbiFDFOFpqy005Egjr&utm_content=1&utm_medium=android_app&utm_name=androidcss&utm_source=share&utm_term=1

Reddit

Explore this post and more from the R36S community

short fractal
#

I assume this doesnt connect to official cs 1.6 server, or does it?

obsidian forge
#

r36s doesn't have Wi-Fi actually it need dangle which is inconvenient

tawdry fern
#

Unfortunately, there is limited buttons on the r36s, but the d-pad is mapped to slots 1-4 and the back/select is slot10 (cancel), left stick click is buy menu... this is documented in the readme... controls are also currently adjusted in the userconfig.cfg... i am working on a radial menu to address this button limitation but it is not ready yet

tawdry fern
short fractal
#

well I am largely unaware how the cs1.6 servers work these days, but would not there be a problem with a lack of anticheat on the client side?

#

anyway ✅ X55 Rocknix (both libmali and panfrost driver)

tawdry fern
short fractal
#

I would probably just make a disclaimer in the readme and its gonna be fine

short fractal
#

✅ R36xx Amberelec

unkempt tinsel
#

I ran some tests on my R36S:

✅ ArkOS K36
✅ dArkOS
✅ Rocknix (libmali and panfrost)

Online mode seems to work well with the Wi-Fi dongle

nimble tundra
#

tried it on RG35xx H with muos, works perfectly

solid sable
compact flame
short fractal
#

he means in general.

compact flame
trim aurora
compact flame
#

Everytime I've played, theres nobody around. Not even bots.

tawdry fern
obsidian canyon
#

the bot are so good bruh

tawdry fern
#

lol yea, i probably need to default the difficulty to something easier but this can be adjusted in yapb.cfg 's yb_difficulty "3" ... or you should be able to just add yb_difficulty "3" to userconfig.cfg & override the yapb.cfg setting

#

*it's currently at yb_difficulty "3" (4 being the hardest, 3 was yapb's default)

obsidian canyon
#

i think i should set to 1 or 2

primal kiln
#

MLG era og bots 😂

It found about 10 servers for me, 6 of which were with people and actually playable. It even found a zombie server and downloaded the missing files.

The problem is the server search menu itself, because the settings (order, map type, number of players, etc.) seem to change on their own.

compact flame
#

So just find that liblist.gam file and replace it with the one that's in the original zip you posted?

tawdry fern
rare meadow
#

holy shit dude

#

you actually did it

#

this is so well done

#

condition zero?

tawdry fern
tawdry fern
obsidian canyon
#

i have test both 1.6 and cz

tawdry fern
#

There's currently no plans to support deleted scenes

gusty sluice
#

Also works with muOS Pixie on RG35XX-H

gusty sluice
obsidian canyon
obsidian canyon
#

But 1.6 and cz just look the same

gusty sluice
#

yeah... now the next part, metamod, amxx etc :))

#

i will test it today to see how it works, this is really woow

#

i see that it uses rehlds, nice

compact flame
#

i cant figur eout how to select team at the beginning of a game. pressing up is selects somethign for me but i cant go down to the options that are numbered 1-6

#

i cant enter the server list either to choose a MAP

#

it just stuck on random map and no mater which way i press my dpad, it just cycles through Adv. Options, Ok, and Cancel

#

aaaahhh i see now press down multiple tiomes ot get to it

#

but i still dont understand selecting team and appearance at the begiining

#

nothign higlights. it just selects somethign for me when i press the d psd in certian directions

#

but even selecitng a different map like supply station by Cryptrr or Dust by Johsnon, there is still nobody in the map with me. its just me running around alone. im connected to wifi

tawdry fern
tawdry fern
# compact flame files there. dunno why i dont see any bots. hm

you do not need to be connected to wifi to play with bots ... the files in the port zip should already be configured this way but you'll want to make sure that in cstrike/liblist.gam ... you have a line like this gamedll_linux "addons/yapb/bin/yapb.so" then you also have a cstrike/addons/yapb directory that contains a bin, conf, & data directories ... then in the cstrike/userconfig.cfg near the top there is exec addons/yapb/conf/yapb.cfg

#

*there is a liblist.gam file inside ports/counter-strike/valve (not included in the port zip but part of the game files copied here) too but this one is fine to leave as is, it's the one in ports/counter-strike/cstrike that you need to check

gusty sluice
#

also in the .sh i have modified the -game cstrike to -game czero

#

Also deleted scenes has the option Play with Bots unavailable

compact flame
compact flame
compact flame
tawdry fern
compact flame
gusty sluice
tawdry fern
obsidian canyon
compact flame
compact flame
#

NVM. Making those changes fixed it!

#

That really felt like i was online.

#

Wow

#

How is your name assigned? Randomly generated?

gusty sluice
compact flame
#

How do you know if it is a real online game? Do the bots put stuff in the chat?

gusty sluice
#

Also i could not find any Metamod that works on arm64... i tried metamod-r, metamod-p etc...

#

i want to play some respawn using metamod and amxmodx, also it needs some auto-aim, playing with a controller cs it's like trying to headshot a bird in the sky while you are half blind :))

tawdry fern
gusty sluice
#

ReGameDLL_CS is fully compatible with official mod CS 1.6 / CZero by Valve. All you have to do is to download binaries and replace original mp.dll/cs.so

#

anyway, i will test tomorrow more, it is really awesome but... it really needs some auto-aim, playing on a tiny screen is not that fun, i keep getting my ass served and i was playing for about 4h or so...

#

you can lower the difficulty of the bots but... then it feels like playing catch the rabbit =))

tawdry fern
#

Updated counter-strike.zip
Refactored launcher to use pm_start/pm_finish and pm_message, removing legacy boilerplate per review feedback.
No gameplay or data changes. @solid sable for vis

primal kiln
#

Should i reinstall with this files?

tawdry fern
#

Yes, please reinstall with the updated zip.
Launcher update only, no gameplay or data changes.

wooden topaz
#

@tawdry fern FYI this is working great for me, Knulli on an RGCubeXX, plays 720x720 native resolution automatically with no issues and I was able to edit controls via the usercfg to my liking

#

only thing you might want to know, your newest zip wouldn't install for me - portmaster gives an error that it's not meant for my device - but when I switched to the older zip it worked fine... no idea why

short fractal
#

"reqs": [
"1_analog"

maybe this doesnt work as it should

tough folio
# wooden topaz only thing you might want to know, your newest zip wouldn't install for me - por...

Yo, I noticed you have to press B on that screen to install anyway (If you didn't already know that), instead of A, and it's working fine on my RG34XXSP with the latest muos. I'm surprised it isn't like X or Y or something because a lot of people are configured so that they skip it with what's usually a confirm button and would accept it by what's usually the cancel/back button. Working on trying to get the bots going right now.

tough folio
#

Is it sad I turned their difficulty down all the way and still can't take one down. I swear they take me down the literal second I'm in line of sight.

slim pilot
#

Won’t this game require 2 analog sticks though?

short fractal
#

and frankly, should not this be analog_2?

slim pilot
#

Haha same thoughts exactly

#

The irony is I played lan CS so much I don’t have it on my steam account :/

#

Haha shall it get it on a sale

fluid grotto
#

wtaf

tawdry fern
#

Thanks for the feedback, ill look into this & update port.json to analog_2 ... ill post an updated zip when its ready

tawdry fern
#

hey, here is the updated zip with port.json changed to analog_2 ... i also made a small update to the launcher. @solid sable for vis

acoustic tinsel
#

Is there any way to reduce the difficulty level of the bots?

tough folio
tawdry fern
#

In a hopefully near future release, the bot configuration will just be done through the menus but for now....

Primary config file:

/roms/ports/counter-strike/cstrike/addons/yapb/conf/yapb.cfg

Common options:

  • yapb_quota — number of bots
  • yapb_difficulty — skill level (0–4)
  • yapb_autovacate — remove bots when humans join
tawdry fern
wooden topaz
#

I made a few other tweaks... I usually like L2 for reload for example. Hold on a sec and I'll copy what I did.

#

bind "LTRIGGER" "+reload"
bind "RTRIGGER" "+attack"

bind "A_BUTTON" "+use"
bind "B_BUTTON" "buyammo1; buyammo2"
bind "X_BUTTON" "+attack2"
bind "Y_BUTTON" "+jump"

bind "L1_BUTTON" "+speed"
bind "R1_BUTTON" "+duck"

shut drift
#

Hi, i am failing to launch either bot game or online. It loads for a second then back to menu.

Any help would be appreciated

I am using rg35xxh with knulli

acoustic tinsel
shut drift
#

I dont believe so. i skipped replacing them. How many of those files were there ? 2?

sterile jolt
#

Is project broken on Knulli?

tough folio
sterile jolt
#

👍

#

I will be testing playability on rg35xxh

tough folio
sterile jolt
#

Yea

#

Also, do i just use newest version of counter strike 1 from steam?

shut drift
#

Yes still requiring help

sterile jolt
#

hold on i will try it on my rg35xxh to see if it can run properly on knulli

sterile jolt
#

Confirmed to be working on RG35XXH Cfw Knulli

sterile jolt
#

@shut drift I would be willing to help if you still need the assistance

shut drift
#

I am going to try re install steam files..

sterile jolt
#

i can share my installation of the port confirmed working if you want

shut drift
#

Ok thank you

sterile jolt
#

Im gonna make a google drive link and send it to you so check your dms soon

tepid wraith
sterile jolt
#

Yeah sure

tawdry fern
#

if you're still having issues... there should be a session.log, if you can provide that to me i can take a look later & let you know what i think is happening

sterile jolt
stone yacht
#

nice, does it support online ?

stone yacht
#

yeah it doesn't work good with mine i cant start a new server with bots because i cant name the server which is required also why does it show the half-life cover and not the cs 1.6 one

stone yacht
#

i cant start on becuse i dont have a usb keyboard

tawdry fern
#

did you copy both the valve & cstrike directories ?

stone yacht
stone yacht
compact flame
#

Why is this labeled as Ready To Run on the PM website if you have to include your own files to play it?

tawdry fern
stone yacht
compact flame
#

Reccomend stable

stone yacht
#

or nah ill stay on rocknix

#

i mean nightly

compact flame
stone yacht
stone yacht
#

or no i still run a test version of the game from discord myba a full portmaster version might help

tawdry fern
stone yacht
#

2 GB of LPDDR4X RAM why? it can run half-life 1 + opposing force and blue shift

tawdry fern
stone yacht
#

so anymore ideas of how to fix my game ?

tawdry fern
solid sable
#

Rocknix Panfrost only got GLES3.1 maybe that's a problem

sterile flame
#

I've already been informed about the root cause of the problem; crossmix-os uses "ash". I'm just envious that you're aware of it, no need to reply or anything. Thank you for your progress.

blazing lotus
#

So the statement is still valid, supported cfw to get proper support

stone yacht
stone yacht
north parcel
tawdry fern
north parcel
full blade
#

/crossmix

stuck meteorBOT
#

Crossmix is not supported due to a multitude of issues. For more info on the details, see: #💡|porting-talk message
For better port support, please switch to a supported custom firmare, such as Knulli or muOS.

chrome saddle
#

Hey everyone! A huge thank you to the author of this port, @tawdry fern! On my $50 Anbernic RG40XX-H, the game runs just great (a stable 70-100 fps, compared to 17-20 in Jedi Academy 😅 ). This might be a stupid question, but how do I buy sniper rifles or body armor, for example? And how do I drop weapons? I haven't figured it out. Most likely, there's no way; there just aren't enough keys 🥲

obsidian forge
#

Yeah no Num 5 key no O key, bot shoot me on sight I am devastated

chrome saddle
obsidian forge
chrome saddle
pale pawn
#

Is there a way to setup Zbot somehow?

tawdry fern