English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Language > Coders. AMOS

 
 
Thread Tools
Old 28 May 2023, 22:11   #1
abu_the_monkey
Registered User
 
Join Date: Oct 2020
Location: Bicester
Posts: 1,942
AB3D2_LevelED Help required

Having gathered together the components required to build LevelED for AlienBreed3D2 and uploading it to github

https://github.com/AndyLoft/AB3D2_LevelED

version control is an issue as .amos source is a binary format

while it (the source code) can be exported as ascii, when using the 'merge ascii' tool to reimport the code, something goes wrong and the source is no longer buildable.

Why does this happen? am I doing something wrong? is it related to one of the extensions?

I hope this description is not to vague.

any advice would be appreciated.

note! the extensions I have are not identical versions to those used for the original but are the best I could find.

Last edited by abu_the_monkey; 28 May 2023 at 23:28. Reason: typo
abu_the_monkey is offline  
Old 28 May 2023, 23:00   #2
Karlos
Alien Bleed
 
Karlos's Avatar
 
Join Date: Aug 2022
Location: UK
Posts: 4,135
Do you want any bug reports or feature requests here? Actually, I suspect the issues section of the repo is the best placed for that.
Karlos is online now  
Old 28 May 2023, 23:06   #3
abu_the_monkey
Registered User
 
Join Date: Oct 2020
Location: Bicester
Posts: 1,942
Quote:
Originally Posted by Karlos View Post
Do you want any bug reports or feature requests here? Actually, I suspect the issues section of the repo is the best placed for that.
which ever is easiest, but both is ok
abu_the_monkey is offline  
Old 28 May 2023, 23:08   #4
abu_the_monkey
Registered User
 
Join Date: Oct 2020
Location: Bicester
Posts: 1,942
i did start adding the 'issues' and 'enhancements' you noted/suggested last night but bank holiday w/end cheer got in the way
abu_the_monkey is offline  
Old 29 May 2023, 02:18   #5
Karlos
Alien Bleed
 
Karlos's Avatar
 
Join Date: Aug 2022
Location: UK
Posts: 4,135
Yeah, this clement weather too. And kids

On topic again, I did stumble across a GitHub repo for a tool that can extract plaintext source from Amos, but I don't know how good it is or isn't. I wonder how feasible it is to just write a two way tokeniser/detokeniser if the existing tooling isn't usable.
Karlos is online now  
Old 29 May 2023, 23:10   #6
abu_the_monkey
Registered User
 
Join Date: Oct 2020
Location: Bicester
Posts: 1,942
@Karlos

