cso2-launcher icon indicating copy to clipboard operation
cso2-launcher copied to clipboard

Allow to change notice banners

Open IGNRexI opened this issue 5 years ago • 16 comments

Do you have any idea how I can remove these pictures? or how do I edit it?

Adsız

IGNRexI avatar Sep 25 '19 15:09 IGNRexI

I searched but could not find

IGNRexI avatar Sep 25 '19 15:09 IGNRexI

Those banners are retrieved from http://s.nx.com/s2/game/CSO2/notice/

For example: the first notice is http://s.nx.com/s2/game/CSO2/notice/00.jpg, the second is http://s.nx.com/s2/game/CSO2/notice/01.jpg and so on...

I think you can either patch the client's code to load your own notices, or you redirect s.nx.com to localhost and serve your own images.

I might implement the first option some day, don't know when

L-Leite avatar Sep 25 '19 18:09 L-Leite

I don't know where it is in which file can I find?

IGNRexI avatar Sep 26 '19 20:09 IGNRexI

Those files are downloaded from a remote server, you can't find them in your disk

L-Leite avatar Sep 26 '19 20:09 L-Leite

isn't there a way to change that?

IGNRexI avatar Sep 26 '19 20:09 IGNRexI

I think you can either patch the game to load your images or you redirect s.nx.com to localhost and serve your own images there.

EDIT: I might patch the game to load your own images in the future, dunno when EDIT 2: So no, you can't just change some file to load your own notice banners

L-Leite avatar Sep 26 '19 20:09 L-Leite

just want to put gun banners for the game

IGNRexI avatar Sep 26 '19 20:09 IGNRexI

and education posters

IGNRexI avatar Sep 26 '19 20:09 IGNRexI

I'm not sure, but I think you would need custom Hammer binaries with reversed engine structures.

If you want to discuss about custom maps, please open a new issue, so this one doesn't get polluted

L-Leite avatar Sep 26 '19 21:09 L-Leite

okey <3

IGNRexI avatar Sep 26 '19 21:09 IGNRexI

I have been written some ugly patch for this few month ago https://github.com/GEEKiDoS/cso2-launcher/blob/modularizated/src/Plugins/Login/PatchCSO2_Engine.cpp#L109 https://github.com/GEEKiDoS/cso2-launcher/blob/modularizated/src/Plugins/Login/stdafx.h#L21

GEEKiDoS avatar Oct 22 '19 11:10 GEEKiDoS

@GEEKiDoS can you help me. original cso2 launcher works in visual studio 2019 > https://github.com/L-Leite/cso2-launcher

Ekran Alıntısı

https://github.com/GEEKiDoS/cso2-launcher

IGNRexI avatar Oct 24 '19 10:10 IGNRexI

Good work @GEEKiDoS, if you can open a pull request with your patch I will merge it

A 22 de outubro de 2019 12:34:20 WEST, GEEKiDoS [email protected] escreveu:

I have been written some ugly code for this few month ago https://github.com/GEEKiDoS/cso2-launcher/blob/modularizated/src/Plugins/Login/PatchCSO2_Engine.cpp#L109 https://github.com/GEEKiDoS/cso2-launcher/blob/modularizated/src/Plugins/Login/stdafx.h#L21

-- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/L-Leite/cso2-launcher/issues/74#issuecomment-544919665

L-Leite avatar Oct 24 '19 11:10 L-Leite

@GEEKiDoS @L-Leite : when will you arrange to change banners?

IGNRexI avatar Nov 10 '19 17:11 IGNRexI

I'm not sure I also don't know where the banner's host URL will be retrieved from. Maybe from a config file or from the master server host that is already set by the user

L-Leite avatar Nov 15 '19 17:11 L-Leite

image package cso2.ui.promotionObjs I made it by editing .gfx image

IGNRexI avatar Aug 04 '21 23:08 IGNRexI