Commit Graph

166 Commits

Author SHA1 Message Date
Nemirtingas
2039b04887 Added C++ Json support.
Added C++ Json template library.
Source: https://github.com/nlohmann/json
2019-06-25 14:59:40 +02:00
Nemirtingas
72d7d15adc Added the line to push dir name on linux 2019-06-19 18:43:14 +02:00
Nemirtingas
a1d336bf56 Pass dir_name by reference
Passing dir_name by reference will save a copy constructor.
2019-06-19 18:39:14 +02:00
Nemirtingas
717808e796 Updated for the linux case. 2019-06-18 10:55:17 +02:00
Nemirtingas
b034ee8781 Changed param source in strncpy
In strncpy its the destination size that should be in the 3rd parameter.
2019-06-18 00:25:56 +02:00
Nemirtingas
e54072918f Added check on directory in Local_Storage::file_exists
Added check on directory in Local_Storage::file_exists.
Added check in get_filenames_recursive if last char is the path separator (some use cases were adding a path separator even if there were already one).

In base.h, added check on s and r, that will avoid an out-of-range vector exception on Visual Studio, same for network.cpp.
2019-06-17 23:08:23 +02:00
Goldberg
0543229b3e Merge branch 'issue_#8' into 'master'
Issue #8 Modified Sanitize

See merge request Mr_Goldberg/goldberg_emulator!11
2019-06-17 11:35:02 +00:00
Goldberg
ef1f0e1de1 Merge branch 'find_interface_powershell' into 'master'
Fixed find_interfaces.ps1

See merge request Mr_Goldberg/goldberg_emulator!9
2019-06-17 11:12:43 +00:00
Nemirtingas
b093ca90d3 Fix issue #14
This commit fixes game crash in ETS2.
The parameter order is wrong, 1st param is what to replace and 2nd param is with what to replace.
2019-06-16 15:14:21 +02:00
Nemirtingas
6d22c4989e Modified Sanitize
Modified Sanitize to allow all ANSI printable chars.
2019-06-16 12:10:51 +02:00
Nemirtingas
1fd5471502 Fixed find_interfaces.ps1
Added a condition to test steam_api.dll or steam_api64.dll.
Used the ASCII encoding, last version was using UTF-16 with BOM making the emu read really strange interfaces :).
2019-06-16 12:00:52 +02:00
Nemirtingas
32b8a8b169 Update local_storage.cpp, replace_with string parameters should be const. (Fix build error on VisualStudio) 2019-06-08 08:45:09 +00:00
Nemirtingas
e4addcd84b Update find_interfaces.ps1 2019-06-07 20:24:45 +00:00
Nemirtingas
f5397c1674 Windows script like find_interfaces.sh but for powershell. 2019-06-07 20:21:26 +00:00
Mr_Goldberg
794469c4cf
Create lobby even if the run callbacks function is never run. 2019-06-01 13:11:27 -04:00
Mr_Goldberg
c4e0c855df
Experimental build: Load luma ceg plugin dll if present. 2019-05-30 12:59:53 -04:00
Mr_Goldberg
1f79ca9231
Basic IsUserInSource implementation for the main lobby. 2019-05-30 07:58:03 -04:00
Mr_Goldberg
51a5e3bc27
Some steam networking accuracy improvements. 2019-05-30 07:56:00 -04:00
Mr_Goldberg
968cd6d601
Only call server request callback if not NULL. 2019-05-26 13:46:43 -04:00
Mr_Goldberg
d07ffec5f3
Add windows debug experimental build to latest git build. 2019-05-25 18:06:18 -04:00
Mr_Goldberg
9a9c3e1a4b
Fix remote folder so that directory structure is exactly like in real steam. 2019-05-23 09:35:12 -04:00
Mr_Goldberg
68b8e0241a
Add support for isteamgameserver 005-011 2019-05-20 12:35:55 -04:00
Mr_Goldberg
2b1368ccac
Use windows line endings for txt files in latest git build. 2019-05-17 14:55:14 -04:00
Mr_Goldberg
1717323cd7
Add delay to p2p session request callback to fix aoe2hd. 2019-05-17 14:15:12 -04:00
Mr_Goldberg
8daa896c86
Cleanup. 2019-05-17 14:13:48 -04:00
Mr_Goldberg
cf05e58266
Add program to generate steam_interfaces.txt 2019-05-15 08:24:39 -04:00
Mr_Goldberg
c20944ca0a
More accurate behavior. 2019-05-11 14:44:06 -04:00
Mr_Goldberg
7938d1f5c9
Add linux interface script to release. 2019-05-11 14:43:34 -04:00
Mr_Goldberg
a36f6e8e68
Add support for setting app/DLC paths. 2019-05-09 08:10:03 -04:00
Mr_Goldberg
fae4df7012
Fix custom broadcasts not resolving on windows. 2019-05-08 16:31:23 -04:00
Mr_Goldberg
147fc50be1
custom broadcasts file can now contain domains.
custom broadcasts can now be put in the steam_settings folder.
2019-05-08 15:43:25 -04:00
Mr_Goldberg
106d4025bb
Make the inventory result callback respect the result timeout. 2019-05-03 21:54:32 -04:00
Mr_Goldberg
2ba58d9f78
Fix build. 2019-05-03 09:09:06 -04:00
Mr_Goldberg
701eba17e8
Custom broadcasts file is more appropriate in:
Goldberg SteamEmu Saves/settings/custom_broadcasts.txt

Use C++ vector instead of C arrays.
2019-05-03 08:50:10 -04:00
Mr_Goldberg
3552eed3ec
Tiny fixes. 2019-05-03 08:47:40 -04:00
Mr_Goldberg
9cdf99c63a
Merge branch 'Arkhist/goldberg_emulator-custom_broadcasts' into HEAD 2019-05-03 07:02:48 -04:00
Mr_Goldberg
17c1e12c58
Remove some wine warnings. 2019-05-03 06:44:21 -04:00
Mr_Goldberg
1c7a6339f7
Added stuff to gitlab pages page. 2019-05-03 06:43:43 -04:00
Mr_Goldberg
8918d8f6d4
Add basic gitlab page with link to latest build. 2019-05-01 14:43:32 -04:00
Mr_Goldberg
9f72f3db06
Fix deploy. 2019-05-01 12:29:46 -04:00
Mr_Goldberg
798f9d71c1
Build fix. 2019-05-01 11:53:57 -04:00
Mr_Goldberg
a74c0e6344
Fix yaml. 2019-05-01 11:42:34 -04:00
Mr_Goldberg
a50568340a
Automatic windows builds. 2019-05-01 11:38:21 -04:00
Mr_Goldberg
dda8123abb
Fix readme. 2019-04-27 17:56:54 -04:00
Mr_Goldberg
52f0f550b0
Automatic linux builds. 2019-04-27 17:15:31 -04:00
Arkhist
b9e2b5fa40 Added custom broadcasts file 2019-04-22 14:09:21 +02:00
Mr_Goldberg
73e0d960d3
Add example offline.txt 2019-04-21 16:48:44 -04:00
Mr_Goldberg
e3ddc8d89f
Very basic steam game coordinator emulation. 2019-04-21 16:48:32 -04:00
Mr_Goldberg
08a96883e7
Fix bug. 2019-04-21 16:47:54 -04:00
Mr_Goldberg
5af7508e2f
Add steam offline mode and change steam_appid.txt priority. 2019-04-21 16:47:45 -04:00