Decomplie/Recomplie

Status
Not open for further replies.

TheStoryTeller

Story Teller
Member
Joined
Jul 6, 2013
Messages
13
Reaction score
1
First Language
English
Primarily Uses
I have seen the saves are in .rvdata2 my launcher will be handling custom save's so users can move from one computer to another but also can move from the story game to the story pdf, plus making sure some things are not changed so the story line does not brake, I could do with a small command line tool the decompile and recompile as my launcher will be in Lua not Ruby as this is the scripting language of the tools I use day to day.

I seen a hand full of editors about that let you edit things in the rvdata2 files I just would like to drop the file to a readable format for LUA then if any changes needed to be put back then able to re-save it, this also would help for a cloud option I like to offer for another idea I playing with so people can share saves but character/actors name will be changeable before download so it would have to be a clean text format for php to be able to do that.

Thanks for your time.

P.S if you want to know what I am doing I am writing well my Bio and wanted to do it with a twist so I thought why not a visual noval then I thought why not RPG Format get people to play the Bio, this way I can add many cookies within the Story :)

I sure its been done before but I like the idea.

P.S.S lol
I also would like to now if there is away to talk to external app from the engine as my launcher can already change the screen size to 800by600 what I will make the Story/Game two but when the game is finished I will need the app reset the screens rez back for the user, many steam games do this and so on, I would just add a listener to the launcher but the problem here is then it as to be running in the background all the time.
 
Last edited by a moderator:

Death10

;D
Member
Joined
Jul 18, 2012
Messages
29
Reaction score
5
First Language
Vietnamese
Primarily Uses
Does it (screen resize) break the term?
 

Zalerinian

Jack of all Errors
Veteran
Joined
Dec 17, 2012
Messages
4,696
Reaction score
935
First Language
English
Primarily Uses
N/A
The save files (and the game data files) are serialized using Ruby's Marshal.dump. If you want to read the file, you need to undo that. The easiest way to do that would be by using Ruby itself, either by interpreter or actual Ruby. If you're in LUA, you will have to get a Ruby interpreter made for LUA. If you can't get that done, perhaps make a tiny ruby program that unmarshals the data and returns it, and then run that in a coroutine within LUA to get the file?

I haven't used LUA in around a year now, so I don't know if you can do that really, but to get it readable you need to get Ruby to unmarshal that data for you.
 

TheStoryTeller

Story Teller
Member
Joined
Jul 6, 2013
Messages
13
Reaction score
1
First Language
English
Primarily Uses
Does it (screen resize) break the term?
What do you mean does it brake the term? I will be requesting the computer to down scale its screen size to a size that would work with the game better, many games do this, this is why when they crash they can sometimes still be a strange size as the hook for the screen didn't return.

The save files (and the game data files) are serialized using Ruby's Marshal.dump. If you want to read the file, you need to undo that. The easiest way to do that would be by using Ruby itself, either by interpreter or actual Ruby. If you're in LUA, you will have to get a Ruby interpreter made for LUA. If you can't get that done, perhaps make a tiny ruby program that unmarshals the data and returns it, and then run that in a coroutine within LUA to get the file?

I haven't used LUA in around a year now, so I don't know if you can do that really, but to get it readable you need to get Ruby to unmarshal that data for you.
I am new to ruby but this is something I was hoping was to two maybe find a Command Line app that could dump the file back to a readable state I can then do my things in lua

and then convert it back the with Command Line app, I have to read up on this more thanks for helping me understand a little more what I will need to research.

The tools I use are using Lua as a scripting engine so it gives me a much to play with, 
 

amerk

Veteran
Veteran
Joined
Mar 13, 2012
Messages
1,433
Reaction score
495
First Language
English
Primarily Uses
What do you mean does it brake the term? I will be requesting the computer to down scale its screen size to a size that would work with the game better, many games do this, this is why when they crash they can sometimes still be a strange size as the hook for the screen didn't return.
What he means is, will it violate the terms of the EULA that you agree to when you purchased the product? Anything that modifies the source code would be in violation of those terms.

To my understanding this includes hacking into the software coding as well as using external apps and plug-ins to modify how the program works.

You are able to use scripts to modify and add-in features since those do not effect the source code, but I have not seen anything that will let you resize a screen for launching an RM editor or game, nor do I believe it's possible to implement without violating those terms.
 
Last edited by a moderator:

TheStoryTeller

Story Teller
Member
Joined
Jul 6, 2013
Messages
13
Reaction score
1
First Language
English
Primarily Uses
Using my own launcher does not brake any rules at all, the screen size change wont be from the game read what I put, I will be requesting the OS to change the screen size like steam games and other games do, nothing to do with the games windows size, there two things, one is requests the screen to change and one sets a window to fit a screen, tho it seems my DLL does not support the intel mobile flat form, but this company only provide a game engine there is no law or rule in this world saying I can't us my own means to launch the game.

The launcher does not edit the source code of the game engine, nor did I say it did, asked could it be possible to bypass the title screen the answer I read is yes, I can't test this on the trial version if I want to add options this game engine is unable to do with 3rd party software I can and will, as I also stated this is not really for a game its more for a visual novel.

