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


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Site › dolphin-emu.org articles v
1 2 3 Next »

Game Modification: 60 FPS Hacks and Patches
View New Posts | View Today's Posts

Pages (84): « Previous 1 ... 38 39 40 41 42 ... 84 Next »
Jump to page 
Thread Rating:
  • 3 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Game Modification: 60 FPS Hacks and Patches
10-25-2016, 08:12 PM (This post was last modified: 10-25-2016, 08:13 PM by Zerowalker.)
#391
Zerowalker Offline
Member
***
Posts: 208
Threads: 19
Joined: Jan 2016
(10-25-2016, 07:47 AM)Meowmaritus Wrote: Well if you're doing stuff for button presses just do what I do: copy another button press code and change the button code to the one you want ( ͡° ͜ʖ ͡°)

That's what i usually do, "reverse engineering" so to speak, cause if i see the code that does something, and can see what it does, i can try figure out how it does itSmile

But i was able to get most code types working, took forever for me to understand them, but it was kinda obvious, only thing wasn't that they didn't give clear examples.

Though, i have some weird issues, for example if i have a "if button pressed" code above other code (but in separate Codes, as in Checkboxes) the others won't runt.
Might be save states issues again though.

Will check out your Hitbox stream;D

EDIT:

It can be worth checking that i was 10 hours off -_-.
Find
Reply
10-26-2016, 02:18 AM
#392
Zerowalker Offline
Member
***
Posts: 208
Threads: 19
Joined: Jan 2016
Trying to figure out what the hell "stbx and "lbzx" does.
stbx r1,r2,r3
I think stbx at least just saves what's in r1 (as bytes?) in the address "r2 + r3".
I assume lbzx does something similar, but i can't find the memory address it loads from,
the place i found is wrong.
Find
Reply
10-26-2016, 09:37 AM
#393
Meowmaritus Offline
Zelda Enthusiast
***
Posts: 111
Threads: 0
Joined: Oct 2016
(10-26-2016, 02:18 AM)Zerowalker Wrote: Trying to figure out what the hell "stbx and "lbzx" does.
stbx r1,r2,r3
I think stbx at least just saves what's in r1 (as bytes?) in the address "r2 + r3".
I assume lbzx does something similar, but i can't find the memory address it loads from,
the place i found is wrong.

I don't know what the 'x' suffix instructions do.
Find
Reply
10-26-2016, 09:40 AM
#394
gamemasterplc Offline
Above and Beyond
*******
Posts: 1,111
Threads: 7
Joined: Mar 2016
They are indexed loads and stores. Indexed loads and stores add the last 2 registers mentioned in the instruction to calculate the address to use for loads and stores.
Website is gamemasterplc.com. Youtube Channel is gamemasterplc.
Website Find
Reply
10-26-2016, 10:01 AM
#395
Zerowalker Offline
Member
***
Posts: 208
Threads: 19
Joined: Jan 2016
(10-26-2016, 09:37 AM)Meowmaritus Wrote: I don't know what the 'x' suffix instructions do.

Ah, well the only conclusion i could make was that they add the Registers together (the Addresses),
the thing i didn't know about the Lbzx or whatever it was called was that it loaded it weirdly, so i thought i was at the wrong address.

Btw, i am trying to backtrack a framecount multiplier, so that i can change the default 1.0 to 0.5.
However it seems to use different ones depending on the scene (which sucks).
And when i backtracked one of them, it goes to a value which i can't figure out hows it's ever written to the memory.
Dolphin won't notice it even with Breakpoints, and the closest thing i could find was that it occurred during some thread context sleep thingy.
And happened during a "While not true, repeat" function which did nothing except load a value and compare it constantly,
so i just clicked to break out of that loop, and when it did the value had been written to the address i was keeping check on, even though there wasn't any such function thereSad

I mean the 1.0 values has to come from somewhere, and i am pretty sure it's best practice to change the source than the change the last one in the line.
Find
Reply
10-26-2016, 10:10 AM (This post was last modified: 10-26-2016, 10:30 AM by Meowmaritus.)
#396
Meowmaritus Offline
Zelda Enthusiast
***
Posts: 111
Threads: 0
Joined: Oct 2016
(10-26-2016, 10:01 AM)Zerowalker Wrote: Ah, well the only conclusion i could make was that they add the Registers together (the Addresses),
the thing i didn't know about the Lbzx or whatever it was called was that it loaded it weirdly, so i thought i was at the wrong address.

Btw, i am trying to backtrack a framecount multiplier, so that i can change the default 1.0 to 0.5.
However it seems to use different ones depending on the scene (which sucks).
And when i backtracked one of them, it goes to a value which i can't figure out hows it's ever written to the memory.
Dolphin won't notice it even with Breakpoints, and the closest thing i could find was that it occurred during some thread context sleep thingy.
And happened during a "While not true, repeat" function which did nothing except load a value and compare it constantly,
so i just clicked to break out of that loop, and when it did the value had been written to the address i was keeping check on, even though there wasn't any such function thereSad

I mean the 1.0 values has to come from somewhere, and i am pretty sure it's best practice to change the source than the change the last one in the line.

Well good luck. I'm gonna be playing the Dark Souls III DLC today so I probably wont be back on here until later. See ya.

EDIT: going to stream soon. Playing Dark Souls III later

