Charas-Project

  • Home
  • Help
  • Search
  • Calendar
  • Login
  • Register
*
Please login or register.

Login with username, password and session length
 

News:

Click here to join us on IRC (#charas on irc.freenode.net)!



  • Charas-Project »
  • Off-Topic »
  • Archive »
  • Really Old Stuff »
  • Charas Project Support (Moderator: FFL2and3rocks) »
  • Charas2 Work in Progress
« previous next »
  • Print
Pages: [1] 2 3

Author Topic: Charas2 Work in Progress  (Read 10882 times)

Offline Alex

  • I am the MASTER!
  • Administrator
  • Exemplar
  • *
  • Posts: 1,130
Charas2 Work in Progress
« on: November 09, 2004, 01:59:35 PM »
As i said in the news some weeks ago, i'm working on a new version of he generators.
It's time to present its beta to you, explaining a bit of its techs and concepts.

The actual genreators are based on:
Postgresql for the resources storage;
Mysql for user logins;
Physical image files on the HD for the image data;

The limits of this generator is the use of a double DB system and the physical files storage.
When you generate a resource, the poor server needs to read all of the needed images from the HD, and this may stress VERY MUCH the HD itself.
Moreover, the actual generator is not modular: there are 3 different codings for charas/facegen/battlechargen.

The new one is based on:
Mysql for both user management and resources storage;
Mysql also for the image files data;

This means we will not have a resource file somewere, but the binary data of the image itself will be written within a DB field.
This will not be faster than the pphysical image solution, but it will be much better for the poor serfer's hardware.
And this generator IS modular: i can define resources parameters quicly and easily, so this will be a "global" generator for everything, not only RPGMaking resources. For example, it can be used to produce dogtags in few steps, once you have you basic resources.
Anyhow, i will say more about technical infos lately, if someone will be interested.

Now back on what charas2 is from users point of view.
The will not see great differences between the old and new generator, with th exeption of some new controls available.
In actual generators you can set the transparency of each section and define items rows as ontop or onback.
Well, now you can do this and more for EVERY frame, not "by row".
You will be able to set the transparency for a whole section (body, item, etc.) and to set one of 3 properties for each frame.
These properties are:
t=OnTop
b=OnBack
h=Hidden
So you will be able, for example, not to display the hair resource just in frames 7 and 8, and to make on back in frame 4.

The custom resources system works too, and again it was totally rewritten. I'm still working on the new sharing system.

What is still not present is:
the flash preview;
the 8 charasets image creation;

Now... i know it's only a beta, so DON'T EXPECT IT TO BE FASTER.
I'll do the optimization coding at the end.
I just would like to ask you to try it a bit: the new properties are a bit more difficult to use, so i'd like to have some user's feedback.
You can also try to upload/use some custom resource, just please do not try to share them from there.

When i'll finish it, the result will be a portable generator, that may finally be moved away from the machine it is in now.
Possibily i will release the source code as an opensource project, when it will be ready to be easily installed on generic servers.

Oh, one last important thing! The generator link! :D
It's here:
http://charas-project.net/charas2

Let me know, and remember you're trying a BETA, k?
Logged

Offline GaryCXJk

  • <strong>Official Charas.EX Team Member</strong>
  • Exemplar
  • *
  • Posts: 1,586
  • FOUR OH FOUR'D
    • Multiverse Works
(No subject)
« Reply #1 on: November 09, 2004, 02:16:55 PM »
First: HOLY SH**! THAT WAS THE SAME IDEA I WANTED TO APPLY ON FACES.EX!

And maybe in the Charas.EX remake. I'm planning on rebuilding Charas.EX.

Anyway, how about database crashes? Will you occasionally make backups, or are you going to make a special script for it?

Also, the layout looks spiffy, as Don Miguel would say it.
Logged

Play it now! Charas Breakout DX
Area91: for MUGEN and RPG Maker VX Ace stuff

Offline Alex

  • I am the MASTER!
  • Administrator
  • Exemplar
  • *
  • Posts: 1,130
(No subject)
« Reply #2 on: November 09, 2004, 02:32:55 PM »
DB crashes are ust something you may prevent with a correct backup policy, it's nothing related to the coding itself.
The layout is almost the same, with the exception of the new per-frame functions.

It's a developer preview, so the layout will be probably changed in future and backup utilities will be added later: what i need now is to be sure it works properly (evenif not looking pretty), and if users will understand that horrible per-frame command bar :D
Logged

Offline FFL2and3rocks

  • Moderator
  • Leader
  • *
  • Posts: 2,638
(No subject)
« Reply #3 on: November 09, 2004, 02:34:39 PM »
O_O

 :bend:  Awesome... I'm sure most people will be able to find manyways of making new charsets with old resources with these new features! :p
Logged
Respect list:
[Everyone but you]

Offline SMB

  • The Uncle of the Forum!
  • Associate
  • *
  • Posts: 253
  • The Uncle of the Forum
(No subject)
« Reply #4 on: November 09, 2004, 05:29:06 PM »
I tryed to do something, and with Body, GFace and Dress I've clicked the "Italian language button"...
All my work gone away! :badboy:
Logged
THE GAME! One Game to rule them all, One Game to find them,
One Game to bring them all and in the darkness bind them...
http://smbros.supereva.it/img/Firma156ENG.jpg

Offline GaryCXJk

  • <strong>Official Charas.EX Team Member</strong>
  • Exemplar
  • *
  • Posts: 1,586
  • FOUR OH FOUR'D
    • Multiverse Works
(No subject)
« Reply #5 on: November 09, 2004, 07:25:26 PM »
OOOOOOHHHHH!!!!

SUGGESTION!!!!

A checker, which checks if a resource has less than 256 colors! Else it won't accept!

And the possibility to delete your own uploaded resources.

EDIT: Never mind the last one.
Logged

Play it now! Charas Breakout DX
Area91: for MUGEN and RPG Maker VX Ace stuff

Offline Ruler of the Dark

  • DISTRACTION!!
  • Acolyte
  • *
  • Posts: 448
(No subject)
« Reply #6 on: November 09, 2004, 08:41:36 PM »
I tried the new generater and I think it rocks! :p


I can see this making many new possibilities...
Logged

Offline AsakuraHao2004


  • RAM-TORTOISE!!
  • Exemplar
  • *
  • Posts: 1,623
  • AIM: dakutenshisdemon YIM: desimodontidae
(No subject)
« Reply #7 on: November 09, 2004, 08:55:41 PM »
Very nice layout! Looks good!
Logged
AKA Desimodontidae. If you're seeing this profile, Im probably at school.

If i were a clown, would you hold me when I'm down?/I wish I had someone to make me drown/So many people don't know that it's so damn hard to be a clown/I am the clown with the giant frown/My heart is in a state of being upside down...

Offline Alex

  • I am the MASTER!
  • Administrator
  • Exemplar
  • *
  • Posts: 1,130
(No subject)
« Reply #8 on: November 09, 2004, 10:40:38 PM »
Quote
Originally posted by GaryCXJk

A checker, which checks if a resource has less than 256 colors! Else it won't accept!

And the possibility to delete your own uploaded resources.


About suggestion #1, good point.
As tech addon, i explain here why Gary suggestd this.
We're currently working with PNGs, 8 bit.
This means the max number of colors is 256.
We already have unfixable problems if the used resources, all together, require more then 256 colors.
Just imagine a body with 20 colors, face with 50, hair with 80, dress with 100 and item with 60. It would need 310 colors, so the result will be slightly unexpeted.
Good idea, Gary.

About suggestion #2, i miss something...
It's already possible to delete your own custom resources: so you mean the possibility to delete resources already online that were uploaded by you?
If so, i don't think it's a good idea, for 2 main reasons:
1) if someone would create a recolor, the resources would be an "original". What sould the system do with recolors?
2) if you submit a resource and it is accepted, it means you wanted to donate it to the community and the community accepted it.
I don't see any valid reasons for turning back on this, it would be like downgrading a software because someone changed his mind about it...
Let me know your thoughts.
Logged