regarding the issue you raised on github (#4), I can't reproduce what you described using the 'save level' option but you are working on much more complex levels, please give this build a spin.
the only difference is that all disk operations from the title bar menu select button 6 before doing whatever it is they normally do.

not related but, I have found that the asm builds of ab3d2 are more tolerant of changes being made on the fly in one instance of winuae and testing in another, where as the c version can fail to load a level after editing, have you noticed anything similar?

Last edited by abu_the_monkey; 11 June 2023 at 23:34.
abu_the_monkey is offline  
Old 30 May 2023, 00:38   #7
Karlos
Alien Bleed
 
Karlos's Avatar
 
Join Date: Aug 2022
Location: UK
Posts: 4,135
I've not had a failure loading a level in either build. This could be something entirely external, for example, I'm running WinUAE under wine on Linux, perhaps the filesystem differences help in some way.

What I have noticed is that sometimes, the editor generates a corrupted graphics file for the level, resulting in bad texturing in the level. It's definitely the output as rebooting the game instance doesn't fix it, only rebooting the editor instance and making a change to the level to force it to rebuild the graphics file seems to fix it.

This has only happend a handful of times so far and happened in v303 also.

Last edited by Karlos; 30 May 2023 at 00:47.
Karlos is online now  
Old 30 May 2023, 01:02   #8
Karlos
Alien Bleed
 
Karlos's Avatar
 
Join Date: Aug 2022
Location: UK
Posts: 4,135
Will check the new build tomorrow, been afk all day
Karlos is online now  
Old 30 May 2023, 12:17   #9
Karlos
Alien Bleed
 
Karlos's Avatar
 
Join Date: Aug 2022
Location: UK
Posts: 4,135
I've started adding feature requests. No rush on those at all.
Karlos is online now  
Old 30 May 2023, 20:27   #10
abu_the_monkey
Registered User
 
Join Date: Oct 2020
Location: Bicester
Posts: 1,942
may have a fix for moving the control points that currently causes a hard crash.

@Karlos

did you have a chance to test the last build I posted?
abu_the_monkey is offline  
Old 30 May 2023, 21:35   #11
Karlos
Alien Bleed
 
Karlos's Avatar
 
Join Date: Aug 2022
Location: UK
Posts: 4,135
Quote:
Originally Posted by abu_the_monkey View Post
may have a fix for moving the control points that currently causes a hard crash.

@Karlos

did you have a chance to test the last build I posted?
I'm afraid not due to work deadlines
Karlos is online now  
Old 30 May 2023, 22:49   #12
abu_the_monkey
Registered User
 
Join Date: Oct 2020
Location: Bicester
Posts: 1,942
@Karlos

no worries, here is a version with a mod for moving control points.

I do not have a great deal of experience setting up control points but I can now move then around the maps without it crashing.

Last edited by abu_the_monkey; 11 June 2023 at 23:34.
abu_the_monkey is offline  
Old 30 May 2023, 23:27   #13
abu_the_monkey
Registered User
 
Join Date: Oct 2020
Location: Bicester
Posts: 1,942
the 'save as ascii' option in amos seems to be a little inconsistent with its output (for me anyway) sometimes lines are indented and others they are not.
is this normal? or is it something I am doing/not doing?
abu_the_monkey is offline  
Old 31 May 2023, 00:04   #14
Karlos
Alien Bleed
 
Karlos's Avatar
 
Join Date: Aug 2022
Location: UK
Posts: 4,135
Quote:
Originally Posted by abu_the_monkey View Post
@Karlos

no worries, here is a version with a mod for moving control points.

I do not have a great deal of experience setting up control points but I can now move then around the maps without it crashing.
Roger. I'll skip straight to this build for testing.
Karlos is online now  
Old 01 June 2023, 00:22   #15
Karlos
Alien Bleed
 
Karlos's Avatar
 
Join Date: Aug 2022
Location: UK
Posts: 4,135
What a complete s***show or a day. Only got time to test now.
Karlos is online now  
Old 01 June 2023, 00:46   #16
abu_the_monkey
Registered User
 
Join Date: Oct 2020
Location: Bicester
Posts: 1,942
we all get them chap I myself have had to take unpaid holiday today due to the rail strikes, again

still hope the latest build tests ok for you, it is still only a minor change and hopefully will not break anything
abu_the_monkey is offline  
Old 01 June 2023, 00:49   #17
Karlos
Alien Bleed
 
Karlos's Avatar
 
Join Date: Aug 2022
Location: UK
Posts: 4,135
I can confirm that the most recent posted iteration of LevelEd304 switches out to the the first empty tool slot before any save or build operation, which seems to be mitigating the common failures.

Moving control points also works!

Been using it to edit the double wasp courtyard in Level O. Because, what's better than fighting a pair of wasp bosses in a huge vertical area with almost no cover? Fighting the same two bosses in an area with a bit of cover but in near darkness and a fractured ground with lava pits.
Karlos is online now  
Old 01 June 2023, 00:50   #18
abu_the_monkey
Registered User
 
Join Date: Oct 2020
Location: Bicester
Posts: 1,942
can you also delete the control points?
abu_the_monkey is offline  
Old 01 June 2023, 01:07   #19
Karlos
Alien Bleed
 
Karlos's Avatar
 
Join Date: Aug 2022
Location: UK
Posts: 4,135
Quote:
Originally Posted by abu_the_monkey View Post
can you also delete the control points?
Does the deletion remove all links to the point first? I can imagine that it would be possible to create a data structure that has a reference to a non existent control point, especially if it's all done using indices.
Karlos is online now  
Old 01 June 2023, 01:20   #20
abu_the_monkey
Registered User
 
Join Date: Oct 2020
Location: Bicester
Posts: 1,942
not sure how it works (so probably best not to do for now). the code, while not badly arranged does jump about in places and not having any modern tools to show all the functions and make it easy too follow is a bit of a ball ache.

on another note I did try extending the screen size to 800*600 and on first impressions seems ok (there may be pit falls that await) never really understood why it was in an overscan size in the first place
abu_the_monkey is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
RemApollo Help required please. Pollock support.Hardware 2 20 September 2019 21:30
Help required with A1500 Hoops support.Hardware 7 05 August 2008 20:46
Required? girv project.SPS (was CAPS) 1 24 December 2006 15:47
Required ICONS... nikvest request.Other 2 10 July 2006 02:23
More help required Galahad/FLT request.Demos 2 16 August 2002 21:08

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 17:34.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.33196 seconds with 14 queries