Princed V3 Project Thread

Prince of Persia related subjects that do not have their own boards.
Post Reply
TRIDENT
Sheikh
Sheikh
Posts: 23
Joined: May 3rd, 2003, 1:30 pm
Contact:

Princed V3 Project Thread

Post by TRIDENT »

Aqu?­ discutiremos los asuntos referidos al programa que estamos desarrollando. Se aceptan sugerencias, reportes de bug, etc. Las preguntas ser??n respondidas en el mismo hilo.

La URL oficial del Princed es http://www.princed.com.ar.
poirot
Developer
Developer
Posts: 394
Joined: March 24th, 2003, 8:52 pm
Location: Australia
Contact:

Post by poirot »

Ya llegamos a las 900 lineas de c??digo en ANSI C para maps.c y 280 para maps.h. Falta terminar algunas cosas del manejo de puertas. Terminamos de entender casi la totalidad del formato, las partes m??s utiles ya est??n descubiertas. Solo falta investigar una serie de bloques de memoria cuya funci??n no altera a los niveles.

Adem??s est?? programado prexe.c, m??dulo encargado de editar ciertos strings en prince.exe.

Tambi??n tenemos muy avanzado prhof.c que edita el Hall Of Fame.

Para este fin de semana voy a estar terminando prsav.c, m??dulo encargado de editar los juegos grabados.

Con estos m??dulos vamos a estar en condiciones de desarrollar prrun.c, m??dulo cuyo objetivo es ejecutar prince.exe o archivos cambiados, seguir el proceso, manejar corredas de debug, etc.
poirot
Developer
Developer
Posts: 394
Joined: March 24th, 2003, 8:52 pm
Location: Australia
Contact:

Post by poirot »

Esta es la ToDo List de los principales m??dulos abstractos del Princed V3

+ maps.c v3.01b:

ToDo
* Optimizacion del manejo de listas de puertas
* Insertar evento
* Eliminar evento
* Acomodar el setText para que se puedan colocar mas puertas

Changelog V0.50
* levels.dat file handling in Pascal

Changelog V1.00 (used for format decoding)
* HEX counting/finding functions
* Byte exchange & writing functions
* Format location primitives
* mLoad & mSave procedures

Changelog V2.00
* Wall/Background/Link abstract support added
* Abstract validation handling
* Byte exchange & writing functions removed

Changelog V2.50
* Several algorithms improved
* Guard support added
* HEX counting/finding functions removed

Changelog V2.75
* Added link & screen handling by coordenates

Changelog V3.00b
* Mejora en los algoritmos de manejo de disco
* Nuevas funciones que dependen del nivel y no del episodio
mLoadPED
mLoadDAT
mSavePED
mSaveDAT
* Se elimin?? mLoad y mSave
* Las variables del nivel se manejan en el heap y no en el segmento de datos
* Se reemplaz?? tMapa por tLevel, lo que mantiene en memoria solo un nivel y no los 12 niveles
* Se reimplement?? el c??digo en ANSI C
* Se agreg?? StartPosition y Debug Position Handling
* Se a??adi?? la StartPosition al algoritmo recursivo del screen handling y se puso obligatorio en mLoadDAT
* Se agreg?? soporte para guardar texto descriptivo en el nivel (564 caracteres)
* Se optimiz?? el codigo
* Se a??adi?? el manejo de puertas de una forma muy rudimentaria

+ prhof.c v2.0b:

ToDo
* Testear

Changelog V1.00
* Format figured out
* File edition primitives

Changelog V2.0b
* Se recopilaron las funciones del c??digo del prinhof.exe y se cre?? una unidad
* Se reimplement?? en ANSI C

+ prsav.c v2.0b:

ToDo
* Recopilar en una unidad
* Reimplementar en C

Changelog V1.00
* Format figured out
* File edition primitives

+ prexe.c v1.0b:

Changelog V1.0b
* Prince.exe editor for extra files location (levels.dat, prince.sav, prince.hof)

+ prpub.c v1.0b:

ToDo
* Chequeador de last news, last version, host, user y pass en una URL especifica http://www.cnu.net.ar/~ecalot/princed/publish.txt
* Desencriptador
* Compresor de levels.dat
* Subidor por FTP de levels.zip
* Cuadro de dialogo con propiedades de la publicaci??n
- Nombre del Autor (autoget)
- Nombre del episodio
- Fecha (autoget)
- Descripci??n
- Mostrar licencia con checkbox que desactiva Publicar
ultimateprince
Scholar Scribe
Scholar Scribe
Posts: 4
Joined: March 5th, 2004, 1:57 am

Post by ultimateprince »

nada mas quique?? que post pobre!! 1/2 pila.. jajaj capo, felicidades por tus logros!! una masa
Guest

Post by Guest »

I always get a runtime 200 error when I try running it on winme, and in pure dos on mine comp. I works nice on the other computer, but that comp is so slow, that makes it impossible to use it. Please help!!! And please write english.

Nice prog, only I could get it work on the other comp
poirot
Developer
Developer
Posts: 394
Joined: March 24th, 2003, 8:52 pm
Location: Australia
Contact:

Post by poirot »

Runtime error 200 was division by Zero, this is the famous CRT Borland Pascal bug. With Pentium II and later you were not able to run the program, but don't worry, I've replaced the ZIP file with this error patched. It was patched on 2003-04-02, so I think you have downloaded before that and posted the message later.

Well, so the solution is: [b]download it again[/b] and enjoy it. If the problem persist please ask again and I will personally recompile the code without CRT unit and solve the error.
Guest

Post by Guest »

Thanks for replying!
Works now after I've downloaded the new one.

By the way, I'm working on a level.dat file now. How can I link a button to the big Finish door, and other doors? I just cant figure it out.
Guest

Post by Guest »

When can i downlod POP Level Editor v. 3.0 ?
poirot
Developer
Developer
Posts: 394
Joined: March 24th, 2003, 8:52 pm
Location: Australia
Contact:

Post by poirot »

Princed V3 will come out next month (may) I think, it depends on the testers and the beta team.
Door Linking & guard handling will be easier, so you can continue using Princed V2.5 and when PV3 is finnished, you can edit the door linking and guards.
If you like, When you finnish, I can publish your levels.dat in the www.princed.com.ar page.
poirot
Developer
Developer
Posts: 394
Joined: March 24th, 2003, 8:52 pm
Location: Australia
Contact:

Post by poirot »

I was the same desperate as you than you when I started coding it.

I'm sending a mail to you by now!
TRIDENT
Sheikh
Sheikh
Posts: 23
Joined: May 3rd, 2003, 1:30 pm
Contact:

Post by TRIDENT »

How's the Princed V3 project comming along?
I know it had been put on hold for a while.
Has it been continued since then?
:o:o:o:o:o
poirot
Developer
Developer
Posts: 394
Joined: March 24th, 2003, 8:52 pm
Location: Australia
Contact:

Post by poirot »

nope :(

But it will!!!
Inverse
Scholar Scribe
Scholar Scribe
Posts: 3
Joined: July 4th, 2003, 3:55 am
Contact:

Post by Inverse »

Estupendo :D
Greetings from Inverse
mr_santana@hotmail.com
Post Reply