-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade MobileUO to CUO version 0.1.9.0 #28
base: master
Are you sure you want to change the base?
Conversation
new rendering method does not work correctly, but reverted to old method via _use_render_target flag
…builds the dll into the Unity assets folder in order to get these files working inside of Unity. The files are still symlinked to the original ones.
…rsion 0.1.15.000
…d be to CUO version 0.1.5.000
…ersion 0.1.6.0
…ersion 0.1.6.1
…t the old version of ScrollArea control into the assistant so that it would only affect the assistant and not everywhere else. The more optimal solution is to re-write the assistant with the new ScrollArea behavior
… zooming in and out
…ausing it to always split a stack of items
…e viewport window
…currently based on
…playing the same (incorrect) song everywhere in both Unity player and Android. Will re-visit later with CUO uprades
…hods. Reverted to using old pixel checks for now. Also fixed issue with GumpsLoader getting textures which was breaking mini map radar and maybe other gumps.
…ssues with world map gump, options gump and assistant gump
… not moving on top of other gumps. It's a backported fix from CUO 0.1.10.0
…own texture downstream for handle the Unity pixel check correctly
I'm trying to check out your PR on my Windows machine but running into problems with symlinks and MP3Sharp submodule. Are you also working on the changes on Windows? Or some other OS? Any ideas? |
VoxelBoy#24: committing MP3Sharp submodule
I'm pushing one commit that I think will fix the MP3Sharp repo. Here's all the instructions for getting set up:
Pulling the branch:
|
…rmatFrom and SDL_FreeSurface
…d no longer needed PixelCheck flag. Reverted to new implementations that use Texture2D's SetDataPointerEXT and GetData now that these functions are implemented in the Unity XNA wrapper
Refactoring to use original XNA SetDataPointerEXT() and GetData()
@VoxelBoy just FYI, I merged a PR into this branch I came up with implementations for the missing SetDataPointerEXT() and GetData() functions in Texture2D so I could use the original CUO code instead of hacking together the older implementations that I was still using. |
…instead of symlinking
…tempt-2 Fixed MP3Sharp imports
@VoxelBoy made one more PR into this to fix the issues with MP3Sharp I had issues doing a directory symlink; Unity was stuck in an infinite import loop. So I moved the submodule to /external/ directory and just manually copied the MP3Sharp directory into Assets/Scripts/. Maybe later I'll symlink each individual file since that method does work for CUO |
#24
This PR is bringing CUO up to version 0.1.9.0. This build seems stable in both Unity Player and my Android phone from my testing. Again, there could be issues that I haven't noticed.
Changes since 0.1.8.0 PR:
// MobileUO:
comments.fx
file changes. I had to add aBrightlight
variable to be passed in.SDL_CreateRGBSurfaceWithFormatFrom
which doesn't exist in our version of XNA, so I reverted them to the previously working logic. Similarly withGetData
from XNA'sTexture2D
class.PixelCheck
methods that uses a newPixelPicker
class. I reverted to using the oldTexture.Contains()
/GetDataAtPos()
logic for Pixel Checks until this logic can be merged intoPixelPicker
. I left a TODO marker for it.Assets/Scripts/MP3Sharp
so that Unity will pick it up and not have to symlink the files.Sound.cs
now is throwing an exception when I try to set the volume to 0. It wasn't doing it previously. I just commented out with a TODO stub for now. Error isUnityException: set_volume can only be called from the main thread.
. It wasn't doing this on the last version, so not sure what changed here unless it was because of the MP3Sharp changes.UOFileManager
changes for iOS filesystem. I currently don't have a Mac to compile and test on my iPhone; I'll re-visit it later in latest CUO version if needed.Packet
classes only for Assistant. I left TODO markers that the Assistant should be re-written to remove the dependency on these old versions.System.Runtime.CompilerServices.Unsafe
Nuget package that CUO addedThose should be the high level notable changes. Everything else was just core CUO changes.