Nemirtingas
faf13e77b6
Added 64bits support to ImGui
5 years ago
Nemirtingas
176c9eb7dd
Added ImGui base code
...
I'll implement overlay with ImGui
5 years ago
Nemirtingas
2ba8cae64e
Added DirectX hooks
...
Warning: DX9 doesn't support resizing (TODO), DX12 has not beed tested and is not finished.
No OpenGL support for now.
5 years ago
Mr_Goldberg
bb9c516775
Fix crash in crazy taxi.
5 years ago
Mr_Goldberg
55835de708
Untested version of GetInstalledDepots.
5 years ago
Nemirtingas
d2fba40cb4
Small improvements
...
Its always better to reserve memory when we can for a vector. Also, STL implements a lot of algorithms, its better to use them in case someday you need to change it to something alike. Like reversing the copy, use transform instead, etc...
5 years ago
Mr_Goldberg
514f2ddbd9
Some small cleanups.
5 years ago
Mr_Goldberg
2a659043d3
Fix build.
5 years ago
Mr_Goldberg
59a9fcee0d
Some cleanups.
...
Load items json only if there's an inventory request.
Launch callbacks only when loading is done.
Copy over original unformatted json.hpp
5 years ago
Mr_Goldberg
f56503fcd0
Merge branch 'issue_#5' of https://gitlab.com/Nemirtingas/goldberg_emulator into inventory_pr
5 years ago
Nemirtingas
fb31aef9b2
Set items to static
...
Set items to static and call the json load only once.
5 years ago
Mr_Goldberg
66932785c3
Beggining of a actually working steam networking sockets implementation.
5 years ago
Mr_Goldberg
e252f83e8a
Make auth stuff behave more like real steam.
5 years ago
Nemirtingas
7853451b01
Added buffer size check while populating it.
5 years ago
Mr_Goldberg
0677b8e2ff
Tweak some delays to get the game ignite working.
5 years ago
Nemirtingas
0b134e98a9
Added debug message
5 years ago
Nemirtingas
98c556d6dc
atomic_bool is not copy_constructible
5 years ago
Nemirtingas
e2fbada4c1
Added sample json and README.
5 years ago
Nemirtingas
3273b1482b
steam_items.json renamed
...
steam_items.json has been renamed to items.json and now lives in steam_settings beside the steam_api.dll
5 years ago
Nemirtingas
332c0479bb
Moved json.hpp to its own folder.
5 years ago
Nemirtingas
573a01212b
Switch to atomic_bool for thread synchronisation.
5 years ago
Nemirtingas
5c66c21f53
Modified Inventory to match steam's implementation
5 years ago
Nemirtingas
06f88d4687
Added the missing use cases
...
If pchPropertyName == NULL and/or pchValueBuffer == NULL
5 years ago
Mr_Goldberg
f3e968b54c
SteamInternal_CreateInterface should return NULL if not called with "SteamClient"
5 years ago
Nemirtingas
0a9b950d2e
Merge branch 'master' into issue_#5
5 years ago
Mr_Goldberg
6dd7f517e6
Fix last pull request.
5 years ago
Mr_Goldberg
ba1591d8e7
Merge branch 'Nemirtingas/goldberg_emulator-issue_#14'
5 years ago
Mr_Goldberg
aa9e3c0c46
Small improvements to last commit.
5 years ago
Nemirtingas
19659da6c2
Fixed crash on load.
...
Fixed dll crash on load by adding a check if the Json file exists or not.
5 years ago
Nemirtingas
5f67d359b3
Fixed typo because of merging
5 years ago
Nemirtingas
bbf6a3b6ff
Added partial inventory support.
...
For now, I load items and add them to the inventory and to the market.
5 years ago
Nemirtingas
5265382d9d
Added Json item loader
...
Added Json item loader
5 years ago
Nemirtingas
38f05f2fc7
Added function definition to load item database.
...
Added function definition to load item database.
5 years ago
Nemirtingas
2039b04887
Added C++ Json support.
...
Added C++ Json template library.
Source: https://github.com/nlohmann/json
5 years ago
Nemirtingas
72d7d15adc
Added the line to push dir name on linux
5 years ago
Nemirtingas
a1d336bf56
Pass dir_name by reference
...
Passing dir_name by reference will save a copy constructor.
5 years ago
Nemirtingas
717808e796
Updated for the linux case.
5 years ago
Nemirtingas
b034ee8781
Changed param source in strncpy
...
In strncpy its the destination size that should be in the 3rd parameter.
5 years ago
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.
5 years ago
Goldberg
0543229b3e
Merge branch 'issue_#8' into 'master'
...
Issue #8 Modified Sanitize
See merge request Mr_Goldberg/goldberg_emulator!11
5 years ago
Goldberg
ef1f0e1de1
Merge branch 'find_interface_powershell' into 'master'
...
Fixed find_interfaces.ps1
See merge request Mr_Goldberg/goldberg_emulator!9
5 years ago
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.
5 years ago
Nemirtingas
6d22c4989e
Modified Sanitize
...
Modified Sanitize to allow all ANSI printable chars.
5 years ago
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 :).
5 years ago
Nemirtingas
32b8a8b169
Update local_storage.cpp, replace_with string parameters should be const. (Fix build error on VisualStudio)
5 years ago
Nemirtingas
e4addcd84b
Update find_interfaces.ps1
5 years ago
Nemirtingas
f5397c1674
Windows script like find_interfaces.sh but for powershell.
5 years ago
Mr_Goldberg
794469c4cf
Create lobby even if the run callbacks function is never run.
5 years ago
Mr_Goldberg
c4e0c855df
Experimental build: Load luma ceg plugin dll if present.
5 years ago
Mr_Goldberg
1f79ca9231
Basic IsUserInSource implementation for the main lobby.
5 years ago