Offline danilynnarthur

  • Older than you think but younger than I feel
  • Associate
  • *
  • Posts: 132
(No subject)
« Reply #9 on: November 09, 2004, 10:48:37 PM »
Hi, had a chance to try out the new Charas system, have a couple questions.

1) Are you saying you can change visibility and opacity now by individual frames instead of by rows?  That layout to me is kind of confusing.

2) Is it possible to do a recolor type thing on the site itself?  Just wondering.  Thanks.  :)
Logged

My first (and perhaps only) major RPGmaker project

Offline WarxePB

  • Action Sue
  • Royal
  • *
  • Posts: 3,601
  • What killed the dinosaurs?
    • The Gigaverse
(No subject)
« Reply #10 on: November 09, 2004, 10:51:52 PM »
Whoa, that is pretty cool.

How about a "report bad resource" link? For example, say that a certain resource doesn't match up with the base. They could click the link, put in the name and author of the resource, so Alex could remove and/or fix it.
This could be done easily with an email or PM, but I think that would save some time.

EDIT: I like Dani's idea of recolouring, but is that even possible online? If so, that would be really cool, but it's understandable if it's not.
Logged
Blog: The Gigaverse
Twitter: Initial Chaos

Offline Alex

  • I am the MASTER!
  • Administrator
  • Exemplar
  • *
  • Posts: 1,130