Also this has nothing to do with the game editor or the game its self when I say changing the screen size, I would create the game at a set size like you can with the editor and I would then wrap my own tool to be able to resize the computers rez to fit the game or set the game as window option only, many games offer this and if your telling me this game maker wont let me do this after I pay out for it then I buy cot it and use another, this is the first time I heard using my own launcher would be braking there rules.
 

TheStoryTeller

Story Teller
Member
Joined
Jul 6, 2013
Messages
13
Reaction score
1
First Language
English
Primarily Uses
What he means is, will it violate the terms of the EULA that you agree to when you purchased the product? Anything that modifies the source code would be in violation of those terms.

To my understanding this includes hacking into the software coding as well as using external apps and plug-ins to modify how the program works.

You are able to use scripts to modify and add-in features since those do not effect the source code, but I have not seen anything that will let you resize a screen for launching an RM editor or game, nor do I believe it's possible to implement without violating those terms.
I have read this again and your understanding of what my launcher does is wrong, it does not hack anything, it requests details from the OS and if it needs to it will change the screen size, if the GFX does not support this action it will offer the game in full screen but might letter box the game as it does, or offer windows mode.

Editing files within the software also from what I read is also OK if it is not damaging or stealing from the company, as one of the options I will be trying is letting the user migrate there saves from different platforms as this Noval wont just be based on this game it will be offered in many formats.

Also the scripting engine is not theirs its a ruby engine and they point you to the ruby's help files to get to grips with the scripting language, also no staff member as come on and said sorry we can't help you here with this as its braking our rules, I think this company would rather have my money then stop me creating something that fits my needs.
 

amerk

Veteran
Veteran
Joined
Mar 13, 2012
Messages
1,433
Reaction score
495
First Language
English
Primarily Uses
As I've said, it's my understanding, not that's the be-all-that-ends all. As for editing files within the software, the only thing I've heard was okay (after being pressed for an answer) was changing the .exe file for launching the game. I have not heard anything about editing the other software files being okay.

And I never said your launcher hacks into the code, but that if it does it would be in violation. As for using a launcher or plug-in at all, that's a very gray area, and probably depends on how it changes the program. Take RM2K and 2K3 for example, ignoring the fact that any English translation is illegal to own.

Because RM2K and 2K3 does not have a script feature like XP, VX, and Ace does, people have created plug-ins that can be used with the program to do things that current Ruby scripts can do. However, during the short-lived debate on whether or not Degica should translate and sell RM2K3 to the English speaking community, one of the things that was stated was that the plug-ins would still be considered a breach to use and would violate the EULA. I highly doubt most of those plugs were there to steal code, but the fact remains it was still considered violating the terms.

In what ways an added launcher, software, or plug-in would be considered acceptable or illegal I don't really know.
 
Last edited by a moderator:

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
TheStoryTeller, please avoid double posting, as it is against the forum rules. You can review our forum rules here. Thank you.


I've moved this thread to Tech Support. Please be sure to post your threads in the correct forum next time. Thank you.
 

TheStoryTeller

Story Teller
Member
Joined
Jul 6, 2013
Messages
13
Reaction score
1
First Language
English
Primarily Uses
TheStoryTeller, please avoid double posting, as it is against the forum rules. You can review our forum rules here. Thank you.

I've moved this thread to Tech Support. Please be sure to post your threads in the correct forum next time. Thank you.
What do you mean double posting ? do you mean if I have more to add edit the post? I felt it needed to be split but if I was wrong in doing that then sorry :) , I didn't think it was a tech support topic as I have yet to buy in to the software it was more of a means what can I do sort of thing but if this the right place then sorry I posted in the wrong place and thanks for moving it.

As I've said, it's my understanding, not that's the be-all-that-ends all. As for editing files within the software, the only thing I've heard was okay (after being pressed for an answer) was changing the .exe file for launching the game. I have not heard anything about editing the other software files being okay.

And I never said your launcher hacks into the code, but that if it does it would be in violation. As for using a launcher or plug-in at all, that's a very gray area, and probably depends on how it changes the program. Take RM2K and 2K3 for example, ignoring the fact that any English translation is illegal to own.

Because RM2K and 2K3 does not have a script feature like XP, VX, and Ace does, people have created plug-ins that can be used with the program to do things that current Ruby scripts can do. However, during the short-lived debate on whether or not Degica should translate and sell RM2K3 to the English speaking community, one of the things that was stated was that the plug-ins would still be considered a breach to use and would violate the EULA. I highly doubt most of those plugs were there to steal code, but the fact remains it was still considered violating the terms.

In what ways an added launcher, software, or plug-in would be considered acceptable or illegal I don't really know.
A launcher as in the same as given to launch a item can not be illegal as windows 'Launch's' the exe, my custom launcher will first detect the users screen mode, then if it is able to request the OS to change the screen size, if its unable to it will ask the user if they would like to still use fullscreen mode but it might letter box the game or give them the option to window mode it.

If the user is a account holder it will also then detect if the user as a chapter saved and if they do it will download the games versions save for that chapter, remember my idea here is not really for a game its more for a grathic play throw noval.

I do want to interact with the same engine also but at this time I still looking at what I am wanting to get from the end result, from what I can see I should be able to do this with scripts.

If this game engine is going to be this limited on its EULA then I simply wont use this engine, I am the programmer and should be able to expand on it as much as I need, if this is not the case I will use the OpenRPG(RPG Code) or LoveRPG(LUA) platforms.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
Yes, double posting is posting twice in a row. If you have more content to add, just edit your last post.


The location for your question does not depend on whether you have purchased or not (of course, if someone is using a pirated engine and we find out, there will be repercussions), so when you start new threads, just put them in the most logical place according to the subject matter :)


As far as the EULA is concerned, you cannot make changes to the exe or dll files, but you CAN do what you want within the RGSS scripting system. So it's been suggested that instead of using the Marshal to save your player data, you write your own method to save files in the format you need for Lua. This also means you would not be "double-handling" the save files by creating them in one format then converting them later to another format.
 
Last edited by a moderator:

TheStoryTeller

Story Teller
Member
Joined
Jul 6, 2013
Messages
13
Reaction score
1
First Language
English
Primarily Uses
Yes, double posting is posting twice in a row. If you have more content to add, just edit your last post.

The location for your question does not depend on whether you have purchased or not (of course, if someone is using a pirated engine and we find out, there will be repercussions), so when you start new threads, just put them in the most logical place according to the subject matter :)

As far as the EULA is concerned, you cannot make changes to the exe or dll files, but you CAN do what you want within the RGSS scripting system. So it's been suggested that instead of using the Marshal to save your player data, you write your own method to save files in the format you need for Lua. This also means you would not be "double-handling" the save files by creating them in one format then converting them later to another format.
Hmm I like that idea yes I understand we can't edit the exe or the dlls, I would have to really read up what details I would need for the details but I could save it per chapter 

and just jump to that map when loading, I would really have to learn more about the RGSS Scripting like writing to a file, I really like that idea, I really like the RPG VX Ace engine from what I have seen, read and watched on You Tube so far, research here is the key.

Thanks for your help there I think that would be a good way to save the game, saving triggers and actions might also be needed later but I guess that means more research lol

Also the resources that come with the game engine when I buy it would these be usable or do I have to pay a added royalty for that?

Can the RGSS run exe's ? so when I save it can then pass the details to my own exe upload there save to my server for later use? I might even be able to pass the save data via commandline if this is possible tho the way my tool works it would just be less work to read a flat file lol  
 

amerk

Veteran
Veteran
Joined
Mar 13, 2012
Messages
1,433
Reaction score
495
First Language
English
Primarily Uses
Not sure about RGSS being able to run exe's. The resources that come with the program are yours to use within RPG Maker, for commercial or non-commercial, and no additional royalties are needed.

However, they cannot be used outside of an RM product. You can use then interchangeably in all the RM products (IGM, XP, VX, and Ace) as long as you own the maker the resources came from and the maker you are using them in. So... if you buy RMXP and VX-Ace, for instance, you can use the resources for Ace in XP and vice versa.
 

TheStoryTeller

Story Teller
Member
Joined
Jul 6, 2013
Messages
13
Reaction score
1
First Language
English
Primarily Uses
Not sure about RGSS being able to run exe's. The resources that come with the program are yours to use within RPG Maker, for commercial or non-commercial, and no additional royalties are needed.

However, they cannot be used outside of an RM product. You can use then interchangeably in all the RM products (IGM, XP, VX, and Ace) as long as you own the maker the resources came from and the maker you are using them in. So... if you buy RMXP and VX-Ace, for instance, you can use the resources for Ace in XP and vice versa.
Thanks, this clears up the resource question up for me :)
 

TheStoryTeller

Story Teller
Member
Joined
Jul 6, 2013
Messages
13
Reaction score
1
First Language
English
Primarily Uses
Thank you for all your help on this topic but I have opted to create my own engine for what I want, I been working on my RPG Engine for AutoPlay Media Studios for years and kept hitting problems with it but with the Noval I feel its a good time to start the project back up, if you interested in the what I will be working on feel free to follow it at
http://Jellyskullz.me.uk
The Engine will be called Skullz42 and will be updated version of my RPG idea and my Sprite plugin for Autoplay Media Studios what sadly does not support Sprite sheets so I create a plugin to supports image changing.

Please don't get me wrong the RPG Maker is a great tool and I still thinking about buying it but at this time its still two limited to what I want to do via its lic/Rules, where creating my own will let me do this.
 
Last edited by a moderator:

Celianna

Tileset artist
Veteran
Joined
Mar 1, 2012
Messages
10,557
Reaction score
5,592
First Language
Dutch
Primarily Uses
RMMV
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.
 
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 0, Guests: 2)

Latest Threads

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,859
Messages
1,017,037
Members
137,566
Latest member
Fl0shVS
Top