Closed GEEKiDoS closed 5 years ago
The gameinfo of cso2 is hardcoded in filesystem.dll at 0xFD6A8, Im going to try replace it
-- Update -- Change that hardcoded gameinfo is not working, but hooking BaseFileSystem::OpenEx is working. Let me raise a pull request
Path: Effect:
snd_rebuildaudiocache is not working for custom sound
update: looks like must use "-sndcachebuild" in order to use that concommand update2:still not working update3:It's working with UNPACKED files *but no generated allsound.cache
update4:You don't need to rebuild sound cache, Just create a empty allsound.cache in custom, you are good to go then
Notes(Tested stuffs):
Hello! Some questions: 1. Is it possible to translate game interface and options (settings)? 2. Is it possible to use voice files and english text from Chinese version? Their characters are speaking English and also as far as I remember when you press radio buttons (z, x, c) all text and voicing there also in English (enemy spotted, need backup, etc...). This could be helpful for teamplay when you know what to report to others, rather than Korean writings and voices. Please take a look at possibility of those features
Hello! Some questions: 1. Is it possible to translate game interface and options (settings)? 2. Is it possible to use voice files and english text from Chinese version? Their characters are speaking English and also as far as I remember when you press radio buttons (z, x, c) all text and voicing there also in English (enemy spotted, need backup, etc...). This could be helpful for teamplay when you know what to report to others, rather than Korean writings and voices. Please take a look at possibility of those features
Translate game interface and option already working in current release version. check -lang
argument
I don't have a client to check how -lang argument work. But I think you misunderstood me a bit. I mean complete interface translation - all room options that can be seen on your screenshot above and ingame radios and character voicing and etc. That could be a good addition to the game. Of course this is not priority number one in development, this just could be helpful and more attractive to a new players.
There is a file called "resource/cso2_koreana.txt" witch holds all ingame text. And this is the only translation file that basic game archives contains. And there is no english in it. So I assume -lang not doing a great translation. We can edit this .txt with English text (at least basic interface and menus strings), but can we force a game to use our updated file? This is the main question. If we can force game to use that, than we can translate a game completely
I don't have a client to check how -lang argument work. But I think you misunderstood me a bit. I mean complete interface translation - all room options that can be seen on your screenshot above and ingame radios and character voicing and etc. That could be a good addition to the game. Of course this is not priority number one in development, this just could be helpful and more attractive to a new players.
There is a file called "resource/cso2_koreana.txt" witch holds all ingame text. And this is the only translation file that basic game archives contains. And there is no english in it. So I assume -lang not doing a great translation. We can edit this .txt with English text (at least basic interface and menus strings), but can we force a game to use our updated file? This is the main question. If we can force game to use that, than we can translate a game completely
What does -lang
do is replace the cso2_koreana.txt. for example, if you translate the cso2_koreana.txt to english, then you can name it cso2_english.txt
, then place it in the Data/cstrike/resource/
. And then start the game with -lang english
. The game will load the cso2_english.txt
instead of cso2_koreana.txt
, that's what it do.
Ok, now I got it, thanks. I started to work on game translation and after finishing I will publish it there
Pull request #22 has been merged into master
so in order to use custom/mods i need to decrypt the whole game? or just add args to read decrypted files?
so in order to use custom/mods i need to decrypt the whole game? or just add args to read decrypted files?
If yout just want to replace some of decrypted files, you just need to use -enablecustom
to enable the custom
folder to place the files(See https://github.com/Ochii/cso2-launcher/issues/21#issuecomment-460147890).
If you wanna decrypt whole filesystem then remove pkgs in Data(expect 1b87c6b551e518d11114ee21b7645a47.pkg
), You just use -decryptedfiles
instead.
so in order to use custom/mods i need to decrypt the whole game? or just add args to read decrypted files?
If yout just want to replace some of decrypted files, you just need to use -enablecustom to enable the custom folder to place the files(See #21 (comment)). If you wanna decrypt whole filesystem then remove pkgs in Data(expect 1b87c6b551e518d11114ee21b7645a47.pkg), You just use -decryptedfiles instead.
unpack all pkgs and remove they except 1b87c6b551e518d11114ee21b7645a47.pkg, and game give me this error
@Riseless If you use UnCSO2 to unpack the files, it's broken at the moment. See UnCSO2/#3
I didn't find what extension file needed to translate Sound and Interface Language in the game?
It's a nice feature I guess?