Search found 2788 matches

by David
Yesterday, 9:51 pm
Forum: Prince of Persia 1 for SNES
Topic: Autosplitter for PoP1 SNES 100%
Replies: 11
Views: 156

Re: Autosplitter for PoP1 SNES 100%

Fixed a bug which caused the splitter to falsely detect a guard falling out of the screen, when the player merely left the room of a living guard.

Here is the updated version, now with splits for levels 1-9:
SNES PoP autosplitter 2023-01-28.zip
(9.04 KiB) Not downloaded yet
by David
Yesterday, 2:59 pm
Forum: Simple Questions
Topic: Do events have (unimplemented) timers?
Replies: 3
Views: 93

Re: Do events have (unimplemented) timers?

What I don't know is where is it set to 31 (0x1F) which means "jammed". When a guard dies on a drop button? (I didn't look at the code. Just a guess.) That would be logical, but I can't find any call to set_doorlink_timer() which could to that. I added a debug printout in animate_button()...
by David
January 21st, 2023, 4:49 pm
Forum: Prince of Persia 1 for SNES
Topic: Trick differences between SNES and DOS
Replies: 12
Views: 4038

Re: Trick differences between SNES and DOS

Trick 4 (guard disables spikes) doesn't seem to work on the SNES. It's hard to see, but there is a spiked guard behind the spiked prince. guard_does_not_disable_spikes.png (This is on level 2, next to the exit.) And somehow this guard survived falling into spikes (while the was off-screen?). how_did...
by David
January 21st, 2023, 4:38 pm
Forum: Simple Questions
Topic: Do events have (unimplemented) timers?
Replies: 3
Views: 93

Re: Do events have (unimplemented) timers?

While browsing through my leapop code, I noticed that it combines bits 3-7 of the 2nd events byte for an events timer (arEventsTimer). [...] I do not recall how I even know it's a "timer", it's not documented as such in poirot's specs either. It may come from the SDLPoP source? https://gi...
by David
January 21st, 2023, 4:25 pm
Forum: General Stuff
Topic: Forum spam
Replies: 56
Views: 11840

Re: Forum spam

Spam is coming from a user who made legitimate posts back in 2017: https://forum.princed.org/search.php?author_id=2597&sr=posts (Note: Only admins and mods will see the trashed spam posts.) I think spammers hacked this account. The spam posts all come from a single IP address, different from th...
by David
January 21st, 2023, 3:15 pm
Forum: Prince of Persia 1 for SNES
Topic: Autosplitter for PoP1 SNES 100%
Replies: 11
Views: 156

Re: Disassembly of PoP1 SNES

Sweet. I see the autosplitter uses in-game time, which could be rather useful for a more exact in-game time. By the way, I changed the timing method in the layout back from Game Time to Current Timing Method, because I finally figured out how to select Game Time as the current. (right click -> Comp...
by David
January 14th, 2023, 1:13 pm
Forum: SDLPoP
Topic: SDLPoP; David's open-source port of PoP
Replies: 860
Views: 130747

Re: SDLPoP; David's open-source port of PoP

Can anyone tell me how the program knows that PRINCE/ has a collection of res151-173.png images that are part of a certain chtab that goes from 0-22 (and not e.g. 23)? The number of images is in the first byte of the palette, res150.pal in your example. 0x17 = 23 means that image IDs go from 150+1 ...
by David
January 14th, 2023, 12:33 pm
Forum: SDLPoP
Topic: SDLPoP v1.23 release candidate
Replies: 4
Views: 200

Re: SDLPoP v1.23 release candidate

- Maybe the splash screen should mention README.md instead of doc/Readme.txt, now that the latter refers to the former. (The same for --help.) Fixed: https://github.com/NagyD/SDLPoP/commit/96ebfe3eff09901f8737d33535efce97292e325a - Maybe remove QUICKSAVE.SAV and screenshots/, that both appear in .g...
by David
January 8th, 2023, 4:25 pm
Forum: SDLPoP
Topic: SDLPoP; David's open-source port of PoP
Replies: 860
Views: 130747

Re: SDLPoP; David's open-source port of PoP

(I wanted to post this a week ago, but the forum kept timing out then...) As an example, the documentation says, "T: Toggle display of timer". To me, "T" is a capital t, which makes me do Shift+t, which increases hit points. [Edit: Maybe it is just me and my programmer mind. That...
by David
January 8th, 2023, 4:20 pm
Forum: Prince of Persia 1 for SNES
Topic: Autosplitter for PoP1 SNES 100%
Replies: 11
Views: 156

Re: Disassembly of PoP1 SNES

[...] if the game kept track of the guards killed and potions drank, we could assign a split for each time it checks for when a guard is killed and a potion has been drunk, [...] For example: Level 1 splits: - Heal potion at room 8, tile 27 - Heal potion at room 12, tile 4 - Sword (if there's a che...
by David
January 7th, 2023, 8:18 pm
Forum: SDLPoP
Topic: SDLPoP; David's open-source port of PoP
Replies: 860
Views: 130747

Re: SDLPoP; David's open-source port of PoP

- Feedback from gcc 11.3.0. In options.c, function load_dos_exe_modifications(), opcode - interestingly, for the "else if" - may be used uninitialized. Could this be another gcc bug, like this one ? And now I too got this warning, when I compiled for release. It appears with the -O2 optio...
by David
January 7th, 2023, 8:13 pm
Forum: SDLPoP
Topic: SDLPoP v1.23 release candidate
Replies: 4
Views: 200

SDLPoP v1.23 release candidate

Here is the release candidate of SDLPoP v1.23, attached to the post. The ZIP contains the Windows binaries and the source as usual. The list of changes since the last release can be found here: https://github.com/NagyD/SDLPoP/blob/a430ff3ae8796615012720647300fb1a2e6af833/doc/ChangeLog.txt#L651-L730 ...
by David
January 7th, 2023, 7:25 pm
Forum: SDLPoP
Topic: SDLPoP; David's open-source port of PoP
Replies: 860
Views: 130747

Re: SDLPoP; David's open-source port of PoP

Oh, don't forget checklist.txt , you created, which includes a line about updating the copyright years. Done: https://github.com/NagyD/SDLPoP/commit/80c6daf2591cd455c540e118125e866640e4f66a - In the "SETTINGS" submenu, after choosing "BACK", still have "SETTINGS" (re)s...
by David
January 7th, 2023, 5:16 pm
Forum: SDLPoP
Topic: SDLPoP icon?
Replies: 27
Views: 5056

Re: SDLPoP icon?

Norbert wrote: January 4th, 2023, 3:25 pm A round border and transparent background should make the icon more elegant.
Modified icon.png attached (in a ZIP, so the transparency stays intact), plus an example of the difference.
I have updated the icon: https://github.com/NagyD/SDLPoP/commit/ ... 6c82fd324e
by David
January 1st, 2023, 2:04 pm
Forum: Prince of Persia 1 - Other
Topic: PoP for the Atari ST
Replies: 4
Views: 168

PoP for the Atari ST

Atari Mania has two articles about the Atari ST version of PoP: http://www.atarimania.com/game-atari-st-prince-of-persia_20993.html Curiously, on the second page of the ST Format article, an image caption claims this: (emphasis mine) In the course of the game you come across hosts of potions. Some g...