ntzrmtthihu777 |
Friday 8 March 2013 at 6:03
|
ntzrmtthihu777
|
Hello all! First off thankyou for this wonderful software, with it I have been able to fully migrate to linux from Windows. This script is intended to install RPG Maker XP from Enterbrain. It replicates the method I used on my HP dv5 running Pinguy OS 12.04 x64. I will state that it does not function on my Dell Inspiron ONE2205 running the same OS, I believe it to be a video card issue, so I cannot say if it works under all systems. This script only downloads and installs the trial version of the program. It is up to the user to purchase a license to continue use beyond the trial period. #!/bin/bash # Date : (2013-03-05 00-39) # Last revision : (2013-03-13 15-24) # Wine version used : 1.5.24 # Distribution used to test : Ubuntu 12.04.2 LTS # Author : ntzrmtthihu777 # Testers : petch, Lightning Dragon
[ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="RPG Maker XP" PREFIX="RPG_XP"
POL_SetupWindow_Init POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "Enterbrain" "http://www.rpgmakerweb.com/" "ntzrmtthihu777" "$PREFIX"
POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "1.5.24" POL_System_SetArch "x86"
POL_System_TmpCreate "$PREFIX"
#installs and configures needed libraries POL_Call POL_Install_dinput POL_Call POL_Install_dinput8 POL_Call POL_Install_directmusic POL_Call POL_Install_directplay POL_Call POL_Install_directx9 POL_Call POL_Install_dotnet20 POL_Call POL_Install_dxfullsetup POL_Call POL_Install_gdiplus
POL_Wine_OverrideDLL "native,builtin" "d3d8" "d3d9"
#downloads the official installer package, unzips it and installs the rtp and actual program. cd "$POL_System_TmpDir" POL_Download "http://c624285.r85.cf2.rackcdn.com/trial/enterbrain/xp/RPGXP_Setup.zip" "f443c89a983dd171c73f2794cc3279b7" unzip RPGXP_Setup.zip POL_SetupWindow_wait "Installation in progress." "$TITLE RTP installation" POL_Wine start /unix "$POL_System_TmpDir/XPRTP/Setup.exe" POL_Wine_WaitExit "Setup.exe" POL_SetupWindow_wait "Installation in progress." "$TITLE installation" POL_Wine start /unix "$POL_System_TmpDir/Program/Setup.exe" POL_Wine_reboot POL_Wine_WaitExit "Setup.exe"
#installs RTP Audio converted to .ogg from .mid cd "$WINEPREFIX/drive_c/Program Files/Common Files/Enterbrain/RGSS/Standard/Audio" POL_Download "https://www.dropbox.com/s/citwp55iczz05bb/RPGXP-Audio.zip?dl=1" "c5c6938f63dbd2427cd3137028d42857" unzip RPGXP-Audio.zip mv BGM.zip ./BGM && unzip ./BGM/BGM.zip mv ME.zip ./ME && unzip ./ME/ME.zip rm ./*/*.mid ./RPGXP-Audio.zip ./*/*.zip
#creates shortcut POL_Shortcut "RPGXP.exe" "$TITLE" POL_System_TmpDelete POL_SetupWindow_Close
exit Edited by ntzrmtthihu777
|
petch |
Friday 8 March 2013 at 8:20
|
petch
|
HI ntzrmtthihu777, For me it installs and starts (didn't try to get an activation key). It would be great to strip down this list of package installs, some are most likely redundant (for example dxfullsetup probably installs everything the d3dx9* and directx9 packages cover; Are d3dx10, d3dx11 or dxdiag really required?) From what I've seen the program doesn't give much clues about what it needs, even when started in debug mode, so it may require plain trials and errors :/ Regards, Pierre. Edited by petch
|
ntzrmtthihu777 |
Friday 8 March 2013 at 8:54
|
ntzrmtthihu777
|
Ack! there was a video setting needed, I needa add that in. Interesting about the dxfullsetup getting the other stuff, I thought so but was not sure. Thank you for the input, and I will re-work it a bit more. Also, I am not 100% what is required bare minimum, this has been cobbled together from a few sources. And I think I may have misread you, you mean it worked and you did not attempt registration? Edited by ntzrmtthihu777
|
Ronin DUSETTE |
Friday 8 March 2013 at 23:07
|
Ronin DUSETTE
|
Usually what I see, is no info on required packages. .NET is needed for certain things, so I dont find out until it either tries to install it or it fails because its not there. haha. I agree with the fact that if you are doing the Dxfullsetup, it will install all of the d3d stuff as well as everything else. dxdiag is not needed. Its just a test program. It can for sure be dropped out. Have you tried to install it just by itself, with no dependencies added, and see what errors come up?
|
ntzrmtthihu777 |
Saturday 9 March 2013 at 0:23
|
ntzrmtthihu777
|
I did, the install went fine but I never tried launching it from the command line, just the winemenu; it would open and close very quickly. very good point and I'll give that a shot for a test. [EDIT] I did a quick try run for another reason, and it definitly needs the .net framework. Will check for the others. Edited by ntzrmtthihu777
|
Ronin DUSETTE |
Monday 11 March 2013 at 22:07
|
Ronin DUSETTE
|
Well, if it needs .NET, then try to install the mono for windows in that POL prefix. From what I understand, if you install the wine-mono package or something like that, it should not let .NET install over it (I guess it tells wine to ignore certain packages so that .NET apps will use mono instead or something like that). Also, try newer versions of Wine (I have had a lot of success with .NET apps using 1.5.20 and up).
|
ntzrmtthihu777 |
Tuesday 12 March 2013 at 9:37
|
ntzrmtthihu777
|
Also, what PlayOnLinux call installs these fonts, does the POL_Install_corefonts catch them?: Apple Chancery, Herculanum, Hoefler Text, Papyrus, Zapfino
Its pretty much finished, I had to install these fonts using winetricks which is a no-no for a POL script. Once that's done its more or less a finished product, I just wanted to put it out there so it can be 1. Tested by others, and 2. Maybe approved and signed.
|
petch |
Tuesday 12 March 2013 at 9:48
|
petch
|
What winetricks command installs those fonts? I never heard of them
|
ntzrmtthihu777 |
Tuesday 12 March 2013 at 10:02
|
ntzrmtthihu777
|
Ack! Wrong project, I mixed myself up. I had to install the cjk fonts and such for Mp3tag because alot of my music uses them, lol. But this brings up another question, how do I install these fonts, if a script call is not available yet? Perhaps I will have to write one. And on that note I had never heard of them either, untill I ran wine Setup.exe for rpg maker xp and it complained about them. Edited by ntzrmtthihu777
|
petch |
Tuesday 12 March 2013 at 11:00
|
petch
|
Simplest way is to copy the .ttf files into virtual drive's windows/Fonts/ There's probably other ways like installing them in host system, as I assume Wine can make use of host fonts too.
|
ntzrmtthihu777 |
Tuesday 12 March 2013 at 14:23
|
ntzrmtthihu777
|
Hmm. Funny thing, I just installed another non-listed program with PlayOnLinux, and it complained about the same fonts...
|
petch |
Tuesday 12 March 2013 at 18:43
|
petch
|
It seems to be common fonts on Macs, which explains why I never heard of them :p http://www.tutorialspoint.com/html/html_fonts_ref.htm Don't know if there's a way to get them or, at least, what could be good enough mapping to similar fonts...
|
Ronin DUSETTE |
Tuesday 12 March 2013 at 19:16
|
Ronin DUSETTE
|
"Also, what PlayOnLinux call installs these fonts, does the POL_Install_corefonts catch them?: Apple Chancery, Herculanum, Hoefler Text, Papyrus, Zapfino" Yeah. Those are foreign to me. I wonder why Mac fonts would be used on that program? What was the other non-listed program? Ive installed a bunch of stuff and have never run across any of those.
|
ntzrmtthihu777 |
Wednesday 13 March 2013 at 3:09
|
ntzrmtthihu777
|
screenshot of it working: Icons for installer, database, etc: https://www.dropbox.com/s/6rso5qjsg0j5zjn/RPG%20Maker%20XP.zip?dl=1 Edited by ntzrmtthihu777
|
Ronin DUSETTE |
Wednesday 13 March 2013 at 3:10
|
Ronin DUSETTE
|
|
ntzrmtthihu777 |
Wednesday 13 March 2013 at 5:57
|
ntzrmtthihu777
|
Ack, I made an error in the final script! I put a rm *.zip before the unzip! it will not cause installation to fail, but it will not enable BGM or ME like it should.
Its a quick fix, and I shall fix it as soon as permitted.
|
ntzrmtthihu777 |
Wednesday 13 March 2013 at 7:08
|
ntzrmtthihu777
|
"Also, what PlayOnLinux call installs these fonts, does the POL_Install_corefonts catch them?: Apple Chancery, Herculanum, Hoefler Text, Papyrus, Zapfino"
Yeah. Those are foreign to me. I wonder why Mac fonts would be used on that program?
What was the other non-listed program? Ive installed a bunch of stuff and have never run across any of those.
Perhaps, as it is not just that one program asking for them, it is a PlayOnMac/Linux crossover issue...
|
Ronin DUSETTE |
Wednesday 13 March 2013 at 17:40
|
Ronin DUSETTE
|
Perhaps. If you want to correct the script, make the corrections and change the time stamp on the script, and I will patch it into the script.
|
ntzrmtthihu777 |
Wednesday 13 March 2013 at 21:27
|
ntzrmtthihu777
|
Changes made, patch away :D
The only thing you should have to change is the part installing the .ogg versions & the timestamp.
|
Ronin DUSETTE |
Thursday 14 March 2013 at 16:41
|
Ronin DUSETTE
|
Word. Ill get that set up here in a few. Just getting up. :)
|