01 September 2021, 08:11 | #141 | |
Registered User
Join Date: Feb 2021
Location: Germany
Posts: 116
|
Quote:
Use "AMNP" instead of "REPACK". REPACK can re-pack an already packed container to a different format (for example AMBR to AMNP or JH to LOB). But in your case you want to pack single files into a container. This is simply done by specifying the container format. AMNP is used for most data files like map data, etc. Use something like this: AmbermoonPack.exe AMNP 1Map_data 1Map_data.amb Here 1Map_data is the relative path to the folder with the single files. |
|
01 September 2021, 08:16 | #142 |
Registered User
Join Date: Feb 2021
Location: Germany
Posts: 116
|
In general you do:
Unpacking: AmbermoonPack.exe UNPACK <the_amb_file> <output_path> Packing: AmbermoonPack.exe <format> <input_path> <the_amb_file> Example: AmbermoonPack.exe UNPACK 1Map_data.amb My/Files/For/1Map_data AmbermoonPack.exe AMNP My/Files/For/1Map_data 1Map_data.amb |
01 September 2021, 08:21 | #143 |
Registered User
Join Date: Feb 2021
Location: Germany
Posts: 116
|
Great! So you managed to fix the extro yourself? Can you tell me how you did that? Do you have the source code or something? Maybe your tools/knowledge can be valuable for me and the upcoming Mod and the original AM2_XXX fixes as well.
|
01 September 2021, 08:36 | #144 | |
CaptainM68K-SPS France
|
Quote:
Basically, i stopped on the extro because i was unsure of the text formatting. With your help, i found that 42 characters are the maximum in order to get no errors on screen. I have the extro file fully ressourced in ASM68K. I use Barfly to assemble the files. CFOU also made me a ressourcer dedicated to the texts AMB files. What i lacked was the LOB packer (i have it, it runs on Atari ST, but it's proprietary and i can't release it). here is how it looks : TextBlk01.MSG db 12 ;0C db 0 ;00 db 0 ;00 db "Des pierres chutent du plafond, s'ecrasant",0,$C,0,0 ; 42 characters max ! db "au sol tout autour de vous, alors que vous",0,$C,0,0 db "fuyez la salle de la machine et remontez",0,$3C,0,0 db "l'escalier qui mene a la surface.",0,$C,0 db 0 db "Tout le monde reussit a echapper au brasier",0,$C,0,0 db "provoque par la fuite d'energie de la",0,$3C,0,0 db "machine detruite.",0,$C,0 db 0 db "Les explosions sont de plus en plus fortes",0,$3C,0,0 db "jusqu'a ce que l'ile toute entiere tremble.",0,$C,0 db 0 db "Vous decidez d'invoquer un aigle geant afin",0,$C,0,0 db "que vous puissiez quitter le Temple de la",0,$3C,0,0 db "Confrerie aussi rapidement que possible.",0,$C,0 db 0 db "A peine les puissantes ailes de l'Aigle vous",0,$C,0,0 db "emportent, qu'une enorme detonation",0,$C,0,0 db "eventre le temple a moitie! Votre souffle",0,$C,0,0 db "est coupe lorsque que le hangar a",0,$3C,0,0 db "aeronef tremble et s'effondre a terre.",0,$C,0 db 0 db "Puis l'energie destructrice de la machine",0,$C,0,0 db "Moranienne s'eteint et le silence revient.",0,$C,0,0 db "Une fumee huileuse s'eleve du complexe",0,$3C,0,0 db "souterrain du temple.",0,$FE,0 db 0 db "L'aeronef est secoue, mais sans degats!",$21,0,$08,0,0,0,$0C,$86 db 0 db "<CLIQUEZ>",0,$FF Textblk02.MSG db 12 ;0C db 0 ;00 db 0 ;00 db "La fin spectaculaire de la confrerie de",0,$C,0,0 db "Tarbos attire rapidement l'attention des",0,$5A,0,0 db "dirigeants des humains et des elfes.",0,$C,0 db 0 db "Vous les emmenez sur l'ile a dos",0,$C,0,0 db "d'aigle et leur expliquez ce qui s'est",0,$5A,0,0 db "reellement passe dans le temple.",0,$C,0 db 0 db "Vos aventures et l'existence d'une",0,$C,0,0 db "culture etrangere sur la lune desertique ont",0,$C,0,0 db "provoque des discussions agitees et des voix",0,$5A,0,0 db "hurlent a la guerre contre les moraniens!",0,$C,0 db 0 db "Mais vos poignantes histoires a propos des",0,$C,0,0 db "problemes de la race lezard calment tout le",0,$C,0,0 db "monde et les plans d'un traite de paix avec",0,$5A,0,0 db "la lune desertique voient le jour.",0,$C,0 db 0 db "Une delegation des iles Lyramioniques part",0,$C,0,0 db "avec vous sur Morag et commence a negocier",0,$C,0,0 db "avec le gouvernement provisoire qui s'est",0,$C,0,0 db "forme apres la destruction du conseil de",0,$5A,0,0 db "guerre.",0,$C,0 db 0 db "Valdyn reste a S'Angrila, ou les savants",0,$C,0,0 db "Moraniens cherchent un moyen de faire",0,$C,0,0 db "fonctionner le teleporteur des mondes du",0,$C,0,0 db "fin fond de la zone antique sur la lune",0,$5A,0,0 db "de Kire pour le renvoyer chez lui.",0,$C,0 db 0 db "Il fut decide que l'eau serait acheminee",0,$C,0,0 db "sur Morag en utilisant un gros aeronef de la",0,$C,0,0 db "flotte Moranienne, et bientot le jour de la",0,$FE,0,0 db "signature du traite de paix arrive...",0,$08,0,0,0,$0C,$86 db 0 db "<CLIQUEZ>",0,$FF |
|
01 September 2021, 09:42 | #145 | |
CaptainM68K-SPS France
|
Quote:
|
|
01 September 2021, 17:27 | #146 |
Registered User
Join Date: Feb 2021
Location: Germany
Posts: 116
|
Strange. I released 1.0.7 today. Should work.
|
01 September 2021, 19:05 | #147 |
CaptainM68K-SPS France
|
Let me see.
|
01 September 2021, 19:08 | #148 |
CaptainM68K-SPS France
|
|
03 September 2021, 10:51 | #149 | |
CaptainM68K-SPS France
|
Quote:
Basically, AmbermoonPack.exe never compress and never gives me back the hand. Can you please check the problem ? Thanks |
|
03 September 2021, 11:23 | #150 |
Registered User
Join Date: Feb 2021
Location: Germany
Posts: 116
|
It might take quiet a while. Be patient. Especially the map data containers take several minutes to compress. Especially 1Map_data.amb as it has 256 50x50 maps.
My LOB compression does a good job in compressing but might not be the fastest one. |
03 September 2021, 11:24 | #151 |
Registered User
Join Date: Feb 2021
Location: Germany
Posts: 116
|
Did you try a smaller container yet?
|
03 September 2021, 11:59 | #152 |
CaptainM68K-SPS France
|
|
03 September 2021, 12:39 | #153 |
Registered User
Join Date: Feb 2021
Location: Germany
Posts: 116
|
It depends. 1Map_texts.amb is only 5kB versus 525kB for the 1Map_data. So this is a factor of 100. If the text file needs 5 seconds, you will wait almost 9 and a half minute for the data file.
Maybe I can improve the LOB packer when I have some time for it. But I guess waiting for it isn't too bad as you won't do it that often. Except for me who currently fixes the Lyramion world map door bugs. :(((( But at least I found a way to make it happen. |
03 September 2021, 14:31 | #154 | |
CaptainM68K-SPS France
|
Quote:
ah tell me, what type of bugs are you working on ? which place is it happening on lyramion ? |
|
03 September 2021, 15:28 | #155 |
Registered User
Join Date: Feb 2021
Location: Germany
Posts: 116
|
I work on several simultaneously. The doors to the temple of gala, crypt and Lebab's tower can be skipped with the broom or eagle. You can just dismount on the upper tile of the door and therefore skip the lock screen. It isn't much of a problem for the crypt and temple of gala as you won't have either of the items when you first enter. But it is for Lebab's tower and in theory you can get the broom or flute from the secret room before the mentioned locations.
I could fix the crypt and temple with my map editor and cli event editor. But Lebab's tower is a bit more complex as it triggers a battle on opening. Another bug I found while trying to fixing it is, that you can simply flee this battle and it won't happen a second time. So the gargoyles vanish. I will try to fix both issues in one go. But only next week. I also fixed two wrongly connected event chains. When you observe the sign of the Burnville healer a second popup is shown afterwards which is for some store. This was fixed. Moreover in the palace of S'Endar when you got hit by the spike traps a chest is shown afterwards. This is also fixed. You can copy map 447 (the palace) from my current bugfixes but not the Burnville map as it contains go-to point names which would destroy your translation. But you might take my fixed map and copy the text area over. The format can be found on my Ambermoon GitHub page. I will also try to fix the wall stuck problem in Mera's cellar and in the Mine on Kire's moon. Also the Lebab tower broom collision, avoiding broom smuggling onto Morag and finally we will try to fix some code bugs as well. For example the SP stealer bug is only a change of 1 byte as kermitfrog found out just today. |
03 September 2021, 16:54 | #156 | |
Thalion Webshrine
Join Date: Jan 2004
Location: Oxford
Posts: 14,367
|
Quote:
These bugs only affect the Amiga executables. Nice find. The 1-byte is probably not the same byte offset in each of the 4 files (AM2_CPU, AM2_BLT, DE/ENG)? Last edited by alexh; 03 September 2021 at 17:00. |
|
03 September 2021, 22:40 | #157 | |
Registered User
Join Date: Feb 2021
Location: Germany
Posts: 116
|
Quote:
The fix for the disease effect is also only one byte and I have great hopes that we even can fix the uncursing. |
|
04 September 2021, 12:45 | #158 |
CaptainM68K-SPS France
|
@AlexH : Please modify this bug entry, as otherwise it will cause problems in the amiga executables :
In the english v1.0x, it's labelled "MOTHER-OF-PEARL CHAI". And this for a reason : Only 19 characters are allowed. Instead of this, replace in english by MOTHER PEARL CHAIN (18 characters). MOTHER OF PEARL CHAIN is 20 characters, it's 1 character too long. Check bellow in the ressourced part of the executable i have : ;Structure for Item or PLayer Statut named: MOTHER PEARL CHAIN _OBJ_Start _OBJ_ItemGFX $01 _OBJ_ItemType _ItemType_Brooch _OBJ_Unknown $01,$00 _OBJ_Gender _USER_MaleAndFemale _OBJ_Hands_Fingers $00,$00 _OBJ_LPMax_SPMax $00,$00 _OBJ_Attibute _AttributeType_Speed,$05 _OBJ_Ability _AbilityType_Attack,$00 _OBJ_Protection_Damage $00,$00 _OBJ_Unknown $00 _OBJ_Unknown $00,$00,$00,$00,$00,$00,$00,$00 _OBJ_Unknown $00,$00,$00,$00,$00,$00 _OBJ_MBR_MBW $00,$00 _OBJ_SpecialAttribute 1<<_ItemSpecialAttribute_Bit3 _OBJ_Unknown $00 _OBJ_Classes $7F,$FF _OBJ_Price $00,$00 _OBJ_Weight $00,$C8 _OBJ_ItemName MOTHER PEARL CHAIN _OBJ_End ; ******************* ; Guide for objet name length (19 letters max) |
04 September 2021, 14:11 | #159 |
Thalion Webshrine
Join Date: Jan 2004
Location: Oxford
Posts: 14,367
|
You can't use my comments to determine exactly how a bug fix was actually implemented. They are just notes. I've tried to be as accurate as possible but in some circumstances I've never seen the bugfix as a diff file.
In this case you need to get the latest AM2_CPU/BLT binary, decompress and find the string. The person who fixed this knew 19 characters was the maximum string length for objects, so if what is written on the spreadsheet note is more than 19 characters then I've made a typo that's not what they actually did. I've a feeling that Pyradcor has not changed this string in the English data files within Ambermoon.net Last edited by alexh; 04 September 2021 at 14:26. |
04 September 2021, 14:29 | #160 | ||||
CaptainM68K-SPS France
|
Quote:
Quote:
Quote:
Quote:
I have the executables fully ressourced. My point was that the original fix asking to change "Mother-of-pearl chai" to "Mother of pearl chain" is a bad idea, as it shifts the offset inside the executable by 1 byte (leading to bugs later in the game....). i posted this simpled to get the note modified and updated. And nothing more. |
||||
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Double Dragon remake progress update | Brick Nash | Amiga scene | 100 | 25 April 2019 16:19 |
return to the roots settlers 2 remake open source | turrican3 | support.Games | 4 | 28 July 2014 11:54 |
CaesarIA - Caesar III new open source remake | Neil79 | Retrogaming General Discussion | 2 | 17 April 2014 14:07 |
A remake/sequel of Moonstone is in the progress! | Ironclaw | Amiga scene | 13 | 22 July 2008 18:17 |
Trick Or Treat Remake - Work in Progress | ant512 | Amiga scene | 15 | 16 November 2004 17:25 |
|
|