SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Plugin Development

Closed Thread
 
Thread Tools Display Modes
Old 28/01/2015, 07:37 AM   #21
codectile
Huge Clucker
 
codectile's Avatar
 
Join Date: Jul 2014
Posts: 248
Reputation: 116
Default Re: ColAndreas - (Release Development)

So, it finally got released. You have really put some efficient effort on this plugin. I would like to see the source code and a proper documentation, for learning purposes.
codectile is offline  
Old 28/01/2015, 04:29 PM   #22
Crayder
Banned
 
Join Date: Sep 2013
Location: Flames of Hell
Posts: 3,324
Reputation: 652
Default Re: ColAndreas - (Release Development)

Quote:
Originally Posted by codectile View Post
So, it finally got released. You have really put some efficient effort on this plugin. I would like to see the source code and a proper documentation, for learning purposes.
Quote:
Originally Posted by Crayder View Post
I don't think that's the point of this thread. I'm pretty sure he stated that he is here for development of the 'User-Friendly Installer'.

The plugin development is not in consideration, it's release is. To be released it needs an installer, user friendly as stated.



As you can clearly see, after the installer (extractor) is created and stuff, it will be a public project.

Just thought I'd point this out.
This is not even the release section, it's pretty obvious it's not released yet. It's even titled, "Release Development".

Ok, I had an idea... This is not for the release but it's a pretty fancy idea...
So, we can add our objects. What if we could create our own 'fake' collisions for it to scan? Like, a function would have three points (because collisions are triangular based). When a ray get to this triangle, it will be returned.

I was also wondering if there was a way to return the object id in the callback. Ofc this will only work for the custom objects.
Crayder is offline  
Old 28/01/2015, 05:36 PM   #23
DRIFT_HUNTER
High-roller
 
Join Date: Oct 2009
Posts: 2,121
Reputation: 211
Default Re: ColAndreas - (Release Development)

About installer, a simple rar extractor will do...
DRIFT_HUNTER is online now  
Old 28/01/2015, 05:40 PM   #24
Pottus
High-roller
 
Pottus's Avatar
 
Join Date: Jun 2012
Posts: 4,883
Reputation: 1321
Default Re: ColAndreas - (Release Development)

You need to extract the data from the GTA assets (img file) the collision binary must be created by the scripter it is illegal to distribute commercial assets.
Pottus is offline  
Old 28/01/2015, 06:17 PM   #25
DRIFT_HUNTER
High-roller
 
Join Date: Oct 2009
Posts: 2,121
Reputation: 211
Default Re: ColAndreas - (Release Development)

Well extracting .col files cant be a problem as there are many tools today...after all its more than a 10 years since SA has been released...Also extracting collision files is done only once so why not use already existing tools? (Like Alcis img editor...)

And about compiler i have no idea so im not gonna say anything.

By the way here is img editor in console that may be useful (or useless ) http://www.gtagarage.com/mods/show.php?id=21750

EDIT: If i understand right from release topic there is source code to that tool...
DRIFT_HUNTER is online now  
Old 28/01/2015, 06:43 PM   #26
MicroD
Huge Clucker
 
Join Date: Sep 2010
Posts: 340
Reputation: 24
Default Re: ColAndreas - (Release Development)

Why don't you ask Kalcor for help? I'm sure he would be glad to make something to extract raw data for you, only thing that you have to do is to utilize raw data using some kind of smart arrays.
MicroD is offline  
Old 28/01/2015, 06:44 PM   #27
Pottus
High-roller
 
Pottus's Avatar
 
Join Date: Jun 2012
Posts: 4,883
Reputation: 1321
Default Re: ColAndreas - (Release Development)

That could work well with a file list to extract I will generate some file lists tonight.

Quote:
Originally Posted by MicroD View Post
Why don't you ask Kalcor for help? I'm sure he would be glad to make something to extract raw data for you, only thing that you have to do is to utilize raw data using some kind of smart arrays.
There is no need.
Pottus is offline  
Old 28/01/2015, 08:04 PM   #28
Crayder
Banned
 
Join Date: Sep 2013
Location: Flames of Hell
Posts: 3,324
Reputation: 652
Default Re: ColAndreas - (Release Development)

Lol pottus, if you remember correctly... That was the same console IMG editor I told you about and we agreed on a long time ago. It's open sourced as I told you before, so we can use it without permission (although I actually talk to fastman sometimes, and he already agreed on its use).

With this console editor, you could simply make an AHK script with the GUI stuff and InputBoxes/FileSelectFolder to create an installer. This will look very generic but it would work. Of course, it'd still be much better with a real installer.

In fact, it'd be easier to use the source of that program to make a new extractor. It has all the img encryption crap and stuff in it already.

EDIT: If I remember correctly, it was Chris that said it's easier to just read straight from the IMG file instead of each collision file extracted from it.

Last edited by Crayder; 28/01/2015 at 11:31 PM.
Crayder is offline  
Old 29/01/2015, 12:17 AM   #29
Pottus
High-roller
 
Pottus's Avatar
 
Join Date: Jun 2012
Posts: 4,883
Reputation: 1321
Default Re: ColAndreas - (Release Development)

I put all the required files on the first post if anyone wants to take a shot at creating a good automatic extraction method.
Pottus is offline  
Old 29/01/2015, 12:56 AM   #30
Mauzen
High-roller
 
Mauzen's Avatar
 
Join Date: Jun 2007
Location: Western Germany
Posts: 4,876
Reputation: 1597
Default Re: ColAndreas - (Release Development)

Quote:
Originally Posted by Pottus View Post
I put all the required files on the first post if anyone wants to take a shot at creating a good automatic extraction method.
Oh so its just about extracting the files, I thought youd also need them in a special arranged format.
Spark IMG Editor for example has a command-line tool for that. I guess it would be okay to get people downloading that tool? Rewriting an img extractor just to be able to offer it together with the download here would a bit too much extra work imo (alternatively we could ask the creator for his permission to redistribute the tool with your plugin).
I can write a batch script for that tomorrow, should just be half an hour of work.
Mauzen is offline  
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SA-MP 0.3.7 RC (now released) Kalcor Scripting Help 1163 27/05/2015 02:09 PM
SA-MP 0.3z is released! Kalcor News and Updates 232 24/07/2014 12:09 AM
SA-MP 0.3e is released! Kalcor News and Updates 349 13/02/2013 10:14 PM


All times are GMT. The time now is 09:32 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.