Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!

    1. Red Dead Redemption 2

      1. PC
      2. Gameplay
      3. Missions
      4. Help & Support
    2. Red Dead Online

      1. Gameplay
      2. Find Lobbies & Outlaws
      3. Help & Support
      4. Frontier Pursuits
    1. Crews & Posses

      1. Recruitment
    2. Events

    1. GTA Online

      1. Diamond Casino & Resort
      2. DLC
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Grand Theft Auto Series

    3. GTA 6

    4. GTA V

      1. PC
      2. Guides & Strategies
      3. Help & Support
    5. GTA IV

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA IV Mods
    6. GTA Chinatown Wars

    7. GTA Vice City Stories

    8. GTA Liberty City Stories

    9. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA SA Mods
    10. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA VC Mods
    11. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA III Mods
    12. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    13. Wiki

      1. Merchandising
    1. GTA Modding

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    3. Featured Mods

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Red Dead Redemption

    2. Rockstar Games

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Programming
      5. Movies & TV
      6. Music
      7. Sports
      8. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. News

    2. Forum Support

    3. Site Suggestions

Sign in to follow this  
MAD BOSS

CLEO Script for Vice City

Recommended Posts

MAD BOSS

@Smokey

 

It crashes, dunno why. I uninstalled CLEO for Vice from my game, because it's pretty unstable..

Edited by kikiboy95

Share this post


Link to post
Share on other sites
MadcapSmoky22

I found out, it seems those timers aren't supported by VC cleo AT ALL, neither by III cleo. Compile it and see, it says "@16- never used in III or VC" etc

Share this post


Link to post
Share on other sites
MAD BOSS
I found out, it seems those timers aren't supported by VC cleo AT ALL, neither by III cleo. Compile it and see, it says "@16- never used in III or VC" etc

Oki, I'll "main.scm"-it then icon14.gif

Share this post


Link to post
Share on other sites
nitishdash

 

biggrin.gifbiggrin.gifbiggrin.gifbiggrin.gif Amazing, now I can make my own VC CLEO MODS TOO?

Share this post


Link to post
Share on other sites
MW_29

Hi guys! Finally CLEO for VC , in fact i never thought that will ever be possible ...but it is at last biggrin.gif

 

I've got one question that there are great CLEO mods in web to SA such as Ryosuke's mods ...and if it is posiible to make one of VC's heli armed with rpgs or miniguns like this one (good mod for SA as probably everyone knows) http://www.gtagaming.com/downloads/gta-san.../cleo-mods/1779 . I know that some VC opcodes can differ from SA ones so the script would need to be written especially on the VC appropriate ones , in fact im completely green to coding so don't blame me if i wrote something wrong but i think its the best place to ask experts so thats what i'm doing ...and i realize that the separate files of minigun.dff and minigun2.dff in Vice City could be kinda problem in placing and orienting axis to make it work properly but it could be on expample M60 instead of Minigun ;D ...Is it possible to make such CLEO mod for VC? An armed heli? ...Because hunter isn't enough if someone's got Little bird in place of Sparrow so it would be nice to find a way to arm it somehow smile.gif

Share this post


Link to post
Share on other sites
space_einstein

