Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > ToME

Reply
 
Thread Tools Display Modes
Old August 11, 2021, 02:34   #1
Grenoble
Rookie
 
Join Date: Aug 2021
Posts: 7
Grenoble is on a distinguished road
ToME 2.3.5(kind of) built for Windows - I think it's working

I made a few small changes to AnonymousHero's fork of ToME2.3.5 right before he removed the Alchemist class. It should build on windows, and the binary in the release should work by itself.


https://github.com/jnday/tome2/releases/tag/v1.1


If you give it a try I'd appreciate hearing about any problems.
Grenoble is offline   Reply With Quote
Old August 11, 2021, 02:49   #2
Estie
Veteran
 
Join Date: Apr 2008
Location: Germany
Posts: 1,951
Estie is on a distinguished road
So...this thing has alchemist ?
Estie is offline   Reply With Quote
Old August 11, 2021, 15:37   #3
fiery_mews
Rookie
 
fiery_mews's Avatar
 
Join Date: Sep 2020
Location: A hole in space-time
Posts: 18
fiery_mews is on a distinguished road
Oooh I'll give it a try, I'm always here for new ToME 2 content. Can't verify at the moment if it works on bona fide MS Windows, but I can check for modern Linux desktops and modern versions of Wine.

Edit: on Linux it exits with a Lua error on start... I will try and debug this. Also it still has the old setuid/setgid rubbish, and tries to install to /usr/local and create /usr/local/.tome by default; Linux users should specify a local install prefix with -DCMAKE_INSTALL_PREFIX (and note that relative paths ARE permitted for this).

Last edited by fiery_mews; August 11, 2021 at 16:10.
fiery_mews is offline   Reply With Quote
Old August 11, 2021, 18:14   #4
Grenoble
Rookie
 
Join Date: Aug 2021
Posts: 7
Grenoble is on a distinguished road
Thanks for checking it out. The goal is a faithful version of 2.3.5 that builds and runs on modern systems out of the box, and I think most of the internal system stuff probably needs to be pulled out.

It's actually kind of a tough call in the sense that the "original" version of 2.3.5 has a lot of interesting code from obsolete systems. I don't know where else you'll run into an EBCDIC converter in the wild in this day and age. A perfect recreation of 2.3.5 that builds on VAX and plays on a VT101 is, however, beyond what I'd like to accomplish.
Grenoble is offline   Reply With Quote
Old August 11, 2021, 18:33   #5
Grenoble
Rookie
 
Join Date: Aug 2021
Posts: 7
Grenoble is on a distinguished road
Quote:
Originally Posted by Estie View Post
So...this thing has alchemist ?
Yes indeed! This is basically a fork of Anonymous Hero's old work modernizing ToME and the Theme module, but I'm trying to keep things as close to 'vanilla' as possible while still being able to build on Windows. For example I'll roll back a few of the killerbunnies patches that change rather than fix.

I'd love to pull in some of the UI improvements from Angband, or mess around with windowing, but I've always wanted a version of the original I could build myself out of the box.
Grenoble is offline   Reply With Quote
Old August 11, 2021, 21:14   #6
AnonymousHero
Veteran
 
AnonymousHero's Avatar
 
Join Date: Jun 2007
Posts: 1,383
AnonymousHero is on a distinguished road
Quote:
Originally Posted by fiery_mews View Post
Oooh I'll give it a try, I'm always here for new ToME 2 content. Can't verify at the moment if it works on bona fide MS Windows, but I can check for modern Linux desktops and modern versions of Wine.

Edit: on Linux it exits with a Lua error on start... I will try and debug this. Also it still has the old setuid/setgid rubbish, and tries to install to /usr/local and create /usr/local/.tome by default; Linux users should specify a local install prefix with -DCMAKE_INSTALL_PREFIX (and note that relative paths ARE permitted for this).
Negative skill values might also wrap around. There were quite a few bugs when compiling 2.3.5 on 64-bit platforms.

I'm sure a motivated person could cherry-pick a few later commits which fixed some of those. (The code hadn't diverged very much from 2.3.5 at that point.)

I basically only tagged it as a courtesy if someone wanted to go with that version.
AnonymousHero is offline   Reply With Quote
Old August 12, 2021, 09:32   #7
tangar
Knight
 
tangar's Avatar
 
Join Date: Mar 2015
Posts: 883
tangar is on a distinguished road
Great project! Sometime ago I've tried to compile https://github.com/tome2/tome2 to get binaries, but it requires 'Boost' which I failed to configure with my lame fingers

Thank you!
__________________
https://tangaria.com - Angband multiplayer variant
tangaria.com/variants - Angband variants table
tangar.info - my website ⍽⍽⍽⍽⍽⍽⍽⍽⍽⍽⍽⍽ My chars @ angband.oook.cz
youtube.com/GameGlaz — streams in English ⍽ youtube.com/StreamGuild — streams in Russian
tangar is offline   Reply With Quote
Old August 12, 2021, 14:29   #8
Yottle
Scout
 
Join Date: Dec 2008
Location: West Virginia
Posts: 43
Yottle is on a distinguished road
Cool! I had given up on Tome 2, which is a shame as it is my favorite game ever.
Yottle is offline   Reply With Quote
Old August 12, 2021, 18:46   #9
fiery_mews
Rookie
 
fiery_mews's Avatar
 
Join Date: Sep 2020
Location: A hole in space-time
Posts: 18
fiery_mews is on a distinguished road
@AH - thanks for mentioning.

@Grenoble - I'm not sure, but I think alchemy might have been removed only after the move to pure C and libjansson (though before the move to C++14/17 and Boost). If so, it might be a better idea to base your changes on the commits just before the C++ revamp. Lemme try and find the relevant hashes.
fiery_mews is offline   Reply With Quote
Old August 12, 2021, 19:01   #10
fiery_mews
Rookie
 
fiery_mews's Avatar
 
Join Date: Sep 2020
Location: A hole in space-time
Posts: 18
fiery_mews is on a distinguished road
@Grenoble so the commit you want is probably 2653d949a0008b44d4a41fb52d516a7766f55928. That's after Jansson was added and Lua removed, but before alchemy was removed. It's still all C (not C++) and should be a lot more stable than the Lua-including versions.

Might still need some fixes backported though. In particular there may be header issues on modern Linux systems.

Edit: yeah, linking is broken on modern Linux, and also there's a ton of warnings. But it should compile on modern Linux once I figure out the linking thing.,

Edit 2: no I was wrong, this issue was fixed later? Hang on

Last edited by fiery_mews; August 12, 2021 at 19:18.
fiery_mews is offline   Reply With Quote
Reply


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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Some kind of repeat bug daQuincy Development 1 January 26, 2019 22:13
Successfully built OmnibandTK-1.5 from src in Windows 7 DernHelm Development 1 February 20, 2015 14:34
that was kind of an interesting game... Grotug Vanilla 14 December 18, 2013 09:39
Help! New MP3 support not working with SDL client under Windows PowerWyrm Development 1 June 4, 2012 17:07
Idea - Shops with custom-built items and changing prices ekolis Variants 4 April 5, 2012 10:15


All times are GMT +1. The time now is 03:05.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.