English CS2d (PC) on Android (emulator with online)

15 replies
Goto Page
To the start Previous 1 Next To the start
Up
StirlizZ-Fapicon
Super User
Offline Off
Hi, community, I got some progress with launching CS2d via ExaGear.

Currently it working on 9-11 fps but everything else working just fine: Joining online servers, map editor, settings change.

∗ Screenshots are here: ∗
Spoiler >



∗ Installation guide ∗
1. Be sure you have at least Snapdragon 665 or equal CPU
2. Go to THIS video
3. Download Exagear from description of that video (version I used)
4. Download and unpack CS2d into your phone (main folder is Download so make Download/CS2d folder to drop files into)
5. Delete /sfx folder and launch CS2d (working both DX and OpenGL)

^
Following guide is kinda unfinished but you may try it


https://m.youtube.com/watch?v=T1nT7wgrcuo

Sooo, DC, can we have some tips about how to?
edited 10×, last 22.03.21 01:33:19 am
CS2d for ANDROID Discord server is here: https://discord.gg/ww59nvf
08.03.21 11:54:50 am
Up
Gaios
Security Supporter
Offline Off
user StirlizZ-Fapicon has written:
Sooo, DC, can we have some tips about how to?

What do you want from him? You already see all the steps on the video.

Anyway I have run Diablo 2 on my phone via this emulator too.
08.03.21 06:50:23 pm
Up
DC
Admin
Offline Off
I never used that tool and never tried to get any exe file running on Android. Therefore I'm afraid I can't give you any tips on that topic.

Except for the obvious stuff of course.
I wouldn't call that "fully working". It looks like the stuff crashed / is unplayable / runs with ultra low FPS.
Should definitely set map, radar, shadows and light to minimum settings. That should save tons of memory and performance.

The main menu seems to be ultra unresponsive already so I highly doubt that this approach can lead to a proper gaming experience. With a significantly more powerful device maybe? Hard to tell.
edited 1×, last 08.03.21 07:06:13 pm
www.UnrealSoftware.de | www.CS2D.com | www.CarnageContest.com | Use the forum & avoid PMs!
08.03.21 10:37:21 pm
Up
Marcell
Super User
Offline Off
OpenGL would be probably better, maybe Vulkan if there would be any.

Playing CS2D on mobile anyway wouldn't be easy. Even for a top down shooter.

Emulators were never really good unless they were not super supported such as PCSX2 and such.
09.03.21 12:45:31 am
Up
MikuAuahDark
User
Offline Off
I think those are running under software rendering?
file cs2d LuaJIT for Dedicated Server (12) JIT POWER! | Know your Lua errors! | Part of LÖVE development team since 11.3
16.03.21 01:54:48 am
Up
StirlizZ-Fapicon
Super User
Offline Off
@user DC: I tried it myself and failed at the same point - when loading final sounds it drops with standard error of access violation. Can you tell me in which order sounds are loading so I can understand which file causes game to crash.

My goal is to fully adapt the game itself working for mobile devices. At least these using Android ones.
CS2d for ANDROID Discord server is here: https://discord.gg/ww59nvf
16.03.21 02:30:06 am
Up
You went from recreating CS2D into emulating it?
You do know most devices won't be able to handle a "proper experience" for CS2D, and even if they did, it won't be fun without the proper essentials.

Good luck though, it's cool, but not practical.
fish
16.03.21 12:16:19 pm
Up
StirlizZ-Fapicon
Super User
Offline Off
@user Mami Tomoe: I`m a graphic designer, not a coder, as long I dont have a proper coder I can`t port this gameplay to android by myself. So I seek for another possibility. Emulating seems to be a good idea.
CS2d for ANDROID Discord server is here: https://discord.gg/ww59nvf
16.03.21 09:12:20 pm
Up
DC
Admin
Offline Off
@user StirlizZ-Fapicon: Not sure anymore but I think sounds are optional. Just delete them all and try again?

This is not a good idea. As said before: Performance will be horrible and controls as well. It will most likely crash after seconds of playing if you even manage to play. Just like it did for the guy in the video. That guy had to press a button 100 times to make it work once... zero responsiveness.

Your attempts in this direction are most likely nothing but waste of time.
www.UnrealSoftware.de | www.CS2D.com | www.CarnageContest.com | Use the forum & avoid PMs!
16.03.21 10:44:32 pm
Up
StirlizZ-Fapicon
Super User
Offline Off
@user DC: I kinda tried some moves in there, looks like it can normally load simple map without barrages of sprites on smooth 30-40 fps.

Sounds are optional already seems to be a good tip. I will delete whole folder to see if it works.

My only wish is to see this game shine again. Moving to portable platforms is the answer, as I see it.
CS2d for ANDROID Discord server is here: https://discord.gg/ww59nvf
17.03.21 09:59:47 pm
Up
@user StirlizZ-Fapicon: ExaGear is a paid product, you are encouraging users to pirate it.
Though it's off the PlayStore, but I don't think that means it's free.

Also it works fine for me, without any modifications to the game (such as removing the SFX).
edited 1×, last 17.03.21 10:35:03 pm
fish
17.03.21 11:02:01 pm
Up
StirlizZ-Fapicon
Super User
Offline Off
@user Mami Tomoe: Which version you tried?

Share some pics and fps plz

And what your phone model?
CS2d for ANDROID Discord server is here: https://discord.gg/ww59nvf
17.03.21 11:42:57 pm
Up
@user StirlizZ-Fapicon: SM-G965F

About 10~ FPS on a live server.
With U.S.G.N. and everything on the lowest settings (including UI).

Latest version of CS2D with ExaGear Pro (64 bit) v3.0.1.
fish
18.03.21 01:17:14 am
Up
StirlizZ-Fapicon
Super User
Offline Off
@user Mami Tomoe: here is a tip for you: run taskmgr, choose your cs2d.exe process with right mouse key and select most powerful CPU cores working for the process.

For example I have Snap 665 as CPU. Powerfu/Bigl cores for me is 4,5,6,7 (2+ GHz) and weak ones (1,7GHz) is 0,1,2,3. In taskmgr I select only cores 4,5,6 and 7 then I see my fps growing from 7 to 12 which is significant improvement.

Here is an example from Windows 10 what I mean:


This is how it looks on some russian version of ExaGear:


You may also try this keyboard for a better experience:
Click me
edited 1×, last 18.03.21 01:39:37 am
CS2d for ANDROID Discord server is here: https://discord.gg/ww59nvf
18.03.21 03:09:17 am
Up
MikuAuahDark
User
Offline Off
I was wondering, can we somehow emulate the whole thing by patching necessary instructions, perform x86 to ARM AOT recompilation, and perform GL1.4 (or 2.1 when possible) translation from GLES3.0?

It probably sounds infeasible to be done alone, but if someone really have knowledge on those thing then I'd be sure it will able to run at almost native speed.
file cs2d LuaJIT for Dedicated Server (12) JIT POWER! | Know your Lua errors! | Part of LÖVE development team since 11.3
09.04.21 02:38:31 pm
Up
StirlizZ-Fapicon
Super User
Offline Off
Mikhail Pomaskin nailed it! I asked him to try this game under VirGL and here we go: FPS don't go below 20 even in intensive fights on high settings!

https://www.youtube.com/watch?v=MUJIjgmfKuc

So all you need to do is install VirGL on your phone (currently VirGL working only on Adreno GPU and new Snapdragon CPUs like 845+ or ~732).
CS2d for ANDROID Discord server is here: https://discord.gg/ww59nvf
To the start Previous 1 Next To the start