[XP] RMXPAce -- Using the VX Ace engine in your XP games

Started by KK20, February 17, 2013, 04:38:51 pm

Previous topic - Next topic

LiTTleDRAgo

I see, so that's the problem

Quote from: KK20 on August 02, 2013, 12:53:08 am
Tried using F0's instead and I was able to get to the title screen. Unlike your screenshot, I saw the 'New Game', etc. commands. But upon starting I got a 'undefined method tileset= for Tilemap', which I'll need to look into as well. It's strange because I've never known about that.


that's weird, did my version different from yours?

----
before I forgot, I want to report other bug that I found (click to enlarge)

     

KK20

I'm using the XAS fix off your website. http://littledrago.blogspot.de/2013/05/rgss-xas-391-ally-system-v112.html
The F0 Tilemap script is the same as the one provided in the XAS demo.

Active Window not showing up is probably a z-value problem. I have no idea what could be causing the HUD to overlap though. If I could guess what the problem is, it has to be the initialize methods in Sprite, Bitmap, or Viewport. I haven't played with XAS in almost 3 years so I don't remember how things work (nor was I an avid RGSS scripter then).

Other Projects
RPG Maker XP Ace  Upgrade RMXP to RMVXA performance!
XPA Tilemap  Tilemap rewrite with many features, including custom resolution!

Nintendo Switch Friend Code: 8310-1917-5318
Discord: KK20 Tyler#8901

Join the CP Discord Server!

LiTTleDRAgo

Load RTP script : _http://pastebin.com/SP4t2Wqm (the script and dll credit to joe5491)
source : _http://bbs.66rpg.com/thread-307319-1-1.html


you can get RTP.dll in XAS Ally demo (too lazy to uploading it separately) : _http://littledrago.blogspot.de/2013/05/rgss-xas-391-ally-system-v112.html

Terv

Hey nice find, I'll add it to the kit. Also in these Chinese forums some yet unknown treasures seem to await their discovery (just found another high-res dll). I'll dig around some more and see if I can find other cool stuff. Because all Chinese love reverse engineering.

LiTTleDRAgo

*script updated*  _http://pastebin.com/SP4t2Wqm

I forgot that Graphics#transition is loading image separately

Terv

Added WHITE-FLUTE's C++ Tilemap and XP RTP loading script. I recommend the new tilemap to everyone encountering lag on graphic-heavy maps with one of the Ruby rewrites.

LiTTleDRAgo

in RTP script there are a mistake

Spoiler: ShowHide

#==============================================================================
# module Audio
#==============================================================================
module Audio
 #--------------------------------------------------------------------------
 # * Self
 #--------------------------------------------------------------------------
 class << self
   #--------------------------------------------------------------------------
   # * Alias Listing
   #--------------------------------------------------------------------------
   alias_method :bgm_play_path, :bgm_play
   alias_method :bgs_play_path, :bgs_play
   alias_method :se_play_path,  :se_play
   alias_method :me_play_path,  :me_play
   #--------------------------------------------------------------------------
   # * bgm_play
   #--------------------------------------------------------------------------
   def bgm_play(filename, volume = 100, pitch = 100)
     path = filename
     path = RPG::Path::Graphics(path)
     bgm_play_path(path,volume,pitch)
   end
   #--------------------------------------------------------------------------
   # * bgs_play
   #--------------------------------------------------------------------------
   def bgs_play(filename, volume = 100, pitch = 100)
     path = filename
     path = RPG::Path::Graphics(path)
     bgs_play_path(path,volume,pitch)
   end
   #--------------------------------------------------------------------------
   # * me_play
   #--------------------------------------------------------------------------
   def me_play(filename, volume = 100, pitch = 100)
     path = filename
     path = RPG::Path::Graphics(path)
     me_play_path(path,volume,pitch)
   end
   #--------------------------------------------------------------------------
   # * se_play
   #--------------------------------------------------------------------------
   def se_play(filename, volume = 100, pitch = 100)
     path = filename
     path = RPG::Path::Graphics(path)
     se_play_path(path,volume,pitch)
   end
 end
end


change it into

Spoiler: ShowHide
#==============================================================================
# module Audio
#==============================================================================
module Audio
 #--------------------------------------------------------------------------
 # * Self
 #--------------------------------------------------------------------------
 class << self
   #--------------------------------------------------------------------------
   # * Alias Listing
   #--------------------------------------------------------------------------
   alias_method :bgm_play_path, :bgm_play
   alias_method :bgs_play_path, :bgs_play
   alias_method :se_play_path,  :se_play
   alias_method :me_play_path,  :me_play
   #--------------------------------------------------------------------------
   # * bgm_play
   #--------------------------------------------------------------------------
   def bgm_play(filename, volume = 100, pitch = 100, *args)
     path = filename
     path = RPG::Path::Audio(path)
     bgm_play_path(path,volume,pitch,*args)
   end
   #--------------------------------------------------------------------------
   # * bgs_play
   #--------------------------------------------------------------------------
   def bgs_play(filename, volume = 100, pitch = 100, *args)
     path = filename
     path = RPG::Path::Audio(path)
     bgs_play_path(path,volume,pitch,*args)
   end
   #--------------------------------------------------------------------------
   # * me_play
   #--------------------------------------------------------------------------
   def me_play(filename, volume = 100, pitch = 100)
     path = filename
     path = RPG::Path::Audio(path)
     me_play_path(path,volume,pitch)
   end
   #--------------------------------------------------------------------------
   # * se_play
   #--------------------------------------------------------------------------
   def se_play(filename, volume = 100, pitch = 100)
     path = filename
     path = RPG::Path::Audio(path)
     se_play_path(path,volume,pitch)
   end
 end
