• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Android v
« Previous 1 ... 83 84 85 86 87 ... 124 Next »

DIY dolphin compile version problem
View New Posts | View Today's Posts

Pages (2): 1 2 Next »
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
DIY dolphin compile version problem
05-18-2017, 01:46 PM
#1
Servlet Offline
Junior Member
**
Posts: 44
Threads: 2
Joined: May 2017
I use svn to check out dolphin and updates. I do some small modification here and there on UI to fit my phone need / preference.

The problem is the version number and save state / load state. Somehow save state / load state is version bound. And I cannot get the version to be the same with master one if I generate my signed apk. Also I try git GUI also same problem, seems command git to get version in build.gradle is nor running properly (I test command using CMD is ok).

I also try to hack the core of save state to not check version number, but somehow still save state from master won't load on my apk.

Any pointer where I can achieve this (fixing my version or bypass load state version check correctly) from dev is greatly appreciated.

Thanks
Find
Reply
05-18-2017, 03:42 PM
#2
degasus Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 1,827
Threads: 10
Joined: May 2012
You should be able to disable this check just here: https://github.com/dolphin-emu/dolphin/blob/master/Source/Core/Core/State.cpp#L149

But I'd suggest to use ingame save files instead. Don't trust savestates. They're fine if you're in a boss battle, but they may break randomly.

Feel free to ask me on IRC #dolphin-emu @ freenode for more information, I'm always happy about android users being able to compile dolphin on their own (iirc you've number 4...)
Find
Reply
05-18-2017, 03:44 PM (This post was last modified: 05-18-2017, 03:55 PM by Servlet.)
#3
Servlet Offline
Junior Member
**
Posts: 44
Threads: 2
Joined: May 2017
Thanks degasus, I will try modify the State.cpp, save state is super awesome in games like resident evil where save is only on typewritter and ribbon, it saves item slot.

I will also hop on irc, thanks

You're right, I was messing with load as function before and still fail. After I bypass the one that you pointed, it crash when do load state, maybe it was not compatible after all Big Grin
Find
Reply
05-18-2017, 04:04 PM
#4
JosJuice Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 8,693
Threads: 7
Joined: Oct 2014
Note that the savestate compatibility isn't based on the normal version number, but on this number that doesn't get updated as often: https://github.com/dolphin-emu/dolphin/blob/8be41d3b7c9c33f7f5d59d5cce9e11335ee8559d/Source/Core/Core/State.cpp#L74

So you should get savestate compatibility with the corresponding version of master as long as you don't modify that number (and as long as you don't modify the actual savestate format, of course). Are you sure that the savestate you're trying to load is from the version of master that your custom build is based on?
Find
Reply
05-18-2017, 04:17 PM (This post was last modified: 05-18-2017, 05:27 PM by Servlet.)
#5
Servlet Offline
Junior Member
**
Posts: 44
Threads: 2
Joined: May 2017
Hi Jos, I download the new master build for android but the version still 5.0-3617, also some changes not implemented yet (it seems the android build on master stuck on 5.0-3617 for a while now).

My custom build is from master svn check out today, where some new improvement from the latest master build available to download (like the overlay icon that response to touch, this not available in master latest for android).

Also I join the IRC chat, but it seems there is no chat activity there, is it normal or I miss some configuration ? I'm new to IRC chat
Find
Reply
05-18-2017, 11:31 PM
#6
nonexist Offline
Senior Member
****
Posts: 305
Threads: 26
Joined: Jul 2016
(05-18-2017, 04:17 PM)Servlet Wrote: Hi Jos, I download the new master build for android but the version still 5.0-3617, also some changes not implemented yet (it seems the android build on master stuck on 5.0-3617 for a while now).

My custom build is from master svn check out today, where some new improvement from the latest master build available to download (like the overlay icon that response to touch, this not available in master latest for android).

Also I join the IRC chat, but it seems there is no chat activity there, is it normal or I miss some configuration ? I'm new to IRC chat

can you share your build? thx
Find
Reply
05-18-2017, 11:45 PM
#7
JosJuice Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 8,693
Threads: 7
Joined: Oct 2014
(05-18-2017, 04:17 PM)Servlet Wrote: Also I join the IRC chat, but it seems there is no chat activity there, is it normal or I miss some configuration ? I'm new to IRC chat

It's normal, depending on the time of day and your luck. Sometimes there aren't even any messages for several hours.
Find
Reply
05-19-2017, 01:49 AM (This post was last modified: 05-19-2017, 01:50 AM by Servlet.)
#8
Servlet Offline
Junior Member
**
Posts: 44
Threads: 2
Joined: May 2017
(05-18-2017, 11:31 PM)nonexist Wrote: can you share your build? thx

http://www.droidbin.com/p1bgcsmj4takc39t681ci11pvm3

The only change is that the portrai layout screen voes on top half of your phone, so you can use lower half for controls

To jos, yes there is changes in states number in few commits so I guess the savestate from old version won't work

Also degasus said he will fix the master release so it will not stuck at 5.0-3617
Find
Reply
05-19-2017, 01:58 AM
#9
AnyOldName3 Offline
First Random post over 9000
*******
Posts: 3,508
Threads: 1
Joined: Feb 2012
I'm just going to point out before you get in trouble that you also need to supply the actual changes you made to Dolphin's source with any build. It's one of the requirements of the GPL.
OS: Windows 10 64 bit Professional
CPU: AMD Ryzen 5900X
RAM: 16GB
GPU: Radeon Vega 56
Find
Reply
05-19-2017, 02:08 AM (This post was last modified: 05-19-2017, 02:08 AM by JosJuice.)
#10
JosJuice Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 8,693
Threads: 7
Joined: Oct 2014
(05-19-2017, 01:58 AM)AnyOldName3 Wrote: I'm just going to point out before you get in trouble that you also need to supply the actual changes you made to Dolphin's source with any build. It's one of the requirements of the GPL.

Almost. You technically need to supply the full source code, not just the changes (not that anyone here likely would care about enforcing it).
Find
Reply
« Next Oldest | Next Newest »
Pages (2): 1 2 Next »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode