1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-18 11:19:10 +00:00
Commit Graph

1102 Commits

Author SHA1 Message Date
56507c5219 Fix several format errors detected via vararg-template voodoo 2013-12-16 18:58:47 -08:00
b421e75040 Send the right RefMsg, please...
So this is interesting. If you disable Planar Reflections and visit an age with a DCM, you will crash after a few minutes. This is because plDynamicCamMap is sending the wrong plRefMsg to the plLayer. This does nothing (aside from waste time), so we keep sending the ref again and again and again and again until we get some weird heap corruption and KABLOOOOOOOOOOOEY!
2013-12-16 21:22:50 -05:00
09cc4b8259 Merge pull request #353 from Hoikas/new-launcher
Unified Patcher (Part 2: Nuke eap)
2013-12-12 14:04:43 -08:00
4ae685aff9 Hack around hidden/dead MessageBoxes :(
So, it appears that once our dialog is created, the DialogBox windowproc
is nuked. So, to hack around this, any errors that occur while it is open
are cached and reported out after we close everything down. It sucks, but
it works. I blame Microsoft.
2013-12-12 16:59:45 -05:00
1bcd17c850 Redist Updating
This is the crowning feature: the whole point of this exercise. You can
now update redists from the client launcher itself. To activate this
functionality, you will need to flag the file 0x10 in the manifest. I
recommend listing your redists in the patcher manifests.
2013-12-12 16:59:44 -05:00
d855d86475 Game Repair Mode
This adds a license-stopgap "feature" ... You can now update only the game
data by using the -Repair argument on the launcher. You'll need to specify
a stripped down MOULa server.ini with the GateKeeperSrv keys/host.
2013-12-12 16:59:43 -05:00
e7ab709b52 Client Image Flag
This argument works just like it does in Guild Wars. It checks all the
files (using Cyan's evil "Internal" and "External" manifests) for changes.
Expect this to take a decent amount of time.
2013-12-12 16:59:42 -05:00
a231b4db9d Rewrite plUruLauncher
Welcome to the glorious new regime.
2013-12-12 16:59:39 -05:00
b358b26ae9 Merge pull request #354 from Hoikas/init-cleanup
Graphics Init Cleanup
2013-12-12 13:53:16 -08:00
185118d21c Better management of TnLEnums and Direct3D9 object
Two of the big nasties, according to profiling, are the TnL enum and
creation of Direct3D objects. It turned out we were doing these things
several times (3 and 4 respectively) during the init process. So, now we
have an hsGDirect3D namespace and some smart pointers to manage them!
2013-12-12 16:47:03 -05:00
fc67738ee8 Remove some obviously obsolete caps 2013-12-12 16:24:04 -05:00
696ceace19 Remove some unused PS version stuff 2013-12-12 16:24:02 -05:00
ac23835384 Get rid of obsolete readers/writes for device info 2013-12-12 16:24:01 -05:00
9070d70e50 Lots of cleanups to hsG3DeviceDelector 2013-12-12 16:24:00 -05:00
544abef39e Wow, those cards are old...
Remove detection for cards that are don't support at LEAST DirectX 8.
There's no way they would even be able to get past Direct3DCreate9, so we
shouldn't need to worry about them... I hope.
2013-12-12 16:23:59 -05:00
a30a326d17 We only support DirectX 9...
If you have less than 11MB VRAM or need to use the ref implementation,
then you are using a dinosaur and have no business even attempting to play
this game.
2013-12-12 16:23:58 -05:00
bbae6a76d7 We don't support 3dfx cards...
Come on, man... They made some good cards, but they went out of business
in 1999! Ain't nobody got time fo' dat.
2013-12-12 16:23:57 -05:00
60c544e1ff Don't lazy-load D3D9.dll
We already link against it, so that's just a waste of time. Also, cleanup
some unneeded ddraw includes. Remember that in Direct3D9, all devices can
render in windowed mode.
2013-12-12 16:23:51 -05:00
57854640e7 Merge pull request #361 from Hoikas/capture
Revamp Game.TakeScreenShot

Fixes #358.
2013-12-11 21:55:09 -08:00
7c24bd67ce Remove older/crappier TakeScreenShot console cmds. 2013-12-11 19:44:50 -05:00
f2ba770578 DIE DEVIL HACKS!!! 2013-12-11 19:44:49 -05:00
2cecbc9f2f Update the FOV when using plCaptureRender 2013-12-11 19:44:48 -05:00
2d8d42759d Better Game.TakeScreenShot
The new version uses plCaptureRender, so we can take screenshots at any
size that DX can render to...
2013-12-11 19:44:47 -05:00
6025621eda Merge pull request #300 from Mystler/newstartup
Avatar clothing files
2013-12-11 16:41:26 -08:00
b8ff9ee065 Add clothing file functions to the Avatar Python API 2013-12-11 20:39:35 +01:00
3dc6f76b7d Add functions for writing and reading avatar clothing files
This also introduces a filename member in plClothingOutfit so it
can determine whether to read the clothing information from the file
or the vault.
2013-12-11 20:39:25 +01:00
7ca81ba626 Implement a plLoadClothingMsg as a clone loading trigger 2013-12-11 20:39:13 +01:00
7e66aee382 Allow passing a clothing file to LoadAvatar and plStringify whatever we encounter on our way 2013-12-11 20:38:51 +01:00
f4956407a1 Merge pull request #362 from zrax/fix_unicode_chat
Fix Unicode characters in chat
2013-12-09 19:16:34 -08:00
51e600f6cf Merge pull request #360 from Hoikas/max-plugin
Fix More 3dsm Issues
2013-12-08 16:22:52 -08:00
7f3ba3b106 Required link libraries for pnNetCommon.
Allows it to build and link properly under gcc/clang.
2013-12-07 16:40:10 -08:00
324715db9d Pass message as a unicode object, to avoid encoings getting screwed up 2013-12-07 15:36:24 -08:00
07eab8def4 Fix annoying "Bad static key ID" asserts 2013-12-05 19:23:01 -05:00
07adadcb58 Fix out-of-bounds crash when fiddling with NPCs 2013-12-05 22:20:12 +01:00
de60a164d4 Merge pull request #355 from Deledrius/c11_regex
Use std::regex instead of PCRE.
2013-12-05 12:32:08 -08:00
786f06eafc Fix plString ssize_t undefined errors. 2013-12-02 22:07:08 -08:00
c0d6556aa3 Use std::regex instead of PCRE. 2013-12-02 20:53:52 -08:00
9d0112de19 Merge pull request #352 from Hoikas/patcher-thread
Unified Patcher (Part 1: In-Game)
2013-11-30 14:30:07 -08:00
cbfa49d71c Merge pull request #349 from Hoikas/debug-print
Port PtDebugPrint to C++
2013-11-30 14:17:30 -08:00
e6f9a83fde Detect self-patching in pfPatcher 2013-11-28 15:29:13 -05:00
34c88190c1 Update StartUp in initial batch
ONE PATCH! This commit brings us to half of the patching goal: on launch
of the client, we only show ONE "Updating..." message before we enter the
game proper. Go us!
2013-11-28 15:16:01 -05:00
3299267976 Integrate SecurePreloader into pfPatcher 2013-11-28 15:14:45 -05:00
9d162a7a32 Reroute plResPatcher 2013-11-28 15:14:37 -05:00
346b6f8ac8 Implement pfPatcher backend 2013-11-28 15:12:03 -05:00
275f15087c Separate plOperationProgress titles and statuses.
Now we render titles above the progress bar and the status below (in the
same color as the progress bar!). Also, introduce a new info field that is
guaranteed to be right justified.
2013-11-25 22:01:10 -05:00
7da0467609 plString-ify plOperationProgress 2013-11-25 22:01:09 -05:00
efec679e1f Fix NetCliAuthFileRequest Regression introduced by 6e56447
Our data fields have to be the same as their size on the wire. Ugh.
2013-11-25 20:13:38 -05:00
063b61161d Don't ignore possible extensions when localizing object names 2013-11-21 16:53:55 +01:00
e103d0c9d6 Port PtDebugPrint to C++
This has a couple of benefits:
- We should theoretically no longer run into UnicodeDecodeErrors from the
  plString-based implementation
- By doing things engine side, we can use the logging API to colorize log
  messages.
2013-11-19 21:33:30 -05:00
c69d546c69 Fix a VC++2013 compile error 2013-11-02 01:50:10 -07:00