Coding

 Reply to this postStart new topic

CLEO 4

Deji
post Feb 25 2010, 06:45 PM
Post #1


Coding like a Rockstar!

Group Icon

Posts: 1,468
From: ???
Joined: 28-May 09



CLEO, originally created by 'Seemann', is now being created by 'Alien'. Seemann will be helping the distribution of CLEO 4.

Check out this topic for the discussion of CLEO 4 on Sanny Builder. (Russian)


CLEO 4 adds 100 opcodes to the game (+50 since CLEO 3) as well as a few new fixes and plenty of functions for modders to use.


Here are some of the key fixes so far:

  • MP3 Opcodes Fixed - They also allow for 3D creation (bass.dll required)
  • Added support for European versions of the gta_sa.exe


Included are additional MP3 functions which allow you to use external .MP3/.OGG/.WAV etc. files in the game and text functions to allow you to display all kinds of text with no GXT/FXT entries... Even adding dynamic entries is supported.

So there's a lot to get using... I'm off to go do exactly that.


You can download the updated sascm.ini and opcodes.txt files as well as help for using the opcodes for CLEO 4 at the Opcode Database.


--------------------
Go to the top of the page
 
+Quote Post
Huckleberry Pie
post Feb 26 2010, 02:55 AM
Post #2


Ameteur Member

Posts: 49
Joined: 5-August 09



Nice... But is this backwards-compatible with existing CLEO files?
Go to the top of the page
 
+Quote Post
Deji
post Feb 26 2010, 02:08 PM
Post #3


Coding like a Rockstar!

Group Icon

Posts: 1,468
From: ???
Joined: 28-May 09



Yes. Complete compatibility.

At the moment, I don't think any of the old opcodes have changed greatly.


--------------------
Go to the top of the page
 
+Quote Post
Adler
post Jan 8 2011, 08:13 PM
Post #4


Devil's Advocate

Group Icon

Posts: 413
From: CA US
Joined: 26-July 09



Hey I just tried v4.1.1.30 of CLEO and it crashes my game (even when installed on a clean install). I think I had v4.1.1.25 before but I have a very sketchy memory. Did they change something in CLEO that makes it not work anymore?


--------------------
Go to the top of the page
 
+Quote Post
fastman92
post Jan 8 2011, 08:32 PM
Post #5


Trained Member

Posts: 77
Joined: 25-October 10



