[Finished] [RGSS] Task 2

Started by Blizzard, March 10, 2011, 04:55:29 pm

Previous topic - Next topic

Blizzard

March 10, 2011, 04:55:29 pm Last Edit: September 10, 2011, 03:27:31 am by Blizzard
Somebody should extract all hidden RMXP RTP scripts and the default RTP scripts from the editor. Put each of them in one file because the order of the scripts is important and ARC doesn't know that order.
Check out our game brands:

Daygames
Game Night Games
Chugnar Games

Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

ForeverZer0

I'm on it.
I need something to do while I wait for Tortoise to update.  :P
I am done scripting for RMXP. I will likely not offer support for even my own scripts anymore, but feel free to ask on the forum, there are plenty of other talented scripters that can help you.

Ryex

the editor folder contains a file data.rb this contains the entire RPG module except for cache
I no longer keep up with posts in the forum very well. If you have a question or comment, about my work, or in general I welcome PM's. if you make a post in one of my threads and I don't reply with in a day or two feel free to PM me and point it out to me.<br /><br />DropBox, the best free file syncing service there is.<br />

ForeverZer0

March 10, 2011, 05:40:46 pm #3 Last Edit: March 10, 2011, 05:51:31 pm by ForeverZer0
Okay, that makes it even easier.

I'll add Cache and commit.

EDIT: I'll add Cache and the default scripts and commit.

Also, what directory would be best to place the file in? Resources?
I am done scripting for RMXP. I will likely not offer support for even my own scripts anymore, but feel free to ask on the forum, there are plenty of other talented scripters that can help you.

Blizzard

Rename "RGSS Hidden Classes" to "RMXP" and put them there. Remember, one file for all the hidden scripts and one file for all the RTP scripts.
Check out our game brands:

Daygames
Game Night Games
Chugnar Games

Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

ForeverZer0

March 10, 2011, 06:49:56 pm #5 Last Edit: March 10, 2011, 10:34:41 pm by ForeverZer0
Do I need to include Color, Tone, Table, etc. or pretty much just the RPG classes?
If not, I'm pretty much done. I spent a little time putting the hidden classes in alphabetical order and listing them all.

EDIT:
Finished and committed files.
Oops. I see I forgot to rename the folder. Doing that now.

EDIT 2:
For some reason, when I try to commit the file removal, I get an error. "Failed to shakehands..." it tells me.  :P
If someone could remove the redundant folder for me, that would be great. I apologize for all these strange problems that have been happening with my SVN. Believe me, no one thinks it is as annoying as I do.
I am done scripting for RMXP. I will likely not offer support for even my own scripts anymore, but feel free to ask on the forum, there are plenty of other talented scripters that can help you.

Zeriab

March 12, 2011, 04:26:57 am #6 Last Edit: March 12, 2011, 04:27:58 am by Zeriab
Be careful when extracting the hidden scripts from the help file.
I remember seeing at least one instance where there was an error.
Of course you can just extract it from the dll:
http://pastebin.com/UnwwZeq6

Here are some other bits and pieces which may or may not be useful:
$!.to_s.split("
")[1].sub(/.*?:/,'')
$@[0].to_s.sub(/:.*/,'')
$@[0].to_s.sub(/.*?:/,'').to_i
$RGSS_SCRIPTS[$@[0].to_s.sub(/Section/,'').sub(/:.*/,'').to_i][1]
$!.to_s.sub(/Section[0-9]+:[0-9]+:in `[^']*'/, "")
$!.to_s.sub(/\(eval\):[0-9]+:in `[^']*'/, "")
$@[0] = $!.to_s.clone
$@.shift while $@[0].to_s[0..5] == '(eval)' and $@.size > 1
$:.clear;$KCODE='U'
Graphics._reset;Input.update;Audio.me_stop;Audio.se_stop;Audio.bgm_stop;Audio.bgs_stop;GC.start;
$RGSS_SCRIPTS[%d][3]
'Section%03d'
$RGSS_SCRIPTS = load_data(scripts_fname);$RGSS_SCRIPTS.each { |s| s[3,0] = Zlib::Inflate.inflate(s[2]) };$RGSS_SCRIPTS.size


Oh, and you can use Game debug for playing in debug mode and Game btest for testing a battle.

I dunno how much of it will be useful though.

*hugs*

Blizzard

Quote from: Zeriab on March 12, 2011, 04:26:57 am
I remember seeing at least one instance where there was an error.


I know that, lol! It was MoveRoute of Event or something like that.
Check out our game brands:

Daygames
Game Night Games
Chugnar Games

Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.