Expanding CS modding with .DLL and .INI files

Nov 21, 2010 at 1:30 PM
Neophyte Member
"Fresh from the Bakery"
Join Date: Nov 21, 2010
Location:
Posts: 2
hey guy's,am mario from la la land,i came here to say i love this game and would like to give an idea of how to expand/improve it's modding style.
so first off,if for example the game had a logic to read files from an ini,then it would be easier for everyone to change thing's,like the player's speed,weapon data,NPC's etc,an example for this is:

[ObjectList]
1=quote
2=curly
3=critter
4=bat
etc..

and then every one of them has a section like:
hspeed=
vspeed=
hp=
etc...

and about dll's,well,i got this idea from another game's modding (yuri's revenge) which had been hacked through ASM by a bunch of guy's,and then they are using a DLL to enhance the games function's.
i know these are hard to do and all but it's a good idea don't you think?.
 
Nov 21, 2010 at 4:37 PM
Senior Member
"Fly, Fly, Fly!"
Join Date: Oct 29, 2010
Location: IN HELL
Posts: 145
Well, it's certainly possible. It'd also be insanely difficult. If you really need to expand the Cave Story engine that much, it'd probably be less effort to write your own engine from scratch.

I'm not sure you totally understand what you're talking about here...
 
Nov 21, 2010 at 6:11 PM
graters gonna grate
"Heavy swords for sale. Suitable for most RPG Protagonists. Apply now!"
Join Date: Jul 2, 2008
Location: &
Posts: 1886
Age: 32
Pronouns: he/him
And I don't really see the advantage of this over using one of the editors (CaveEdit or Sue's Workshop).
 
Nov 21, 2010 at 6:36 PM
Only Love, Maximum Love, Forever
"Life begins and ends with Nu."
Join Date: May 6, 2009
Location: somewhere new
Posts: 2135
Age: 29
Pronouns: he/him
Mario said:
...(yuri's revenge) which had been hacked...by a bunch of guy's
lol.

On-topic,

I'm not sure it would be that beneficial to modding, it seems like a lot of effort for not that much improvement.

But hey, if you want to, then feel free.
 
Nov 22, 2010 at 12:59 PM
Neophyte Member
"Fresh from the Bakery"
Join Date: Nov 21, 2010
Location:
Posts: 2
that's fine by me,but i only know C++ and no assembly at all,if possible,i could write the code and compile it,and a one of you guys would patch CS with it,that's where it become's easy to you.
and the good stuff about this is that you don't have to go ASM haxing just to add some NPC,and you can make some new AI's for the NPC's,now what do you think?.
 
Nov 22, 2010 at 4:43 PM
Pirate Member
"Heavy swords for sale. Suitable for most RPG Protagonists. Apply now!"
Join Date: Dec 26, 2007
Location: Lithuania
Posts: 1946
I have as much programming experience as a badger, but I'll say this - it would be too hard.
 
Nov 22, 2010 at 7:49 PM
Lvl 1
Forum Moderator
"Life begins and ends with Nu."
Join Date: May 28, 2008
Location: PMMM MMO
Posts: 3713
Age: 32
Noxid proved that it's completely possible to link dll's to the exe with the pxtone.dll.

I'd say this might be a bit useful, but it would be hard since things like the "entity" object have a lot of fields (x-pos, y-pos,....) that would need to be accounted for in the dll. It might not be worth the effort.
 
Nov 22, 2010 at 10:33 PM
Lvl 1
Forum Moderator
"Life begins and ends with Nu."
Join Date: May 28, 2008
Location: PMMM MMO
Posts: 3713
Age: 32
We do...?

I don't see how that relates to the conversation, except for that someone could make a CS "mod" with that engine rewrite (which infact would be a lot easier than hacking the exe to run off of a dll).
 
Nov 22, 2010 at 11:06 PM
Vanished.
Bobomb says: "I need a hug!"
Join Date: Apr 5, 2008
Location:
Posts: 776
...
that's fine by me,but i only know C++
That is an OpenSource C++ Engine that is like Cave Story.
It reads the CS Data.

Go ahaed and make it read DLLs and Stuff.
Huge success.
 
Back
Top