#1 24-01-2009 06:46

Deji
From: UK
Registered: 09-11-2008
Posts: 189
Website

Using Some Functions...

It's been bugging me for ages! How do I make a .ini file with settings the user can edit and/or the cleo mod can edit and read. Examples...

If the ini file had a line with a setting to turn something on/off how could I check wether the result says 1 or 0?

If I wanted to make an animation apply that the user has to type in the ini file, and then the game applies whatever was typed?

Tis been bugging me for aaages and I'd be greatful if you can help! If this is impossible and I've gotten the wrong idea, could you maybe add this? I get the feeling you did since the writefile and readfile opcodes are in there. I just need an example of how to know how many bytes to read or something...

Offline

#2 24-01-2009 06:56

Seemann
Registered: 07-08-2006
Posts: 2,153

Offline

#3 24-01-2009 07:14

Deji
From: UK
Registered: 09-11-2008
Posts: 189
Website

Re: Using Some Functions...

Seemann wrote:

Try this
http://alexander.sannybuilder.com/Files … ode1.0.rar

It adds several opcodes to work with INI files

Great! I'll add em to the flash drive and test when I get home smile If it works I'll worship you forever!!! grin

Isn't this the thing to add opcodes? How does it work, does it add them using memory address?

Last edited by Deji (24-01-2009 07:15)

Offline

#4 11-02-2009 16:49

Deji
From: UK
Registered: 09-11-2008
Posts: 189
Website

Re: Using Some Functions...

Well, I tried it but apparently I have the wrong type of .exe... Any ideas? I figure getting an american version might work but the problem is that I don't want my downloaders to go through the same hassle... Is there a version that works for all exes?

Offline

#6 12-02-2009 13:38

Deji
From: UK
Registered: 09-11-2008
Posts: 189
Website

Re: Using Some Functions...

So... I'll have to provide that with every release of my mod and I'll have to patch up the exe again? :wow:

Isn't there a simpler way?

Offline

#7 12-02-2009 15:35

Seemann
Registered: 07-08-2006
Posts: 2,153

Re: Using Some Functions...

I can't help you much as I'm not the author of the QuickOpcode plugin.

Offline

Board footer

Powered by FluxBB