(No subject)
« Reply #11 on: November 09, 2004, 11:03:16 PM »
Quote

1) Are you saying you can change visibility and opacity now by individual frames instead of by rows?  That layout to me is kind of confusing.

The opacity (transparency) value is applied to the whole set (for example, to items), and is the first textbox value (defaulted to 100).

What you can change by individual frame is visibility (on top, on back, hidden), which are all the others dropdown options after the transparency textbox.

Quote

2) Is it possible to do a recolor type thing on the site itself?  Just wondering.

Unfortunatly not. It would need a palette editing tool online, and it would be hard to code and really slow to use. The best choice is still downloading the resource, change the palette and re-upload it.
Sorry.

Quote

How about a "report bad resource" link? For example, say that a certain resource doesn't match up with the base. They could click the link, put in the name and author of the resource, so Alex could remove and/or fix it.
This could be done easily with an email or PM, but I think that would save some time.

This is a kooooooooool idea!
Will keep it in mind, it would be VERY useful!
Logged

Offline GhostClown

  • Loved by few, Hated by many, Respected by all.
  • Exemplar
  • *
  • Posts: 1,988
(No subject)
« Reply #12 on: November 10, 2004, 01:34:56 AM »
This all sounds great, I don't have any questions. But one comment; Great going!
Logged

Offline Alex

  • I am the MASTER!
  • Administrator
  • Exemplar
  • *
  • Posts: 1,130
(No subject)
« Reply #13 on: November 10, 2004, 12:48:17 PM »
Ok.
I was working on Gary's suggestion:
Quote

A checker, which checks if a resource has less than 256 colors! Else it won't accept!


It was not that easy, because it seems i can count only paletted image colors. Moreover, i'm not sure at all it is counting the effective USED colors, but the whole palette itself.
Anyhow, i did some little things:
1) optimization of palettes when you upload a custom;
2) now only png images are allowed, no more jpgs;
3) if the size is wrong (not 72x128) the system resizes the image and alert you that the result may be wrong;
4) if colors count is > 256 it gives you an error;
5) when you upload a custom, it will also say the numbers of colors found (example "Update succesfully done (83 colors resource").

Now it would be great if you can test this.
I'd like to know if this color thing checker works fine, avoiding 24 bit resources.
Thank you!
Logged

Offline VahnGrave

  • Behind the Wall of Sleep
  • Zealot
  • *
  • Posts: 599
(No subject)
« Reply #14 on: November 11, 2004, 04:42:04 PM »
I can't use it, because the whole site is down, but mystically, gunnar found a way to it...
Logged
Glen Benton is a pedophile.

  • Print
Pages: [1] 2 3
« previous next »
  • Charas-Project »
  • Off-Topic »
  • Archive »
  • Really Old Stuff »
  • Charas Project Support (Moderator: FFL2and3rocks) »
  • Charas2 Work in Progress
 

  • SMF 2.0.10 | SMF © 2015, Simple Machines
  • XHTML
  • 2O11
  • RSS
  • WAP2
  • Simple Machines Forum