Staredit Newtork
Community
StarCraft
Games
Site
Favourites
Firegraft Update Discussion

Pages: < 1 « 2 3 4
Creator: DiscipleOfAdun
Time: May 22 2008, 4:24 am

Post #61     poiuy_qwert Sep 1 2008, 7:38 am

[Avatar]
PyMS Developer
 offline contact
Yay for updates. I can't think of anything to add at the moment, just wanted to say keep it up, I cant wait for it to be done!
This was generated by a program of mine that had a bug. I thought it was pretty crazy.
(signature image)
BroodWarAI.com (Forums) | PyMS (Forums/Local) | LocUnlock
Top

Post #62     DiscipleOfAdun Sep 4 2008, 4:29 am

[Avatar]
 offline contact
Just a bit of info, I got both .PAT and .MGD importing working tonight. Finally some more mods can be updated.

So, I've got about a dozen things left to do before you guys can get your hands on it. Most of these are critical to the app working, like the save functions. :P

A couple of things -

If someone wants to make a new splash screen, you can do that and send it to me, and if I like it, I'll put it in.
Same for the background images in the credit and about dialog boxes.

The few(and this is very few) people who've worked with FG's plugins, I'd like any feedback you have. Especially if there's a function you think I should have that isn't there. Now might be the only time I feel good about changing the format.

If school doesn't get too busy, I give myself a month or so to finish coding things and find the exe edit offsets. Don't hold me to that, it's just a rough guess based on how much I've been getting done. :)
Top

Post #63     A_of-s_t Sep 4 2008, 4:41 am

[Avatar]
Master of Temptation, Ruler of Aeronotics, and Secret Lover
 offline contact
How do you check SC versions? That's pretty much all I'd like to know :P
(user posted image)
Top

Post #64     DiscipleOfAdun Sep 4 2008, 3:44 pm

[Avatar]
 offline contact
Something like this. This function isn't actually one I use, but it's really close. Basically, after the string is returned, a simple strcmp against the version you are looking for will tell you if it's the right version or not.

Code

char* GetVersionString(char* ExePath)
{
    void * data;
    void * verloc;
    DWORD dwVerSize, PVL, PVH, dwExeVerSize, dwBufSize;
    char * szVerString;

    //Get the version size
    dwExeVerSize = GetFileVersionInfoSize(ExePath, (unsigned long*)&PVL);
   
    data = new char[dwExeVerSize];
   
    if (!GetFileVersionInfo(ExePath, 0, dwExeVerSize, data))
    {
        delete[] data;
        return NULL;
    }

    if (!VerQueryValue(data, "\\", &verloc, (PUINT)&dwVerSize))
    {
        delete[] data;
        return NULL;
    }

    VS_FIXEDFILEINFO* vers = (VS_FIXEDFILEINFO*)verloc;

    PVH = vers->dwProductVersionMS;
    PVL = vers->dwProductVersionLS;
   
    int a,b,c,d;
    a = PVH >> 16;
    b = PVH & 0xffff;
    c = PVL >> 16;
    d = PVL & 0xffff;

    szVerString = new char[6];
   
    if (b < 14)     //1.13f or below
    {
        sprintf(szVerString, "%d.%d%d%c", a, b, c, (((d+1)/2)+0x60));
    }
    else
    {
        sprintf(szVerString, "%d.%d.%d", a, b, c);
    }

    return szVerString;
}
Top

Post #65     O)FaRTy1billion[MM] Sep 7 2008, 5:26 pm

[Avatar]
Remember the game! P.s.: Feldspar.
 offline contact
Quote from A_of-s_t
How do you check SC versions? That's pretty much all I'd like to know :P
Didn't I already give you stuff to check versions? >.>

Also it is likely that I can help find some offsets, if needed.
>The Game!<
>Taking SCD4 Suggestions!<
Clicky, Clicky!
Top

Post #66     DiscipleOfAdun Sep 8 2008, 12:03 am

[Avatar]
 offline contact
Okay, I finalized the changes to the plugin format. It's enough that old plugins won't work, but the change is worth it I think. I've added a configuration routine that will allow the plugin to gather data however it wants(complete control passes over to it), and then that buffer is saved and then available to the patching function.

If I have time, I will be creating a plugin to release along with FG that will show how this can be used to do some really cool stuff. If I do get it done, I'll release the source for it as an example on how to do many things the plugin system will allow.

If the few people who are familiar with the old plugin system(and the exe, to some point) would like to help out with this, I'd might could use the help. Bug me on MSN.
Top

Post #67     A_of-s_t Sep 8 2008, 12:22 am

[Avatar]
Master of Temptation, Ruler of Aeronotics, and Secret Lover
 offline contact
BTW, did you manage to do that thing that you PMed me about on BWAI?
(user posted image)
Top

Post #68     DiscipleOfAdun Sep 8 2008, 12:33 am

[Avatar]
 offline contact
No, not yet. And that isn't what I had planned either. That is still on my list though.

This current idea is much more desired by modders. Very much so. ;)
Top

