Project

General

Profile

Actions

Emulator Issues #5041

closed

jpeterson57-dolphin clone merge (Emulated Motion Plus)

Added by jpeterson57 over 12 years ago.

Status:
Won't fix
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

I'm now satisfied with my changes and they are ready to be merged with the main clone.

The main changes are the additions of a raw input mouse device for multiplayer mouse support, and m+ support. I've also fixed a few other things I've found annoying or in need of attention.

I've created a merger branch here http://code.google.com/r/jpeterson57-dolphin/source/list?name=master-merge . Please cast your votes on what should be kept and what should be conceded from the clone before a merge.

Thanks!

A unified patch file is attached (command git diff cc6f90c7d5d56055b2d70c41cd9dd76c8b149955^..HEAD > merger.patch) if you want to browse all the changes in one file.

Actions #1

Updated by skidau over 12 years ago

I am not keen on the game ini changes. The rest of the changes are fine.

Actions #2

Updated by lpfaint99 over 12 years ago

I disagree with the changes in IniFile.cpp,
if the ini setting should always be written to the file we shouldn't use the defaultValue parameter for those particular settings

Actions #3

Updated by NeoBrainX over 12 years ago

  • 3859deb2499f : Don't like the debug switch; should prolly be moved to the View menu and/or disabled for Release builds.
  • I also don't really like the new per-game options but well.. they kinda make sense so they can be kept probably :/
  • Will the gfx backend setting work on Linux if Direct3D is specified as the game specific option or will that cause a segfault?
Actions #4

Updated by NeoBrainX over 12 years ago

Also, why does Red Steel 2 need OpenGL? You should add a note in the game ini about that if it's necessary for anything.

Actions #5

Updated by Sonicadvance1 over 12 years ago

I think all your crazy patches need to be split up in to separate patch files since a lot of the changes affect many different things.

Actions #6

Updated by NeoBrainX over 12 years ago

Seconding what Sonicadvance1 said... You've changed all kinds of unrelated things, what about first integrating m+ and then talk about the other stuff?
Also, your committing style is a bit worrying.. d7d99b4a7111 for example changes all kinds of unrelated stuff, if anyone were to find a regression in there it'd be awkward to find out what's wrong if one's not familiar with the code.

btw, what's that "FirstUse" stuff in the wiimote config used for? And wouldn't it make more sense to apply stuff like IR settings to all wiimotes at once and to each separately?

Fwiw, I also don't like adding workarounds to game inis, but we don't really have a strict policy for that. Others likely disagree.

Actions #7

Updated by NeoBrainX over 12 years ago

I already stated my opinion on this on IRC, but for reference I'll mention it again here (idk to what extend other devs agree or disagree) :

  • There's too much stuff in your branch. Emulated M+ support is the main thing, but there's also UI changes, Common and Core changes (IniFile, JitCache??), a scissoring-fixed revert as well as a revert of the revert, some wx stuff. On top of that you're still committing a benchmark mode and other things. Doesn't really look like you were even trying.

  • Reviewing each commit in your merging branch is unacceptable, no one is going to do that and no one is going to pull unreviewed code.

  • Reviewing your patch is a pain as well. No one is going to review a 10k patch. Same here, no one is going to pull unreviewed code.

Actions #8

Updated by tommyhl2.SS over 12 years ago

For what it's worth, I agree. The motion plus functionality is what's important. Other preference changes is only one person's opinion at this point. Trying to get the best possible motion plus feature alone is what should be the focus.

Actions #9

Updated by tommyhl2.SS about 12 years ago

JPeterson: From the looks of things, nothing is ever going to get done here until you separate the emulated motion plus code form the rest of what you've done there. If you do not wish to do that, that's fine, but I wouldn't expect anything to ever be added to master otherwise.

Actions #10

Updated by skidau about 12 years ago

Please separate the changes marked with * out into their own branch:

Improved Wiimote emulation.
Emulated Wiimote cleanup.
Re-add wiimote packets sniffer.
RawInput mouse backend.
*General cleanup and additions.
*Non-modal input dialogs.
*Resizable and by default larger cheat options dialog. Gekko codes moved to first tab.
*Graphics hotkeys cleanup.
Support for IR calibration from isoini database.
*Additional isoini save options
*Add option to load savestate by date saved, and overwrite oldest savestate.
*Savestate cleanup.
*Benchmarking from .dtm.
*Demo loading cleanup
*Hotkey cleanup.
*Resources cleanup.
*Build cleanup.

We can merge the ones marked with * at a later stage.

Actions #11

Updated by wespipes69 about 12 years ago

"Additional isoini save options (Input settings, graphics backend, AA-setting, AF-setting. The goal is to not have to change options between isos.)"

Saving input settings is amazing, let alone the gfx backend! Can't wait for that in main! Thanks for creating that!!

Actions #12

Updated by skidau about 12 years ago

I haven't started any sort of code review on this branch so no reservations so far.

Actions #13

Updated by BhaaL about 12 years ago

JP: The point of splitting is to make it easier reviewable, so its not better to wait, because thats what we did for the past month since you opened this issue.
The faster you split them up the faster people can (and will) review it - and the faster it will also make its way into master.

Actions #14

Updated by zardo1 about 12 years ago

Since I wanted to use the Motion Plus emulation with the newest revisions of Dolphin, I merged jpetersons branch with Dolphin master and reverted all unrelated changes. A patch file is attached and I hope it helps the developers in reviewing the changes.
There are not any direct code changes by myself. All credits go to jpeterson.

The patch includes the following changes (as long as I did not overlook anything):
Improved Wiimote emulation.
Emulated Wiimote cleanup.
Re-add wiimote packets sniffer.
Non-modal input dialogs.

Actions #15

Updated by NeoBrainX about 12 years ago

Still has too much unnecessary stuff in it.
Just looking over the first changes: Randomly commenting out code, adding unused parameters.

You probably didn't even look over the patch yourself, why should we? :/

Actions #16

Updated by skidau about 12 years ago

Have created a branch called "MotionPlus" with the patch included. Took out the ChunkFile change as I didn't see the benefit of that one.

Actions #17

Updated by zardo1 about 12 years ago

The change in ChunkFile.h is related to a change in CWII_IPC_HLE_WiiMote::DoState(PointerWrap &p) which would also have to be changed or reverted in this case. But I can't tell if this would break anything. Otherwise you will get error messages when using save states.

Actions #18

Updated by NeoBrainX almost 12 years ago

  • Status changed from New to Won't fix
Actions

Also available in: Atom PDF