Yes. And Shauing if you want the walls that are actually tile, you'll have to change some graphics. You can take a look at the Repetition Of Time mod's graphics.
Modifications to prince.exe (hex editing)
- atrueprincefanfrom18
- Site Shah
- Posts: 1786
- Joined: January 21st, 2020, 2:53 pm
- Contact:
Re: Modifications to prince.exe (hex editing)
Re: Modifications to prince.exe (hex editing)
How do you change the graphics here on DOS? What software are you all using to change the background and character sprites?
NEW UPDATE! Prince Of Persia: 30th Anniversary Port v1.1.5. Download it today!: viewtopic.php?p=29053#p29053
NEW UPDATE! Prince Of Persia: The Queen Of Light v2.6. Download it today! viewtopic.php?p=33174#p33174
NEW UPDATE! Prince Of Persia: The Queen Of Light v2.6. Download it today! viewtopic.php?p=33174#p33174
Re: Modifications to prince.exe (hex editing)
Hi Shauing, Use PR, you can get it from popot, there are also instrucions for it
Put cmd in bin folder and type
PR --export file.dat-- and try again until you get the wanted file, for changes made, use PR --import (several files at once)
You can only use 16 colors, make sure to don't use more.
Finally edit pal files to change colors
65536
Re: Modifications to prince.exe (hex editing)
Is there a way to code to insert stuff from SNES such as the teleporters, fire and crusher traps? Not sure if memory/sprite slot issues might not permit this, but if at least the teleporters could be used (and sprite-wise could just reuse the exit level animation)?
NEW UPDATE! Prince Of Persia: 30th Anniversary Port v1.1.5. Download it today!: viewtopic.php?p=29053#p29053
NEW UPDATE! Prince Of Persia: The Queen Of Light v2.6. Download it today! viewtopic.php?p=33174#p33174
NEW UPDATE! Prince Of Persia: The Queen Of Light v2.6. Download it today! viewtopic.php?p=33174#p33174
Re: Modifications to prince.exe (hex editing)
I don't know, DOS has a limited memory and it is too much for itShauing wrote: ↑September 13th, 2021, 8:57 pm Is there a way to code to insert stuff from SNES such as the teleporters, fire and crusher traps? Not sure if memory/sprite slot issues might not permit this, but if at least the teleporters could be used (and sprite-wise could just reuse the exit level animation)?
Some things should be replaced with other obstacles.
65536
Re: Modifications to prince.exe (hex editing)
Hmm, that's all right.
I'm having trouble with PR, I'm trying to follow the tutorial but keep getting this error:
I'm having trouble with PR, I'm trying to follow the tutorial but keep getting this error:
NEW UPDATE! Prince Of Persia: 30th Anniversary Port v1.1.5. Download it today!: viewtopic.php?p=29053#p29053
NEW UPDATE! Prince Of Persia: The Queen Of Light v2.6. Download it today! viewtopic.php?p=33174#p33174
NEW UPDATE! Prince Of Persia: The Queen Of Light v2.6. Download it today! viewtopic.php?p=33174#p33174
Re: Modifications to prince.exe (hex editing)
Replace files.dat with the name of the file, it was just an example
65536
Re: Modifications to prince.exe (hex editing)
I was trying to pull out the resources.xml file but keeps getting that error; it wasn't the 'files.dat' example you gave.Emiliano Fierro wrote: ↑September 13th, 2021, 10:04 pmReplace files.dat with the name of the file, it was just an example
NEW UPDATE! Prince Of Persia: 30th Anniversary Port v1.1.5. Download it today!: viewtopic.php?p=29053#p29053
NEW UPDATE! Prince Of Persia: The Queen Of Light v2.6. Download it today! viewtopic.php?p=33174#p33174
NEW UPDATE! Prince Of Persia: The Queen Of Light v2.6. Download it today! viewtopic.php?p=33174#p33174
- atrueprincefanfrom18
- Site Shah
- Posts: 1786
- Joined: January 21st, 2020, 2:53 pm
- Contact:
Re: Modifications to prince.exe (hex editing)
In DOS, most likely it's impossible but it might be possible to do in SDLPoP. Maybe David/dmitrys can explain the technical stuff.Shauing wrote: ↑September 13th, 2021, 8:57 pm Is there a way to code to insert stuff from SNES such as the teleporters, fire and crusher traps? Not sure if memory/sprite slot issues might not permit this, but if at least the teleporters could be used (and sprite-wise could just reuse the exit level animation)?
Re: Modifications to prince.exe (hex editing)
Yes. Technically, it's certainly possible with SDLPoP. Particularly teleporters of some sort should be relatively easy to implement. Even with their own legacy combos. These SNES tiles are already listed as an idea for SDLPoP here.atrueprincefanfrom18 wrote: ↑September 14th, 2021, 3:35 am[...] it might be possible to do in SDLPoP.Shauing wrote: ↑September 13th, 2021, 8:57 pm Is there a way to code to insert stuff from SNES such as the teleporters, fire and crusher traps? Not sure if memory/sprite slot issues might not permit this, but if at least the teleporters could be used (and sprite-wise could just reuse the exit level animation)?
As for PR, the "Windows batch file" downloadable here should make using PR easy. If it's not sufficient, I and others could attempt improving that batch file until it is.
Re: Modifications to prince.exe (hex editing)
Hopefully it is possible to implement, otherwise porting Level 5 of The Queen Of Light to DOS won't be possible and I'll have to basically do a replacement level.Norbert wrote: ↑September 14th, 2021, 2:47 pm
Yes. Technically, it's certainly possible with SDLPoP. Particularly teleporters of some sort should be relatively easy to implement. Even with their own legacy combos. These SNES tiles are already listed as an idea for SDLPoP here.
As for PR, the "Windows batch file" downloadable here should make using PR easy. If it's not sufficient, I and others could attempt improving that batch file until it is.
Hmm, I'll try to get it to work somehow.
EDIT: It's still outputting an unknown file instead of exporting the files. Maybe by watching some images/video about how to export the resources would be nice?
NEW UPDATE! Prince Of Persia: 30th Anniversary Port v1.1.5. Download it today!: viewtopic.php?p=29053#p29053
NEW UPDATE! Prince Of Persia: The Queen Of Light v2.6. Download it today! viewtopic.php?p=33174#p33174
NEW UPDATE! Prince Of Persia: The Queen Of Light v2.6. Download it today! viewtopic.php?p=33174#p33174
Re: Modifications to prince.exe (hex editing)
Can you screen record what you do, and share that video recording with us.
Then we can see what you're doing, and hopefully provide suggestions.
Re: Modifications to prince.exe (hex editing)
NEW UPDATE! Prince Of Persia: 30th Anniversary Port v1.1.5. Download it today!: viewtopic.php?p=29053#p29053
NEW UPDATE! Prince Of Persia: The Queen Of Light v2.6. Download it today! viewtopic.php?p=33174#p33174
NEW UPDATE! Prince Of Persia: The Queen Of Light v2.6. Download it today! viewtopic.php?p=33174#p33174
Re: Modifications to prince.exe (hex editing)
You can do the same to the prince if you set the his starting direction to 1 in the level data with a hex editor.
Apoplexy will crash if you try load such a level, though.
The above hack didn't cause this for me, but this also happens if the prince falls into the shadow's room.
(See here: viewtopic.php?p=15740#p15740)