How To Make A Php Retro

GageDodd

Member
Sep 30, 2014
225
57
PLEASE REMEMBER TO THANK BELOW!

Welcome to my new PHPRetro Setup Package TUT!

I Endo am releasing this because, well who wants to sit around for 20 minutes searching for all of the right things to make your retro?

Well with this new package it will come with the following items (Basically Everything you need):

1. PHPRetro 4.0.8 (My Personal Favorite Stable Edition)
2. HoloGraph Emulator v26 (Works perfectly)
3. MySQL OBDC Connector (Needed to connect to MySQL from Xampp and the Holograph EMU)
4. Xampp (Newest Xampp)
5. Microsoft Visual C# (Needed to run the EMU Duh!)
6. And the best part of all!! Working v26 DCR's!!!!
Download Link (It is a Big File so Please wait for it to download)

Quick Tutorial on How to Set Up!

S1. Install Xampp and make sure you install you your C:\ Drive.

S2. Once Xampp is finished go to the xampp folder in your C:\ Drive and open HTDocs.

S3. Delete Everything in it.

S4. Extract the PHPRetro to the HTDocs.

S5. Open the Xampp Control Panel and start/run Apache and MySQL.

S6. Go to this link in your browser.

S8. Setup a new password in the first form only!

S9. Run the Microsoft OBDC Installer ( Install to the C:\ Drive )

S10. When thats finished run the Microsoft Visual C# Installer.

S11. ^ that one takes long so be patient.

S12. Now while the MVC# is downloading go in your web browser to

S13. For username put it "root" (Without " " ) and for password type in whatever you set in Step 8.

S14. Now create a new database called "holodb" (Without " " )

S15. Once the database is created click on the import tab on the top of the screen.

S16. Then click on browse in the next window. Then in the PHPRetro Back go to Holograph EMU > database.sql (Its a text document)


S17. Now click go around the bottom of that screen.

S18. Wait for it to upload all files then u can close that.

S19. Now go to PHPRetro Setup Pack > Holograph EMU > Bin > Debug > Bin > MySQL.ini and enter all of your details, (Leave host,port,and user all the same. CHANGE PASSWORD AND DATABASE NAME TO Password = Whatever your password is Database = Whatever you named your database.

S20. Now go to and you will see a wicked installer. Put your language click next, Enter all of your details Keep the first 2 the same HoloGraph and everything Only Change the Password User (If isnt already root) and Database name.

S21. If is says it cannot connect that means you entered wrong details. If it doesnt click next. Now enter your Hotel Name (Keep it in this format Blah Blah Hotel) In the next one put the hotel short name I.E. Sith Hotel, Sith. Now change the address to your DynDNS address ( TUT to set that up is below )

S. Now Setup Your Admin Account!!

S22. Now When it says to move the files look at the images below!
S23. And Bam!! Your Hotel is almost Up! Now all you have to do is Edit your DCR's!! I will teach DCR's Below.





_______________________________________________________________________________________________________

DynDNS.com Your Free Portal to a Address!!

S1. Sign Up For DynDNS

S2. Activate E-Mail if you need to

S3. Create a New host! Pick a Address type it in and make it nice :D. Enter your IP Where it asks.

S4. Create the host, And bam!! You Have a new Dyn DNS!!. Enter that address in your PHPRetro Setup.
_______________________________________________________________________________________________________

How to Host DCR's!!

Hosting DCR's can sometimes be tricky so im going to break it down for you.

S1. Edit Your variables before you upload to the site.

S2. Make a new t35.com account. (Easiest way to host DCR's)

S3. When you are editing the Variables make all of the addresses that apply such as I.E.

S4. If You have the file that the link ends with in the Variables, Then change the link. If You dont then leave it alone.

S5. Once you are done editing the variables, Upload them to your t35.com account Via FileZilla or any other upload client.

S6. In Your loader config in PHPRetro Housekeeping, Enter eveything just like below.

External Texts:

External Variables:

DCR's:

S7. Save and Done!!

Starting THE EMULATOR!
Starting the Emulator can be one of the easiest processes. Since im not at home i will just be telling you how.

S1. Go into the EMU Folder i added to the Pack.
S2. Go to Trunk/bin/debug/bin/mysql.ini
S3. Edit it to your details.Edit the Database= to your database name. and change the password to your Xampp Password.
S4. Now go back to the Trunk Folder and find the Holograph EMU thats has a Nine in the upper right hand corner of its image.
S5. Double Click it and wait till Microsoft Visual C# Loads.
S6. Click the Green Triangle that looks like this l> on the top of the Microsoft Visual C# Screen.
S7. If it all comes up green then your EMU is started.
I Hope You Enjoyed my Release and TUT and thank you for reading! Please Rate and Post your Comments below if i missed anything please say below i will add immediately! Have a fun retro making experience!! If you need any help at all please inbox me!

TO HAVE THE HOTEL WORK YOU WILL NEED TO HOST DCR's
Known Errors:
- If you are getting a Error that is read talking anything about the datasource is not found. It means your Server details are incorrect. Another Error could be, In your database make sure in system_config table you change the game and mus port to 21 and 20 MUS = 20 Game = 21 OR MUS-30001 Game=30000
 

DecaHertz

New Member
Dec 13, 2016
1
0
Hi, the tutorial is great, and detailed but I seem to be having an issue connecting the Holograph Emulator to the database. I have tried just about everything to try to get it to work, but I am still getting the error code that you talk about in the known errors. There doesn't seem to be a reason as to why it isn't connecting. My port numbers, and IP address matches up, and the settings are configured in the .ini file. I configured housekeeping, ran the program as administrator, ran on Vista comparability, added the ODBC 5.1 driver as a data source in the ODBC manager in both 32 bit and 64 bit, I made sure the port numbers added up in the database config file, I made sure it was the right version of Xampp, along with the other programs. I also tried using SVN to get a new copy of the Holograph Emulator, and I get the same error code. Here is the exact message I am getting. (I can't post images yet, sorry!)

[11:35:35 AM:738] [Eucalypt.Boot] » Starting up Holograph Emulator for ***...
[11:35:35 AM:738] [Eucalypt.Boot] » Expanded threadpool.
[11:35:35 AM:738] [Eucalypt.Boot] » Checking for \bin\mysql.ini...
[11:35:35 AM:754] [Eucalypt.Boot] » mysql.ini found at C:\V26\HoloGraph Emulator\bin\Release\bin\mysql.ini

[11:35:35 AM:770] [DB.openConnection] » Connecting to holodb at 127.0.0.1:3306 for user 'root'
[11:35:35 AM:770] [DB.openConnection] » Failed to connect! Error thrown was: ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

Info: I am using Windows 10, XAMPP 1.7.3, and all the programs that are included in the pack. I am hosting my own DCRs through localhost.

EDIT: I realized that the client (DCR file) was trying to load game data from habbohotel perhaps that has something to do with it?

Thanks!
 
Last edited:

Users who are viewing this thread

Top