It seems like some of you are overstating the importance of CLEO. "CLEO"-type mods (script mods that doesn't require a new game) for III and VC were already possible. An example would be squiddy's mods. Adding opcodes were made easier using ModelingMan's hack. But all these requires higher knowledge in coding. CLEO just made these more accessible to everyone who knows the SCM (Sanny) method of coding.

 

Remember anything is possible. You just need to find people who has the time and patience to work for free.

Edited by space_einstein

Share this post


Link to post
Share on other sites
rotorblade

Just yesterday I found my Vice City CDs. Downloading now.

Share this post


Link to post
Share on other sites
spaceeinstein

A little odd problem I encountered. This line

 

05DF: write_memory 0x559918 size 1 value 1 virtual_protect 1

 

suppose to change the font of the zone text. But somehow right after the font changes, the game locks up. Anyone know why?

 

A little preview on what I'm doing:

user posted imageuser posted imageuser posted imageuser posted image

Edited by spaceeinstein

Share this post


Link to post
Share on other sites
xNCx

That looks great spaceeinstein biggrin.gif.

 

In the included MultiSave script, there is a txt file that replaces strings from the gxt language file into this from txt, I want to do something similar for my script. What should I add to my script to use my words instead these from the gxt?

 

 

//-------------MAIN---------------

0000:

wait 1000 ms

03E5: text_box 'CRED001'

wait 5000 ms

jump to @LabelMain

 

 

CRED001 HELLO WORLD

Share this post


Link to post
Share on other sites
spaceeinstein

 

What should I add to my script to use my words instead these from the gxt?

I don't understand what that means. Can you reword it?

 

One more update on what I'm doing

user posted image

 

Edited by spaceeinstein

Share this post


Link to post
Share on other sites
MAD BOSS
What should I add to my script to use my words instead these from the gxt?

I don't understand what that means. Can you reword it?

 

One more update on what I'm doing

user posted image

What's the opcode for that siren of yours, spaceeinstein? It'd really help me reposition them bcz I have all modded cars and lights don't fit exactly where they should...

Share this post


Link to post
Share on other sites
spaceeinstein

Here is the code for the police sirens. Edit the decimal values to reposition the siren.

 

05DF: write_memory 0x58BEB0 size 4 value 8488724 virtual_protect 1  // police right x05DF: write_memory 0x818714 size 4 value 0.70 virtual_protect 005DF: write_memory 0x58BEAA size 4 value 8488728 virtual_protect 1  // police right y05DF: write_memory 0x818718 size 4 value -0.40 virtual_protect 005DF: write_memory 0x58BEA4 size 4 value 8488732 virtual_protect 1  // police right z05DF: write_memory 0x81871C size 4 value 1.0 virtual_protect 005DF: write_memory 0x58BEE2 size 4 value 8488712 virtual_protect 1  // police left x05DF: write_memory 0x818708 size 4 value -0.70 virtual_protect 005DF: write_memory 0x58BEDC size 4 value 8488716 virtual_protect 1  // police left y05DF: write_memory 0x81870C size 4 value -0.40 virtual_protect 005DF: write_memory 0x58BED6 size 4 value 8488720 virtual_protect 1  // police left z05DF: write_memory 0x818710 size 4 value 1.0 virtual_protect 0

 

All cars that have a siren use their own settings. I don't have them in a list yet.

Share this post


Link to post
Share on other sites
MAD BOSS
Here is the code for the police sirens. Edit the decimal values to reposition the siren.

 

05DF: write_memory 0x58BEB0 size 4 value 8488724 virtual_protect 1  // police right x05DF: write_memory 0x818714 size 4 value 0.70 virtual_protect 005DF: write_memory 0x58BEAA size 4 value 8488728 virtual_protect 1  // police right y05DF: write_memory 0x818718 size 4 value -0.40 virtual_protect 005DF: write_memory 0x58BEA4 size 4 value 8488732 virtual_protect 1  // police right z05DF: write_memory 0x81871C size 4 value 1.0 virtual_protect 005DF: write_memory 0x58BEE2 size 4 value 8488712 virtual_protect 1  // police left x05DF: write_memory 0x818708 size 4 value -0.70 virtual_protect 005DF: write_memory 0x58BEDC size 4 value 8488716 virtual_protect 1  // police left y05DF: write_memory 0x81870C size 4 value -0.40 virtual_protect 005DF: write_memory 0x58BED6 size 4 value 8488720 virtual_protect 1  // police left z05DF: write_memory 0x818710 size 4 value 1.0 virtual_protect 0

 

All cars that have a siren use their own settings. I don't have them in a list yet.

Thanks man biggrin.gif Do I need to thread this or is it usable this way?

Share this post


Link to post
Share on other sites
spaceeinstein

Just run the code once and it stays in the game until you exit. You have to store them inside variables if you want them to be saved. Here's the Enforcer

 

05DF: write_memory 0x58BF3A size 4 value 0x8186FC virtual_protect 1  // enforcer right x05DF: write_memory 0x8186FC size 4 value 1.10 virtual_protect 005DF: write_memory 0x58BF34 size 4 value 0x818700 virtual_protect 1  // enforcer right y05DF: write_memory 0x818700 size 4 value 0.80 virtual_protect 005DF: write_memory 0x58BF2E size 4 value 0x818704 virtual_protect 1  // enforcer right z05DF: write_memory 0x818704 size 4 value 1.20 virtual_protect 005DF: write_memory 0x58BF6C size 4 value 0x8186F0 virtual_protect 1  // enforcer left x05DF: write_memory 0x8186F0 size 4 value -1.10 virtual_protect 005DF: write_memory 0x58BF66 size 4 value 0x8186F4 virtual_protect 1  // enforcer left y05DF: write_memory 0x8186F4 size 4 value 0.80 virtual_protect 005DF: write_memory 0x58BF60 size 4 value 0x8186F8 virtual_protect 1  // enforcer left z05DF: write_memory 0x8186F8 size 4 value 1.20 virtual_protect 0

 

Share this post


Link to post
Share on other sites
MAD BOSS

I did this in CLEO, but it crashes all the time..

 

 

// This file was decompiled using vicescm.ini published by GtaForums.com on 27.7.07{$VERSION 2.2.0000}{$CLEO .cs}05DF: write_memory 0x58BEB0 size 4 value 8488724 virtual_protect 1  // police right x05DF: write_memory 0x818714 size 4 value 0.70 virtual_protect 005DF: write_memory 0x58BEAA size 4 value 8488728 virtual_protect 1  // police right y05DF: write_memory 0x818718 size 4 value -0.40 virtual_protect 005DF: write_memory 0x58BEA4 size 4 value 8488732 virtual_protect 1  // police right z05DF: write_memory 0x81871C size 4 value 2.0 virtual_protect 005DF: write_memory 0x58BEE2 size 4 value 8488712 virtual_protect 1  // police left x05DF: write_memory 0x818708 size 4 value -0.70 virtual_protect 005DF: write_memory 0x58BEDC size 4 value 8488716 virtual_protect 1  // police left y05DF: write_memory 0x81870C size 4 value -0.40 virtual_protect 005DF: write_memory 0x58BED6 size 4 value 8488720 virtual_protect 1  // police left z05DF: write_memory 0x818710 size 4 value 2.0 virtual_protect 0

 

 

 

Where did I go wrong?

Share this post


Link to post
Share on other sites
spaceeinstein

Did you end the thread properly?

Edited by spaceeinstein

Share this post


Link to post
Share on other sites
MAD BOSS

 

Did you end the thread properly?

yes, and nothing happens sad.gif

Share this post


Link to post
Share on other sites
spaceeinstein

If it still crashes, try these

05DF: write_memory 0x58BEB0 size 4 value 0x6F637D virtual_protect 1 // police right x

05DF: write_memory 0x6F637D size 4 value 0.70 virtual_protect 0

Share this post


Link to post
Share on other sites
MAD BOSS

 

If it still crashes, try these

05DF: write_memory 0x58BEB0 size 4 value 0x6F637D virtual_protect 1  // police right x

05DF: write_memory 0x6F637D size 4 value 0.70 virtual_protect 0

Still no luck space..

 

// This file was decompiled using vicescm.ini published by GtaForums.com on 27.7.07{$VERSION 2.2.0000}{$CLEO .cs}//-------------MAIN---------------0000: :NONAME_205DF: write_memory 0x58BEB0 size 4 value 0x6F637D virtual_protect 1 // police right x05DF: write_memory 0x6F637D size 4 value 0.70 virtual_protect 0end_thread

 

 

 

 

 

and when I decompile the file again it gives me a blank codes:

 

 

// This file was decompiled using vicescm.ini published by spaceeinstein (http://www.gtaforums.com/index.php?showtopic=211077) on 13.03.10{$VERSION 2.2.0005}{$CLEO .cs}//-------------MAIN---------------0000: 05DF: 05DF: end_thread 

 

 

 

I think that my version of Sanny builder doesen't recognize this 05DF opcode?

Edited by kikiboy95

Share this post


Link to post
Share on other sites
Deji

It's not about the version of Sanny. It's the .ini version.

 

The .ini you are using has not had the 05DF opcode added (was created before VC CLEO).

 

 

Download the newest ini's and opcode.txt files from the Opcode Database.

 

.ini is needed for compile. opcodes.txt is needed for Opcode Search and F1 Magic smile.gif

Share this post


Link to post
Share on other sites
MAD BOSS
It's not about the version of Sanny. It's the .ini version.

 

The .ini you are using has not had the 05DF opcode added (was created before VC CLEO).

 

 

Download the newest ini's and opcode.txt files from the Opcode Database.

 

.ini is needed for compile. opcodes.txt is needed for Opcode Search and F1 Magic smile.gif

I did all you said, but what ever I try it just either crashes on loading bar, or when saving. Meh, I'm giving up on this. CLEO is just not for Vice City...

 

Would it be possible to create external .ini (like gta3.ini) where these memory adresses could be modified?

Share this post


Link to post
Share on other sites
spaceeinstein

You'll need to create an asi/dll mod for that. Do other CLEO VC mods using the new opcodes work for you?

Share this post


Link to post
Share on other sites
MAD BOSS

 

You'll need to create an asi/dll mod for that.

I always wanted to learn how to make my own ASI blush.gif If you can teach, I would do it. icon14.gif Let's make something like external config of memory adresses you and I find important for editing smile.gif

 

 

Do other CLEO VC mods using the new opcodes work for you?

Deji gave me the link for new VICESCM.INI and it did compile the .CS, but it didn't do anything in the game (light positions stayed the same even though I changed the coordinates). As in fact, it just crashed when saving anywhere.

 

How did you manage to make it work? oO

 

Share this post


Link to post
Share on other sites
MAD BOSS

It works once you showed me how on PM, space smile.gif Thanks! Now I can mod things I always wanted, memory adresses !! Cookies? Ofc! cookie.gifcookie.gifcookie.gifcookie.gifcookie.gif

Share this post


Link to post
Share on other sites
Godfather1940

devil.gifdevil.gifdevil.gif my f*cking game freezes when i try to start VC with CLEO

the game load screen appears, then blacks out. i have to Alt-Tab out.

 

please help, but for gods sake make it easier to understand than some sh*t i have been through.

i am not s devil.gifdevil.gifdevil.gif ure what my version is

Share this post


Link to post
Share on other sites
spaceeinstein

The latest version of CLEO can be downloaded here. Most mods out there as far as I know supports the first version of VC, so mods will crash unsupported versions of VC.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.