• 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 ... 39 40 41 42 43 ... 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-27-2016, 10:53 AM (This post was last modified: 10-28-2016, 02:46 AM by Meowmaritus.)
#401
Meowmaritus Offline
Zelda Enthusiast
***
Posts: 111
Threads: 0
Joined: Oct 2016
I'm making really great progress on G2G. I got a ridiculous amount of work done today.

Large Image: (Show Spoiler)
[Image: fb026fd282318f9aaf2eb33bda5e17bd.png]



Edit: How you know you're programming in C#
Code:
public override abstract string ConvertToString();
Find
Reply
10-28-2016, 05:41 AM
#402
Meowmaritus Offline
Zelda Enthusiast
***
Posts: 111
Threads: 0
Joined: Oct 2016
I am now completely done developing the G2G backend. Once I finish the actual part that handles the command line arguments (which wont take very long at all) then I can start editing Wind Waker Framerate Hack to use G2G's formatting and cleaning up the code and stuff.

Once I have all the cleaned up Wind Waker Framerate Hack code in .g2g files, I'm going to:
  • Put the Wind Waker Framerate Hack source in a GitHub repository with an open source license (haven't decided what type of license yet).
  • Put the G2G source in a GitHub repository with an open source license (haven't decided what type of license yet).
  • Make a thread for Wind Waker Framerate Hack.
  • Make a thread for G2G.

It could take up to a day for me to finish all that because I'm trying to relax a bit today.

Anyways, I'll bring links to everything once its all online.
Find
Reply
10-28-2016, 07:05 AM
#403
themanuel Offline
Parasitic Member of the Community
*****
Posts: 828
Threads: 63
Joined: Oct 2009
(10-28-2016, 05:41 AM)Meowmaritus Wrote: I am now completely done developing the G2G backend. Once I finish the actual part that handles the command line arguments (which wont take very long at all) then I can start editing Wind Waker Framerate Hack to use G2G's formatting and cleaning up the code and stuff.

Once I have all the cleaned up Wind Waker Framerate Hack code in .g2g files, I'm going to:
  • Put the Wind Waker Framerate Hack source in a GitHub repository with an open source license (haven't decided what type of license yet).
  • Put the G2G source in a GitHub repository with an open source license (haven't decided what type of license yet).
  • Make a thread for Wind Waker Framerate Hack.
  • Make a thread for G2G.

It could take up to a day for me to finish all that because I'm trying to relax a bit today.

Anyways, I'll bring links to everything once its all online.

Good news.  Looking foward to it.
Windows 10 Pro x64  |  i7-9700K @ 4.6-5.0GHz  |  MSI Z370 Gaming Plus  |  MSI RX 5700 8GB Factory-OC  |  16 GB DDR4-3000
Find
Reply
10-28-2016, 12:22 PM (This post was last modified: 10-28-2016, 12:25 PM by Meowmaritus.)
#404
Meowmaritus Offline
Zelda Enthusiast
***
Posts: 111
Threads: 0
Joined: Oct 2016
I finally have a real example of G2G that was actually compiled by G2G and not just an idea lol.

The input file was named "G2GTestFile.g2g" and was placed inside the "./G2GTest/" folder. Here are the file's exact contents.

I then ran G2G, telling it to compile all G2G files in the "./G2GTest/" folder and print the gecko codes directly into the console window. Here is the exact console output copied from the console window.


Edit: In case you're wondering, an ASM error inside of "NamingIncludesForMoreUsefulErrorDialogsTest" outputs this: Error compiling directive "@include NamingIncludesForMoreUsefulErrorDialogsTest" at code 2 in G2G file ".\G2GTestFile.g2g": <Error Message>
Find
Reply
10-28-2016, 01:57 PM
#405
Zerowalker Offline
Member
***
Posts: 208
Threads: 19
Joined: Jan 2016
Nice, one suggestion from me that CodeWrite doesn't do well is that when you convert form Address to Hex and Back, it writes it as integers, which kinda sucks;P
Though that is in the assembler i think it shouldn't be that hard to change, i myself wanted to look into it, but it had such weird programming and i can barely handle C# xD
Find
Reply
10-28-2016, 03:35 PM
#406
Meowmaritus Offline
Zelda Enthusiast
***
Posts: 111
Threads: 0
Joined: Oct 2016
(10-28-2016, 01:57 PM)Zerowalker Wrote: Nice, one suggestion from me that CodeWrite doesn't do well is that when you convert form Address to Hex and Back, it writes it as integers, which kinda sucks;P
Though that is in the assembler i think it shouldn't be that hard to change, i myself wanted to look into it, but it had such weird programming and i can barely handle C# xD

Uhh what
Find
Reply
10-28-2016, 04:27 PM
#407
Zerowalker Offline
Member
***
Posts: 208
Threads: 19
Joined: Jan 2016
Say, 0x80903031 becomes something like -13349 etc.
Find
Reply
10-28-2016, 11:19 PM
#408
Meowmaritus Offline
Zelda Enthusiast
***
Posts: 111
Threads: 0
Joined: Oct 2016
(10-28-2016, 04:27 PM)Zerowalker Wrote: Say, 0x80903031 becomes something like -13349 etc.

As of now, G2G only assembles, not dissassembles...
Find
Reply
10-28-2016, 11:24 PM
#409
Zerowalker Offline
Member
***
Posts: 208
Threads: 19
Joined: Jan 2016
(10-28-2016, 11:19 PM)Meowmaritus Wrote: As of now, G2G only assembles, not dissassembles...

Oh, my bad, didn't mean it as a demand of such, just mentioned it If it happens to be made, etc, you can just ignore itSmile
Will it allow btw several inject addresses per page?

As CodeWrite Doesn't which i can find a bit lacking at times as i have to split it up a lot (then a gain i probably code badly for having to do that).
But might as well ask, nto sure if you mentioned it or not, i don't even know what the hell G2G is, but i will assume it means Good 2 Go!
Find
Reply
10-29-2016, 01:36 AM (This post was last modified: 10-29-2016, 01:46 AM by Meowmaritus. Edit Reason: Didn't realize [code] had a small window size )
#410
Meowmaritus Offline
Zelda Enthusiast
***
Posts: 111
Threads: 0
Joined: Oct 2016
(10-28-2016, 11:24 PM)Zerowalker Wrote: Oh, my bad, didn't mean it as a demand of such, just mentioned it If it happens to be made, etc, you can just ignore itSmile
Will it allow btw several inject addresses per page?

As CodeWrite Doesn't which i can find a bit lacking at times as i have to split it up a lot (then a gain i probably code badly for having to do that).
But might as well ask, nto sure if you mentioned it or not, i don't even know what the hell G2G is, but i will assume it means Good 2 Go!

Yeah you can put as many ASM injections, ASM executions, and plain ol' regular Gecko codes as you want. All of it will turn into a list of Gecko codes, including any regular straight Gecko codes you put in there. Just look at the example. I had a single injection thing, which is kind of silly on my part, but the whole point of the separated code surrounded by braces was to allow multiple enclosed injections.

BTW, protip: PowerPC ASM looks really nice if you set your favorite code editor to Ruby syntax (I use Sublime Text on Solarized Light theme and it looks pretty lit fam)


EDIT: I never did post the source code of the example console app I ran that referenced the G2G library and produced the sample output I posted. Here is the entire source of that console app (note that it's very short):
Code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using Meowmaritus.G2G.Helpers;

namespace Meowmaritus.G2G.CMD
{
    class Program
    {
        static void Main(string[] args)
        {
            try
            {
                Console.WriteLine(Compiler.CompileG2GDirectoryIntoGecko(Path.Combine(Environment.CurrentDirectory, "G2GTest")).ConvertToString());
            }
            catch (CompilerFailedInContextException e)
            {
                var oldColor = Console.ForegroundColor;
                Console.ForegroundColor = ConsoleColor.Red;
                Console.WriteLine(e.Message);
                Console.ForegroundColor = oldColor;
            }
        }
    }
}
Find
Reply
« Next Oldest | Next Newest »
Pages (84): « Previous 1 ... 39 40 41 42 43 ... 84 Next »
Jump to page 


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


Users browsing this thread:



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode