Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - KK20

Pages: [1] 2 3
4
Electronic and Computer Section / Dropbox Public Folder Changed
« on: March 25, 2017, 07:53:39 AM »
Just signal boosting this again. As of March 15, 2017 Dropbox changed the Public folder to private. Any public links you may have shared over the interwebs are now broken. You will need to create a new public link again to allow others access.

More on the info: https://www.dropbox.com/help/16

Because of this change, it may be possible that a lot of user submitted resources are no longer available. That includes any scripts, images, or projects. Please try to contact the topic owner of any broken Dropbox links.



But I do agree that this is a pretty huge dick move by them. I don't understand why this change needed to happen and why it was forced upon everyone. Especially for communities like us, this just adds to the headaches.

11
Tutorials / [WIP] Single Executable for RPG Maker
« on: September 22, 2016, 08:02:48 AM »
I'm guessing when it comes to distributing your games, most people would like to just hand a single file to their users. It's simple, organized, and hard to access your game files (cuz we all know how to extract assets from compressed games and modify them with our own :P). Following this tutorial, you will be able to do just that! This guide uses the freeware Enigma Virtual Box to achieve this effect. I'm also using RPG Maker XP as the example because, let's face it, it is the superior RM around /bias. The tutorial should work for any version though.

Step 1: Download Enigma Virtual Box
Go to the website http://enigmaprotector.com/en/downloads.html and download said program. Run the installer, choose a place to install it to, couple more clicks, and done. Really easy.
(click to show/hide)


Step 2: Load Your Project
Upon running the software, you should see something similar to this:
(click to show/hide)

At the top, hit the Browse button next to the "Enter Input File Name" textbox. Select your project's Game.exe file and OK. It will auto-generate an Output File Name in the same project directory. Go ahead and change it so that it outputs elsewhere (like to your Desktop) and rename it to "Game.exe".

Now click the Add button below and choose to Add Folder Recursive.
(click to show/hide)

Locate and select your project folder.
(click to show/hide)
You will get a pop-up that looks like this:
(click to show/hide)

It is okay to leave it as is, so go ahead and OK it. %DEFAULT FOLDER% will ensure that your game's files will be "extracted" in the same location as your single executable (this is what we want).


Step 3: Finalize
Go ahead and remove the Game.rxproj as this is not needed. Mess with the other options if you know what you're doing, but you're pretty much done here. Click on Process to compile everything together and generate your stand-alone EXE.
(click to show/hide)

A new Game.exe file should have appeared on your desktop. Try running it and see if your game works. Now give that to a friend!


Step 3a: RPG Maker ACE and Gothic Font
If working with RPG Maker VXA or XPA, you'll probably see a "Unable to find VL Gothic font". Right click the two VL Gothic font files, select Properties, and change their Virtualization Method to Write to Disk if not Exists.
(click to show/hide)
This will create a Fonts folder containing these two files when you run the Game.exe. Not exactly a single file anymore but...I don't know any other way to resolve that error message. Of course, you could just tell your players to install the font instead of having to do this.


Just a reminder: Your stand-alone EXE has to have the SAME FILENAME as your INI file. If it's ChaosProject.ini, it will have to be ChaosProject.exe. Otherwise, the game will not work.

14
RMXP Script Database / [XP] Mouse Wheel Scroll
« on: July 04, 2016, 10:40:27 AM »
Mouse Wheel Scroll
Authors: KK20
Version: 1.0
Type: Input Add-on
Key Term: Misc System

Introduction

This script allows the use of scrolling the mouse wheel. It was written as an extension to Blizzard's Mouse Controller:
http://forum.chaos-project.com/index.php/topic,4710.0.html

Note that this script is not necessarily complete. It is up to you, the developer, to make use of this script's features. I only added the ability to scroll through Window_Selectable contents.

Features

  • Players can scroll the mouse wheel
  • Additional configuration option to allow the cursor to be visible at all times
  • Windows_Selectable#update allows the ability to scroll through the windows via mouse wheel

Screenshots

None.

Demo

None.

Script

(click to show/hide)

Instructions

Requires Blizzard's Mouse Controller script (link above). The Controller should be placed above this add-on in the script list.
Download the required DLL here (includes source code): Download
All other instructions in script.

Compatibility

Requires Blizzard's Mouse Controller.


Credits and Thanks

  • KK20 - Script and DLL
  • Blizzard - Assistance with making DLL

Author's Notes

Performance might be slow on terrible computers. I would appreciate it if people can test this for me.
If you wish to adapt this script to other existing mouse controller scripts, you are free to do so.

15
RPG Maker Scripts / Mouse Wheel Scroll Message
« on: June 28, 2016, 06:08:34 AM »
EDIT: Script: http://forum.chaos-project.com/index.php/topic,15450.0.html

Overall goal is to know, with a script call, how many times (in which direction) the mouse wheel has scrolled.

I started off with seeing if someone already made something in RPG Maker, and found this at the top of the list:
http://pastebin.com/raw/q4TcSE1h
GetMessage, from what I understand, waits until a message is received before processing any further. The script does work (with some missed inputs here and there), but FPS takes a massive hit.

I then found PeekMessage, which I thought functioned much like GetMessage but without the waiting. Turns out that was wrong; I wasn't getting any mouse wheel messages (unless I furiously moved the mouse around and scrolled at the same time, in which I received the message every now and then).

A callback sounds like the best solution, but I don't really have any experience with setting those up. I looked at this and am not sure if I can figure out how to incorporate it into a DLL.
http://stackoverflow.com/a/21961482

How difficult is this really?


EDIT:

Okay so the stackoverflow actually helped a lot. After fumbling around with it, I figured out how to put it into a separate thread, accumulate the number of times the wheel scrolled, and have another DLL method return the number of times (positive for scrolling up, negative for down). I do not know the elegance of this nor the practicality, so I'm hoping someone can give valuable input. Game runs at 60 FPS and is registering every instance of a mouse wheel scroll.

I guess the ONLY bad thing right now is it accepts the mouse scroll regardless of what the active window is. So if your game pauses when it's not active, you scroll the wheel a lot, and click back on the game, the first call could be a massive accumulation. I could just make it return only -1 or 1 instead, but whatever.
(click to show/hide)

17
RPG Maker Scripts / MOVED: [XP][VXACE] Project scanner
« on: March 28, 2016, 09:03:09 PM »

Pages: [1] 2 3