Age | Commit message (Collapse) | Author |
|
Copies of over the primedev folder structure for easier cherry-picking of further changes
Co-authored-by: F1F7Y <filip.bartos07@proton.me>
|
|
|
|
Cherry-picks the removal of unnecessary namespaces from `primedev`
https://github.com/F1F7Y/NorthstarPrime/
Co-authored-by: F1F7Y <filip.bartos07@proton.me>
|
|
|
|
Adds dependency constants for plugins so mods can rely on plugins without always producing script errors when the plugin is missing
|
|
Old `-vanilla` behaviour is now handled by `-nonorthstardll`.
New squirrel constant called `VANILLA`. Set to true when in vanilla compatibility mode.
Differences when in vanilla compatibility mode:
- Doesn't restrict server commands (same as `-norestrictservercommands`)
- Doesn't block FairFight screenshot functions
- Doesn't do Atlas-related stuff (except for mainmenupromos)
|
|
- nuked presence logic ( moved to the discord rpc plugin )
- more exposed sq functions
- exposed dll addresses
- `g_pCVar` is exposed
- added "userdata" to plugin's async call
- added runframe to plugins
|
|
Exposes the version number in the form of individual digits to script.
|
|
Fix instances of "anachronism used: modifiers on data are ignored"
|
|
Fix typo in offset
|
|
* Safe I/O initial commit
* Formatting
* Formatting 2
* God help us all.
* fix diffs part 1
* fix diffs 2
* Fix invalid filter file
* Update NorthstarLauncher.vcxproj
* Remove newline at EOF
* fix the damn thing
* God help the diffs
* diff hate
* diff hate the 2nd
* Add comments since this code is unreadable
Now, this code may look readable, but I barely understand what I did here myself.
* Remove char limit and file definitions
* Fix build
* organization stuff
* Fix build
* More funcs, more stuff
* format fix
* oops, this is wrong.
* fix a thing
* Add max folder size (250MB) and add getallfiles
* Fix build also size cap
* reduce max folder size to 50MB
* he forgor
* i give up
* aync edition?????
* Fix max size bypass
* fix it
* Remove logs
* Add max folder size launch arg
* boop
* FUCK SHIT
* FUCKKKKKKKKKKK
* Fix build
* Fix crash
* Fix error FINAL!!!
* fix scriptjson.h not being found
* fix scriptjson.h not appearing correctly
* shit diffself
* format fix
* Fix indentation (thank you vscode)
* Fix indentation again
* adadasa
* shit diffself
adadasa
Fix indentation (thank you vscode)
Fix indentation again
* format fix
* Revert "shit diffself"
This reverts commit b49a62b5b36784df1c01663cdec2e4e403279618.
* Revert "Merge branch 'safe-io-rewrite' of https://github.com/EladNLG/NorthstarLauncher into safe-io-rewrite"
This reverts commit 761eb8a1cb11ccf1dadf55f5be9a08700fe1d560, reversing
changes made to 65549b2f799660d7fe7b5a53e81425922b996ea9.
* Fix the diff finally
* more diff fixes
* Fix more diffs
* Allow non-ascii characters that aren't NUL
* format fix :(
* this is untested and I don't wanna update the safe i/o test thing
* fix build :(
* fix mayhaps?
* fix build
* Fix lotsa stuff :D
* FIxed :D
* Rewrite error messages, rename CheckFileName to IsPathSafe
* Shout out to clang-format!
* oops, wrong error message :3
* SHOUT OUT TO CLANG-FORMAT!!!
* Revert "SHOUT OUT TO CLANG-FORMAT!!!"
This reverts commit c536384073528b4eee7c330dfab320a5527ff240.
* :(
* oop
* Add failure callback (launcher)
* unnecessary comment
* holy shit format fix
boooooo. BOOOOOO!
* restrict path to ASCII
* Fix ascii check I hate you all
* reformat
* Clang-format my beloved :)
* Move the thing
* Apply suggestions from code review
Co-authored-by: Rémy Raes <contact@remyraes.com>
* clang-format no like code suggestions :(
* name change
* doc'd
* - Replace the mutex map with a single mutex for all file actions
- Fix Load calls sometimes failing and not calling NSHandleLoadResult
- Add NSGetTotalSpaceRemaining which checks how much space a mod has, in KB
- Add contstant MAX_FOLDER_SIZE which holds the maximum save folder size, in KB
* add safe-io stuff to cmake
* surrounds IsPathSafe with a try/catch
---------
Co-authored-by: Rémy Raes <contact@remyraes.com>
Co-authored-by: uniboi <kami.0.katze@gmail.com>
|
|
- Renames `MemoryAddress` to `CMemoryAddress`
- Renames `CMemoryAddress::As` to `CMemoryAddress::RCast`
|
|
* turn implicit type casts into standard compliant explicit type casts
* correct includes and library names
* correct implicit use of std-namespaced functions
* turn incomplete virtual implementations into pure virtuals (this also follows what the Source SDK tier0 header does)
* define SqRecurseArgs ahead of implementation to fix templating problems
* switch out removed getentity with getthisentity
* fix calls to curl_easy_escape with wrong types
* replace winapi-specific function with std starts_with function
* format squirrel header
|
|
* fix vector garbage data
* use structs for script server browser
* use sq struct api wrappers
* use sqfloat return type for getvector
* use const references for access
* move fn to make the diff more readable (hopefully)
|
|
Fix initscript issue that prevented Northstar from being run without any mods enabled/installed.
|
|
* fix vector garbage data
* change typedef to use IDA's types
|
|
* Some work
* Rewrite gamestate presence
* Add plugin system logger
* Format changes
* Format chjange
* Fix gamestate stuff
* some callback stuff
* move around invite stuff
* move invite to funcs
* fix presence server data
* Actually call InformSQVMCreated
* bruh
* Fix TODO's
* Formatting
* Fix filters
* Add InformDLLLoads
* Fix plugin handle always being 0
* Formatting
* Fix merge issues
* Formatting
* Mods can add files compiled at SQVM init
* Some Small Fixes
* Add changes from review
* Fix load failure
* Add new squirrel functions
* actually call InformSQVMDestroyed
* add CreateObject function
* answers to complaints
* remove snake cases from GameStatePresence
---------
Co-authored-by: cat_or_not <41955154+catornot@users.noreply.github.com>
|
|
bring sq funcs back
|
|
one line fix baby!
|
|
* force-include "pch.h" in all units, as it will error if it's not included anyways
* remove #include "pch.h" from all files as it's not needed anymore now
* fix size of NSUserAgent to be consistent (it's 256 in version.cpp, caused compile error)
* Re-add explicit pch.h include to pch.cpp (and ran clang-format)
* drop pch.h inclusion from new files
|
|
* Add Destroy callback for squirrel scripts.
* Switch _call() to Call()
|
|
push to stack correctly
Co-authored-by: Maya <RoyalBlue1@users.noreply.github.com>
Co-authored-by: Maya <RoyalBlue1@users.noreply.github.com>
|
|
* log reaction to script compile errors
* move log line to make a bit more sense
* change log message and show console on non-fatal ui compile error
* improve SQSharedState struct and CSquirrelVM struct
Co-Authored-By: Maya <11448698+RoyalBlue1@users.noreply.github.com>
* Improve IsUIVM
Co-Authored-By: Maya <11448698+RoyalBlue1@users.noreply.github.com>
* Remove now-unnecessary showing of console
* remove extra logging
Co-authored-by: Maya <11448698+RoyalBlue1@users.noreply.github.com>
|
|
|
|
* Process all squirrel messages in the buffer instead of one per frame.
* Move on to the next message if no function is found,.
|
|
* Stackinfos
* Formatting
* Add option for depth
* Revert "Merge branch 'main' into stackinfos"
This reverts commit e9e8948d2ae9ab72095eb2162de40383b7211276, reversing
changes made to d1cf18f7165a9d4fbe7f8ae2f1dfacbba36e4852.
* Move macros header
* Add macro header to filters
* Fix merge conflict mistake
* Fix stuff
* I hate git
* create `NSGetCurrentModName`
* Fix merge issues
|
|
* Add script concommands
* Fix indent
* Formatting
* Formatting stuff
* Changes for review
* Fix typo
* Forgot to remove the return statement
* Formatting
|
|
|
|
* Remove launcher proxy
* Restructuring
* More restructuring
* Fix include dirs
* Fix merge
* Remove clang thing
* Filters
* Oops
|