end


there is also an issue when $TEST is changed to false ($DEBUG is okay), all RTP is gone

Terv

Fixed the script.

Quote from: LiTTleDRAgo on September 12, 2013, 01:43:36 pmthere is also an issue when $TEST is changed to false ($DEBUG is okay), all RTP is gone

So better add $TEST = true in the script? There aren't any hardcoded debug functions checking for $TEST in RGSS3, are there?

G_G

Or you can just do this
$TEST = $DEBUG


That way in debug mode it'll be true and in release mode it'll be false and you won't have to worry about removing it when your game is done.

LiTTleDRAgo

@gameus : no, I already try that, as long as $TEST value is false or nil, RTP script didn't work

@terv : I don't think there any $TEST checking on RMXP scripts, unless it's a cross engine scripts, but it's very rare

Terv

@gameus: From what I've understood $TEST has to be true in order for the RTP script to work, which shouldn't be a problem as this var isn't used in RGSS1's base scripts (as LD already mentioned).

Also don't forget that both $DEBUG and $TEST are natively false when the game is launched from inside the editor. This is the reason for the line being in the scripts.

I've added $TEST = true among a note to the RTP script.

G_G

Quote from: Terv on September 12, 2013, 09:49:34 pm
@gameus: From what I've understood $TEST has to be true in order for the RTP script to work, which shouldn't be a problem as this var isn't used in RGSS1's base scripts (as LD already mentioned).

Also don't forget that both $DEBUG and $TEST are natively false when the game is launched from inside the editor. This is the reason for the line being in the scripts.

I've added $TEST = true among a note to the RTP script.


I see.

bigace

Hey Terv, do you mind if I post this on http://www.gdunlimited.net/forums/
Just asking just encase, you say otherwise.


Use Dropbox to upload your files. Much simpler than other upload sites, you can simply place a folder on your desktop that will sync with your DropBox account.

Terv

You may, as the licence states (it also has been already translated into Russian). However I won't be able to keep it up to date if you post it there. A few tilemap rewrites are still being worked on, useful scripts added, so the description may change.

bigace

Cool, I'll try to keep it up to date as much as possible. Thanks


Use Dropbox to upload your files. Much simpler than other upload sites, you can simply place a folder on your desktop that will sync with your DropBox account.

KK20

Yeah, I'm still working on a Tilemap rewrite myself. I'm not sure if the other Tilemap scripts are using the same method as mine, which is basically using a lot of 32x32 sprites that move and update as the Tilemap's ox/oy change. I'm combining it with F0's Resolution. It looks pretty smooth on my end (.003 or so seconds to move a few hundred sprites and change their src_rect and/or bitmap graphics) and can run on 500x500 maps without eating a ton of memory (I think it only used like .02GB).

Other Projects
RPG Maker XP Ace  Upgrade RMXP to RMVXA performance!
XPA Tilemap  Tilemap rewrite with many features, including custom resolution!

Nintendo Switch Friend Code: 8310-1917-5318
Discord: KK20 Tyler#8901

Join the CP Discord Server!

bigace

I found this console on rmrk by Grim: http://rmrk.net/index.php/topic,48057.0.html
however, the console seems to have issues with the xp+vxace conversion. So I removed lines 119 and 125, because we're running on vxace now using xp and now it works.


Use Dropbox to upload your files. Much simpler than other upload sites, you can simply place a folder on your desktop that will sync with your DropBox account.

G_G


bigace

I know I saw that, Terv posted the link already in the OP ;). Doesn't mean there can't be more than one method.


Use Dropbox to upload your files. Much simpler than other upload sites, you can simply place a folder on your desktop that will sync with your DropBox account.

PhoenixFire

Successfully assembled this with the following details:


  • Kings Rewrite seems to work (tried with the F0/KK20 rewrite and screenshot.dll dependency, but it threw a hissy fit)

  • Using the XP to VX windowskin converter script

  • Copied the RTP from Book of Leaves and removed dependency



All of this was from a brand new project. When I tried using a copy of BoL, it threw a fit with Tons of Addons, somewhere in the caterpillar script, which prompted me to try it out without anything else in the script at all. Also worthy of noting, I ended up renaming the .dll file, not changing the .ini listing. Not sure why that actually makes a difference, but apparently it does..


EDIT: I have also successfully combined this with a CMS script rewrite I am working on, adapted from a 3 person CMS made by Shinami over on RMRK..
Quote from: Subsonic_Noise on July 01, 2011, 02:42:19 amNext off, how to create a first person shooter using microsoft excel.

Quote from: Zeriab on September 09, 2011, 02:58:58 pm<Remember when computers had turbo buttons?