Post #69     Mantis Sep 8 2008, 12:34 am

[Avatar]
 offline contact
Hey adun i'm currently working on a sc campaign, if its true that this will be compatible with future versions then I will make full use of it and make one for my first campaign as well.
Top

Post #70     A_of-s_t Sep 8 2008, 12:38 am

[Avatar]
Master of Temptation, Ruler of Aeronotics, and Secret Lover
 offline contact
Quote from DiscipleOfAdun
No, not yet. And that isn't what I had planned either. That is still on my list though.

This current idea is much more desired by modders. Very much so. ;)
Don't they kind of go hand in hand anyway? :P
(user posted image)
Top

Post #71     DiscipleOfAdun Sep 8 2008, 1:18 am

[Avatar]
 offline contact
Quote from A_of-s_t
Don't they kind of go hand in hand anyway? :P

Eh, kinda. Either thing I mentioned isn't quite related to the new plugin I'm going to make though. What I've got planned out is a bit different in what it's going to do. However, just as awesome.
Top

Post #72     poiuy_qwert Sep 8 2008, 3:00 am

[Avatar]
PyMS Developer
 offline contact
Oooh so secretive sounding! The suspense! I wonder what the plugin will do?! Is it for easy ASM injection??
This was generated by a program of mine that had a bug. I thought it was pretty crazy.
(signature image)
BroodWarAI.com (Forums) | PyMS (Forums/Local) | LocUnlock
Top

Post #73     DiscipleOfAdun Sep 8 2008, 3:20 am

[Avatar]
 offline contact
The old plugin system that I'm tossing had asm injection. The test plugin I made for the dead AI fusion project has some asm injection.

Something different. It will take some asm, I think, if I can't figure out the calling convention on the stuff I'm looking at.

EDIT -

I really could also use someone willing to make up new images and such. If they are a modder too, they'll get to help me test my plugin. ;)
This post was edited 2 times, last edit by DiscipleOfAdun: Sep 8 2008, 7:31 am.
Top

Post #74     bajadulce Sep 8 2008, 7:50 am

[Avatar]
 offline contact
Sign me up. I eat bugs for lunch. I might not know the kernel of the program nor the language, but if there are bugs I'll spot them. I tend to experiment/discover things on my own so I have no biases in terms of standard use of said program.
This is the signature I bought with my cash. :)
Top

Post #75     Hercanic Sep 8 2008, 5:05 pm

[Avatar]
 offline contact
Dear DiscipleOfAdun:
I could possibly make some graphics for you. Just describe what you envision, along with any technical specifications such as dimensions, color depth, file size, prefered format, etc. You want a spash screen and two background images for the credits/about screens, right? What about logo and icons (one for the program, and one for mods -- though it'd be really nifty if mods could import their own for a more unique identity)?
Top

Post #76     poiuy_qwert Sep 8 2008, 8:16 pm

[Avatar]
PyMS Developer
 offline contact
They can choose their own icon (or could in an older version at least). Also I would like to help out with the plugin stuff in any way if possible. I'm fairly new to it but I learn very quickly, and I really like working on them.
This was generated by a program of mine that had a bug. I thought it was pretty crazy.
(signature image)
BroodWarAI.com (Forums) | PyMS (Forums/Local) | LocUnlock
Top

Post #77     DiscipleOfAdun Sep 8 2008, 9:32 pm

[Avatar]
 offline contact
Yeah, i forgot the icon.

Speaking of icons, i'm still trying to get the icon import working 100%...can't figure out how to get different sized ones yet. Not fair.

Herc, I'll PM you with some info and such.

PQ, we'll talk about what I want to do, probably via pm on BWAI, since I'm low on space here. I'd love the help, especially with what I've got planned.
Top

Post #78     poiuy_qwert Sep 8 2008, 9:35 pm

[Avatar]
PyMS Developer
 offline contact
Alright cool. I also have MSN/AIM if you would rather use one of them.
This was generated by a program of mine that had a bug. I thought it was pretty crazy.
(signature image)
BroodWarAI.com (Forums) | PyMS (Forums/Local) | LocUnlock
Top

Post #79     DiscipleOfAdun Sep 8 2008, 11:52 pm

[Avatar]
 offline contact
Add my msn then, it's much easier to talk that way. It's in my profile now(dunno why it wasn't there before).
Top
0 members in this topic: None
+ 0 guest(s)


[01:54 pm]
Pigy_G -- Millennium Army Is the shit, <3 ME MA!!
[12:18 pm]
MadZombie -- DM ffs u and your hentai =(
[11:21 am]
Shocko -- Mafia win :D
[09:51 am]
MillenniumArmy -- no, MA is the definition of rox
[09:01 am]
BluEditor -- so definition of sux=MA?
[08:24 am]
Mafia.KrayZee -- MillenniumArmy sux
[08:01 am]
BluEditor -- ok
You must log in to shout.

©2003-2008 Staredit Network.
Starcraft & Starcraft II are trademarks of Blizzard Entertainment.
Site Index   |   Terms of Service   |   Privacy Policy   |   Contributions