For me current version of CLEO4 doesn`t work anymore.
Go to the top of the page
 
+Quote Post
Deji
post Jan 8 2011, 09:14 PM
Post #6


Coding like a Rockstar!

Group Icon

Posts: 1,468
From: ???
Joined: 28-May 09



I've had 4.1.1.30 for ages and it's working fine.


--------------------
Go to the top of the page
 
+Quote Post
Adler
post Jan 8 2011, 10:44 PM
Post #7


Devil's Advocate

Group Icon

Posts: 413
From: CA US
Joined: 26-July 09



Hmmm that's weird. But now I can't play SA with CLEO anymore because 4.1.1.30 doesn't work for me. sad.gif

Can you try re-downloading CLEO 4 and installing it Deji?


--------------------
Go to the top of the page
 
+Quote Post
Deji
post Jan 9 2011, 12:26 AM
Post #8


Coding like a Rockstar!

Group Icon

Posts: 1,468
From: ???
Joined: 28-May 09



I did.. still works fine. Seems to be the same version I've had for ages.


--------------------
Go to the top of the page
 
+Quote Post
Adler
post Jan 9 2011, 01:53 AM
Post #9


Devil's Advocate

Group Icon

Posts: 413
From: CA US
Joined: 26-July 09



Damn wonder why it crashes for me and fastman. We need more input on this... huh.gif


--------------------
Go to the top of the page
 
+Quote Post
jayd00
post Jan 9 2011, 07:23 AM
Post #10


Ameteur Member

Posts: 42
From: Guatemala
Joined: 22-December 09



Hi! I had the same problem days ago, and the only thing that I did was put an OpenAL32.dll into SA and problem solved.. wink.gif
I hope this could help...
thumbsup.gif


--------------------


Go to the top of the page
 
+Quote Post
Adler
post Jan 9 2011, 07:14 PM
Post #11


Devil's Advocate

Group Icon

Posts: 413
From: CA US
Joined: 26-July 09



Hmm doesn't seem to work. I get an Exception At Address 0x00534134 every time even with OpenAL32.dll and on an SA install with everything clean besides CLEO 4 installed. confused.gif


--------------------
Go to the top of the page
 
+Quote Post
fastman92
post Jan 9 2011, 07:35 PM
Post #12


Trained Member

Posts: 77
Joined: 25-October 10



Adler, what system do you have? I have Windows 7.
Go to the top of the page
 
+Quote Post
Deji
post Jan 9 2011, 09:27 PM
Post #13


Coding like a Rockstar!

Group Icon

Posts: 1,468
From: ???
Joined: 28-May 09



@Adler

Your problem appears to be caused by collision files.


--------------------
Go to the top of the page
 
+Quote Post
Adler
post Jan 9 2011, 10:16 PM
Post #14


Devil's Advocate

Group Icon

Posts: 413
From: CA US
Joined: 26-July 09



Yup I got Windows 7 too. And collision files... well I was trying to put a plane in SA but it only crashed when I tried to spawn it. I haven't crashed at startup because of that but I'll try removing the plane to see if that's the problem.

EDIT

Wait a minute... that was on my modded install. Testing on my other install with CLEO 4 but is otherwise clean still gives the same address when it crashes. I got no ideas here... confused.gif

This post has been edited by Adler: Jan 9 2011, 10:33 PM


--------------------
Go to the top of the page
 
+Quote Post
Deji
post Jan 9 2011, 10:41 PM
Post #15


Coding like a Rockstar!

Group Icon

Posts: 1,468
From: ???
Joined: 28-May 09



The address is directly related to collision files. Could be caused by the inexistance of a collision file or the lack of linking one to the model which caused this crash.

Any more detailed reports? SALA should give a report which shows the values of registers (it will include info about EAX, ECX, etc).


--------------------
Go to the top of the page
 
+Quote Post
Adler
post Jan 9 2011, 11:58 PM
Post #16


Devil's Advocate

Group Icon

Posts: 413
From: CA US
Joined: 26-July 09



Here's the errordump:
CODE
GTA:SA Crashed, Debug Info Follows:

GTA Info:

Version: EU 1.0

Last File Loaded:

Last Library Loaded:

Error: ID Limit Breached


Assembly Info:

Exception At Address: 0x00534134

Exception Code: 0xc0000005 (EXCEPTION_ACCESS_VIOLATION)


Registers:

EAX: 0x00000000    EBX: 0x00000004

ECX: 0x00B11234    EDX: 0x0FF3C030

ESI: 0x0FF3C030    EDI: 0x00000000

EBP: 0x6A5924D8    ESP: 0x0028FCBC

It was a clean install so there should be no problems. This only started when I installed CLEO 4.1.1.30.

This post has been edited by Adler: Jan 9 2011, 11:58 PM


--------------------
Go to the top of the page
 
+Quote Post
Deji
post Jan 10 2011, 03:52 AM
Post #17


Coding like a Rockstar!

Group Icon

Posts: 1,468
From: ???
Joined: 28-May 09



Well apparently, the game is trying to load the collision for a model with the ID 120923, which can't exist since the limit is 20000. Hence the "object limit breached" message.

I would say there's no better option than to check your map files. If it's not that, it could be from one of the mods. Try renaming CLEO.asi and seeing if the game still works and then trying with CLEO enabled, but with no CLEO Scripts... but I really can't see how anything CLEO related would cause that particular crash.

Also, try with a 1.0 US .exe.


--------------------
Go to the top of the page
 
+Quote Post
Adler
post Jan 10 2011, 04:39 AM
Post #18


Devil's Advocate

Group Icon

Posts: 413
From: CA US
Joined: 26-July 09



The game works fine without CLEO and when CLEO is enabled I get the crash with the same error. It has to be CLEO-related but I'm not sure why that error occurs. I've got a clean install with no CLEO mods, no map mods, etc.; only the CLEO 4.1.1.30 is installed.

I'm using the compact EXE by the way.


--------------------
Go to the top of the page
 
+Quote Post
Adler
post Jan 16 2011, 05:29 AM
Post #19


Devil's Advocate

Group Icon

Posts: 413
From: CA US
Joined: 26-July 09



Sorry to bump but is CLEO 4 going to be developed further to include compatibility with Ryosuke's scripts (his Missile script in particular)?

Also, not being able to use CLEO 4 really sucks for me since I can't develop mods using CLEO 4 anymore. sad.gif CLEO 3 works fine for me and I'm happily enjoying the Missile script on it but I can't use my own mods anymore lol.


--------------------
Go to the top of the page
 
+Quote Post
fastman92
post Jan 27 2011, 12:22 PM
Post #20


Trained Member

Posts: 77
Joined: 25-October 10



My game doesn`t start with latest CLEO 4 Library (v4.1.1.30). gta_sa.exe appears, but nothing seems to happen visually.
I have Windows 7 and i didn`t test it on XP.
This version works: http://www.mediafire.com/?21kfrm0iw9ux3w3

This post has been edited by fastman92: Jan 27 2011, 12:24 PM
Go to the top of the page
 
+Quote Post
Reply to this postStart new topic

5 User(s) are reading this topic (5 Guests and 0 Anonymous Users)
0 Members: