Prince Of Persia.net written in C#

Threads about other remakes and ports.

Moderator: English Moderator Team

polipo
Vizier
Vizier
Posts: 89
Joined: September 6th, 2012, 8:34 am

Prince Of Persia.net written in C#

Postby polipo » September 12th, 2012, 2:52 pm

Dear,
i'm developing the .net porting of the famous Prince Of Persia 1 (Pc Dos Version)

For more information see :

http://princeofpersiadotnet.blogspot.it/

Thanks

User avatar
Norbert
The Prince of Persia
The Prince of Persia
Posts: 2852
Joined: April 9th, 2009, 10:58 pm
Contact:

Re: Prince Of Persia.net written in C#

Postby Norbert » September 13th, 2012, 3:12 pm

Good luck!

I don't know if you plan to use the original DAT files and if you plan to implement fighting guards, but you may want to check out the following files/documents:
http://www.popot.org/get_the_games.php?game=FreePrince
http://www.popot.org/documentation.php?doc=OldDocuments
http://www.popot.org/documentation.php? ... ifications
http://www.popot.org/documentation.php? ... cialEvents

polipo
Vizier
Vizier
Posts: 89
Joined: September 6th, 2012, 8:34 am

Re: Prince Of Persia.net written in C#

Postby polipo » September 14th, 2012, 2:57 pm

Thanks!,
for now i don't use the original .dat file because i will develop/test all program engine.

For now i have implemented a simple contruction kit based on txt file like this, the first room of the first level example:

Code: Select all

1..#####WW
###G.WWWWW
WWWW#G###W


LEGEND
1 = starting ponit
. = space
#= std floor
W = wall
G = florr and colum

Added [code] tags in the above example to make it align, so one can see it better. -mk1995

I like this semplicity anyone can make and personalize every room and every level with notepad.

In the future when the engine will be complete, i will think for implement the original dat file..

Bye

David
The Prince of Persia
The Prince of Persia
Posts: 1259
Joined: December 11th, 2008, 9:48 pm
Location: Hungary

Re: Prince Of Persia.net written in C#

Postby David » October 13th, 2012, 10:06 am


I opened the github link (https://github.com/polipo/PrinceOfPersia.net) but all I can find is some *.sln and .git* files. These are not enough to compile the game. You need to upload all the folders that are in the same folder as your *.sln files.

polipo
Vizier
Vizier
Posts: 89
Joined: September 6th, 2012, 8:34 am

Re: Prince Of Persia.net written in C#

Postby polipo » November 5th, 2012, 10:37 pm

Yes my error, now you can download the project... is 1 month old.. i think to upload a new version as soon...

User avatar
Norbert
The Prince of Persia
The Prince of Persia
Posts: 2852
Joined: April 9th, 2009, 10:58 pm
Contact:

Re: Prince Of Persia.net written in C#

Postby Norbert » November 5th, 2012, 11:19 pm

Could be useful to also provide an .EXE file, for those of us who, for whatever reason(s), are unable to compile your code but would still like to follow your progress.

polipo
Vizier
Vizier
Posts: 89
Joined: September 6th, 2012, 8:34 am

Re: Prince Of Persia.net written in C#

Postby polipo » November 20th, 2012, 9:56 pm

The setup of the Pop.Net can be download from the blog at
http://princeofpersiadotnet.blogspot.it/

This setup use clickonce tecnology after installed every time Pop.net start check a new version and download it from repository...

Thanks

User avatar
Norbert
The Prince of Persia
The Prince of Persia
Posts: 2852
Joined: April 9th, 2009, 10:58 pm
Contact:

Re: post suggestions here

Postby Norbert » February 2nd, 2013, 8:13 pm

David wrote:
Norbert wrote:
polipo wrote:PS
What do you think about Pop.net ?


Well, I added it to popot.org here on January 5, 2013.
Also, I tried running it, as I wrote here; I'm a Linux user, it didn't work for me.

Erm... your links point to PoP1 Studio, but I think he meant Prince Of Persia.net written in C#.


You're right, I mixed the two up. They are both .NET/C# applications. When I think .NET/C#, I think: unportable, proprietary framework/language that only has a full implementation on Windows because of patents and whatnot. Also, Microsoft is known for abandoning its products, and they come up with their own versions of stuff and then change it or lock it down, things like that. Better if DirectX and Metro and all that stuff just dies.

polipo, I suggested here that you could put up an EXE file. Unfortunately, I still cannot find an EXE file or package on your blogspot.it website. On the top of the website, there's only a link back to the main page, some text and a search field. On the top right a subscribe thing and a feed. On the lower right is Google Feedback. I looked through plenty of posts, but where's the EXE file or package? If you want people to check out your work, I really think you should make the download link more prominent.

polipo
Vizier
Vizier
Posts: 89
Joined: September 6th, 2012, 8:34 am

Setup for Prince of Persia.net

Postby polipo » February 4th, 2013, 10:35 am

Dear Norbert,
I have changed blog's them because the section links was a dynamic menù (sometime invisible), now is fixed on the right border of the main page, i post here the link of the download page:

https://princeofpersia.codeplex.com/dow ... pplication

after download the application run it, require dot.net 4.0 and xna package.

User avatar
Norbert
The Prince of Persia
The Prince of Persia
Posts: 2852
Joined: April 9th, 2009, 10:58 pm
Contact:

Re: Setup for Prince of Persia.net

Postby Norbert » February 4th, 2013, 9:40 pm

polipo wrote:I have changed blog's them because the section links was a dynamic menù (sometime invisible), now is fixed on the right border of the main page, [...]


Better like this, I think. :)

polipo wrote:[...], i post here the link of the download page:

https://princeofpersia.codeplex.com/dow ... pplication

after download the application run it, require dot.net 4.0 and xna package.


Can you create a tutorial on how to start your application?
Do we need to download this?
Should we install Microsoft Visual Studio 2010?
Is there any way you can create an EXE file from your project?
That .application file seems to be an XML file or some sort...

David
The Prince of Persia
The Prince of Persia
Posts: 1259
Joined: December 11th, 2008, 9:48 pm
Location: Hungary

Re: Prince Of Persia.net written in C#

Postby David » February 6th, 2013, 6:42 pm

programmer wrote:I can't neither use the ClickOnce version (it installs, but it won't launch, just shows the verifying window and quits)

I've looked into the installer, and I found something that seems to tell where is the game downloaded from.
It contains the following line:

Code: Select all

<dependentAssembly dependencyType="install" codebase="Application Files\PrinceOfPersia_1_0_0_81\PrinceOfPersia.exe.manifest" size="94519">

It looks like a relative path to me.
Combined with the path of the installer (https://princeofpersia.codeplex.com/releases/clickOnce/PrinceOfPersia.application), it gives this:
https://princeofpersia.codeplex.com/releases/clickOnce/Application%20Files/PrinceOfPersia_1_0_0_81/PrinceOfPersia.exe.manifest

Judging from some random *.application files (http://google.com/?q=ext:application), this seems to be the method for locating the manifest (which in turn gives the location of the other files), but the above link leads to an error message: "Project Security Error".

programmer wrote:nor compile it from source, getting only this

The ends of some lines can't be seen on this image, could you possibly copy the text and paste it here?
Also, did you install XNA? If not, it might be the cause of the problem.

polipo
Vizier
Vizier
Posts: 89
Joined: September 6th, 2012, 8:34 am

Re: Prince Of Persia.net written in C#

Postby polipo » February 8th, 2013, 11:18 am

Hello All,
thanks to all for test my PoP.net, I FOUND the problem of the setup installation.
I use Windows 8 with Visual Studio 2010 develop environment, XNA doen't work perfectly and during the setup/pubblish of the ClickOnce the program doesn't include
the ESSENTIAL xna framework (is a prerequisited).
For RUN the Prince of Persia.net you MUST download and install manually the XNA framework ridistributable package found at:

http://www.microsoft.com/en-us/download ... x?id=20914

same problem when you try to compile the source YOU MUST have the XNA Game Studio 4.0 downlodable at

http://www.microsoft.com/en-us/download ... x?id=23714

Thanks

User avatar
Norbert
The Prince of Persia
The Prince of Persia
Posts: 2852
Joined: April 9th, 2009, 10:58 pm
Contact:

Re: Prince Of Persia.net written in C#

Postby Norbert » February 9th, 2013, 7:11 pm

programmer wrote:http://imgur.com/xKNZbYW
…it just hates me


Maybe just install the "Microsoft XNA Framework Redistributable" that polipo mentioned.
I managed to install that one under Wine (with "wine start xnafx40_redist.msi").

All polipo will need to do is open his project in XNA Game Studio and then from the Build menu select "Build Solution".
That should create the files required to make the project run on other computers in the output directory of his project.

polipo
Vizier
Vizier
Posts: 89
Joined: September 6th, 2012, 8:34 am

Re: post suggestions here

Postby polipo » May 1st, 2013, 10:01 pm

Dear
I have see only now, some post from Norbert and programmer, they have some difficult to start PoP.net.
For programmer, PoP.net i'm developing on Windows 8 pro and visual studio 2010 and 2012, i have replaced xna with monogame because Microsoft dont support a umore this beatifull library.. So monogame have can be' used for port the game on android or Apple and UNIX ...
I love click once tecnology for the simple update mechnanism but i dont love our low control flow on install process..

Please try another time to install and send me an email or Message i m very happy to help you.. Bye

[Edit: I've moved your post from the apoplexy thread to this PoP.net thread. --Norbert]

User avatar
Norbert
The Prince of Persia
The Prince of Persia
Posts: 2852
Joined: April 9th, 2009, 10:58 pm
Contact:

Re: Prince Of Persia.net written in C#

Postby Norbert » September 23rd, 2013, 11:07 am

How is your project going?
I noticed a recent post on your website that says PoP Dot Net is now an "Open Project" and that you are looking for help?
Are there any particular things that appear to be difficult to implement?
Maybe the room-drawing code (by David) can give you pointers, or code from FreePrince?
See also the PoP1 Technical Information.


Return to “Other Remakes and Ports”

Who is online

Users browsing this forum: No registered users and 2 guests