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

    1. GTANet.com

    1. GTA Online

      1. Los Santos Summer Special
      2. The Diamond Casino Heist
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

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

    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. Grand Theft Auto Series

    2. GTA VI

      1. St. Andrews Cathedral
    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
    6. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
    7. GTA III

      1. Guides & Strategies
      2. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

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

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

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

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

    1. Announcements

    2. Support

    3. Suggestions

Squ1dd13

[SA] Demo of CLEO scripts on iOS

Recommended Posts

Squ1dd13

I'm currently developing a jailbreak tweak that allows you to use CLEO scripts on iOS. I thought you guys might be interested in it, so I've made a video of me running a simple top-down view mod on my iPhone 8.

 

I don't think I've seen anyone else doing this, which is why I decided to post here. I'd happily answer any questions anyone has about this.

Please note that the version seen in the video is not what I plan for this to be like eventually.

 

Unfortunately, this does require a jailbroken device to use, so I don't imagine there's much of a market for this sort of tool.

 

If this is in the wrong place or shouldn't be here at all, sorry. I don't post here much.

Edited by Squ1dd13
Word
  • Like 2

Share this post


Link to post
Share on other sites
OrionSR

Interesting. I've been working on a strategy for embedding cleo-like scripts in save files that might allow you to bypass the jailbreak limitation. The strategy works on PC, Android and PS2, but I don't have an iOS device to test it out. The main problem is that the hex editing strategy is fairly complex; complicated for modders and baffling to players. Do you thing this strategy might help?

Share this post


Link to post
Share on other sites
Pootispowse

Wow. Very interesting. How did you get it working?

 

I don't know much about the iOS hardware/architecture. Do you think it could support something similar to asi plugins?

Share this post


Link to post
Share on other sites
Squ1dd13
32 minutes ago, OrionSR said:

Interesting. I've been working on a strategy for embedding cleo-like scripts in save files that might allow you to bypass the jailbreak limitation. The strategy works on PC, Android and PS2, but I don't have an iOS device to test it out. The main problem is that the hex editing strategy is fairly complex; complicated for modders and baffling to players. Do you thing this strategy might help?

I certainly think that might be a viable solution, and I could event try it out if you want. The only thing that jailbreaking offers over that would be the ability to add/customise the ingame interface, though that isn't strictly necessary for many mods. Is there no way to easily automate the save file building process?

 

10 minutes ago, Pootispowse said:

Wow. Very interesting. How did you get it working?

 

I don't know much about the iOS hardware/architecture. Do you think it could support something similar to asi plugins?

The jailbreak tweak here is the equivalent of the ASI plugin. All of the game structures are the same as the Windows game as far as I can tell (the same is probably true with other platforms), so there isn't really much challenge with replicating them other than working out padding differences.

 

Here is the current source repository. The code is still in what I generally refer to as the "research stage", hence all the commented parts and unused code.

Edited by Squ1dd13
Gap

Share this post


Link to post
Share on other sites
OrionSR
33 minutes ago, Squ1dd13 said:

Is there no way to easily automate the save file building process?

I have had some success automating the embedding process using the 010 Editor. It should be able to manage the entire process starting with script editing and compiling with Sanny Builder as an external compiler, through to a modified save that is ready for testing, I've tested the various aspects of the strategy but haven't put them all together yet. The main problem is that 010 is a proprietary tool that costs about as much as a new game and isn't particularly useful to most players beyond this specific purpose. 

Share this post


Link to post
Share on other sites
Squ1dd13
21 hours ago, OrionSR said:

I have had some success automating the embedding process using the 010 Editor. It should be able to manage the entire process starting with script editing and compiling with Sanny Builder as an external compiler, through to a modified save that is ready for testing, I've tested the various aspects of the strategy but haven't put them all together yet. The main problem is that 010 is a proprietary tool that costs about as much as a new game and isn't particularly useful to most players beyond this specific purpose. 

Do you plan to make a tool that would allow the custom save files to be built without 010 Editor? This method sounds really cool.

  • Like 1

Share this post


Link to post
Share on other sites
OrionSR

Not really, unless you consider bugging anyone that shows an interest or has a topic that is vaguely related. My skills are more geared towards research and development than coding. If HxD included scripting and template functions I might give conversion a shot, but coding is not part of my skill set.

 

You can find more information on embedded scripts in these topics:

Early development. Many of the issues listed here have been resolved. Still not sure what to do with protected memory though.

 

This topic describes the issues and current progress with the embedding strategy, but doesn't include any practical examples.

 

Another note, in an early test I adapted Cleo1, an SCM based version of the Cleo library with a limited command set, to work on PC using the embedding process. Of course, there isn't much point to Cleo1 on PC other than proof of concept. It worked, and could possibly be adapted to other systems by someone that understood opcodes better than I do.

 

Share this post


Link to post
Share on other sites
Theclub654

bro could you do this on the ps3 the ps3 version is the exact same version as the mobile version and they both have a powerpc cpu instruction set i have a jailbroken game so i have acess to the file system and i can run unsigned code

Edited by Theclub654

Share this post


Link to post
Share on other sites
Squ1dd13
17 hours ago, Theclub654 said:

bro could you do this on the ps3 the ps3 version is the exact same version as the mobile version and they both have a powerpc cpu instruction set i have a jailbroken game so i have acess to the file system and i can run unsigned code

Sorry, you would have to get someone else with PS3 knowledge to do that. I don't own a PS3 and have never programmed for them. My project is open source though, so anyone could adapt it for PS3 (though I doubt there would be much benefit over starting from scratch).

Share this post


Link to post
Share on other sites
Theclub654

could you give me a link to your source code

Share this post


Link to post
Share on other sites
Squ1dd13
20 hours ago, Theclub654 said:

could you give me a link to your source code

I left one further up the thread. Here it is again though: https://github.com/Squ1dd13/CSiOS

Bear in mind that this isn't a finished project though...

Share this post


Link to post
Share on other sites
Squ1dd13

It can now load .fxt files, I've added controls and implemented some Android opcodes, so I managed to get a car spawner working:

 

 

  • Like 1

Share this post


Link to post
Share on other sites
Theclub654

would you mind if i could speak with you privately do you have a email

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.

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.


  • 2 Users Currently Viewing
    0 members, 0 Anonymous, 2 Guests

×
×
  • Create New...

Important Information

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