Edit 2: streaming now https://www.hitbox.tv/Meowmaritus
Find
Reply
10-26-2016, 11:02 AM
#397
Zerowalker Offline
Member
***
Posts: 208
Threads: 19
Joined: Jan 2016
(10-26-2016, 10:10 AM)Meowmaritus Wrote: Well good luck. I'm gonna be playing the Dark Souls III DLC today so I probably wont be back on here until later. See ya.

EDIT: going to stream soon. Playing Dark Souls III later

Edit 2: streaming now https://www.hitbox.tv/Meowmaritus

Thanks!

Awesome, hope you enjoy it, i myself played through DS1 and 2 some month ago, and well, i played both for like 100 hours each (though i prefer the first one cause of things;P).

Watching the Stream a bit, first thing i noticed was your layout, i always had the Game in another Window, didn't know you could have it like that, thought it would take up the entire Main Window lol.
Find
Reply
10-26-2016, 02:53 PM (This post was last modified: 10-26-2016, 04:50 PM by Meowmaritus.)
#398
Meowmaritus Offline
Zelda Enthusiast
***
Posts: 111
Threads: 0
Joined: Oct 2016
(10-26-2016, 11:02 AM)Zerowalker Wrote: Thanks!

Awesome, hope you enjoy it, i myself played through DS1 and 2 some month ago, and well, i played both for like 100 hours each (though i prefer the first one cause of things;P).

Watching the Stream a bit, first thing i noticed was your layout, i always had the Game in another Window, didn't know you could have it like that, thought it would take up the entire Main Window lol.

Yeah Dark Souls 1 is the best out of the 3, although 3 is way better than 2 [color=#7F7F7F]*cough*and Bloodborne is the absolute best game of all time*cough*[/color]

On the previous stream, I made a list of problems that is probably not complete but asldkfjalsdkgjh whatever I'm exhausted mentally
https://docs.google.com/document/d/14vzDXTBZKHVumCxl90grGq7s6DjF-sb7IFZ3PcFfNSQ/edit?usp=sharing
















https://youtu.be/dxIea0bjYbI
Find
Reply
10-26-2016, 09:21 PM
#399
Zerowalker Offline
Member
***
Posts: 208
Threads: 19
Joined: Jan 2016
Well that's nice, cause well, the second game was hugely disappointing compared to the first (in some terms at least for me!)
Mostly i had a hard time with how the Combat feeling was, i did however like that the weapons was a bit better scaled.
Well not gonna say anything more, don't wana spoil for those who haven't played it!

And i really admire your documentation, you really put your mind to it!
For all it's worth take a break and enjoy some gaming for funSmile
It's never good to work oneself to death so to speak (and well i do the same, get stuck with something and can waste so much time on it).
Eventually you just thing "fuck it...", have fun and good luck, and come back whenever you like;D

Haha, that toon link xD
Find
Reply
10-27-2016, 04:53 AM (This post was last modified: 10-27-2016, 08:21 AM by Meowmaritus.)
#400
Meowmaritus Offline
Zelda Enthusiast
***
Posts: 111
Threads: 0
Joined: Oct 2016
Just wanted to post a bit of a different update than the usual "hurr durr wind waker 60 fps is broken as fuck and i dunno how to fix it but im trying real hard let me help you with PPC, @Zerowalker ( ͡ ° ͜ ʖ ͡°)".

I'm taking a break from Wind Waker Framerate Hack for a day or two. In the meantime I've been working on G2G (which is that thing I mentioned that one time, remember?). I'm actually pretty close to finishing it. Before you get too impressed, just know that I didn't write the actual PPC assembler; it's the same EXE that CodeWrite uses.

I've finally decided on the syntax:
G2G Syntax: (Show Spoiler)

//Generates a Gecko code entry named "$<GeckoCodeName>" which, when activated, inserts the PPC code <PPCCode> at the address <Address>.
@gecko asm insert <Address> <GeckoCodeName>
{
   <PPCCode>
}

//Generates a Gecko code entry named "$GeckoCodeName>" which, when activated, executes the PPC code <PPCCode> directly.
@gecko asm execute <GeckoCodeName>
{
   <PPCCode>
}

/*
   These codes in <ListOfGeckoCodes> are simply added directly to the code output file (which
   can be useful, especially when using my upcoming tool that automatically inserts the Gecko
   codes from the output file directly into a specific game's INI in "Dolphin Emulator\GameSettings"
*/
@gecko raw
{
   <ListOfGeckoCodes>
   /*
       List format:
       
       $SomeGeckoCode
       12345678 9ABCDEF0
       $AnotherGeckoCode
       98765432 10FEDCBA
   */
}

//These double-slash C-like comments are a feature exclusive to G2G.

/*
   This kind of comment is supported btw (standard PPC assembler feature)
*/

; The standard PPC assembler also lets you do end of line comments using semicolons like this.

More info coming soon.

Edit: has formatting gon 2 far
Code:
       public static string EncapsulateInTokensAndIndent(string text, string openingToken, string closingToken, int indentTabs)
       {
           return string.Join(Environment.NewLine, (new string[] { openingToken, SetIndent(text, indentTabs), closingToken }));
       }

       public static string SetIndent(string text, int indentTabs)
       {
           return string.Join(Environment.NewLine, text
               .Split(new string[] { Environment.NewLine }, StringSplitOptions.RemoveEmptyEntries)
               .Select(x => new string(' ', indentTabs * 4) + x.Trim()));
       }
Find
Reply
« Next Oldest | Next Newest »
Pages (84): « Previous 1 ... 38 39 40 41 42 ... 84 Next »
Jump to page 


  • 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